[Gmsh] equivalent to Field in geo file when using gmshpy

moritz braun moritz.braun at gmail.com
Thu Jul 11 18:59:56 CEST 2013


Dear Christophe

This is still rather difficult to understand!

In my geo file the mesh size control happened via

Field[1]=MathEval;
Field[1].F="KLC*(1-0.8*Exp(-16*((x*x+y*y+z*z-RI2))))*Sqrt(x*x+y*y+z*z)";
Background Field=1;
where KLC and RI2 are being replaced by floating point numbers via sed.
I still battle to understand how these three lines would be translated!

regards

Moritz




On Thu, Jul 11, 2013 at 6:43 PM, Christophe Trophime <
christophe.trophime at lncmi.cnrs.fr> wrote:

> python wrappers : how to specify the Mesh algorithm and mesh size?





-- 
Prof M Braun         Tel.:27-12-4298006/8027
Physics Department  Fax.: 27-12-4293643
University of South Africa (UNISA)
moritz.braun at gmail.com
P.O. Box 392
0003
UNISA
 South Africa
http://moritz-braun.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20130711/2690f8b4/attachment.html>