Error extracting nodal forces from beam connection
I am working on building a script to pull forces from beam connections in a model. In my test model I have 2 shells with holes cut in each and a beam connection between them.
In the UI I can place a 'Beam Probe' and get all the data I need, but I cannot seem to get it through DPF. I get the same error with Output Controls -> Nodal Forces turned on.
The error I keep getting is
F:233<-Source operator "mapdl::rst::F" not found. Using ANSYS 2023R2. My code is:
import mech_dpf import Ans.DataProcessing as dpf analysis = ExtAPI.DataModel.Project.Model.Analyses model = dpf.Model(analysis.ResultFileName) mesh = model.Mesh # Get the beam elements op_scope = dpf.operators.scoping.on_mesh_property() op_scope.inputs.requested_location.Connect("element") op_scope.inputs.property_name.Connect("beam_elements") op_scope.inputs.mesh.Connect(model.Mesh) op_scope.outputs.mesh_scoping.GetData() # DPF Scoping: # with Elemental location and 2 entities op_scope_t = dpf.operators.scoping.transpose() op_scope_t.inputs.mesh_scoping.Connect(op_scope) op_scope_t.inputs.meshed_region.Connect(mesh) op_scope_t.outputs.mesh_scoping.GetDataT1() # DPF Scoping: # with Nodal location and 4 entities op_nodal = dpf.operators.result.nodal_force(data_sources=model.DataSources, mesh_scoping=op_scope_t.outputs.mesh_scoping) op_nodal.outputs.fields_container.GetData() # Error F:233<-Source operator "mapdl::rst::F" not found