v0.14.0
Loading...
Searching...
No Matches
layered_gel_example.jou
Go to the documentation of this file.
1reset
2set duplicate block elements on
3brick x 0.002 y 0.00025 z 0.00125
4brick x 0.002 y 0.00025 z 0.00125
5move volume 1 y 0.00025
6merge surface 3 with surface 11
7webcut volume all with plane zplane noimprint nomerge
8delete Volume 3 4
9# Set block with volume with gel material
10block 1 volume 1
11block 1 name 'GEL_1'
12block 2 volume 2
13block 2 name 'GEL_2'
14# Make a mesh
15volume all scheme Tetmesh
16volume all size auto factor 7
17mesh volume all
18#surface 3 scheme trimesh
19#surface 3 size auto factor 2
20#mesh surface 3
21#
22#surface 5 9 scheme trimesh
23#surface 5 9 size auto factor 2
24#mesh surface 5 9
25#
26#volume all scheme Tetmesh
27#volume all sizing function type skeleton scale 7 time_accuracy_level 2 min_size auto max_size auto max_gradient 1.2 min_depth 2 max_depth 7 min_num_layers_3d 1 min_num_layers_2d 1 min_num_layers_1d 1 max_span_ang_surf 45 max_span_ang_curve 45
28#volume all sizing function type skeleton
29#mesh volume all
30#volume all scheme Tetmesh
31#volume 1 sizing function type skeleton scale 7 time_accuracy_level 2 min_size auto max_size auto max_gradient 1.2 min_depth 2 max_depth 7 min_num_layers_3d 1 min_num_layers_2d 1 min_num_layers_1d 1 max_span_ang_surf 45 max_span_ang_curve 45
32#volume 1 sizing function type skeleton
33#mesh volume 1
34# Set Dirichelt boundary condition for solvent concentration
35block 3 surface 17 27 1 7 14 26
36block 3 name 'CHEMICAL_LOAD_1'
37block 3 attribute count 1
38block 3 attribute index 1 1.5e06
39# Set solvent flux, i.e.
40block 5 surface 13 23 15 25
41block 5 name 'FLUX_CHEMICAL_LOAD_2'
42block 5 attribute count 1
43block 5 attribute index 1 0
44# Kinematic boundary condition for mechanical field
45create displacement on surface 15 dof 1 fix 0
46# Kinematic boundary condition for mechanical field
47create displacement on surface 25 dof 1 fix 0
48# Kinematic boundary condition for mechanical field
49create displacement on curve 29 dof 2 fix 0
50# Kinematic boundary condition for mechanical field
51create displacement on surface 1 dof 3 fix 0
52# Kinematic boundary condition for mechanical field
53create displacement on surface 7 dof 3 fix 0
54# Kinematic boundary condition for mechanical field
55create displacement on surface 13 dof 3 fix 0
56# Kinematic boundary condition for mechanical field
57create displacement on surface 23 dof 3 fix 0
58# Set block 4 and set 10 node tetrahedrons in that block
59block 4 tet all
60block 4 element type TETRA10