[Gmsh] how to create a simple 3D model

Christophe Geuzaine cgeuzaine at ulg.ac.be
Fri May 11 22:58:58 CEST 2007


irkpb.khazana at mac.com wrote:
> Dear Prof. Christophe Geuzaine,
> 
> 
> Thanks for your email.
> 
> 
> We are able to generate the mesh within Gmsh, however when it is 
> exported to other applications such as Impact FEA or GID 7.2 the mesh 
> does not appear.
> 
> 
> It states "No elements found". (.msh file format)
> 
> We have saved in the various formats but the Gmsh meshes do not appear 
> as meshes, it always states of Gmsh that there is "No Mesh" or "No 
> Elements"
> 

I see that a "Physical Surface" is defined in cone.geo, but no "Physical 
Volume". So if you only save the physical entities (which is the default 
behaviour), then indeed you will only get surface elements in the file.

To change this you can remove the "Physical Surface" command in 
cone.geo, or add a "Physical Volume" definition, or just select "Save 
all (discard physicals)" in the save dialog.



> 
> Thanks.
> 
> 
> 
> Best Regards
> 
> 
> Mr Rasul
> 
> 
> On 9 May 2007, at 08:30, Christophe Geuzaine wrote:
> 
>> irkpb.khazana at mac.com wrote:
>>> Dear GMSH,
>>> I have had a look at gmsh.
>>> It has a tutorial on how to create a simple 2D model.
>>> But you have no tutorial on how to create a simple 3D model ?
>>> Is there such a tutorial ?
>>
>> tutorial/t2.geo
>>
>>> Say for example a cone ?
>>> There does coma a dmo / example of a cone, but doe not seem to work,  
>>> cannot  create a 3d volume mesh of it unlike the sphere which you can.
>>
>>
>> demos/cone.geo works fine over here... What error do you get?
>>
>>
>>
>>> Thanks.
>>> Best Regards
>>> Mr Rasul
>>> _______________________________________________
>>> gmsh mailing list
>>> gmsh at geuz.org
>>> http://www.geuz.org/mailman/listinfo/gmsh
>>
>>
>> -- 
>> Prof. Christophe Geuzaine
>> University of Liege, Electrical Engineering and Computer Science
>> http://www.montefiore.ulg.ac.be/~geuzaine
> 
> 
> 


-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine