InputsChangeShellLayers#
- class ansys.dpf.core.operators.utility.change_shell_layers.InputsChangeShellLayers(op: ansys.dpf.core.dpf_operator.Operator)#
Bases:
ansys.dpf.core.inputs._InputsIntermediate class used to connect user inputs to change_shell_layers operator.
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.utility.change_shell_layers() >>> my_fields_container = dpf.FieldsContainer() >>> op.inputs.fields_container.connect(my_fields_container) >>> my_e_shell_layer = int() >>> op.inputs.e_shell_layer.connect(my_e_shell_layer) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_merge = bool() >>> op.inputs.merge.connect(my_merge)
Overview#
Connect any input (an entity or an operator output) to any input pin of this operator. |
Allows to connect fields_container input to the operator. |
|
Allows to connect e_shell_layer input to the operator. |
|
Allows to connect mesh input to the operator. |
|
Allows to connect merge input to the operator. |
Import detail#
from ansys.dpf.core.operators.utility.change_shell_layers import InputsChangeShellLayers
Property detail#
- property InputsChangeShellLayers.fields_container: ansys.dpf.core.inputs.Input[ansys.dpf.core.fields_container.FieldsContainer | ansys.dpf.core.field.Field]#
Allows to connect fields_container 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.utility.change_shell_layers() >>> op.inputs.fields_container.connect(my_fields_container) >>> # or >>> op.inputs.fields_container(my_fields_container)
- property InputsChangeShellLayers.e_shell_layer: ansys.dpf.core.inputs.Input[int]#
Allows to connect e_shell_layer input to the operator.
0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.utility.change_shell_layers() >>> op.inputs.e_shell_layer.connect(my_e_shell_layer) >>> # or >>> op.inputs.e_shell_layer(my_e_shell_layer)
- property InputsChangeShellLayers.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.
Mesh support of the input fields_container, in case it does not have one defined. If the fields_container contains mixed shell/solid results, the mesh is required (either by connecting this pin or in the support).
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.utility.change_shell_layers() >>> op.inputs.mesh.connect(my_mesh) >>> # or >>> op.inputs.mesh(my_mesh)
- property InputsChangeShellLayers.merge: ansys.dpf.core.inputs.Input[bool]#
Allows to connect merge input to the operator.
For fields with mixed shell layers (solid/shell elements with heterogeneous shell layers), group all of them in the same field (false by default).
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.utility.change_shell_layers() >>> op.inputs.merge.connect(my_merge) >>> # or >>> op.inputs.merge(my_merge)
Method detail#
- InputsChangeShellLayers.__str__()#
- InputsChangeShellLayers.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.
- InputsChangeShellLayers.__call__(inpt)#