[Gmsh] Meshing Volume within a Volume

Aritra Bal aritrabal98 at iitkgp.ac.in
Fri May 31 07:42:27 CEST 2019


Hello there,

 I am using gmsh to mesh a geometry than contains one volume(with holes) inside another volume. The mesh completes just fine, but the results in the FEM solver later on are not what I'd expect. The same geometry, when designed and meshed in COMSOL, gives me the correct results. Is there anything wrong with my code, in the way I define the volumes and/or the holes? Attaching the code, as well as screenshots of the gmsh and COMSOL mesh. (exported to gmsh format). The COMSOL mesh also looks different to the one made in gmsh.

Sincerely,
Aritra Bal,
Indian Institute of Technology, Kharagpur.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Geometry.geo
Type: text/x-csrc
Size: 3327 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20190531/00b988d5/attachment-0001.geo>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GMSH_mesh.png
Type: image/png
Size: 54823 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20190531/00b988d5/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: COMSOL_mesh
Type: image/png
Size: 78962 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20190531/00b988d5/attachment-0003.png>


More information about the gmsh mailing list