Skip to content
Snippets Groups Projects
Commit 2d2fc40b authored by Tianyu ZHANG's avatar Tianyu ZHANG
Browse files

geometry changes : panel to cube

parent 1f1caa5d
No related branches found
No related tags found
2 merge requests!293Master,!291Tianyu
// GEOMETRY AND MESH PARAMETERS
lays = 3; // number of layers of the composite (must be an integer)
lays = 10; // number of layers of the composite (must be an integer)
mm=1e-3; // unit for geometry
Lx = 150*mm; // panel length in x direction (coarse mesh)
Ly = 100*mm; // panel length in y direction (coarse mesh)
Lz = 10*mm; // length in z direction
R = 8*mm; // sphere radius
Lx = 150*mm; // panel length in x direction
Ly = 150*mm; // panel length in y direction
Lz = 100*mm; // length in z direction
R = 20*mm; // sphere radius
dis = 0.1*mm; // initial contact distance
slp = 10*mm; // panel characteristic length
sls = 10*mm; // sphere characteristic length
// sl3 = R;
pT1 = 15; // panel transfinite line value (control nodes number by line)
pT2 = 10; // panel transfinite line value (control nodes number by line)
pT = 15; // panel transfinite line value (control nodes number by line)
sT = 3; // sphere transfinite line value (control nodes number by line)
//
//////////////////////////
......@@ -34,8 +32,7 @@ Line Loop(1)={1,2,3,4};
Plane Surface(1)={1};
// replace unstructured grid by structured grid (with controlled nodes number by line)
Transfinite Line {1,3} = pT2 Using Progression 1;
Transfinite Line {2,4} = pT1 Using Progression 1;
Transfinite Line {1,2,3,4} = pT Using Progression 1;
// transfinite surface guarantee a structured grid on a surface
Transfinite Surface {1};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment