This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
BeamOrientation.py
44 lines (34 loc) · 1.55 KB
/
BeamOrientation.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
from abaqusConstants import *
from .OdbMeshNode import OdbMeshNode
from .OdbSet import OdbSet
class BeamOrientation:
"""The BeamOrientation object represents the direction of the first beam section axis n1n1.
Specifying the beam orientation using an additional node in the element connectivity
list is not supported.
Attributes
----------
method: SymbolicConstant
A SymbolicConstant specifying the orientation assignment method. Possible values are
N1_COSINES, CSYS, and VECT.
region: OdbSet
An :py:class:`~abaqus.Odb.OdbSet.OdbSet` object specifying a region for which the beam orientation is defined.
vector: float
A tuple of Floats specifying direction cosines of the n1-direction of the beam
cross-section.
Notes
-----
This object can be accessed by:
.. code-block:: python
import odbAccess
session.odbs[name].parts[name].beamOrientations[i]
session.odbs[name].rootAssembly.instances[name].beamOrientations[i]
session.odbs[name].steps[name].frames[i].fieldOutputs[name].values[i].instance.beamOrientations[i]
"""
# A SymbolicConstant specifying the orientation assignment method. Possible values are
# N1_COSINES, CSYS, and VECT.
method: SymbolicConstant = None
# An OdbSet object specifying a region for which the beam orientation is defined.
region: OdbSet = OdbSet("set", tuple[OdbMeshNode]())
# A tuple of Floats specifying direction cosines of the n1-direction of the beam
# cross-section.
vector: float = None