OutputsTotalMass#

class ansys.dpf.core.operators.result.total_mass.OutputsTotalMass(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.outputs._Outputs

Intermediate class used to get outputs from total_mass operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.result.total_mass()
>>> # Connect inputs : op.inputs. ...
>>> result_mass = op.outputs.mass()

Overview#

mass

Allows to get mass output of the operator

Import detail#

from ansys.dpf.core.operators.result.total_mass import OutputsTotalMass

Property detail#

property OutputsTotalMass.mass: ansys.dpf.core.outputs.Output[float]#

Allows to get mass output of the operator

the unit should be grabbed from the rst file

Returns:

An Output instance for this pin.

Return type:

output

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.result.total_mass()
>>> # Get the output from op.outputs. ...
>>> result_mass = op.outputs.mass()

Method detail#

OutputsTotalMass.__getitem__(index) Output#
OutputsTotalMass.__str__()#