OLOAD and model.load_vectors Mismatch with Inertia Relief
Opened this issue · 1 comments
Summary
I came across this issue which suggested that I should be able to calculate the OLOAD Resultant by summing the data in model.load_vectors
. This didn't work in a SOL101 analysis with automatic inertia relief.
Similarly, in a fixed-base model without inertia relief, the translational force components do match, but the moments are all 0.0
.
Thanks in advance for your help!
Reproducing the Issue
Code
from pathlib import Path
from pyNastran.op2.op2 import read_op2
file = Path(r"D:\test_model_inrel\cylinder_pressure_inrel-0000.op2")
model = read_op2(file)
resultant_subcase_1 = model.load_vectors[1].data.sum(axis=1)
print(resultant_subcase_1)
Output
[[-5.7220459e-06 -1.9073486e-05 7.1997801e-21 0.0000000e+00 0.0000000e+00 0.0000000e+00]]
Expected Result
From Femap (Tools
>Check
>Sum Forces
):
[[-607.4372 1822.312 0. -1822.312 -607.4372 5.77316E-14]]
From F06
[[-6.074373e+02 1.822311e+03 -1.633509e-15 -1.822311e+03 -6.074373e+02 -5.857693e-05]]
Model
cylinder_pressure_inrel-0000.zip
Versions
pyNastran.__version__
: 1.5.0+dev.a49f528ca
platform.python_version()
: 3.11.3
Nastran
: NX 2312.0070