2 set duplicate block elements on
4 brick x 0.0025 y 0.005 z 0.0025
6 # Set block with volume with gel material
10 # Set Dirichelt boundary condition for solvent concentration
12 block 2 name 'CHEMICAL_LOAD_1'
13 block 2 attribute count 1
14 block 2 attribute index 1 1.6102573617124e-17
16 # Set solvent flux, i.e.
18 block 4 name 'FLUX_CHEMICAL_LOAD_2'
19 block 4 attribute count 1
20 block 4 attribute index 1 0
22 # Static boundary condition, i.e. pressure
23 create pressure on surface 5 magnitude -500
25 # Kinematic boundary condition for mechanical field
26 create displacement on surface 6 dof 1 fix 0
28 # Kinematic boundary condition for mechanical field
29 create displacement on surface 3 dof 2 fix 0
31 # Kinematic boundary condition for mechanical field
32 create displacement on surface 1 dof 3 fix 0
35 volume all scheme Tetmesh
36 volume all size auto factor 7
39 # Set block 3 and set 10 node tetrahedrons in that block
41 block 3 element type TETRA10