Create mesh from step file in gmsh
Step file: tube_r.step.tar.gz
Merge "tube_R.step";
lc = 7; // taille par default
Field[1] = MathEval;
Field[1].F = lc;
Physical Surface("inner") = {2}; // creer un nset
//+
Physical Volume("all") = {1};
// define zones where to refine the mesh
Field[2] = Attractor;
Field[2].NNodesByEdge = 20;
Field[2].EdgesList = {7,9};
Field[3] = Threshold;
Field[3].IField = 2;
Field[3].LcMin = lc / 3;
Field[3].LcMax = lc;
Field[3].DistMin = 10.;
Field[3].DistMax = 20.;
Field[4] = Min;
Field[4].FieldsList = {1,3};
Background Field = 4;
This gives: