Higher order Tetrahedron support for gmsh

33 views
Skip to first unread message

Kumar Saurabh

unread,
Mar 20, 2023, 2:26:23 PM3/20/23
to deal.II User Group
Hi,

I wanted to check if deal.ii has a support for second order tetrahedron meshes. I tried to load the file from GMSH and it gave the error for unsupported element type. 

Is it that deal.ii do not support second order tetrahedron from GMSH or do not support second order tetrahedron at all?

Thanks,
Kumar Saurabh

Wolfgang Bangerth

unread,
Mar 20, 2023, 4:28:32 PM3/20/23
to dea...@googlegroups.com
Kumar,
for triangles and tetrahedra, mappings are generally implemented by
relying in MappingFE. As a consequence, if there is a Lagrange element
of polynomial degree p, there is a corresponding mapping of polynomial
degree p. Right now, FE_SimplexP is available up to polynomial degree
p=2, so quadratic elements should be ok.

Whether or not GridIn can read such meshes is a different question. If
you get an error, then the answer is apparently no. But that shouldn't
be too hard to fix, and we would be quite happy to accept a patch (and
point you in the right direction regarding what needs to be
implemented). My suspicion is that it would not take more then 100 lines
of code to read these meshes.

The bigger problem with quadratic meshes (which also exists for the case
of quadratic quadrilaterals/hexahedra) is that we do not currently have
a good way to translate the information encoded by mid-edge nodes into a
mapping. If we can read such meshes for quadrilaterals, I suspect that
we just ignore the mid-edge nodes and rely on the user's ability to
provide a mapping that restores this kind of information.

Best
W.


--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/

Kumar Saurabh

unread,
Mar 21, 2023, 1:41:36 PM3/21/23
to deal.II User Group
Hi Dr. Bangerth,

Thanks for your message. 

Is there any documentation that I can take a look at to understand the order of the vertices in second order tetrahedron. I mean how the mapping is done to the reference element for second order tetrahedron. 

I just want to use volumetric integration for assembly with Dirichlet boundary computation. 

Thanks,
Kumar Saurabh

Wolfgang Bangerth

unread,
Mar 21, 2023, 4:07:44 PM3/21/23
to dea...@googlegroups.com
On 3/21/23 11:41, Kumar Saurabh wrote:
>
> Is there any documentation that I can take a look at to understand the
> order of the vertices in second order tetrahedron. I mean how the
> mapping is done to the reference element for second order tetrahedron.

You mean what the order of nodes is that gmsh uses? The place for that
would be the gmsh documentation.
Reply all
Reply to author
Forward
0 new messages