[Gmsh] Block structured hex-only-3D-mesh for sequence of conical frustums

Florian Hoffmann florian.hoffmann at inutech.de
Wed Apr 20 22:54:56 CEST 2016

Dear all,

I would like to generate a block structured hexaeder-only-3D-mesh for a geometry consisting of several conical frustums. Something like this:

  \                 /
   |               |
    \             / 
     |           |          
C_|           | _ C      
     \          /            ^  extrude B->C
B _ \____/  _ B    _|_
A _  |___|   _ A

Section A-A has a non-circular cross-section, and section B-B and all others above have circular cross-section. I successfully created A-A and the circular cross-section B-B. Both consist of several surfaces/blocks (see attached picture). In my *.geo script I try to work with variables. There I collect the IDs of all surfaces forming the cross-section B-B (= the bottom of the first conical frustum) in an array (=cross_section_BB_surfaces[]). Nevertheless, when I try to Extrude+Dilate these surfaces in order to build the first conical frustum (=B-B -> C-C), during meshing I get several errors about „Could not find extruded vertex …“ . Extrusion-only of B-B to C-C (without Dilate) works fine, but this would just give me a cylinder outline and it is not what I want.
Since I need a block structured mesh and also because A-A has a non-circular cross-section (see bottom plane of geometry in attached picture) I would really like to make use of the extrude command for creation of C-C and the other frustum above.

(1) Is there a way to make this work (without having to create all frustums including their blocked structure by hand) ?

(2) If not, can anybody think of a solution for how to script this in an efficient and handable way ?

Thanks a lot.

Cheers Flo

Mit freundlichen Grüßen
Dr.-Ing. Florian Hoffmann
inuTech GmbH                   Phone    : +49-(0)911-323843-22
Fuerther Strasse 212         Fax        : +49-(0)911-323843-43
90429 Nuernberg               E-Mai l   : florian.hoffmann at inutech.de
Germany                            Internet  : http://www.inutech.de

inuTech GmbH
Sitz / Registered Office: Nuernberg
Handelsregister / Companies' Register: AG Nürnberg HRB Nr. 19026
Geschäftsführer / Managing Director: Frank Vogel


Go to http://www.diffpack.com to read the details

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20160420/114ea0a5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ExtrudeDilateProblemWithMesh_.png
Type: image/png
Size: 231880 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20160420/114ea0a5/attachment-0001.png>

More information about the gmsh mailing list