Skip to content
Snippets Groups Projects
Commit daa3c29a authored by Emilie Sauvage's avatar Emilie Sauvage
Browse files

Commit new Torus test case

parent b5aef193
No related branches found
No related tags found
No related merge requests found
// ======================================================================
// The following settings were copied from benchmarks/step/linkrods.geo
// ======================================================================
Mesh.CharacteristicLengthFactor=0.1;
Mesh.CharacteristicLengthFromCurvature=1; //-clcurv
Mesh.CharacteristicLengthMin = 0.05; //-clmin
Mesh.CharacteristicLengthMax = 4.0; //-clmax
Mesh.LcIntegrationPrecision=1.e-5; //-epslc1d
Mesh.MinimumCirclePoints=15; //default=7
Mesh.CharacteristicLengthExtendFromBoundary=0;
// ======================================================================
lc = 0.5;
Point(1) = {2.0,0.0,0.0,lc};
Point(2) = {2.0,1,0.0,lc};
Point(3) = {1,0,0.0,lc};
Point(4) = {3,0,0.0,lc};
Point(5) = {2,-1,0.0,lc};
Circle(1) = {4,1,2};
Circle(2) = {2,1,3};
Circle(3) = {3,1,5};
Circle(4) = {5,1,4};
Line Loop(5) = {4,1,2,3}; //Inlet
Plane Surface(6) = {5};
//out[] = Extrude Surface{6, {0.0,1,0}, {0,0.0,0.0}, 1*3.14159};
out[] = Extrude{ {0.0, 1.0, 0.0},{ 0.0, 0.0, 0.0 }, Pi } { Surface{6}; };
//Recombine Surface {6, 27, 23, 15, 19, 28};
//Physical Surface("Wall") = {out[2],out[3],out[4],out[5]};
Compound Surface(100) = {out[2],out[3],out[4],out[5]};
Physical Surface("Wall") = {100};
Source diff could not be displayed: it is too large. Options to address this: view the blob.
// ======================================================================
// The following settings were copied from benchmarks/step/linkrods.geo
// ======================================================================
Mesh.Algorithm=7; //1=MeshAdapt, 5=Delaunay, 6=Frontal, 7=bamg
Mesh.RemeshParametrization= 1; //(0) harmonic (1) conformal
Mesh.RemeshAlgorithm = 1;
Mesh.CharacteristicLengthFactor=0.4;
Mesh.CharacteristicLengthFromPoints = 0;
Mesh.CharacteristicLengthFromCurvature=1; //-clcurv
Mesh.CharacteristicLengthMin = 0.01; //-clmin
Mesh.CharacteristicLengthMax = 2.0; //-clmax
Mesh.LcIntegrationPrecision = 1.e-5; //-epslc1d
Mesh.MinimumCirclePoints=15; //default=7
Mesh.CharacteristicLengthExtendFromBoundary=0;
//Merge "TorusRemeshedBAMG.stl";
//Merge "SimpleTorus.msh";
Merge "TorusInput.stl";
//Merge "occtorus.stl";
CreateTopology;
Compound Surface(20) = {1};
//Compound Surface(100) = {15,19,23,27};
Physical Surface("Wall") = {20};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment