v0.14.0
Loading...
Searching...
No Matches
sorption_cube.jou
Go to the documentation of this file.
1reset
2set duplicate block elements on
3
4brick x 0.0025 y 0.00041 z 0.00041
5
6# Set block with volume with gel material
7block 1 volume all
8block 1 name 'GEL'
9
10# Set Dirichelt boundary condition for solvent concentration
11block 2 surface 2 3 4
12block 2 name 'CHEMICAL_LOAD_1'
13block 2 attribute count 1
14block 2 attribute index 1 6.624729054813950e-18
15
16# Set solvent flux, i.e.
17block 4 surface 1 5 6
18block 4 name 'FLUX_CHEMICAL_LOAD_2'
19block 4 attribute count 1
20block 4 attribute index 1 0
21
22# Kinematic boundary condition for mechanical field
23create displacement on surface 6 dof 1 fix 0
24
25# Kinematic boundary condition for mechanical field
26create displacement on surface 5 dof 2 fix 0
27
28# Kinematic boundary condition for mechanical field
29create displacement on surface 1 dof 3 fix 0
30
31# Make a mesh
32volume all scheme Tetmesh
33volume all size auto factor 7
34mesh volume all
35
36# Set block 3 and set 10 node tetrahedrons in that block
37block 3 tet all
38block 3 element type TETRA10