v0.14.0
Loading...
Searching...
No Matches
elephant.jou
Go to the documentation of this file.
1reset
2set duplicate block elements on
3
4# Sete block with volume with gel material
5block 1 volume all
6block 1 name 'GEL'
7
8
9import stl "/Users/likask/tmp/elephant.stl" merge make_elements stitch
10mesh 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
19block 2 tri all
20block 2 name 'FLUX_CHEMICAL_LOAD'
21block 2 attribute count 1
22block 2 attribute index 1 0.01
23
24# Kinematic boundary condition for mechanical field
25create Displacement on node 2499 2501 2484 dof 1 dof 2 dof 3 fix 0