Skip to main content

DPF Mechanical 2026 R1

remove_rigid_body_motion class

Last update: 18.06.2026

Namespace: Ans.DataProcessing.operators.result

Summary

Removes rigid body mode from a total displacement field by minimization. Use a reference point in order to subtract its displacement to the result displacement field.

available inputs: field (Field, FieldsContainer), reference_node_id (Int32) (optional), mesh (MeshedRegion) (optional)

available outputs: field (Field), translation_field (Field), rotation_field (Field), center_field (Field)

Example

op = remove_rigid_body_motion()

op = remove_rigid_body_motion(field=my_field,reference_node_id=my_reference_node_id,mesh=my_mesh)

Class Information

Property Value
Namespace Ans.DataProcessing.operators.result
Assembly mapdlOperatorsCore_dll_cs
Base Class Ans.DataProcessing.internal_objects.BaseOperator

Inputs

field

field or fields container with only one field is expected

Type: LinkableInput

reference_node_id

Id of the reference entity (node).

Type: LinkableInput

mesh

default is the mesh in the support

Type: LinkableInput

Outputs

field

Type: LinkableOutput

translation_field

Global rigid translation vector

Type: LinkableOutput

rotation_field

Global rigid rotation angles

Type: LinkableOutput

center_field

Center of the rigid rotation

Type: LinkableOutput

Constructors

Constructor

remove_rigid_body_motion()

Constructor

remove_rigid_body_motion(field, reference_node_id, mesh, config)

Parameters:

  • field (object)
  • reference_node_id (object)
  • mesh (object)
  • config (OperatorConfig)

Constructor

remove_rigid_body_motion(config)

Parameters:

  • config (OperatorConfig)

Methods

Properties

inputs

Type: InputSpec

# Get or set the property
value = obj.inputs
obj.inputs = new_value

outputs

Type: OutputSpec

# Get or set the property
value = obj.outputs
obj.outputs = new_value

defaultConfig

Type: Config

# Get the property (read-only)
value = obj.defaultConfig

Connect with Ansys