InputsMapdlSplitOnFacetIndices#

class ansys.dpf.core.operators.result.mapdl_split_on_facet_indices.InputsMapdlSplitOnFacetIndices(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.inputs._Inputs

Intermediate class used to connect user inputs to mapdl_split_on_facet_indices operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.result.mapdl_split_on_facet_indices()
>>> my_fields_container = dpf.FieldsContainer()
>>> op.inputs.fields_container.connect(my_fields_container)
>>> my_property_field_new_elements_to_old = dpf.PropertyField()
>>> op.inputs.property_field_new_elements_to_old.connect(my_property_field_new_elements_to_old)
>>> my_facet_indices = dpf.PropertyField()
>>> op.inputs.facet_indices.connect(my_facet_indices)
>>> my_volume_mesh = dpf.MeshedRegion()
>>> op.inputs.volume_mesh.connect(my_volume_mesh)
>>> my_degenerated_tets = dpf.Scoping()
>>> op.inputs.degenerated_tets.connect(my_degenerated_tets)
>>> my_non_degenerated_tets = dpf.Scoping()
>>> op.inputs.non_degenerated_tets.connect(my_non_degenerated_tets)

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.

property_field_new_elements_to_old

Allows to connect property_field_new_elements_to_old input to the operator.

facet_indices

Allows to connect facet_indices input to the operator.

volume_mesh

Allows to connect volume_mesh input to the operator.

degenerated_tets

Allows to connect degenerated_tets input to the operator.

non_degenerated_tets

Allows to connect non_degenerated_tets input to the operator.

Import detail#

from ansys.dpf.core.operators.result.mapdl_split_on_facet_indices import InputsMapdlSplitOnFacetIndices

Property detail#

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

Allows to connect fields_container input to the operator.

Fields container to split, with generic number of labels (e.g. time, zone, complex…), and the Fields of the FieldsContainer will have location Elemental and the Scoping Ids will be the Element Ids on the skin mesh.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.result.mapdl_split_on_facet_indices()
>>> op.inputs.fields_container.connect(my_fields_container)
>>> # or
>>> op.inputs.fields_container(my_fields_container)
property InputsMapdlSplitOnFacetIndices.property_field_new_elements_to_old: ansys.dpf.core.inputs.Input[ansys.dpf.core.property_field.PropertyField]#

Allows to connect property_field_new_elements_to_old input to the operator.

This property field provides, for each new face element ID (in the scoping), the corresponding 3D volume element index (in the data) it has been extracted from. The 3D volume element ID can be found with the element scoping of the input mesh.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.result.mapdl_split_on_facet_indices()
>>> op.inputs.property_field_new_elements_to_old.connect(my_property_field_new_elements_to_old)
>>> # or
>>> op.inputs.property_field_new_elements_to_old(my_property_field_new_elements_to_old)
property InputsMapdlSplitOnFacetIndices.facet_indices: ansys.dpf.core.inputs.Input[ansys.dpf.core.property_field.PropertyField]#

Allows to connect facet_indices input to the operator.

This property field gives, for each new face element ID (in the scoping), the corresponding face index on the source 3D volume element. The 3D volume element can be extracted from the previous output.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.result.mapdl_split_on_facet_indices()
>>> op.inputs.facet_indices.connect(my_facet_indices)
>>> # or
>>> op.inputs.facet_indices(my_facet_indices)
property InputsMapdlSplitOnFacetIndices.volume_mesh: ansys.dpf.core.inputs.Input[ansys.dpf.core.meshed_region.MeshedRegion]#

Allows to connect volume_mesh input to the operator.

The solid support.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.result.mapdl_split_on_facet_indices()
>>> op.inputs.volume_mesh.connect(my_volume_mesh)
>>> # or
>>> op.inputs.volume_mesh(my_volume_mesh)
property InputsMapdlSplitOnFacetIndices.degenerated_tets: ansys.dpf.core.inputs.Input[ansys.dpf.core.scoping.Scoping]#

Allows to connect degenerated_tets input to the operator.

Elemental scoping of tet elements. If connected, the tets in the scoping are treated as degenerated tets (SOLID185), and the rest as non-degenerated tets (SOLID285). Pins 185 and 285 are mutually exclusionary (they cannot be connected at the same time), and if none of them is connected, all tets are treated as non-degenerated (SOLID285).

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.result.mapdl_split_on_facet_indices()
>>> op.inputs.degenerated_tets.connect(my_degenerated_tets)
>>> # or
>>> op.inputs.degenerated_tets(my_degenerated_tets)
property InputsMapdlSplitOnFacetIndices.non_degenerated_tets: ansys.dpf.core.inputs.Input[ansys.dpf.core.scoping.Scoping]#

Allows to connect non_degenerated_tets input to the operator.

Elemental scoping of tet elements. If connected, the tets in the scoping are treated as non-degenerated tets (SOLID285), and the rest as degenerated tets (SOLID185). Pins 185 and 285 are mutually exclusionary (they cannot be connected at the same time), and if none of them is connected, all tets are treated as non-degenerated (SOLID285).

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.result.mapdl_split_on_facet_indices()
>>> op.inputs.non_degenerated_tets.connect(my_non_degenerated_tets)
>>> # or
>>> op.inputs.non_degenerated_tets(my_non_degenerated_tets)

Method detail#

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

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