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