Skip to content

Commit 2f95bb0

Browse files
committed
updates
1 parent 2b6dad3 commit 2f95bb0

6 files changed

Lines changed: 142 additions & 4 deletions

File tree

source/gallery.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"examples": [
2424
"frame-0059/main.ipynb",
2525
"frame-2007/main.ipynb",
26-
"frame-2005/frame-2005.ipynb",
26+
# "frame-2005/frame-2005.ipynb",
2727
# "frame-1010/main.ipynb",
2828
"frame-1010/frame-1010.ipynb",
2929
"frame-3056/main.ipynb",
@@ -73,6 +73,7 @@
7373
"examples": [
7474
# "node-0005/a.ipynb",
7575
"solve-0003/main.ipynb",
76+
"solve-0010/main.ipynb",
7677
],
7778
},
7879
{
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
.. _MultiaxialFiber:
2+
3+
MultiaxialFiber
4+
^^^^^^^^^^^^^^^
5+
6+
A ``MultiaxialFiber`` section is used to model a :ref:`Frame <frame>` section with shear deformation.
7+
The section is defined by a collection of fibers that discretize the cross-section.
8+
9+
.. tabs::
10+
11+
.. tab:: Class
12+
13+
.. py:class:: xara.FrameSection("MultiaxialFiber", shape, *, fibers)
14+
:noindex:
15+
16+
Create a frame section that integrates the response of :py:class:`xara.UniaxialMaterial` objects distributed over the section shape.
17+
18+
19+
.. tab:: OpenSeesPy
20+
21+
.. py:method:: Model.section("MultiaxialFiber", tag, **kwds)
22+
:no-index:
23+
24+
:param tag: unique :ref:`section` tag
25+
:type tag: |integer|
26+
27+
28+
.. tab:: Tcl
29+
30+
.. function:: section MultiaxialFiber $tag $fibers
31+
32+
:param tag: unique section tag
33+
34+
35+
.. figure:: figures/w8x28.png
36+
:align: center
37+
:width: 50%
38+
39+
Example of an AISC *W8x28* section discretized with fibers and rendered with `veux <https://veux.io>`__.
40+
41+
42+
The valid :ref:`eleResponse` queries are
43+
44+
* ``"force"``, and
45+
* ``"deformation"``.
46+
47+
48+
Valid :ref:`setParameter` targets are
49+
50+
- ``"warp", fiber, field`` where ``fiber`` is an |integer| identifying a fiber and ``field`` is an |integer| identifying the warping field.
51+
52+
53+
Examples
54+
--------
55+
56+
.. ref-gallery::
57+
:tooltip:
58+
59+
examples/sections/fiber-0002
60+
61+
62+
.. The following example demonstrates how to create a ``MultiaxialFiber`` section representing a circle.
63+
64+
.. .. tabs::
65+
66+
.. .. tab:: Python
67+
68+
.. .. code-block:: Python
69+
70+
.. import xara
71+
.. from math import pi
72+
.. radius = 0.5
73+
.. center = (0.0, 0.0)
74+
.. area = pi * radius**2
75+
76+
.. model = xara.Model(ndm=3, ndf=6)
77+
78+
.. model.material("ElasticIsotropic", 1, E=200e9, nu=0.3)
79+
80+
.. model.section("MultiaxialFiber", 1)
81+
.. model.fiber(center, area, material=1, section=1)
82+
83+
.. .. tab:: Tcl
84+
85+
.. .. code-block:: Tcl
86+
87+
.. set radius 0.5
88+
.. set center 0.0 0.0
89+
.. set area [expr {acos(-1) * $radius**2}]
90+
91+
.. model create -ndm 3 -ndf 6
92+
93+
.. nDMaterial ElasticIsotropic 1 200e9 0.3
94+
95+
.. section ShearFiber 1 {
96+
.. fiber $center $area -material 1
97+
.. }
98+
99+
100+
.. The following example uses the ``xsection`` library to create a ``MultiaxialFiber`` section representing an AISC *W8x28* section.
101+
102+
.. .. code-block:: Python
103+
104+
.. import xara
105+
.. from xara.units import english
106+
.. from xsection.library import from_aisc
107+
108+
.. model = xara.Model(ndm=3, ndf=6)
109+
110+
.. model.material("ElasticIsotropic", 1, E=200e9, nu=0.3)
111+
112+
.. shape = from_aisc("W8x28", units=english)
113+
114+
.. model.section("ShearFiber", 1)
115+
.. for fiber in shape.fibers:
116+
.. model.fiber(**fiber, material=1, section=1)
117+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
UniaxialFiber
3+
^^^^^^^^^^^^^
4+
5+
6+
.. py:class:: xara.FrameSection("UniaxialFiber", shape)
7+
:noindex:
8+
9+
Create an inelastic frame section that integrates the response of :py:class:`xara.UniaxialMaterial` objects distributed over the section shape.

source/user/manual/section/frame/index.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Frame
44
^^^^^
55

66

7-
.. py:class:: xara.Section(type, shape)
7+
.. py:class:: xara.FrameSection(type, shape)
88
99
Construct a frame section object.
1010

@@ -20,4 +20,6 @@ Frame
2020
:hidden:
2121

2222
shapes
23+
UniaxialFiber
24+
MultiaxialFiber
2325

source/user/manual/section/plane/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _PlaneSection:
22

3-
PlaneSection
4-
^^^^^^^^^^^^
3+
Plane
4+
^^^^^
55

66
.. tabs::
77

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.. _ShellSection:
2+
3+
4+
Shell
5+
^^^^^
6+
7+
8+
.. autoclass:: xara.ShellSection
9+
:members:

0 commit comments

Comments
 (0)