Have mesh size independent of number of points
I import brep file from FreeCAD to gmsh. In FreeCAD, for visualization, I increase number of points on airfoil. I don't want the final mesh to be dependent on the number of points on airfoil. In the geo file I have background mesh and also three statements to let only the background mesh to decide mesh element size:
lc = 100;
Field[1] = Attractor;
Field[1].FacesList = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 4, 5, 6, 7, 8, 9};
Field[1].NNodesByEdge = {100};
Field[2] = MathEval;
Field[2].F = Sprintf("F1/4 + %g", lc / 1000);
Background Field = 2;
Mesh.CharacteristicLengthExtendFromBoundary = 0;
Mesh.CharacteristicLengthFromPoints = 0;
Mesh.CharacteristicLengthFromCurvature = 0;
I tried two different brep files with different number of points on airfoil and expected the number of triangles to be the same after 2D meshing. However, they were not.