[Gmsh] How get into a Field the element size given by the default gmsh strategy (based on points characteristic length) ?

NENNIG Benoit benoit.nennig at supmeca.fr
Tue Sep 8 17:21:02 CEST 2015


Dear Gmsh developers and users,

Is there a way to built a Field that returns the local Characteristic Length obtained by using the point specification

Mesh.CharacteristicLengthFromPoints=1;
Mesh.CharacteristicLengthExtendFromBoundary = 1;
lc = .15;
Point(1) = {0.0,0.0,0,lc};
...
Field[1] = ????

I mean : how to get into a Field variable the size given by the default gmsh strategy that linearly interpolate all points Characteristic Length.

Thanks,

Benoit