Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

co-normal value on a 1D surface segment

More
2 years 9 months ago #3867 by Guosheng Fu
The surface mixed FEM now works as expected. I want to hybridize the surface mixed FEM, but the discontinuous flag seems not working properly for surface HDiv: I am expecting with the discontinuous flag, the space will be co-normal discontinuous across surface edges, but this is not the case in the attached code
Code:
from ngsolve.meshes import MakeStructured3DMesh from ngsolve import * mesh = MakeStructured3DMesh(nx=1, ny=1, nz=1) VC = Compress(HDivSurface(mesh, order=0, RT=True, discontinuous=False, definedon=mesh.Boundaries("top"))) print(VC.ndof, " free: ", VC.FreeDofs()) VD = Compress(HDivSurface(mesh, order=0, RT=True, discontinuous=True, definedon=mesh.Boundaries("top"))) print(VD.ndof, " free: ", VD.FreeDofs())
Time to create page: 0.157 seconds