Skip to content

Commit c79627b

Browse files
committed
added plane strain/stress demo
1 parent 6d5adcd commit c79627b

File tree

15 files changed

+230
-0
lines changed

15 files changed

+230
-0
lines changed

Linear/PSE/EYY.png

17.3 KB
Loading

Linear/PSE/README.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# Illustration of Plane Stress and Plane Strain
2+
Tested with CGX/CCX 2.10
3+
4+
+ Parametric geometry
5+
+ 4 simply supported beams with different width (one of them in fact a plate) and one of them with lateral constraints (plane strain)
6+
7+
File | Contents
8+
:------------- | :-------------
9+
[par.run.fbl](par.run.fbl) | CGX script, complete analysis, parametrized with param.py
10+
[solve.inp](solve.inp) | CCX input
11+
12+
To run the complete analysis, edit parameter values in [par.run.fbl](par.run.fbl)
13+
and run
14+
```
15+
> param.py
16+
> cgx -b run.fbl
17+
```
18+
19+
## Pre-Processing
20+
21+
The problem is parametrized using [param.py](../../Scripts/param.py). The geometry is
22+
built by first defining the edges at x,z=0 and then extruding them in z and x direction. Symmetry is used to provide a convenient section view.
23+
24+
The model consists of the following parts (listed in increasing y direction) with identical length and height but different width:
25+
26+
+ Thin beam with transverse constraints (uy=0), representing plane strain.
27+
+ Thin beam without transverse constraints, representing stress state.
28+
+ Square section beam, still behaving like a plane stress structure.
29+
+ Wide plate, showing plane strain conditions in the center and plane stress conditions at the sides.
30+
31+
<img src="mesh.png" width="400" title="Separate meshes">
32+
33+
<img src="load.png" width="400" title="Area for pressure application">
34+
<img src="ux0.png" width="400" title="Symmetry boundary">
35+
36+
<img src="uz0.png" width="400" title="Vertical support">
37+
<img src="uy0.png" width="400" title="Transversal support">
38+
39+
## Solving
40+
41+
Linear static analysis without any particular challenge.
42+
43+
## Post-Processing
44+
45+
46+
The displacement plot shows the increased stiffness due to lateral constraints (suppressed transversal strain) in the center of the plate and in the plane strain model.
47+
48+
49+
50+
<img src="U3-flat.png" width="400" title="Vertical displacement">
51+
<img src="U3.png" width="400" title="Vertical displacement">
52+
53+
In plane strain, the normal strain in lateral (y) direction is zero (center of the plate, constrained thin beam).
54+
55+
In plane stress, the normal stress in lateral direction is zero (lateral boundaries of the plate, unconstrained beams).
56+
57+
<img src="EYY.png" width="400" title="Transverse strain">
58+
<img src="SYY.png" width="400" title="Transverse stress">
59+
60+
The bending stress is nearly unaffected by the lateral
61+
constraints conditions.
62+
63+
<img src="SXX.png" width="400" title="Longitudinal (bending) stress">
64+
<img src="SE.png" width="400" title="Equivalent stress (von Mises)">

Linear/PSE/SE.png

20.8 KB
Loading

Linear/PSE/SXX.png

17.5 KB
Loading

Linear/PSE/SYY.png

15.3 KB
Loading

Linear/PSE/U3-flat.png

8.73 KB
Loading

Linear/PSE/U3.png

16 KB
Loading

Linear/PSE/load.png

6.68 KB
Loading

Linear/PSE/mesh.png

9.77 KB
Loading

Linear/PSE/par.run.fbl

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
# <b0=1> width of the plane models
2+
# <b1=10> width of the beam
3+
# <b2=150> width of the plate
4+
# <he=10> heigth
5+
# <le=50> length
6+
# <dist=30> distance of the models
7+
8+
seto PE
9+
pnt ! 0 0 0
10+
swep all new tra 0 <b0> 0 1 a
11+
setc
12+
13+
seto PS
14+
pnt ! 0 <b0+dist> 0
15+
swep PS new tra 0 <b0> 0 1 a
16+
setc
17+
18+
seto Beam
19+
pnt ! 0 <2*b0+2*dist> 0
20+
swep Beam new tra 0 <b1> 0 2 a
21+
setc
22+
23+
seto Plate
24+
pnt ! 0 <2*b0+b1+3*dist> 0
25+
swep Plate new tra 0 <b2> 0 20 a
26+
setc
27+
28+
swep all new tra 0 0 <he> 2 a
29+
swep all new tra <le> 0 0 20 a
30+
31+
elty all he8i
32+
mesh all
33+
send all abq
34+
35+
# mesh plot
36+
frame
37+
rot y
38+
rot l 20
39+
rot u 25
40+
zoom 2.3
41+
view elem
42+
text From bottom right: plane strain, plane stress, beam, plate
43+
seta ! all
44+
hcpy png
45+
sys mv hcpy_1.png mesh.png
46+
47+
# z support
48+
seta nodes n all
49+
enq nodes fixz rec <le> _ _ 0.1
50+
send fixz abq spc 3
51+
text Constraint uz=0 (support)
52+
plot n fixz
53+
hcpy png
54+
sys mv hcpy_2.png uz0.png
55+
56+
# y support
57+
enq nodes fixy rec _ <b0/2.> _ <1.1*b0/2.>
58+
seta fixy p D003 D005 D007
59+
comp fixy do
60+
send fixy abq spc 2
61+
text Constraint uy=0 (rigid body constraint and plane strain)
62+
plot n fixy
63+
hcpy png
64+
sys mv hcpy_3.png uy0.png
65+
66+
# symmetry
67+
enq nodes symx rec 0 _ _ 0.1
68+
send symx abq spc 1
69+
text Constraint ux=0 (symmetry)
70+
plot n symx
71+
hcpy png
72+
sys mv hcpy_4.png ux0.png
73+
74+
# load
75+
seta load s A00D A00E A00F A00G
76+
comp load do
77+
comp load do
78+
send load abq pres 1
79+
text Pressure application area
80+
plot f load
81+
hcpy png
82+
sys mv hcpy_5.png load.png
83+
84+
sys ccx solve
85+
read solve.frd
86+
87+
# sys wmctrl -r :ACTIVE: -e 0,200,0,1200,600
88+
89+
# sys wmctrl -r Calculix -e 0,200,0,1200,600
90+
# rot y
91+
# rot l 60
92+
# rot u 30
93+
# zoom 2
94+
95+
96+
view disp
97+
view elem off
98+
scal d 200
99+
rot y
100+
rot l 10
101+
zoom
102+
zoom 3
103+
ds 1 e 3
104+
text Vertical displacement
105+
plot fv all
106+
hcpy png
107+
sys mv hcpy_6.png U3-flat.png
108+
109+
seta base se all
110+
copy all new mir x
111+
rot y
112+
rot l 20
113+
rot u 25
114+
frame
115+
zoom 2.3
116+
tra l <le/2>
117+
118+
ds 1 e 3
119+
plot fv base
120+
hcpy png
121+
sys mv hcpy_7.png U3.png
122+
123+
text Transverse strain
124+
ds 3 e 2
125+
hcpy png
126+
sys mv hcpy_8.png EYY.png
127+
128+
text Transverse stress
129+
ds 2 e 2
130+
hcpy png
131+
sys mv hcpy_9.png SYY.png
132+
133+
text Longitudinal (bending) stress
134+
ds 2 e 1
135+
hcpy png
136+
sys mv hcpy_10.png SXX.png
137+
138+
text Equivalent (von Mises) stress
139+
ds 2 e 7
140+
hcpy png
141+
sys mv hcpy_11.png SE.png

0 commit comments

Comments
 (0)