2 set duplicate block elements on
4 # Sete block with volume with gel material
9 import stl "/Users/likask/tmp/elephant.stl" merge make_elements stitch
12 # Set Dirichelt boundary condition for solvent concentration
14 #block 2 name 'CHEMICAL_LOAD_1'
15 #block 2 attribute count 1
16 #block 2 attribute index 1 1
18 # Set solvent flux, i.e. Neumann boundary condition
20 block 2 name 'FLUX_CHEMICAL_LOAD'
21 block 2 attribute count 1
22 block 2 attribute index 1 0.01
24 # Kinematic boundary condition for mechanical field
25 create Displacement on node 2499 2501 2484 dof 1 dof 2 dof 3 fix 0