v0.14.0
rod.jou
Go to the documentation of this file.
1 reset
2 set duplicate block elements on
3 
4 brick x 1 y 1 z 10
5 
6 create Displacement on surface 1 dof 3 fix 0
7 create Displacement on vertex 1 dof 3 dof 2 fix 0
8 create Displacement on vertex 3 dof 3 dof 1 fix 0
9 create Displacement on vertex 4 dof 1 dof 2 dof 3 fix 0
10 
11 create pressure on surface 2 magnitude 2
12 #create force on surface 2 force value 1 direction y
13 
14 block 1 volume all
15 block 1 name 'MAT_ELASTIC'
16 block 1 attribute count 2
17 block 1 attribute index 1 1e1 #young modulus
18 block 1 attribute index 2 0.25 #poisson ratio
19 
20 block 2 volume 1
21 block 2 name "BODY_FORCES"
22 block 2 attribute count 4
23 block 2 attribute index 1 0.01 #material density
24 block 2 attribute index 2 0. #constant acceleration in x-direction
25 block 2 attribute index 3 0. #constant acceleration in y-direction
26 block 2 attribute index 4 0. #constant acceleration in z-direction
27 
28 volume all scheme Tetmesh
29 volume all size auto factor 9
30 mesh volume all