v0.14.0
elephant.jou
Go to the documentation of this file.
1 reset
2 set duplicate block elements on
3 
4 # Sete block with volume with gel material
5 block 1 volume all
6 block 1 name 'GEL'
7 
8 
9 import stl "/Users/likask/tmp/elephant.stl" merge make_elements stitch
10 mesh volume all
11 
12 # Set Dirichelt boundary condition for solvent concentration
13 #block 2 tri all
14 #block 2 name 'CHEMICAL_LOAD_1'
15 #block 2 attribute count 1
16 #block 2 attribute index 1 1
17 
18 # Set solvent flux, i.e. Neumann boundary condition
19 block 2 tri all
20 block 2 name 'FLUX_CHEMICAL_LOAD'
21 block 2 attribute count 1
22 block 2 attribute index 1 0.01
23 
24 # Kinematic boundary condition for mechanical field
25 create Displacement on node 2499 2501 2484 dof 1 dof 2 dof 3 fix 0