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