Skip to content

Commit fb9b377

Browse files
committed
update docs
1 parent b022096 commit fb9b377

4 files changed

Lines changed: 35 additions & 35 deletions

File tree

docs/api/library/Circle.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ Circle
66
.. autoclass:: xsection.library.Circle
77
:members:
88
:undoc-members:
9+

docs/examples/introduction.ipynb

Lines changed: 24 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
{
1212
"cell_type": "code",
13-
"execution_count": null,
13+
"execution_count": 1,
1414
"id": "311f3710",
1515
"metadata": {},
1616
"outputs": [],
@@ -30,7 +30,7 @@
3030
},
3131
{
3232
"cell_type": "code",
33-
"execution_count": null,
33+
"execution_count": 2,
3434
"id": "0e6b98be",
3535
"metadata": {},
3636
"outputs": [
@@ -1162,7 +1162,7 @@
11621162
"</script>\n"
11631163
],
11641164
"text/plain": [
1165-
"<veux.frame.FrameArtist at 0x127483da0>"
1165+
"<veux.frame.FrameArtist at 0x11cd9e150>"
11661166
]
11671167
},
11681168
"execution_count": 2,
@@ -1190,15 +1190,15 @@
11901190
},
11911191
{
11921192
"cell_type": "code",
1193-
"execution_count": 5,
1193+
"execution_count": 3,
11941194
"id": "888cda4d",
11951195
"metadata": {},
11961196
"outputs": [
11971197
{
11981198
"name": "stdout",
11991199
"output_type": "stream",
12001200
"text": [
1201-
"17280.000000000007\n"
1201+
"0.3191620166230887\n"
12021202
]
12031203
}
12041204
],
@@ -1226,20 +1226,20 @@
12261226
"text": [
12271227
"\n",
12281228
" Block x y z yz\n",
1229-
" [nn] Area 360.0 , \n",
1229+
" [nn] Area 0.8699 , \n",
12301230
" [nm] Centroid 0.0 0.0, 0.0\n",
1231-
" [nw|v] 0.0 | -1.959e-15, 1.501e-14\n",
1231+
" [nw|v] 0.0 | 1.506e-16, -3.913e-15\n",
12321232
"\n",
1233-
" [mm] Flexural moments 2.403e+04 1.728e+04, 6.75e+03, 4.299e-13\n",
1234-
" [mv|w] -7.344e+03 | 0.176, 1.329\n",
1233+
" [mm] Flexural moments 0.4333 0.3192, 0.1141, -3.773e-17\n",
1234+
" [mv|w] -0.4136 | -4.749e-15, -1.128e-17\n",
12351235
"\n",
12361236
"\n",
1237-
" [ww] Warping constant 6.61e+04 ( 6.61e+04 at S.C.)\n",
1238-
" [vv] Bishear 7.344e+03\n",
1237+
" [ww] Warping constant 0.04725 ( 0.04725 at S.C.)\n",
1238+
" [vv] Bishear 0.4136\n",
12391239
"\n",
12401240
"\n",
1241-
" Shear center 0.0 1.019e-05, 0.0001968\n",
1242-
" Torsion constant 1.669e+04\n",
1241+
" Shear center 0.0 0.0, 0.0\n",
1242+
" Torsion constant 0.01971\n",
12431243
" \n"
12441244
]
12451245
}
@@ -1266,31 +1266,21 @@
12661266
},
12671267
{
12681268
"cell_type": "code",
1269-
"execution_count": 3,
1269+
"execution_count": 5,
12701270
"id": "a6cd50d9",
12711271
"metadata": {},
12721272
"outputs": [
12731273
{
12741274
"name": "stdout",
12751275
"output_type": "stream",
12761276
"text": [
1277-
"\n",
1278-
" Block x y z yz\n",
1279-
" [nn] Area 360.0 , \n",
1280-
" [nm] Centroid 0.0 0.0, 0.0\n",
1281-
" [nw|v] 0.0 | -1.959e-15, 1.501e-14\n",
1282-
"\n",
1283-
" [mm] Flexural moments 2.403e+04 1.728e+04, 6.75e+03, 4.299e-13\n",
1284-
" [mv|w] -7.344e+03 | 0.176, 1.329\n",
1285-
"\n",
1286-
"\n",
1287-
" [ww] Warping constant 6.61e+04 ( 6.61e+04 at S.C.)\n",
1288-
" [vv] Bishear 7.344e+03\n",
1289-
"\n",
1290-
"\n",
1291-
" Shear center 0.0 1.019e-05, 0.0001968\n",
1292-
" Torsion constant 1.669e+04\n",
1293-
" \n"
1277+
" Iy : 1.728e+04\n",
1278+
" Iz : 6750\n",
1279+
" A : 360\n",
1280+
" Ay : 302.1\n",
1281+
" Az : 300.9\n",
1282+
" J : 1.669e+04\n",
1283+
" Iyz : -4.157e-13\n"
12941284
]
12951285
},
12961286
{
@@ -2421,10 +2411,10 @@
24212411
"</script>\n"
24222412
],
24232413
"text/plain": [
2424-
"<veux.frame.FrameArtist at 0x1275a7a10>"
2414+
"<veux.frame.FrameArtist at 0x11cfe6f60>"
24252415
]
24262416
},
2427-
"execution_count": 3,
2417+
"execution_count": 5,
24282418
"metadata": {},
24292419
"output_type": "execute_result"
24302420
}
@@ -2451,7 +2441,7 @@
24512441
" ])\n",
24522442
"\n",
24532443
"\n",
2454-
"print(shape.summary())\n",
2444+
"print(shape.elastic.summary())\n",
24552445
"\n",
24562446
"artist = veux.create_artist(shape.model) #veux.model.FiberModel(shape.create_fibers()))\n",
24572447
"# artist.draw_samples()\n",

docs/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ xsection
88
:caption: Contents:
99

1010
api/index
11-
theory/index
1211
examples/index
1312

13+
..
14+
theory/index

docs/theory/elasticity.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,11 @@ $$
66
\boldsymbol{S}=\lambda \mathbf{1} \operatorname{tr} \boldsymbol{E}+2 \mu \boldsymbol{E}
77
$$
88

9+
## Flexural Constants
10+
11+
The elastic flexural constants `cmm` represent the sections moment
12+
resistance to curvature, defined tensorially by the expression:
13+
14+
$$
15+
\texttt{cmm} = \int -\boldsymbol{r}^{\times}\boldsymbol{r}^{\times}\,\mathrm{d}A
16+
$$

0 commit comments

Comments
 (0)