[Gmsh] Local mesh refinement in Gmsh using Ball field

Prithivirajan V prithivi.purdue at gmail.com
Mon Mar 13 02:26:38 CET 2017


Hello,

I am generating a 3D volume mesh using STL files in Gmsh. In doing so, I am
interested to refine the size of the mesh within a sphere, for which I am
using a Ball field as follows

Field[1] = Ball;
Field[1].Radius=7;
Field[1].VIn=0.25;
Field[1].VOut=2;

Field[1].XCenter=20;
Field[1].YCenter=20;
Field[1].ZCenter=20;

Background Field = 2;
Mesh.CharacteristicLengthExtendFromBoundary = 0;

I need a refined mesh within the sphere of radius 7 and center at 20,20,20.

I am not able to see results from this, Am I missing something ?

Thanks,
Prithivi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20170312/c0dbf498/attachment.html>


More information about the gmsh mailing list