OutputsRun#

class ansys.dpf.core.operators.result.run.OutputsRun(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.outputs._Outputs

Intermediate class used to get outputs from run operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.result.run()
>>> # Connect inputs : op.inputs. ...
>>> result_data_sources = op.outputs.data_sources()
>>> result_ip = op.outputs.ip()
>>> result_port = op.outputs.port()

Overview#

data_sources

Allows to get data_sources output of the operator

ip

Allows to get ip output of the operator

port

Allows to get port output of the operator

Import detail#

from ansys.dpf.core.operators.result.run import OutputsRun

Property detail#

property OutputsRun.data_sources#

Allows to get data_sources output of the operator

Returns:

my_data_sources

Return type:

DataSources

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.result.run()
>>> # Connect inputs : op.inputs. ...
>>> result_data_sources = op.outputs.data_sources()
property OutputsRun.ip#

Allows to get ip output of the operator

Returns:

my_ip

Return type:

str

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.result.run()
>>> # Connect inputs : op.inputs. ...
>>> result_ip = op.outputs.ip()
property OutputsRun.port#

Allows to get port output of the operator

Returns:

my_port

Return type:

str

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.result.run()
>>> # Connect inputs : op.inputs. ...
>>> result_port = op.outputs.port()