Skip to content

Commit 1068f92

Browse files
committed
updated docs
1 parent a06d60f commit 1068f92

File tree

1 file changed

+61
-1
lines changed

1 file changed

+61
-1
lines changed

docs/loading_emat.rst

Lines changed: 61 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Read a single element from the result file:
2323

2424
.. code:: python
2525
26-
element_data = emat_file.read_element(0)
26+
dof_ref, element_data = emat_file.read_element(0)
2727
2828
The dictionary ``element_data`` contains the entries used to construct stiffness, mass, and damping matrices. If recorded, the dictionary will also applied force vectors.
2929

@@ -38,6 +38,66 @@ Read accumulated applied force for all nodes:
3838
3939
See ``emat_file.nnum`` for the sorted nodes this applied force corresponds to.
4040

41+
42+
DOF Reference
43+
~~~~~~~~~~~~~
44+
Each degree of freedom index from ``read_element`` corresponds to a
45+
physical degree of freedom. The table of this correspondence is
46+
below:
47+
48+
+---------+---------+
49+
| Index | DOF |
50+
+---------+---------+
51+
| 1 | UX |
52+
+---------+---------+
53+
| 2 | UY |
54+
+---------+---------+
55+
| 3 | UZ |
56+
+---------+---------+
57+
| 4 | ROTX |
58+
+---------+---------+
59+
| 5 | ROTY |
60+
+---------+---------+
61+
| 6 | ROTZ |
62+
+---------+---------+
63+
| 7 | AX |
64+
+---------+---------+
65+
| 8 | AY |
66+
+---------+---------+
67+
| 9 | AZ |
68+
+---------+---------+
69+
| 10 | VX |
70+
+---------+---------+
71+
| 11 | VY |
72+
+---------+---------+
73+
| 12 | VZ |
74+
+---------+---------+
75+
| 16 | WARP |
76+
+---------+---------+
77+
| 17 | CONC |
78+
+---------+---------+
79+
| 18 | HDSP |
80+
+---------+---------+
81+
| 19 | PRES |
82+
+---------+---------+
83+
| 20 | TEMP |
84+
+---------+---------+
85+
| 21 | VOLT |
86+
+---------+---------+
87+
| 22 | MAG |
88+
+---------+---------+
89+
| 23 | ENKE |
90+
+---------+---------+
91+
| 24 | ENDS |
92+
+---------+---------+
93+
| 25 | EMF |
94+
+---------+---------+
95+
| 26 | CURR |
96+
+---------+---------+
97+
| 27 - 32 | Spares |
98+
+---------+---------+
99+
100+
41101
EmatFile Object Methods
42102
-----------------------
43103
.. autoclass:: pyansys.emat.EmatFile

0 commit comments

Comments
 (0)