InputsStrainEqvAsMechanicalWorkflow#
- class ansys.dpf.core.operators.result.strain_eqv_as_mechanical_workflow.InputsStrainEqvAsMechanicalWorkflow(op: ansys.dpf.core.dpf_operator.Operator)#
Bases:
ansys.dpf.core.inputs._InputsIntermediate class used to connect user inputs to strain_eqv_as_mechanical_workflow operator.
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.result.strain_eqv_as_mechanical_workflow() >>> my_time_scoping = dpf.Scoping() >>> op.inputs.time_scoping.connect(my_time_scoping) >>> my_mesh_scoping = dpf.Scoping() >>> op.inputs.mesh_scoping.connect(my_mesh_scoping) >>> my_streams_container = dpf.StreamsContainer() >>> op.inputs.streams_container.connect(my_streams_container) >>> my_data_sources = dpf.DataSources() >>> op.inputs.data_sources.connect(my_data_sources) >>> my_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() >>> op.inputs.requested_location.connect(my_requested_location) >>> my_read_cyclic = bool() >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> my_average_across_bodies = bool() >>> op.inputs.average_across_bodies.connect(my_average_across_bodies)
Overview#
Connect any input (an entity or an operator output) to any input pin of this operator. |
Allows to connect time_scoping input to the operator. |
|
Allows to connect mesh_scoping input to the operator. |
|
Allows to connect streams_container input to the operator. |
|
Allows to connect data_sources input to the operator. |
|
Allows to connect mesh input to the operator. |
|
Allows to connect requested_location input to the operator. |
|
Allows to connect read_cyclic input to the operator. |
|
Allows to connect average_across_bodies input to the operator. |
Import detail#
from ansys.dpf.core.operators.result.strain_eqv_as_mechanical_workflow import InputsStrainEqvAsMechanicalWorkflow
Property detail#
- property InputsStrainEqvAsMechanicalWorkflow.time_scoping: ansys.dpf.core.inputs.Input[ansys.dpf.core.scoping.Scoping]#
Allows to connect time_scoping input to the operator.
time/freq (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids use scoping with TimeFreq_steps location) required in output.
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.result.strain_eqv_as_mechanical_workflow() >>> op.inputs.time_scoping.connect(my_time_scoping) >>> # or >>> op.inputs.time_scoping(my_time_scoping)
- property InputsStrainEqvAsMechanicalWorkflow.mesh_scoping: ansys.dpf.core.inputs.Input[ansys.dpf.core.scoping.Scoping | ansys.dpf.core.scopings_container.ScopingsContainer]#
Allows to connect mesh_scoping input to the operator.
nodes or elements scoping required in output.
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.result.strain_eqv_as_mechanical_workflow() >>> op.inputs.mesh_scoping.connect(my_mesh_scoping) >>> # or >>> op.inputs.mesh_scoping(my_mesh_scoping)
- property InputsStrainEqvAsMechanicalWorkflow.streams_container: ansys.dpf.core.inputs.Input[ansys.dpf.core.streams_container.StreamsContainer]#
Allows to connect streams_container input to the operator.
result file container allowed to be kept open to cache data.
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.result.strain_eqv_as_mechanical_workflow() >>> op.inputs.streams_container.connect(my_streams_container) >>> # or >>> op.inputs.streams_container(my_streams_container)
- property InputsStrainEqvAsMechanicalWorkflow.data_sources: ansys.dpf.core.inputs.Input[ansys.dpf.core.data_sources.DataSources]#
Allows to connect data_sources input to the operator.
result file path container.
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.result.strain_eqv_as_mechanical_workflow() >>> op.inputs.data_sources.connect(my_data_sources) >>> # or >>> op.inputs.data_sources(my_data_sources)
- property InputsStrainEqvAsMechanicalWorkflow.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.
prevents from reading the mesh in the results file.
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.result.strain_eqv_as_mechanical_workflow() >>> op.inputs.mesh.connect(my_mesh) >>> # or >>> op.inputs.mesh(my_mesh)
- property InputsStrainEqvAsMechanicalWorkflow.requested_location: ansys.dpf.core.inputs.Input[str]#
Allows to connect requested_location input to the operator.
average the elemental nodal result to the requested location (default is nodal).
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.result.strain_eqv_as_mechanical_workflow() >>> op.inputs.requested_location.connect(my_requested_location) >>> # or >>> op.inputs.requested_location(my_requested_location)
- property InputsStrainEqvAsMechanicalWorkflow.read_cyclic: ansys.dpf.core.inputs.Input[bool]#
Allows to connect read_cyclic input to the operator.
if true, cyclic expansion is done. If false, it’s ignored..
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.result.strain_eqv_as_mechanical_workflow() >>> op.inputs.read_cyclic.connect(my_read_cyclic) >>> # or >>> op.inputs.read_cyclic(my_read_cyclic)
- property InputsStrainEqvAsMechanicalWorkflow.average_across_bodies: ansys.dpf.core.inputs.Input[bool]#
Allows to connect average_across_bodies input to the operator.
for multibody simulations, the stresses are averaged across bodies if true or not if false (default).
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.result.strain_eqv_as_mechanical_workflow() >>> op.inputs.average_across_bodies.connect(my_average_across_bodies) >>> # or >>> op.inputs.average_across_bodies(my_average_across_bodies)
Method detail#
- InputsStrainEqvAsMechanicalWorkflow.__str__()#
- InputsStrainEqvAsMechanicalWorkflow.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.
- InputsStrainEqvAsMechanicalWorkflow.__call__(inpt)#