v0.16.0
Loading...
Searching...
No Matches
mesh_for_prims.jou
Go to the documentation of this file.
1reset
2
3#GEOMETRY
4create brick x 15 y 15 z 5
5create brick x 15 y 15 z 0.1
6#create brick x 6.4 y 6.4 z 5.1
7create brick x 5.6 y 5.6 z 5.1
8move surface 8 location surface 1 include_merged
9align volume 3 surface 14 with surface 2
10imprint volume all
11merge volume all
12delete volume 3
13move surface 25 location 0 0 0 include_merged
14
15
16#BOUNDARY CONDITIONS
17sideset 101 surface 21
18#sideset 202 surface 25
19create displacement on surface 22 20 dof all fix 0
20
21#BLOCKS OF MATERIALS
22set duplicate block elements on
23block 1 volume 1
24block 1 name "MAT_ELASTIC_1"
25block 1 attribute count 2
26#block 2 volume 2
27#block 2 name "MAT_ELASTIC_2"
28#block 2 attribute count 2
29
30#POLYMER PARAMETERS
31#block 2 attribute index 1 0.25
32#block 2 attribute index 2 0.49
33
34#HYDROGEL PARAMETERS
35block 1 attribute index 1 3.6e-3
36block 1 attribute index 2 0.4
37
38delete volume 2
39
40#{mesh_factor=1}
41surface 21 size auto factor {mesh_factor}
42surface 21 scheme TriMesh
43mesh surface 21
44#surface 21 scheme copy source surface 25 source curve 25 target curve 40 nosmoothing
45#mesh surface 21
46volume all size auto factor 7
47volume all scheme tetmesh
48
49#volume 1 sizing function type skeleton
50mesh volume all
51
52save as "/Users/karollewandowski/moFEM/users_modules/cell_engineering/mesh_cell_force_map.cub" overwrite
53list tet