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.

Question about mappings between reference and physical element

More
6 years 6 months ago #215 by rhebergens
Hello,

I have a question regarding the transformation between reference and physical elements in NGSolve. Say I have the following spaces:

V = HDiv(mesh, order=order)
Q = L2(mesh, order=order)
M = FacetFESpace(mesh, order=order)
fes = FESpace([V, Q, M, M])
u, p, uxhat, uyhat = fes.TrialFunction()

then I assume that a Piola map is used for u when mapping between reference and physical element.

But what if we have

V = L2(mesh, order=order)
Q = L2(mesh, order=order)
M = FacetFESpace(mesh, order=order)
fes = FESpace([V, V, Q, M, M])
ux, uy, p, uxhat, uyhat = fes.TrialFunction()
u = CoefficientFunction((ux, uy))

What mapping is used now for u? If F is an affine mapping from reference to physical element, is the mapping just \hat{ux} = ux \circ F and \hat{uy} = uy \circ F ?

Thanks,
Sander
More
6 years 6 months ago #216 by schruste
Dear Sander,

the answer is yes. Piola for Hdiv and the "direct" mapping for L2 and H1.

Best, Christoph
More
6 years 6 months ago #217 by rhebergens
Time to create page: 0.162 seconds