This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
/
FieldLocation.py
44 lines (35 loc) · 1.98 KB
/
FieldLocation.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 .SectionPointArray import SectionPointArray
class FieldLocation:
"""The FieldLocation object specifies locations for which data are available in the field.
For example, a displacement field will have a FieldLocation object with a *position*
member value of NODAL. The FieldLocation object has no constructor; it is created
automatically as an element of the *location* member of a FieldOutput object by the
addData method of a FieldOutput object.
Attributes
----------
position: SymbolicConstant
A SymbolicConstant specifying the position of the output in the element. Possible values
are:NODAL, specifying the values calculated at the nodes.INTEGRATION_POINT, specifying
the values calculated at the integration points.ELEMENT_NODAL, specifying the values
obtained by extrapolating results calculated at the integration
points.ELEMENT_FACE.CENTROID, specifying the value at the centroid obtained by
extrapolating results calculated at the integration points.
sectionPoints: SectionPointArray
A :py:class:`~abaqus.Odb.SectionPointArray.SectionPointArray` object.
Notes
-----
This object can be accessed by:
.. code-block:: python
import odbAccess
session.odbs[name].steps[name].frames[i].fieldOutputs[name].locations[i]
"""
# A SymbolicConstant specifying the position of the output in the element. Possible values
# are:NODAL, specifying the values calculated at the nodes.INTEGRATION_POINT, specifying
# the values calculated at the integration points.ELEMENT_NODAL, specifying the values
# obtained by extrapolating results calculated at the integration
# points.ELEMENT_FACE.CENTROID, specifying the value at the centroid obtained by
# extrapolating results calculated at the integration points.
position: SymbolicConstant = None
# A SectionPointArray object.
sectionPoints: SectionPointArray = SectionPointArray()