v0.14.0
creep_force.jou
Go to the documentation of this file.
1 reset
2 set duplicate block elements on
3 
4 brick x 0.0025 y 0.005 z 0.0025
5 
6 # Set block with volume with gel material
7 block 1 volume all
8 block 1 name 'GEL'
9 
10 # Set Dirichelt boundary condition for solvent concentration
11 block 2 surface 2 4 5
12 block 2 name 'CHEMICAL_LOAD_1'
13 block 2 attribute count 1
14 block 2 attribute index 1 1.6102573617124e-17
15 
16 # Set solvent flux, i.e.
17 block 4 surface 1 3 6
18 block 4 name 'FLUX_CHEMICAL_LOAD_2'
19 block 4 attribute count 1
20 block 4 attribute index 1 0
21 
22 # Static boundary condition, i.e. pressure
23 create pressure on surface 5 magnitude -500
24 
25 # Kinematic boundary condition for mechanical field
26 create displacement on surface 6 dof 1 fix 0
27 
28 # Kinematic boundary condition for mechanical field
29 create displacement on surface 3 dof 2 fix 0
30 
31 # Kinematic boundary condition for mechanical field
32 create displacement on surface 1 dof 3 fix 0
33 
34 # Make a mesh
35 volume all scheme Tetmesh
36 volume all size auto factor 7
37 mesh volume all
38 
39 # Set block 3 and set 10 node tetrahedrons in that block
40 block 3 tet all
41 block 3 element type TETRA10