InputsSkin#

class ansys.dpf.core.operators.mesh.skin.InputsSkin(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.inputs._Inputs

Intermediate class used to connect user inputs to skin operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mesh.skin()
>>> my_mesh = dpf.MeshedRegion()
>>> op.inputs.mesh.connect(my_mesh)
>>> my_mesh_scoping = dpf.Scoping()
>>> op.inputs.mesh_scoping.connect(my_mesh_scoping)
>>> my_duplicate_shell = bool()
>>> op.inputs.duplicate_shell.connect(my_duplicate_shell)
>>> my_add_beam = bool()
>>> op.inputs.add_beam.connect(my_add_beam)

Overview#

connect

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

mesh

Allows to connect mesh input to the operator.

mesh_scoping

Allows to connect mesh_scoping input to the operator.

duplicate_shell

Allows to connect duplicate_shell input to the operator.

add_beam

Allows to connect add_beam input to the operator.

Import detail#

from ansys.dpf.core.operators.mesh.skin import InputsSkin

Property detail#

property InputsSkin.mesh: ansys.dpf.core.inputs.Input#

Allows to connect mesh input to the operator.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mesh.skin()
>>> op.inputs.mesh.connect(my_mesh)
>>> # or
>>> op.inputs.mesh(my_mesh)
property InputsSkin.mesh_scoping: ansys.dpf.core.inputs.Input#

Allows to connect mesh_scoping input to the operator.

Nodal scoping to restrict the skin extraction to a set of nodes. If provided, a skin element is added to the skin mesh if all its nodes are in the scoping.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mesh.skin()
>>> op.inputs.mesh_scoping.connect(my_mesh_scoping)
>>> # or
>>> op.inputs.mesh_scoping(my_mesh_scoping)
property InputsSkin.duplicate_shell: ansys.dpf.core.inputs.Input#

Allows to connect duplicate_shell input to the operator.

If input mesh contains shell elements, output mesh shell elements (boolean = 1) are duplicated, one per each orientation, or (boolean = 0) remain unchanged.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mesh.skin()
>>> op.inputs.duplicate_shell.connect(my_duplicate_shell)
>>> # or
>>> op.inputs.duplicate_shell(my_duplicate_shell)
property InputsSkin.add_beam: ansys.dpf.core.inputs.Input#

Allows to connect add_beam input to the operator.

If input mesh contains beam elements, output mesh beam elements (boolean = 1) are added or (boolean = 0) are ignored.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mesh.skin()
>>> op.inputs.add_beam.connect(my_add_beam)
>>> # or
>>> op.inputs.add_beam(my_add_beam)

Method detail#

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

Parameters:
  • inpt (str, int, double, bool, list[int], list[float], Field, FieldsContainer, Scoping, Enum,)

  • ScopingsContainer (E501) – Input of the operator.

  • MeshedRegion (E501) – Input of the operator.

  • MeshesContainer (E501) – Input of the operator.

  • DataSources (E501) – Input of the operator.

  • CyclicSupport (E501) – Input of the operator.

  • Outputs (E501) – Input of the operator.

  • noqa (os.PathLike #) – Input of the operator.

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