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