Combine Load Case #2490
Unanswered
harikrushna171
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to combine static and response spectrum results. For the first load combination, I use +1 and +1, and for the second load combination, -1 and +1.
`# Displacement results
results_static = static_model.results
displacements_static = results_static.displacement()
fields_static_container = displacements_static.outputs.fields_container()
results_rs = response_model.results
displacements_rs = results_rs.displacement()
fields_rs_container = displacements_rs.outputs.fields_container()
op = dpf.operators.math.add_fc() # operator instantiation
op.inputs.fields_container1.connect(fields_static_container)
op.inputs.fields_container2.connect(fields_rs_container)
my_fields_container = op.outputs.fields_container()
static_model.metadata.meshed_region.plot(my_fields_container)`
Beta Was this translation helpful? Give feedback.
All reactions