v0.14.0
LShape.jou
Go to the documentation of this file.
1 reset
2 set duplicate block elements on
3 
4 brick x 1 y 2 z 0.5
5 brick x 2 y 1 z 0.5
6 
7 move curve 23 midpoint location curve 11 include_merged
8 unite volume all
9 
10 Sideset 1 surface 3
11 Sideset 2 surface 12
12 
13 Sideset 100 curve all
14 nodeset 101 vertex all
15 Sideset 102 surface all
16 
17 {young_modulus = 1}
18 {poisson_ratio = 0.5}
19 block 1 volume all
20 block 1 name 'MAT_ELASTIC'
21 block 1 attribute count 2
22 block 1 attribute index 1 {young_modulus}
23 block 1 attribute index 2 {poisson_ratio}
24 
25 create displacement on surface 3 dof 1 dof 2 dof 3 fix 0
26 create pressure on surface 12 magnitude 1
27 
28 volume all scheme tetmesh
29 volume all size auto factor 7
30 mesh volume all
31 
32 save as "/Users/ashvarts/mofem_install/users_modules_debug/build/basic_finite_elements/elasticity_mixed_formulation/LShape.cub" overwrite
33 
34 
35