[Gmsh] How can I mesh a CAD model and set physical surfaces automatically?

jeremy theler jeremy at seamplex.com
Tue Sep 18 12:23:37 CEST 2018


That is how boundary conditions are set in the web-based interface 
www.caeplex.com 
Try uploading your CAD model and creating a dummy project. From step #2
you can download the mesh in .msh format (although 2.2 only for now).

On Tue, 2018-09-18 at 04:27 +0000, Wesley Ranger wrote:
> Hello everyone:
>  
> I am currently working on a system which is aimed at automatically
> generating meshes for specific CAD models. The CAD model has
> different boundary conditions on different surfaces, so I have to
> create several physical groups for the model.
>  
> The problem is, I cannot find a proper way to pass the boundary
> conditional information to gmsh. All the geometries in gmsh are
> identified by numbers, which would change when the CAD model is
> topologically changed.
>  
> I had once developed a similar system. In that system, I paint
> several colors on different patches of the CAD model and then read
> the color property of the exported  *.step file.  In gmsh, however, I
> didn’t found proper geo command to read CAD properties (such as model
> color) from step files.
>  
> So, anyone please tell me any proper route to port the boundary
> condition information from CAD to gmsh? Thanks a lot!
>  
> Sincerely
>  
> Ran Wei
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh




More information about the gmsh mailing list