v0.14.0
trans_isotropic_cube.jou
Go to the documentation of this file.
1 reset
2 brick x 1 y 1 z 1
3 
4 volume 1 scheme Tetmesh
5 volume all size 1
6 
7 mesh volume 1
8 set duplicate block elements on
9 block 1 volume 1
10 
11 #!Define block attributes
12 block 1 attribute count 5
13 #Young's modulus in xy plane (Ep)
14 block 1 attribute index 1 1
15 #Young's modulus in z-direction (Ez)
16 block 1 attribute index 2 1
17 #Poisson's ratio in xy plane (vp)
18 block 1 attribute index 3 0.2
19 #Poisson's ratio in z-direction (vpz)
20 block 1 attribute index 4 0.15
21 #Shear modulus in z-direction (Gzp)
22 block 1 attribute index 5 1
23 
24 #!Displacement bcs
25 create Displacement on surface 2 dof 3 fix 0
26 create Displacement on curve 6 dof 2 fix 0
27 create displacement on curve 6 dof 2 fix 0
28 create displacement on vertex 7 dof 1 dof 2 dof 3 fix 0
29 
30 #!Force
31 create force on surface 1 force value 1 direction z
32 
33 block 2 volume 1
34 
35 #create pressure on surface 3 magnitude 1
36 #create pressure on surface 5 magnitude -1
37 #nodeset 6 vertex 1
38 #nodeset 6 name 'ZeroPressure'
39 
40 #!Add material name and description
41 block 1 name "MAT_ELASTIC_TRANSISO_1"
42 block 2 name "PotentialFlow"
43 
44 block 1 description 'Transverse Isotropic material properties'
45 save as "/Users/likask/MyBuild/mofem-bitbucket/mofem/meshes/trans_isotropic_cube.cub" overwrite
46 
47 
48 
49