torque class
Last update: 18.06.2026Namespace: Ans.DataProcessing.operators.result
Summary
Compute torque of a force based on a 3D point.
available inputs: fields_container (FieldsContainer), spoint (Field, FieldsContainer)
available outputs: fields_container (FieldsContainer)
Example
op = torque()
op = torque(fields_container=my_fields_container,spoint=my_spoint)
Class Information
| Property | Value |
|---|---|
| Namespace | Ans.DataProcessing.operators.result |
| Assembly | Ans_Dpf_FEMutils_dll_cs |
| Base Class | Ans.DataProcessing.internal_objects.BaseOperator |
Inputs
fields_container
Fields container containing the nodal forces.
Type: LinkableInput
spoint
Field or fields container containing the summation points for each associated field on pin 0.
Type: LinkableInput
field
Deprecated alias of: spoint
Type: LinkableInput
Outputs
fields_container
Type: LinkableOutput
Constructors
Constructor
torque()
Constructor
torque(fields_container, spoint, config)
Parameters:
fields_container(object)spoint(object)config(OperatorConfig)
Constructor
torque(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