Skip to content

Commit a6c4b82

Browse files
authored
Replace displacement operator by modal coordinate (#2603)
1 parent 4711501 commit a6c4b82

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

examples/07-distributed-post/02-distributed-msup_expansion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
merge_mesh = ops.utility.merge_meshes()
177177

178178
ds = dpf.DataSources(files_rfrq[0])
179-
response = ops.result.displacement(data_sources=ds)
179+
response = ops.result.modal_coordinate(data_sources=ds)
180180
response.inputs.mesh(merge_mesh.outputs.merges_mesh)
181181

182182
expansion = ops.math.modal_superposition(solution_in_modal_space=response, modal_basis=merge_fields)

examples/07-distributed-post/03-distributed-msup_expansion_steps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
response.inputs.mesh(merge_mesh.outputs.merges_mesh)
186186

187187
ds = dpf.DataSources(files_rfrq[1])
188-
response2 = ops.result.displacement(data_sources=ds)
188+
response2 = ops.result.modal_coordinate(data_sources=ds)
189189
response2fc = response2.outputs.fields_container()
190190
response2fc.time_freq_support.time_frequencies.scoping.set_id(0, 2)
191191

src/ansys/dpf/core/operators/build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"SMISC": "mapdl::smisc",
2525
"result_provider": "custom",
2626
"CS": "mapdl::rst::CS",
27+
"MCF": "U",
2728
}
2829

2930
def build_docstring(specification_description):

0 commit comments

Comments
 (0)