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):
https://dl.dropbox.com/u/1153818/naca0018.msh

And here's the geometry file for Gmsh:
https://dl.dropbox.com/u/1153818/naca0018.geo

Question information

Language:
English Edit question
Status:
Solved
For:
DOLFIN Edit question
Assignee:
No assignee Edit question
Solved by:
Cian Wilson
Solved:
2013-03-02
Last query:
2013-03-02
Last reply:
2013-03-02
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:
> https://answers.launchpad.net/dolfin/+question/223240
> 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
download.

--
Anders

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