[Gmsh] question about CharacteristicLengthMax
Peter Johnston
p.johnston at griffith.edu.au
Fri Oct 4 05:54:32 CEST 2019
Hello,
I was under the impression that CharacteristicLengthMax was used to control the mesh size in gmsh. However, I seem to he having some issues.
In the attached python script, I read in some STL files that define surface. I then define some volumes and then mesh them. If I do not set CharacteristicLengthMax I get a volume mesh as shown in no-max.jpg. This is OK, but I would like some more nodes within and around my heart. If I set CharacteristicLengthMax=0.5, then I get a similar mesh around the heart, but it is finer away from the heart (max-0-5.jpg). However, if I set CharacteristicLengthMax=0.05, then I appear to get rubbish, especially around the heart (max-0-05.jpg).
Clearly, I have missed something.
I also tried to use a ball around the heart region, but that didn’t achieve anything. Given the above comments, I was unsure what to put in for VIN and VOUT.
Any thoughts would be much appreciated.
Thank you,
Peter.
---------------------------------------------------------------------
Associate Professor Peter Johnston (FAustMS, FIMA)
School of Environment and Science
Griffith University | Nathan | QLD 4111 | Technology (N44) Room 3.19
T +61 7 373 57748| F +61 7 373 57656 Email p.johnston at griffith.edu.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20191004/f41e8fc9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strtp.py
Type: application/octet-stream
Size: 2053 bytes
Desc: strtp.py
URL: <http://onelab.info/pipermail/gmsh/attachments/20191004/f41e8fc9/attachment-0001.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-max.jpg
Type: image/jpeg
Size: 427134 bytes
Desc: no-max.jpg
URL: <http://onelab.info/pipermail/gmsh/attachments/20191004/f41e8fc9/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: max-0-5.jpg
Type: image/jpeg
Size: 532463 bytes
Desc: max-0-5.jpg
URL: <http://onelab.info/pipermail/gmsh/attachments/20191004/f41e8fc9/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: max-0-05.jpg
Type: image/jpeg
Size: 342447 bytes
Desc: max-0-05.jpg
URL: <http://onelab.info/pipermail/gmsh/attachments/20191004/f41e8fc9/attachment-0005.jpg>
More information about the gmsh
mailing list