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