Skip to content

Commit e64e97c

Browse files
committed
Add SMath reference and output of rotation
1 parent 6e4e24b commit e64e97c

File tree

5 files changed

+237
-0
lines changed

5 files changed

+237
-0
lines changed

Linear/StressConc1/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ File | Contents
1111
[par.run.fbl](par.run.fbl) | CGX script, complete analysis, parametrized with param.py
1212
[Stress.inp](Stress.inp) | CCX input
1313

14+
15+
## Reference Estimates
16+
Click the image below to open a life SMath worksheet
17+
18+
[![Screenshot](Stressconc1.png)](http://smath.info/cloud/worksheet/T2x8HNoS)
19+
20+
1421
To run the complete analysis, edit parameter values in [par.run.fbl](par.run.fbl)
1522
and run
1623
```
@@ -44,3 +51,5 @@ In a node set based definition, the points in the path plot directy correspond t
4451

4552
<img src="Refs/nodepath.png" title="Worst principal stress, path specified by node set">
4653
<img src="Refs/linepath.png" title="Worst principal stress, path specified by line set. There is a bug: target nodes without values (outside the structure) should interrupt the curve.">
54+
55+
The rotation of the rot node about z is written to `Stress.dat` and displayed in the console window at the end of the postprocessing.

Linear/StressConc1/Stress.inp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
*include, input=rb.nam
44
** the rigid body must be sufficiently constrained.
55
*rigid body, nset=Nrb, ref node=1, rot node=2
6+
*nset, nset=rotnode
7+
2
68
*boundary
79
Nsym, 1
810
1,2,3
@@ -26,4 +28,6 @@ Nsym, 1
2628
U
2729
*el file, output=2D
2830
S
31+
*node print, nset=rotnode
32+
U
2933
*end step

Linear/StressConc1/Stressconc1.png

11.4 KB
Loading

Linear/StressConc1/Stressconc1.sm

Lines changed: 222 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,222 @@
1+
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
2+
<?application progid="SMath Studio Desktop" version="0.98.6179.21440"?>
3+
<regions>
4+
<settings>
5+
<identity>
6+
<id>69f13bd9-4507-4db7-805f-53cfa3bb9ca3</id>
7+
<revision>2</revision>
8+
</identity>
9+
<calculation>
10+
<precision>4</precision>
11+
<exponentialThreshold>5</exponentialThreshold>
12+
<fractions>decimal</fractions>
13+
</calculation>
14+
<pageModel active="true" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
15+
<paper id="1" orientation="Portrait" width="850" height="1100" />
16+
<margins left="39" right="39" top="39" bottom="39" />
17+
<header alignment="Center" color="#a9a9a9">&amp;[DATE] &amp;[TIME] - &amp;[FILENAME]</header>
18+
<footer alignment="Center" color="#a9a9a9">&amp;[PAGENUM] / &amp;[COUNT]</footer>
19+
<backgrounds />
20+
</pageModel>
21+
<dependencies>
22+
<assembly name="SMath Studio Desktop" version="0.98.6179.21440" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
23+
<assembly name="Math Region" version="0.98.6179.21440" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
24+
<assembly name="Picture Region" version="1.10.6179.21444" guid="06b5df04-393e-4be7-9107-305196fcb861" />
25+
<assembly name="Text Region" version="1.10.6179.21446" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
26+
</dependencies>
27+
</settings>
28+
<region id="0" left="18" top="18" width="667" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
29+
<text lang="eng">
30+
<p>The cantilever beam is loaded such that the specified nominal stress is reached.</p>
31+
</text>
32+
</region>
33+
<region id="1" left="18" top="45" width="82" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
34+
<math>
35+
<input>
36+
<e type="operand">L</e>
37+
<e type="operand">100</e>
38+
<e type="operand" style="unit">mm</e>
39+
<e type="operator" args="2">*</e>
40+
<e type="operator" args="2">:</e>
41+
</input>
42+
</math>
43+
</region>
44+
<region id="2" left="126" top="45" width="91" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
45+
<math>
46+
<input>
47+
<e type="operand">E</e>
48+
<e type="operand">210</e>
49+
<e type="operand" style="unit">GPa</e>
50+
<e type="operator" args="2">*</e>
51+
<e type="operator" args="2">:</e>
52+
</input>
53+
</math>
54+
</region>
55+
<region id="3" left="306" top="45" width="292" height="108" color="#000000" bgColor="#ffffff">
56+
<picture>
57+
<raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAARwAAABkCAYAAABU8o/4AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAARvSURBVHhe7dZbbhw3EEBRLcSfWXlW55+sQQkDTMAQ7G62plnkkOcABdgzelilrgt/fQMEERwgjOAAYQQHCCM4QBjBAcIIDhBGcIAwggOEERwgjOAAYQQHCCM4QBjBAcIIDhBGcGADX3/+/m9GEhxYXB6bcqIJDiyuFpraRBAc2EAtMGfTi+DAYH/9+uN/00MtKi3ztKmD8/X19e/ACsqwvOYl//PTajFJ81J7L5+nTHvNr9AIDp+kjEk+V1o+5qdqEXlNqfYxaZ4w5TXnkREcZlOGJJ93vPv5Z8pw5H9/vVbT8jF3THXNKS5lYASHaGVEyump19evhaP2Wm/TXPNRWASHJ5XxqM1Ivb5/LS75a/nrPU1xzWdRERxaleGozex6/RuPwnL0ei/Dr/kqKIJDGY2jWUGvn+MoLEev9zL0mltiIjjrKUNxNTvp9fOeheXsvacNueYUkdaQCM78ykBcDcd67ecsKmfvPS38mu8GRHDilGFoHZ7Ta59nUTl772mh1/yT2AjOfWUQWoc5RP8u8uD0js6U15yHZqfglAH46fDZRvwOtw1OGZiZg1Me+rsDyYhnYcvg1OLyTnDKg356oIcRz9ZWwUlROQpLer089NZ5fV1jPmlez26kPDg9ozM8OFeLjV48jDYiOMnywWlZquCwG8F5WFpm60IFh90IzoPuLlJw2FGKTrQlg3NHio3gsCPBCZSHRnDYkeAEKQMjOOxIcALU4iI47EhwOkpROQqL4LAjwenkKiiCw44Ep4OWmAgOO0rPfXR0lg1OWmZrSASHHQnOQ+4GRHDYkeAMkJYuOOxIcALloREcdjQyOD1Nd81lYASHHUUHJ+J/N8lU11yLi+CwI8Hp7CgsgsOOXs99VHS2Cs5ZVASHHQlOB2mpV0ERHHYUGZyo2CTDrrk1JILDjlJo8ulp+eDciYjgsKIyKOVEPvfLB6dVWrrg8GlqASnniuAEykMjOMykFo9ynhD13Oex2TI45aIFhwi1cNQmyojgRJjqmmtLFhzeUYtGbWYT8dznsdkuOEcLFhxytViczaeKDk6UKa75bLmCs7ZaJM5mF4LTQVrq1WIFZ361MLQOdb2f+xGxSYZdc+tCBSdGLQatw/ME50F3YiM452oB+Mkwl57P/ajYJFNecx6aVYJTO/InhjX1eu7z2AjOP8pF91p87Xh7DtwREZwRpgpObcm1431i0vcyZuZ5Wh6brYNztuAei4fdzBCbZPg1XwVFcOA9s8QmGXrNLTERHHjP9sFJEWmNjeDAe2aJTRJ+zXdDIziwjumuuQyM4MA6prrmWlwEB9YxzTUfhUVwYB1TXPNZVAQH1jH0mlNMroIiOLCOYdfcGhLBgXUMueY7EREcWMe015xC8xpgDVNecx4ZwYF1THfNZWAEB9YxzTWnsNTiIjiwjimu+SwqggPrGH7NV0ERHFjHsGtOIRET2MuQixca2JPLB8IIDhBGcIAwggOEERwgjOAAYQQHCCM4QBjBAcIIDhBGcIAg399/A9ragr2dKQVEAAAAAElFTkSuQmCC</raw>
58+
</picture>
59+
</region>
60+
<region id="4" left="18" top="63" width="73" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
61+
<math>
62+
<input>
63+
<e type="operand">w</e>
64+
<e type="operand">60</e>
65+
<e type="operand" style="unit">mm</e>
66+
<e type="operator" args="2">*</e>
67+
<e type="operator" args="2">:</e>
68+
</input>
69+
</math>
70+
</region>
71+
<region id="5" left="126" top="72" width="99" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
72+
<math>
73+
<input>
74+
<e type="operand">σ.nom</e>
75+
<e type="operand">1</e>
76+
<e type="operand" style="unit">MPa</e>
77+
<e type="operator" args="2">*</e>
78+
<e type="operator" args="2">:</e>
79+
</input>
80+
</math>
81+
</region>
82+
<region id="6" left="18" top="81" width="65" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
83+
<math>
84+
<input>
85+
<e type="operand">t</e>
86+
<e type="operand">1</e>
87+
<e type="operand" style="unit">mm</e>
88+
<e type="operator" args="2">*</e>
89+
<e type="operator" args="2">:</e>
90+
</input>
91+
</math>
92+
</region>
93+
<region id="7" left="576" top="81" width="20" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
94+
<math>
95+
<input>
96+
<e type="operand">M</e>
97+
</input>
98+
</math>
99+
</region>
100+
<region id="8" left="189" top="99" width="97" height="42" color="#000000" bgColor="#ffffff" fontSize="10">
101+
<math>
102+
<input>
103+
<e type="operand">I</e>
104+
<e type="operand">1</e>
105+
<e type="operand">12</e>
106+
<e type="operator" args="2">/</e>
107+
<e type="operand">t</e>
108+
<e type="operator" args="2">*</e>
109+
<e type="operand">w</e>
110+
<e type="operand">3</e>
111+
<e type="operator" args="2">^</e>
112+
<e type="operator" args="2">*</e>
113+
<e type="operator" args="2">:</e>
114+
</input>
115+
</math>
116+
</region>
117+
<region id="9" left="18" top="108" width="151" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
118+
<text lang="eng">
119+
<p>Moment of inertia</p>
120+
</text>
121+
</region>
122+
<region id="10" left="315" top="108" width="20" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
123+
<math>
124+
<input>
125+
<e type="operand">w</e>
126+
</input>
127+
</math>
128+
</region>
129+
<region id="11" left="189" top="135" width="62" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
130+
<math>
131+
<input>
132+
<e type="operand">W</e>
133+
<e type="operand">I</e>
134+
<e type="operand">2</e>
135+
<e type="operand">w</e>
136+
<e type="operator" args="2">/</e>
137+
<e type="operator" args="2">*</e>
138+
<e type="operator" args="2">:</e>
139+
</input>
140+
</math>
141+
</region>
142+
<region id="12" left="405" top="135" width="20" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
143+
<math>
144+
<input>
145+
<e type="operand">L</e>
146+
</input>
147+
</math>
148+
</region>
149+
<region id="13" left="18" top="144" width="136" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
150+
<text lang="eng">
151+
<p>Section modulus</p>
152+
</text>
153+
</region>
154+
<region id="14" left="18" top="180" width="119" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
155+
<text lang="eng">
156+
<p>Required load</p>
157+
</text>
158+
</region>
159+
<region id="15" left="189" top="180" width="149" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
160+
<math>
161+
<input>
162+
<e type="operand">M</e>
163+
<e type="operand">σ.nom</e>
164+
<e type="operand">W</e>
165+
<e type="operator" args="2">*</e>
166+
<e type="operator" args="2">:</e>
167+
</input>
168+
<contract>
169+
<e type="operand" style="unit">N</e>
170+
<e type="operand" style="unit">m</e>
171+
<e type="operator" args="2">*</e>
172+
</contract>
173+
<result action="numeric">
174+
<e type="operand">0.6</e>
175+
</result>
176+
</math>
177+
</region>
178+
<region id="16" left="189" top="207" width="199" height="42" color="#000000" bgColor="#ffffff" fontSize="10">
179+
<math>
180+
<input>
181+
<e type="operand">φ</e>
182+
<e type="operand">M</e>
183+
<e type="operand">L</e>
184+
<e type="operator" args="2">*</e>
185+
<e type="operand">E</e>
186+
<e type="operand">I</e>
187+
<e type="operator" args="2">*</e>
188+
<e type="operator" args="2">/</e>
189+
<e type="operator" args="2">:</e>
190+
</input>
191+
<contract>
192+
<e type="operand" style="unit">rad</e>
193+
</contract>
194+
<result action="numeric">
195+
<e type="operand">1.5873</e>
196+
<e type="operand">10</e>
197+
<e type="operand">5</e>
198+
<e type="operator" args="1">-</e>
199+
<e type="operator" args="2">^</e>
200+
<e type="operator" args="2">*</e>
201+
</result>
202+
</math>
203+
</region>
204+
<region id="17" left="18" top="216" width="160" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
205+
<text lang="eng">
206+
<p>Angular deflection</p>
207+
</text>
208+
</region>
209+
<region id="18" left="414" top="216" width="105" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
210+
<math decimalPlaces="5">
211+
<input>
212+
<e type="operand">φ</e>
213+
</input>
214+
<contract>
215+
<e type="operand" style="unit">°</e>
216+
</contract>
217+
<result action="numeric">
218+
<e type="operand">0.00091</e>
219+
</result>
220+
</math>
221+
</region>
222+
</regions>

Linear/StressConc1/par.run.fbl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,3 +117,5 @@ setc
117117
graph path length +
118118
sys convert -rotate 90 graph_1.ps Refs/linepath.png
119119
plus fv base
120+
121+
sys more Stress.dat

0 commit comments

Comments
 (0)