InputsEquivalentRadiatedPower#

class ansys.dpf.core.operators.result.equivalent_radiated_power.InputsEquivalentRadiatedPower(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.inputs._Inputs

Intermediate class used to connect user inputs to equivalent_radiated_power operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.result.equivalent_radiated_power()
>>> my_fields_container = dpf.FieldsContainer()
>>> op.inputs.fields_container.connect(my_fields_container)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
>>> my_time_scoping = int()
>>> op.inputs.time_scoping.connect(my_time_scoping)
>>> my_mass_density = float()
>>> op.inputs.mass_density.connect(my_mass_density)
>>> my_speed_of_sound = float()
>>> op.inputs.speed_of_sound.connect(my_speed_of_sound)
>>> my_erp_type = int()
>>> op.inputs.erp_type.connect(my_erp_type)
>>> my_boolean = bool()
>>> op.inputs.boolean.connect(my_boolean)
>>> my_factor = float()
>>> op.inputs.factor.connect(my_factor)

Overview#

connect

Connect any input (an entity or an operator output) to any input pin of this operator.

fields_container

Allows to connect fields_container input to the operator.

mesh

Allows to connect mesh input to the operator.

time_scoping

Allows to connect time_scoping input to the operator.

mass_density

Allows to connect mass_density input to the operator.

speed_of_sound

Allows to connect speed_of_sound input to the operator.

erp_type

Allows to connect erp_type input to the operator.

boolean

Allows to connect boolean input to the operator.

factor

Allows to connect factor input to the operator.

Import detail#

from ansys.dpf.core.operators.result.equivalent_radiated_power import InputsEquivalentRadiatedPower

Property detail#

property InputsEquivalentRadiatedPower.fields_container: ansys.dpf.core.inputs.Input[ansys.dpf.core.fields_container.FieldsContainer]#

Allows to connect fields_container input to the operator.

the input field container expects displacements fields

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.result.equivalent_radiated_power()
>>> op.inputs.fields_container.connect(my_fields_container)
>>> # or
>>> op.inputs.fields_container(my_fields_container)
property InputsEquivalentRadiatedPower.mesh: ansys.dpf.core.inputs.Input[ansys.dpf.core.meshed_region.MeshedRegion | ansys.dpf.core.meshes_container.MeshesContainer]#

Allows to connect mesh input to the operator.

the mesh region in this pin has to be boundary or skin mesh

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.result.equivalent_radiated_power()
>>> op.inputs.mesh.connect(my_mesh)
>>> # or
>>> op.inputs.mesh(my_mesh)
property InputsEquivalentRadiatedPower.time_scoping: ansys.dpf.core.inputs.Input[int | ansys.dpf.core.scoping.Scoping]#

Allows to connect time_scoping input to the operator.

load step number (if it’s specified, the ERP is computed only on the substeps of this step) or time scoping

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.result.equivalent_radiated_power()
>>> op.inputs.time_scoping.connect(my_time_scoping)
>>> # or
>>> op.inputs.time_scoping(my_time_scoping)
property InputsEquivalentRadiatedPower.mass_density: ansys.dpf.core.inputs.Input[float]#

Allows to connect mass_density input to the operator.

mass density (if it’s not specified, default value of the air is applied).

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.result.equivalent_radiated_power()
>>> op.inputs.mass_density.connect(my_mass_density)
>>> # or
>>> op.inputs.mass_density(my_mass_density)
property InputsEquivalentRadiatedPower.speed_of_sound: ansys.dpf.core.inputs.Input[float]#

Allows to connect speed_of_sound input to the operator.

speed of sound (if it’s not specified, default value of the speed of sound in the air is applied).

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.result.equivalent_radiated_power()
>>> op.inputs.speed_of_sound.connect(my_speed_of_sound)
>>> # or
>>> op.inputs.speed_of_sound(my_speed_of_sound)
property InputsEquivalentRadiatedPower.erp_type: ansys.dpf.core.inputs.Input[int]#

Allows to connect erp_type input to the operator.

if this pin is set to 0, the classical ERP is computed, 1 the corrected ERP is computed (a mesh of one face has to be given in the pin 1) and 2 the enhanced ERP is computed. Default is 0.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.result.equivalent_radiated_power()
>>> op.inputs.erp_type.connect(my_erp_type)
>>> # or
>>> op.inputs.erp_type(my_erp_type)
property InputsEquivalentRadiatedPower.boolean: ansys.dpf.core.inputs.Input[bool]#

Allows to connect boolean input to the operator.

if this pin is set to true, the ERP level in dB is computed

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.result.equivalent_radiated_power()
>>> op.inputs.boolean.connect(my_boolean)
>>> # or
>>> op.inputs.boolean(my_boolean)
property InputsEquivalentRadiatedPower.factor: ansys.dpf.core.inputs.Input[float]#

Allows to connect factor input to the operator.

erp reference value. Default is 1E-12

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.result.equivalent_radiated_power()
>>> op.inputs.factor.connect(my_factor)
>>> # or
>>> op.inputs.factor(my_factor)

Method detail#

InputsEquivalentRadiatedPower.__str__()#
InputsEquivalentRadiatedPower.connect(inpt)#

Connect any input (an entity or an operator output) to any input pin of this operator.

Searches for the input type corresponding to the output.

Deprecated since version Deprecated: in favor of explicit output-to-input connections.

InputsEquivalentRadiatedPower.__call__(inpt)#
InputsEquivalentRadiatedPower.__getitem__(item) Input#