Skip to content
Snippets Groups Projects
Commit 8bcfb5df authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

update option names

parent de0ceea3
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,6 @@ Field[1].SizeFar = 0.1; ...@@ -15,6 +15,6 @@ Field[1].SizeFar = 0.1;
Field[1].Size = 0.005; Field[1].Size = 0.005;
Field[1].Thickness = 0.1; Field[1].Thickness = 0.1;
Field[1].Ratio = 1.4; Field[1].Ratio = 1.4;
Field[1].NodesList = {8, 9}; Field[1].PointsList = {8, 9};
BoundaryLayer Field = 1; BoundaryLayer Field = 1;
...@@ -12,12 +12,12 @@ Line Loop(5) = {1,2,3,4}; ...@@ -12,12 +12,12 @@ Line Loop(5) = {1,2,3,4};
Plane Surface(6) = {5}; Plane Surface(6) = {5};
Field[1] = Distance; Field[1] = Distance;
Field[1].NodesList = {55}; Field[1].PointsList = {55};
Field[2] = Threshold; Field[2] = Threshold;
Field[2].IField = 1; Field[2].InField = 1;
Field[2].LcMin = lc/50; Field[2].SizeMin = lc/50;
Field[2].LcMax = lc; Field[2].SizeMax = lc;
Field[2].DistMin = 0.05; Field[2].DistMin = 0.05;
Field[2].DistMax = 0.4; Field[2].DistMax = 0.4;
......
...@@ -24,21 +24,21 @@ Line Loop(5) = {1,2,3,4}; ...@@ -24,21 +24,21 @@ Line Loop(5) = {1,2,3,4};
Plane Surface(6) = {5}; Plane Surface(6) = {5};
Field[1] = Distance; Field[1] = Distance;
Field[1].NodesList = {5}; Field[1].PointsList = {5};
Field[2] = Threshold; Field[2] = Threshold;
Field[2].IField = 1; Field[2].InField = 1;
Field[2].LcMin = 0.001; Field[2].SizeMin = 0.001;
Field[2].LcMax = 0.005; Field[2].SizeMax = 0.005;
Field[2].DistMin = 0.05; Field[2].DistMin = 0.05;
Field[2].DistMax = 0.2; Field[2].DistMax = 0.2;
Field[2].StopAtDistMax = 1; // don't impose element size outside DistMax Field[2].StopAtDistMax = 1; // don't impose element size outside DistMax
//Field[2].Sigmoid = 1; // use sigmoid instead of linear interpol //Field[2].Sigmoid = 1; // use sigmoid instead of linear interpol
Field[4] = Threshold; Field[4] = Threshold;
Field[4].IField = 1; Field[4].InField = 1;
Field[4].LcMin = 0.01; Field[4].SizeMin = 0.01;
Field[4].LcMax = 0.1; Field[4].SizeMax = 0.1;
Field[4].DistMin = 0.2; Field[4].DistMin = 0.2;
Field[4].DistMax = 0.5; Field[4].DistMax = 0.5;
......
...@@ -12,7 +12,7 @@ Line Loop(5) = {1,2,3,4}; ...@@ -12,7 +12,7 @@ Line Loop(5) = {1,2,3,4};
Plane Surface(6) = {5}; Plane Surface(6) = {5};
Field[1] = Distance; Field[1] = Distance;
Field[1].NodesList = {55}; Field[1].PointsList = {55};
Field[2] = MathEval; Field[2] = MathEval;
Field[2].F = "(F1+0.025)^2"; Field[2].F = "(F1+0.025)^2";
Background Field = 2; Background Field = 2;
...@@ -11,7 +11,7 @@ Plane Surface(6) = {5}; ...@@ -11,7 +11,7 @@ Plane Surface(6) = {5};
// computes the distance to point 1 // computes the distance to point 1
Field[1] = Distance; Field[1] = Distance;
Field[1].NodesList = {1}; Field[1].PointsList = {1};
// computes a function of the value computed by field 1 ("F1") // computes a function of the value computed by field 1 ("F1")
Field[2] = MathEval; Field[2] = MathEval;
...@@ -19,4 +19,3 @@ Field[2].F = "Exp(-7*(1-F1))"; ...@@ -19,4 +19,3 @@ Field[2].F = "Exp(-7*(1-F1))";
// applies field 2 as background mesh // applies field 2 as background mesh
Background Field = 2; Background Field = 2;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment