InputsSolidToSkin#

class ansys.dpf.core.operators.mapping.solid_to_skin.InputsSolidToSkin(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.inputs._Inputs

Intermediate class used to connect user inputs to solid_to_skin operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mapping.solid_to_skin()
>>> my_field = dpf.Field()
>>> op.inputs.field.connect(my_field)
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
>>> my_solid_mesh = dpf.MeshedRegion()
>>> op.inputs.solid_mesh.connect(my_solid_mesh)

Overview#

connect

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

field

Allows to connect field input to the operator.

mesh

Allows to connect mesh input to the operator.

solid_mesh

Allows to connect solid_mesh input to the operator.

Import detail#

from ansys.dpf.core.operators.mapping.solid_to_skin import InputsSolidToSkin

Property detail#

property InputsSolidToSkin.field: ansys.dpf.core.inputs.Input[ansys.dpf.core.field.Field | ansys.dpf.core.fields_container.FieldsContainer]#

Allows to connect field input to the operator.

field or fields container with only one field is expected

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mapping.solid_to_skin()
>>> op.inputs.field.connect(my_field)
>>> # or
>>> op.inputs.field(my_field)
property InputsSolidToSkin.mesh: ansys.dpf.core.inputs.Input[ansys.dpf.core.meshed_region.MeshedRegion]#

Allows to connect mesh input to the operator.

skin mesh region expected

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mapping.solid_to_skin()
>>> op.inputs.mesh.connect(my_mesh)
>>> # or
>>> op.inputs.mesh(my_mesh)
property InputsSolidToSkin.solid_mesh: ansys.dpf.core.inputs.Input[ansys.dpf.core.meshed_region.MeshedRegion]#

Allows to connect solid_mesh input to the operator.

Solid mesh support (optional).

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mapping.solid_to_skin()
>>> op.inputs.solid_mesh.connect(my_solid_mesh)
>>> # or
>>> op.inputs.solid_mesh(my_solid_mesh)

Method detail#

InputsSolidToSkin.__str__()#
InputsSolidToSkin.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.

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