dolfin-convert 3d airfoil mesh

Asked by Paul Constantine on 2013-03-02

I have a 3d airfoil mesh -- .msh generated with Gmsh -- that is a 2d mesh expanded in the z direction. When I try to use dolfin-convert, I get a 2d mesh. Any tips?

Here's the mesh, in case anyone wants to try it out (606K):

And here's the geometry file for Gmsh:

Question information

English Edit question
DOLFIN Edit question
No assignee Edit question
Solved by:
Cian Wilson
Last query:
Last reply:
Best Cian Wilson (cwilson) said : #1

The mesh you're converting consists of prisms because you have used Recombine in the Extrude command. dolfin-convert throws away anything that isn't in supported_gmsh_element_types = [1, 2, 4, 15] - that's lines, triangles, tetrahedra and points. Delete the Recombine command and it seems to behave as expected.

Thanks Cian Wilson, that solved my question.

Anders Logg (logg) said : #3

On Sat, Mar 02, 2013 at 09:20:57PM -0000, Paul Constantine wrote:
> Question #223240 on DOLFIN changed:
> Status: Answered => Solved
> Paul Constantine confirmed that the question is solved:
> Thanks Cian Wilson, that solved my question.

Could you email me the mesh in .xml.gz format? I want to add a
collection of interesting meshes/geometries on the web pages for free


Mihir Bakhai (mihirbakhai) said : #4

Can you please me the mesh in .xmo.gz format at <email address hidden>. It would be immensely helpful thankyou