_NodeResult¶
- class _NodeResult(dll: SofDll)¶
Bases:
objectThe
NodeResultsclass provides abstractions to load and access information about the nodal results, contained in keys24/LCof the CDB file.Data are stored in a
pandas.DataFramehaving the following columns:LOAD_CASE: load combination numberID: node numberUX: X component of the nodal displacement (translation)UY: Y component of the nodal displacement (translation)UZ: Z component of the nodal displacement (translation)URX: X component of the nodal displacement (rotation)URY: Y component of the nodal displacement (rotation)URZ: Z component of the nodal displacement (rotation)URB: twist rotationPX: X component of the nodal reaction (translation)PY: Y component of the nodal reaction (translation)PZ: Z component of the nodal reaction (translation)MX: X component of the nodal reaction (rotation)MY: Y component of the nodal reaction (rotation)MZ: Z component of the nodal reaction (rotation)MB: warping moment
- get(node_id: int, load_case: int, quantity: str, default: float | None = None) float¶
Retrieve the requested nodal result.
- Parameters:
- Returns:
value – The requested value if found. If not found, returns
defaultwhen it is not None.- Return type:
- Raises:
LookupError – If the requested result is not found and
defaultis None.
- get_data(deep: bool = True) DataFrame¶
Return the
pandas.DataFramecontaining the loaded keys24/LC.- Parameters:
deep (bool, default True) – When
deep=True, a new object will be created with a copy of the calling object’s data and indices. Modifications to the data or indices of the copy will not be reflected in the original object (refer topandas.DataFrame.copy()documentation for details).