Rescopes a field on the given scoping. If an ID does not exist in the original field, the default value (in 2) is used when defined.
diff --git a/src/ansys/dpf/core/operators/result/accu_eqv_creep_strain.py b/src/ansys/dpf/core/operators/result/accu_eqv_creep_strain.py
index 5c149930a9a..5155f374fe9 100644
--- a/src/ansys/dpf/core/operators/result/accu_eqv_creep_strain.py
+++ b/src/ansys/dpf/core/operators/result/accu_eqv_creep_strain.py
@@ -154,8 +154,10 @@ class accu_eqv_creep_strain(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -189,8 +191,10 @@ class accu_eqv_creep_strain(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.accu_eqv_creep_strain(
@@ -205,6 +209,7 @@ class accu_eqv_creep_strain(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -224,6 +229,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -252,6 +258,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -442,10 +450,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -530,8 +544,10 @@ class InputsAccuEqvCreepStrain(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -578,6 +594,10 @@ def __init__(self, op: Operator):
accu_eqv_creep_strain._spec().input_pin(27), 27, op, -1
)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ accu_eqv_creep_strain._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -810,6 +830,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.accu_eqv_creep_strain()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsAccuEqvCreepStrain(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/accu_eqv_plastic_strain.py b/src/ansys/dpf/core/operators/result/accu_eqv_plastic_strain.py
index fd47ac6fbb6..6d964de416a 100644
--- a/src/ansys/dpf/core/operators/result/accu_eqv_plastic_strain.py
+++ b/src/ansys/dpf/core/operators/result/accu_eqv_plastic_strain.py
@@ -154,8 +154,10 @@ class accu_eqv_plastic_strain(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -189,8 +191,10 @@ class accu_eqv_plastic_strain(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.accu_eqv_plastic_strain(
@@ -205,6 +209,7 @@ class accu_eqv_plastic_strain(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -224,6 +229,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -252,6 +258,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -442,10 +450,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -530,8 +544,10 @@ class InputsAccuEqvPlasticStrain(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -578,6 +594,10 @@ def __init__(self, op: Operator):
accu_eqv_plastic_strain._spec().input_pin(27), 27, op, -1
)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ accu_eqv_plastic_strain._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -810,6 +830,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.accu_eqv_plastic_strain()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsAccuEqvPlasticStrain(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/contact_fluid_penetration_pressure.py b/src/ansys/dpf/core/operators/result/contact_fluid_penetration_pressure.py
index 41bdf9854da..7377f3d57b3 100644
--- a/src/ansys/dpf/core/operators/result/contact_fluid_penetration_pressure.py
+++ b/src/ansys/dpf/core/operators/result/contact_fluid_penetration_pressure.py
@@ -162,8 +162,10 @@ class contact_fluid_penetration_pressure(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -205,8 +207,10 @@ class contact_fluid_penetration_pressure(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.contact_fluid_penetration_pressure(
@@ -225,6 +229,7 @@ class contact_fluid_penetration_pressure(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -248,6 +253,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -284,6 +290,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -498,10 +506,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -594,8 +608,10 @@ class InputsContactFluidPenetrationPressure(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -660,6 +676,10 @@ def __init__(self, op: Operator):
contact_fluid_penetration_pressure._spec().input_pin(27), 27, op, -1
)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ contact_fluid_penetration_pressure._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -976,6 +996,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_fluid_penetration_pressure()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsContactFluidPenetrationPressure(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/contact_friction_stress.py b/src/ansys/dpf/core/operators/result/contact_friction_stress.py
index 62e5b817223..5ff7d0a6b40 100644
--- a/src/ansys/dpf/core/operators/result/contact_friction_stress.py
+++ b/src/ansys/dpf/core/operators/result/contact_friction_stress.py
@@ -162,8 +162,10 @@ class contact_friction_stress(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -205,8 +207,10 @@ class contact_friction_stress(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.contact_friction_stress(
@@ -225,6 +229,7 @@ class contact_friction_stress(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -248,6 +253,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -284,6 +290,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -498,10 +506,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -594,8 +608,10 @@ class InputsContactFrictionStress(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -656,6 +672,10 @@ def __init__(self, op: Operator):
contact_friction_stress._spec().input_pin(27), 27, op, -1
)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ contact_friction_stress._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -972,6 +992,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_friction_stress()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsContactFrictionStress(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/contact_gap_distance.py b/src/ansys/dpf/core/operators/result/contact_gap_distance.py
index baba8952b9a..2a3c6af0a84 100644
--- a/src/ansys/dpf/core/operators/result/contact_gap_distance.py
+++ b/src/ansys/dpf/core/operators/result/contact_gap_distance.py
@@ -162,8 +162,10 @@ class contact_gap_distance(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -205,8 +207,10 @@ class contact_gap_distance(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.contact_gap_distance(
@@ -225,6 +229,7 @@ class contact_gap_distance(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -248,6 +253,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -284,6 +290,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -498,10 +506,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -594,8 +608,10 @@ class InputsContactGapDistance(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -648,6 +664,10 @@ def __init__(self, op: Operator):
contact_gap_distance._spec().input_pin(27), 27, op, -1
)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ contact_gap_distance._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -964,6 +984,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_gap_distance()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsContactGapDistance(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/contact_penetration.py b/src/ansys/dpf/core/operators/result/contact_penetration.py
index ab4c2cb4d52..71dbe277064 100644
--- a/src/ansys/dpf/core/operators/result/contact_penetration.py
+++ b/src/ansys/dpf/core/operators/result/contact_penetration.py
@@ -162,8 +162,10 @@ class contact_penetration(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -205,8 +207,10 @@ class contact_penetration(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.contact_penetration(
@@ -225,6 +229,7 @@ class contact_penetration(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -248,6 +253,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -284,6 +290,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -498,10 +506,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -594,8 +608,10 @@ class InputsContactPenetration(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -644,6 +660,10 @@ def __init__(self, op: Operator):
self._inputs.append(self._split_shells)
self._shell_layer = Input(contact_penetration._spec().input_pin(27), 27, op, -1)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ contact_penetration._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -960,6 +980,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_penetration()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsContactPenetration(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/contact_pressure.py b/src/ansys/dpf/core/operators/result/contact_pressure.py
index fd06c47ceaf..fee19d8fc82 100644
--- a/src/ansys/dpf/core/operators/result/contact_pressure.py
+++ b/src/ansys/dpf/core/operators/result/contact_pressure.py
@@ -162,8 +162,10 @@ class contact_pressure(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -205,8 +207,10 @@ class contact_pressure(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.contact_pressure(
@@ -225,6 +229,7 @@ class contact_pressure(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -248,6 +253,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -284,6 +290,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -498,10 +506,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -594,8 +608,10 @@ class InputsContactPressure(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -640,6 +656,10 @@ def __init__(self, op: Operator):
self._inputs.append(self._split_shells)
self._shell_layer = Input(contact_pressure._spec().input_pin(27), 27, op, -1)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ contact_pressure._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -956,6 +976,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_pressure()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsContactPressure(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/contact_sliding_distance.py b/src/ansys/dpf/core/operators/result/contact_sliding_distance.py
index cd6049d46e3..90fe2c98b3b 100644
--- a/src/ansys/dpf/core/operators/result/contact_sliding_distance.py
+++ b/src/ansys/dpf/core/operators/result/contact_sliding_distance.py
@@ -162,8 +162,10 @@ class contact_sliding_distance(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -205,8 +207,10 @@ class contact_sliding_distance(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.contact_sliding_distance(
@@ -225,6 +229,7 @@ class contact_sliding_distance(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -248,6 +253,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -284,6 +290,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -498,10 +506,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -594,8 +608,10 @@ class InputsContactSlidingDistance(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -656,6 +672,10 @@ def __init__(self, op: Operator):
contact_sliding_distance._spec().input_pin(27), 27, op, -1
)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ contact_sliding_distance._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -972,6 +992,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_sliding_distance()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsContactSlidingDistance(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/contact_status.py b/src/ansys/dpf/core/operators/result/contact_status.py
index 6f3ac0b807a..985dc24c071 100644
--- a/src/ansys/dpf/core/operators/result/contact_status.py
+++ b/src/ansys/dpf/core/operators/result/contact_status.py
@@ -162,8 +162,10 @@ class contact_status(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -205,8 +207,10 @@ class contact_status(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.contact_status(
@@ -225,6 +229,7 @@ class contact_status(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -248,6 +253,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -284,6 +290,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -498,10 +506,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -594,8 +608,10 @@ class InputsContactStatus(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -636,6 +652,10 @@ def __init__(self, op: Operator):
self._inputs.append(self._split_shells)
self._shell_layer = Input(contact_status._spec().input_pin(27), 27, op, -1)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ contact_status._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -952,6 +972,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_status()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsContactStatus(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/contact_surface_heat_flux.py b/src/ansys/dpf/core/operators/result/contact_surface_heat_flux.py
index 88e5b0f1b66..e4843394232 100644
--- a/src/ansys/dpf/core/operators/result/contact_surface_heat_flux.py
+++ b/src/ansys/dpf/core/operators/result/contact_surface_heat_flux.py
@@ -162,8 +162,10 @@ class contact_surface_heat_flux(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -205,8 +207,10 @@ class contact_surface_heat_flux(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.contact_surface_heat_flux(
@@ -225,6 +229,7 @@ class contact_surface_heat_flux(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -248,6 +253,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -284,6 +290,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -498,10 +506,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -594,8 +608,10 @@ class InputsContactSurfaceHeatFlux(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -656,6 +672,10 @@ def __init__(self, op: Operator):
contact_surface_heat_flux._spec().input_pin(27), 27, op, -1
)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ contact_surface_heat_flux._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -972,6 +992,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_surface_heat_flux()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsContactSurfaceHeatFlux(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/contact_total_stress.py b/src/ansys/dpf/core/operators/result/contact_total_stress.py
index fc587ac3607..5079abe71c2 100644
--- a/src/ansys/dpf/core/operators/result/contact_total_stress.py
+++ b/src/ansys/dpf/core/operators/result/contact_total_stress.py
@@ -162,8 +162,10 @@ class contact_total_stress(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -205,8 +207,10 @@ class contact_total_stress(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.contact_total_stress(
@@ -225,6 +229,7 @@ class contact_total_stress(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -248,6 +253,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -284,6 +290,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -498,10 +506,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -594,8 +608,10 @@ class InputsContactTotalStress(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -648,6 +664,10 @@ def __init__(self, op: Operator):
contact_total_stress._spec().input_pin(27), 27, op, -1
)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ contact_total_stress._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -964,6 +984,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.contact_total_stress()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsContactTotalStress(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/creep_strain.py b/src/ansys/dpf/core/operators/result/creep_strain.py
index 03eba292c96..95d7ac28a2f 100644
--- a/src/ansys/dpf/core/operators/result/creep_strain.py
+++ b/src/ansys/dpf/core/operators/result/creep_strain.py
@@ -154,8 +154,10 @@ class creep_strain(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -189,8 +191,10 @@ class creep_strain(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.creep_strain(
@@ -205,6 +209,7 @@ class creep_strain(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -224,6 +229,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -252,6 +258,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -442,10 +450,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -530,8 +544,10 @@ class InputsCreepStrain(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -560,6 +576,10 @@ def __init__(self, op: Operator):
self._inputs.append(self._split_shells)
self._shell_layer = Input(creep_strain._spec().input_pin(27), 27, op, -1)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ creep_strain._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -792,6 +812,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.creep_strain()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsCreepStrain(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/creep_strain_energy_density.py b/src/ansys/dpf/core/operators/result/creep_strain_energy_density.py
index 5b033dff657..92e11bc0c52 100644
--- a/src/ansys/dpf/core/operators/result/creep_strain_energy_density.py
+++ b/src/ansys/dpf/core/operators/result/creep_strain_energy_density.py
@@ -154,8 +154,10 @@ class creep_strain_energy_density(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -189,8 +191,10 @@ class creep_strain_energy_density(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.creep_strain_energy_density(
@@ -205,6 +209,7 @@ class creep_strain_energy_density(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -224,6 +229,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -252,6 +258,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -442,10 +450,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -530,8 +544,10 @@ class InputsCreepStrainEnergyDensity(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -578,6 +594,10 @@ def __init__(self, op: Operator):
creep_strain_energy_density._spec().input_pin(27), 27, op, -1
)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ creep_strain_energy_density._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -810,6 +830,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.creep_strain_energy_density()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsCreepStrainEnergyDensity(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/creep_strain_eqv.py b/src/ansys/dpf/core/operators/result/creep_strain_eqv.py
index 1eb4e411c5d..33a95ad5582 100644
--- a/src/ansys/dpf/core/operators/result/creep_strain_eqv.py
+++ b/src/ansys/dpf/core/operators/result/creep_strain_eqv.py
@@ -154,8 +154,10 @@ class creep_strain_eqv(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -189,8 +191,10 @@ class creep_strain_eqv(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.creep_strain_eqv(
@@ -205,6 +209,7 @@ class creep_strain_eqv(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -224,6 +229,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -252,6 +258,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -442,10 +450,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -530,8 +544,10 @@ class InputsCreepStrainEqv(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -564,6 +580,10 @@ def __init__(self, op: Operator):
self._inputs.append(self._split_shells)
self._shell_layer = Input(creep_strain_eqv._spec().input_pin(27), 27, op, -1)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ creep_strain_eqv._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -796,6 +816,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.creep_strain_eqv()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsCreepStrainEqv(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/elastic_strain.py b/src/ansys/dpf/core/operators/result/elastic_strain.py
index 70c728bc119..8f846df9221 100644
--- a/src/ansys/dpf/core/operators/result/elastic_strain.py
+++ b/src/ansys/dpf/core/operators/result/elastic_strain.py
@@ -162,8 +162,10 @@ class elastic_strain(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -205,8 +207,10 @@ class elastic_strain(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.elastic_strain(
@@ -225,6 +229,7 @@ class elastic_strain(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -248,6 +253,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -284,6 +290,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -498,10 +506,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -594,8 +608,10 @@ class InputsElasticStrain(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -636,6 +652,10 @@ def __init__(self, op: Operator):
self._inputs.append(self._split_shells)
self._shell_layer = Input(elastic_strain._spec().input_pin(27), 27, op, -1)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ elastic_strain._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -952,6 +972,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.elastic_strain()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsElasticStrain(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/elastic_strain_energy_density.py b/src/ansys/dpf/core/operators/result/elastic_strain_energy_density.py
index cb3bad4c22e..e5763c6c8d2 100644
--- a/src/ansys/dpf/core/operators/result/elastic_strain_energy_density.py
+++ b/src/ansys/dpf/core/operators/result/elastic_strain_energy_density.py
@@ -154,8 +154,10 @@ class elastic_strain_energy_density(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -189,8 +191,10 @@ class elastic_strain_energy_density(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.elastic_strain_energy_density(
@@ -205,6 +209,7 @@ class elastic_strain_energy_density(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -224,6 +229,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -252,6 +258,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -442,10 +450,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -530,8 +544,10 @@ class InputsElasticStrainEnergyDensity(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -580,6 +596,10 @@ def __init__(self, op: Operator):
elastic_strain_energy_density._spec().input_pin(27), 27, op, -1
)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ elastic_strain_energy_density._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -812,6 +832,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.elastic_strain_energy_density()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsElasticStrainEnergyDensity(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/elastic_strain_eqv.py b/src/ansys/dpf/core/operators/result/elastic_strain_eqv.py
index 9801ec3a336..f43c006c71f 100644
--- a/src/ansys/dpf/core/operators/result/elastic_strain_eqv.py
+++ b/src/ansys/dpf/core/operators/result/elastic_strain_eqv.py
@@ -154,8 +154,10 @@ class elastic_strain_eqv(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -189,8 +191,10 @@ class elastic_strain_eqv(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.elastic_strain_eqv(
@@ -205,6 +209,7 @@ class elastic_strain_eqv(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -224,6 +229,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -252,6 +258,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -442,10 +450,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -530,8 +544,10 @@ class InputsElasticStrainEqv(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -566,6 +582,10 @@ def __init__(self, op: Operator):
self._inputs.append(self._split_shells)
self._shell_layer = Input(elastic_strain_eqv._spec().input_pin(27), 27, op, -1)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ elastic_strain_eqv._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -798,6 +818,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.elastic_strain_eqv()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsElasticStrainEqv(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/electric_field.py b/src/ansys/dpf/core/operators/result/electric_field.py
index c9be72782b1..3bf38faca64 100644
--- a/src/ansys/dpf/core/operators/result/electric_field.py
+++ b/src/ansys/dpf/core/operators/result/electric_field.py
@@ -154,8 +154,10 @@ class electric_field(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -189,8 +191,10 @@ class electric_field(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.electric_field(
@@ -205,6 +209,7 @@ class electric_field(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -224,6 +229,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -252,6 +258,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -442,10 +450,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -530,8 +544,10 @@ class InputsElectricField(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -560,6 +576,10 @@ def __init__(self, op: Operator):
self._inputs.append(self._split_shells)
self._shell_layer = Input(electric_field._spec().input_pin(27), 27, op, -1)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ electric_field._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -792,6 +812,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.electric_field()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsElectricField(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/electric_flux_density.py b/src/ansys/dpf/core/operators/result/electric_flux_density.py
index c292fa9e524..737cf8333c5 100644
--- a/src/ansys/dpf/core/operators/result/electric_flux_density.py
+++ b/src/ansys/dpf/core/operators/result/electric_flux_density.py
@@ -154,8 +154,10 @@ class electric_flux_density(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -189,8 +191,10 @@ class electric_flux_density(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.electric_flux_density(
@@ -205,6 +209,7 @@ class electric_flux_density(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -224,6 +229,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -252,6 +258,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -442,10 +450,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -530,8 +544,10 @@ class InputsElectricFluxDensity(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -578,6 +594,10 @@ def __init__(self, op: Operator):
electric_flux_density._spec().input_pin(27), 27, op, -1
)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ electric_flux_density._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -810,6 +830,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.electric_flux_density()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsElectricFluxDensity(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/element_nodal_forces.py b/src/ansys/dpf/core/operators/result/element_nodal_forces.py
index 0a3bcec2a37..2a403a9e8a5 100644
--- a/src/ansys/dpf/core/operators/result/element_nodal_forces.py
+++ b/src/ansys/dpf/core/operators/result/element_nodal_forces.py
@@ -162,8 +162,10 @@ class element_nodal_forces(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
split_force_components: bool, optional
If this pin is set to true, the output fields container splits the ENF by degree of freedom ("dof" label, 0 for translation, 1 for rotation, 2 for temperature) and derivative order ("derivative_order" label, 0 for stiffness terms, 1 for damping terms and 2 for inertial terms). Default is false.
@@ -207,8 +209,10 @@ class element_nodal_forces(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> my_split_force_components = bool()
>>> op.inputs.split_force_components.connect(my_split_force_components)
@@ -229,6 +233,7 @@ class element_nodal_forces(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... split_force_components=my_split_force_components,
... )
@@ -253,6 +258,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
split_force_components=None,
config=None,
server=None,
@@ -290,6 +296,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
if split_force_components is not None:
self.inputs.split_force_components.connect(split_force_components)
@@ -506,10 +514,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
200: PinSpecification(
name="split_force_components",
type_names=["bool"],
@@ -608,8 +622,10 @@ class InputsElementNodalForces(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> my_split_force_components = bool()
>>> op.inputs.split_force_components.connect(my_split_force_components)
"""
@@ -664,6 +680,10 @@ def __init__(self, op: Operator):
element_nodal_forces._spec().input_pin(27), 27, op, -1
)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ element_nodal_forces._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
self._split_force_components = Input(
element_nodal_forces._spec().input_pin(200), 200, op, -1
)
@@ -984,6 +1004,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.element_nodal_forces()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
@property
def split_force_components(self) -> Input:
r"""Allows to connect split_force_components input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/element_orientations.py b/src/ansys/dpf/core/operators/result/element_orientations.py
index 772d2d05c77..4124209f394 100644
--- a/src/ansys/dpf/core/operators/result/element_orientations.py
+++ b/src/ansys/dpf/core/operators/result/element_orientations.py
@@ -154,8 +154,10 @@ class element_orientations(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -189,8 +191,10 @@ class element_orientations(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.element_orientations(
@@ -205,6 +209,7 @@ class element_orientations(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -224,6 +229,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -252,6 +258,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -442,10 +450,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -530,8 +544,10 @@ class InputsElementOrientations(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -570,6 +586,10 @@ def __init__(self, op: Operator):
element_orientations._spec().input_pin(27), 27, op, -1
)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ element_orientations._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -802,6 +822,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.element_orientations()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsElementOrientations(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/equivalent_mass.py b/src/ansys/dpf/core/operators/result/equivalent_mass.py
index 1d2655cc06a..d63277e3f93 100644
--- a/src/ansys/dpf/core/operators/result/equivalent_mass.py
+++ b/src/ansys/dpf/core/operators/result/equivalent_mass.py
@@ -32,6 +32,8 @@ class equivalent_mass(Operator):
result file container allowed to be kept open to cache data
data_sources: DataSources
result file path container, used if no streams are set
+ bool_rotate_to_global: bool, optional
+ if true the field is rotated to global coordinate system (default true). Please check your results carefully if 'false' is used for Elemental or ElementalNodal results averaged to the Nodes when adjacent elements do not share the same coordinate system, as results may be incorrect.
all_dofs: bool, optional
default is false.
mesh: MeshedRegion or MeshesContainer, optional
@@ -67,6 +69,8 @@ class equivalent_mass(Operator):
>>> op.inputs.streams_container.connect(my_streams_container)
>>> my_data_sources = dpf.DataSources()
>>> op.inputs.data_sources.connect(my_data_sources)
+ >>> my_bool_rotate_to_global = bool()
+ >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_all_dofs = bool()
>>> op.inputs.all_dofs.connect(my_all_dofs)
>>> my_mesh = dpf.MeshedRegion()
@@ -87,6 +91,7 @@ class equivalent_mass(Operator):
... fields_container=my_fields_container,
... streams_container=my_streams_container,
... data_sources=my_data_sources,
+ ... bool_rotate_to_global=my_bool_rotate_to_global,
... all_dofs=my_all_dofs,
... mesh=my_mesh,
... read_cyclic=my_read_cyclic,
@@ -106,6 +111,7 @@ def __init__(
fields_container=None,
streams_container=None,
data_sources=None,
+ bool_rotate_to_global=None,
all_dofs=None,
mesh=None,
read_cyclic=None,
@@ -128,6 +134,8 @@ def __init__(
self.inputs.streams_container.connect(streams_container)
if data_sources is not None:
self.inputs.data_sources.connect(data_sources)
+ if bool_rotate_to_global is not None:
+ self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global)
if all_dofs is not None:
self.inputs.all_dofs.connect(all_dofs)
if mesh is not None:
@@ -186,6 +194,12 @@ def _spec() -> Specification:
optional=False,
document=r"""result file path container, used if no streams are set""",
),
+ 5: PinSpecification(
+ name="bool_rotate_to_global",
+ type_names=["bool"],
+ optional=True,
+ document=r"""if true the field is rotated to global coordinate system (default true). Please check your results carefully if 'false' is used for Elemental or ElementalNodal results averaged to the Nodes when adjacent elements do not share the same coordinate system, as results may be incorrect.""",
+ ),
6: PinSpecification(
name="all_dofs",
type_names=["bool"],
@@ -296,6 +310,8 @@ class InputsEquivalentMass(_Inputs):
>>> op.inputs.streams_container.connect(my_streams_container)
>>> my_data_sources = dpf.DataSources()
>>> op.inputs.data_sources.connect(my_data_sources)
+ >>> my_bool_rotate_to_global = bool()
+ >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
>>> my_all_dofs = bool()
>>> op.inputs.all_dofs.connect(my_all_dofs)
>>> my_mesh = dpf.MeshedRegion()
@@ -322,6 +338,10 @@ def __init__(self, op: Operator):
self._inputs.append(self._streams_container)
self._data_sources = Input(equivalent_mass._spec().input_pin(4), 4, op, -1)
self._inputs.append(self._data_sources)
+ self._bool_rotate_to_global = Input(
+ equivalent_mass._spec().input_pin(5), 5, op, -1
+ )
+ self._inputs.append(self._bool_rotate_to_global)
self._all_dofs = Input(equivalent_mass._spec().input_pin(6), 6, op, -1)
self._inputs.append(self._all_dofs)
self._mesh = Input(equivalent_mass._spec().input_pin(7), 7, op, -1)
@@ -444,6 +464,27 @@ def data_sources(self) -> Input:
"""
return self._data_sources
+ @property
+ def bool_rotate_to_global(self) -> Input:
+ r"""Allows to connect bool_rotate_to_global input to the operator.
+
+ if true the field is rotated to global coordinate system (default true). Please check your results carefully if 'false' is used for Elemental or ElementalNodal results averaged to the Nodes when adjacent elements do not share the same coordinate system, as results may be incorrect.
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.equivalent_mass()
+ >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global)
+ >>> # or
+ >>> op.inputs.bool_rotate_to_global(my_bool_rotate_to_global)
+ """
+ return self._bool_rotate_to_global
+
@property
def all_dofs(self) -> Input:
r"""Allows to connect all_dofs input to the operator.
diff --git a/src/ansys/dpf/core/operators/result/eqv_stress_parameter.py b/src/ansys/dpf/core/operators/result/eqv_stress_parameter.py
index 5d6873fa82b..4d4845fd63f 100644
--- a/src/ansys/dpf/core/operators/result/eqv_stress_parameter.py
+++ b/src/ansys/dpf/core/operators/result/eqv_stress_parameter.py
@@ -154,8 +154,10 @@ class eqv_stress_parameter(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -189,8 +191,10 @@ class eqv_stress_parameter(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.eqv_stress_parameter(
@@ -205,6 +209,7 @@ class eqv_stress_parameter(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -224,6 +229,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -252,6 +258,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -442,10 +450,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -530,8 +544,10 @@ class InputsEqvStressParameter(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -570,6 +586,10 @@ def __init__(self, op: Operator):
eqv_stress_parameter._spec().input_pin(27), 27, op, -1
)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ eqv_stress_parameter._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -802,6 +822,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.eqv_stress_parameter()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsEqvStressParameter(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/gasket_inelastic_closure.py b/src/ansys/dpf/core/operators/result/gasket_inelastic_closure.py
index e7f90a864f2..3e3ec8c91f7 100644
--- a/src/ansys/dpf/core/operators/result/gasket_inelastic_closure.py
+++ b/src/ansys/dpf/core/operators/result/gasket_inelastic_closure.py
@@ -152,8 +152,10 @@ class gasket_inelastic_closure(Operator):
requested location Nodal, Elemental or ElementalNodal
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -185,8 +187,10 @@ class gasket_inelastic_closure(Operator):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.gasket_inelastic_closure(
@@ -200,6 +204,7 @@ class gasket_inelastic_closure(Operator):
... requested_location=my_requested_location,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -218,6 +223,7 @@ def __init__(
requested_location=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -244,6 +250,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -428,10 +436,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -514,8 +528,10 @@ class InputsGasketInelasticClosure(_Inputs):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -558,6 +574,10 @@ def __init__(self, op: Operator):
gasket_inelastic_closure._spec().input_pin(27), 27, op, -1
)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ gasket_inelastic_closure._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -769,6 +789,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.gasket_inelastic_closure()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsGasketInelasticClosure(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/gasket_stress.py b/src/ansys/dpf/core/operators/result/gasket_stress.py
index 57be4e77d5c..b00bcaafc8a 100644
--- a/src/ansys/dpf/core/operators/result/gasket_stress.py
+++ b/src/ansys/dpf/core/operators/result/gasket_stress.py
@@ -152,8 +152,10 @@ class gasket_stress(Operator):
requested location Nodal, Elemental or ElementalNodal
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -185,8 +187,10 @@ class gasket_stress(Operator):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.gasket_stress(
@@ -200,6 +204,7 @@ class gasket_stress(Operator):
... requested_location=my_requested_location,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -218,6 +223,7 @@ def __init__(
requested_location=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -244,6 +250,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -428,10 +436,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -514,8 +528,10 @@ class InputsGasketStress(_Inputs):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -542,6 +558,10 @@ def __init__(self, op: Operator):
self._inputs.append(self._split_shells)
self._shell_layer = Input(gasket_stress._spec().input_pin(27), 27, op, -1)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ gasket_stress._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -753,6 +773,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.gasket_stress()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsGasketStress(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/gasket_thermal_closure.py b/src/ansys/dpf/core/operators/result/gasket_thermal_closure.py
index 1ae39f67898..fc21bca2558 100644
--- a/src/ansys/dpf/core/operators/result/gasket_thermal_closure.py
+++ b/src/ansys/dpf/core/operators/result/gasket_thermal_closure.py
@@ -152,8 +152,10 @@ class gasket_thermal_closure(Operator):
requested location Nodal, Elemental or ElementalNodal
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -185,8 +187,10 @@ class gasket_thermal_closure(Operator):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.gasket_thermal_closure(
@@ -200,6 +204,7 @@ class gasket_thermal_closure(Operator):
... requested_location=my_requested_location,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -218,6 +223,7 @@ def __init__(
requested_location=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -244,6 +250,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -428,10 +436,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -514,8 +528,10 @@ class InputsGasketThermalClosure(_Inputs):
>>> op.inputs.requested_location.connect(my_requested_location)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -558,6 +574,10 @@ def __init__(self, op: Operator):
gasket_thermal_closure._spec().input_pin(27), 27, op, -1
)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ gasket_thermal_closure._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -769,6 +789,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.gasket_thermal_closure()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsGasketThermalClosure(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/heat_flux.py b/src/ansys/dpf/core/operators/result/heat_flux.py
index a6f7ae4b1d6..3871f48a6e4 100644
--- a/src/ansys/dpf/core/operators/result/heat_flux.py
+++ b/src/ansys/dpf/core/operators/result/heat_flux.py
@@ -162,8 +162,10 @@ class heat_flux(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -205,8 +207,10 @@ class heat_flux(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.heat_flux(
@@ -225,6 +229,7 @@ class heat_flux(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -248,6 +253,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -284,6 +290,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -498,10 +506,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -594,8 +608,10 @@ class InputsHeatFlux(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -632,6 +648,8 @@ def __init__(self, op: Operator):
self._inputs.append(self._split_shells)
self._shell_layer = Input(heat_flux._spec().input_pin(27), 27, op, -1)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(heat_flux._spec().input_pin(28), 28, op, -1)
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -948,6 +966,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.heat_flux()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsHeatFlux(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/hydrostatic_pressure.py b/src/ansys/dpf/core/operators/result/hydrostatic_pressure.py
index bb4a322ceaa..0f47b984df0 100644
--- a/src/ansys/dpf/core/operators/result/hydrostatic_pressure.py
+++ b/src/ansys/dpf/core/operators/result/hydrostatic_pressure.py
@@ -154,8 +154,10 @@ class hydrostatic_pressure(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -189,8 +191,10 @@ class hydrostatic_pressure(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.hydrostatic_pressure(
@@ -205,6 +209,7 @@ class hydrostatic_pressure(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -224,6 +229,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -252,6 +258,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -442,10 +450,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -530,8 +544,10 @@ class InputsHydrostaticPressure(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -570,6 +586,10 @@ def __init__(self, op: Operator):
hydrostatic_pressure._spec().input_pin(27), 27, op, -1
)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ hydrostatic_pressure._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -802,6 +822,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.hydrostatic_pressure()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsHydrostaticPressure(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/magnetic_field.py b/src/ansys/dpf/core/operators/result/magnetic_field.py
index 71cfddf4ae4..673505afaf8 100644
--- a/src/ansys/dpf/core/operators/result/magnetic_field.py
+++ b/src/ansys/dpf/core/operators/result/magnetic_field.py
@@ -154,8 +154,10 @@ class magnetic_field(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -189,8 +191,10 @@ class magnetic_field(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.magnetic_field(
@@ -205,6 +209,7 @@ class magnetic_field(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -224,6 +229,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -252,6 +258,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -442,10 +450,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -530,8 +544,10 @@ class InputsMagneticField(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -560,6 +576,10 @@ def __init__(self, op: Operator):
self._inputs.append(self._split_shells)
self._shell_layer = Input(magnetic_field._spec().input_pin(27), 27, op, -1)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ magnetic_field._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -792,6 +812,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.magnetic_field()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsMagneticField(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/magnetic_flux_density.py b/src/ansys/dpf/core/operators/result/magnetic_flux_density.py
index 475c95bffb1..6314c4b44e3 100644
--- a/src/ansys/dpf/core/operators/result/magnetic_flux_density.py
+++ b/src/ansys/dpf/core/operators/result/magnetic_flux_density.py
@@ -154,8 +154,10 @@ class magnetic_flux_density(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -189,8 +191,10 @@ class magnetic_flux_density(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.magnetic_flux_density(
@@ -205,6 +209,7 @@ class magnetic_flux_density(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -224,6 +229,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -252,6 +258,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -442,10 +450,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -530,8 +544,10 @@ class InputsMagneticFluxDensity(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -578,6 +594,10 @@ def __init__(self, op: Operator):
magnetic_flux_density._spec().input_pin(27), 27, op, -1
)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ magnetic_flux_density._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -810,6 +830,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.magnetic_flux_density()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsMagneticFluxDensity(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/num_surface_status_changes.py b/src/ansys/dpf/core/operators/result/num_surface_status_changes.py
index 850485de90e..4bf38cb7b20 100644
--- a/src/ansys/dpf/core/operators/result/num_surface_status_changes.py
+++ b/src/ansys/dpf/core/operators/result/num_surface_status_changes.py
@@ -162,8 +162,10 @@ class num_surface_status_changes(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -205,8 +207,10 @@ class num_surface_status_changes(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.num_surface_status_changes(
@@ -225,6 +229,7 @@ class num_surface_status_changes(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -248,6 +253,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -284,6 +290,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -498,10 +506,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -594,8 +608,10 @@ class InputsNumSurfaceStatusChanges(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -656,6 +672,10 @@ def __init__(self, op: Operator):
num_surface_status_changes._spec().input_pin(27), 27, op, -1
)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ num_surface_status_changes._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -972,6 +992,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.num_surface_status_changes()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsNumSurfaceStatusChanges(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/plastic_state_variable.py b/src/ansys/dpf/core/operators/result/plastic_state_variable.py
index e29332399bb..721b034335e 100644
--- a/src/ansys/dpf/core/operators/result/plastic_state_variable.py
+++ b/src/ansys/dpf/core/operators/result/plastic_state_variable.py
@@ -154,8 +154,10 @@ class plastic_state_variable(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -189,8 +191,10 @@ class plastic_state_variable(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.plastic_state_variable(
@@ -205,6 +209,7 @@ class plastic_state_variable(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -224,6 +229,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -252,6 +258,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -442,10 +450,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -530,8 +544,10 @@ class InputsPlasticStateVariable(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -578,6 +594,10 @@ def __init__(self, op: Operator):
plastic_state_variable._spec().input_pin(27), 27, op, -1
)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ plastic_state_variable._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -810,6 +830,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.plastic_state_variable()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsPlasticStateVariable(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/plastic_strain.py b/src/ansys/dpf/core/operators/result/plastic_strain.py
index 37d23532360..2422ae52754 100644
--- a/src/ansys/dpf/core/operators/result/plastic_strain.py
+++ b/src/ansys/dpf/core/operators/result/plastic_strain.py
@@ -154,8 +154,10 @@ class plastic_strain(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -189,8 +191,10 @@ class plastic_strain(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.plastic_strain(
@@ -205,6 +209,7 @@ class plastic_strain(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -224,6 +229,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -252,6 +258,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -442,10 +450,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -530,8 +544,10 @@ class InputsPlasticStrain(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -560,6 +576,10 @@ def __init__(self, op: Operator):
self._inputs.append(self._split_shells)
self._shell_layer = Input(plastic_strain._spec().input_pin(27), 27, op, -1)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ plastic_strain._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -792,6 +812,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.plastic_strain()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsPlasticStrain(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/plastic_strain_energy_density.py b/src/ansys/dpf/core/operators/result/plastic_strain_energy_density.py
index 0e0b2dbb8b6..e8d4a303e52 100644
--- a/src/ansys/dpf/core/operators/result/plastic_strain_energy_density.py
+++ b/src/ansys/dpf/core/operators/result/plastic_strain_energy_density.py
@@ -154,8 +154,10 @@ class plastic_strain_energy_density(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -189,8 +191,10 @@ class plastic_strain_energy_density(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.plastic_strain_energy_density(
@@ -205,6 +209,7 @@ class plastic_strain_energy_density(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -224,6 +229,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -252,6 +258,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -442,10 +450,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -530,8 +544,10 @@ class InputsPlasticStrainEnergyDensity(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -580,6 +596,10 @@ def __init__(self, op: Operator):
plastic_strain_energy_density._spec().input_pin(27), 27, op, -1
)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ plastic_strain_energy_density._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -812,6 +832,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.plastic_strain_energy_density()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsPlasticStrainEnergyDensity(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/plastic_strain_eqv.py b/src/ansys/dpf/core/operators/result/plastic_strain_eqv.py
index acb261ed8a8..9a924affaa4 100644
--- a/src/ansys/dpf/core/operators/result/plastic_strain_eqv.py
+++ b/src/ansys/dpf/core/operators/result/plastic_strain_eqv.py
@@ -154,8 +154,10 @@ class plastic_strain_eqv(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -189,8 +191,10 @@ class plastic_strain_eqv(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.plastic_strain_eqv(
@@ -205,6 +209,7 @@ class plastic_strain_eqv(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -224,6 +229,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -252,6 +258,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -442,10 +450,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -530,8 +544,10 @@ class InputsPlasticStrainEqv(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -566,6 +582,10 @@ def __init__(self, op: Operator):
self._inputs.append(self._split_shells)
self._shell_layer = Input(plastic_strain_eqv._spec().input_pin(27), 27, op, -1)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ plastic_strain_eqv._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -798,6 +818,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.plastic_strain_eqv()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsPlasticStrainEqv(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/state_variable.py b/src/ansys/dpf/core/operators/result/state_variable.py
index c00c4342c5a..de26a262978 100644
--- a/src/ansys/dpf/core/operators/result/state_variable.py
+++ b/src/ansys/dpf/core/operators/result/state_variable.py
@@ -156,8 +156,10 @@ class state_variable(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -193,8 +195,10 @@ class state_variable(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.state_variable(
@@ -210,6 +214,7 @@ class state_variable(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -230,6 +235,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -260,6 +266,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -456,10 +464,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -546,8 +560,10 @@ class InputsStateVariable(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -578,6 +594,10 @@ def __init__(self, op: Operator):
self._inputs.append(self._split_shells)
self._shell_layer = Input(state_variable._spec().input_pin(27), 27, op, -1)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ state_variable._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -831,6 +851,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.state_variable()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsStateVariable(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/stress.py b/src/ansys/dpf/core/operators/result/stress.py
index 74b4ccec9b0..cf5734fcded 100644
--- a/src/ansys/dpf/core/operators/result/stress.py
+++ b/src/ansys/dpf/core/operators/result/stress.py
@@ -162,8 +162,10 @@ class stress(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -205,8 +207,10 @@ class stress(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.stress(
@@ -225,6 +229,7 @@ class stress(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -248,6 +253,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -284,6 +290,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -498,10 +506,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -594,8 +608,10 @@ class InputsStress(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -630,6 +646,8 @@ def __init__(self, op: Operator):
self._inputs.append(self._split_shells)
self._shell_layer = Input(stress._spec().input_pin(27), 27, op, -1)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(stress._spec().input_pin(28), 28, op, -1)
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -946,6 +964,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.stress()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsStress(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/stress_ratio.py b/src/ansys/dpf/core/operators/result/stress_ratio.py
index 4516fb4bf01..2c553667744 100644
--- a/src/ansys/dpf/core/operators/result/stress_ratio.py
+++ b/src/ansys/dpf/core/operators/result/stress_ratio.py
@@ -154,8 +154,10 @@ class stress_ratio(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -189,8 +191,10 @@ class stress_ratio(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.stress_ratio(
@@ -205,6 +209,7 @@ class stress_ratio(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -224,6 +229,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -252,6 +258,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -442,10 +450,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -530,8 +544,10 @@ class InputsStressRatio(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -560,6 +576,10 @@ def __init__(self, op: Operator):
self._inputs.append(self._split_shells)
self._shell_layer = Input(stress_ratio._spec().input_pin(27), 27, op, -1)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ stress_ratio._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -792,6 +812,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.stress_ratio()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsStressRatio(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/structural_temperature.py b/src/ansys/dpf/core/operators/result/structural_temperature.py
index f2dd0f46305..551b36cab35 100644
--- a/src/ansys/dpf/core/operators/result/structural_temperature.py
+++ b/src/ansys/dpf/core/operators/result/structural_temperature.py
@@ -154,8 +154,10 @@ class structural_temperature(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -189,8 +191,10 @@ class structural_temperature(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.structural_temperature(
@@ -205,6 +209,7 @@ class structural_temperature(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -224,6 +229,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -252,6 +258,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -442,10 +450,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -530,8 +544,10 @@ class InputsStructuralTemperature(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -578,6 +594,10 @@ def __init__(self, op: Operator):
structural_temperature._spec().input_pin(27), 27, op, -1
)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ structural_temperature._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -810,6 +830,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.structural_temperature()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsStructuralTemperature(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/swelling_strains.py b/src/ansys/dpf/core/operators/result/swelling_strains.py
index 2d23887eac6..5aa4f5a12f6 100644
--- a/src/ansys/dpf/core/operators/result/swelling_strains.py
+++ b/src/ansys/dpf/core/operators/result/swelling_strains.py
@@ -154,8 +154,10 @@ class swelling_strains(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -189,8 +191,10 @@ class swelling_strains(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.swelling_strains(
@@ -205,6 +209,7 @@ class swelling_strains(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -224,6 +229,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -252,6 +258,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -442,10 +450,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -530,8 +544,10 @@ class InputsSwellingStrains(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -564,6 +580,10 @@ def __init__(self, op: Operator):
self._inputs.append(self._split_shells)
self._shell_layer = Input(swelling_strains._spec().input_pin(27), 27, op, -1)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ swelling_strains._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -796,6 +816,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.swelling_strains()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsSwellingStrains(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/temperature_grad.py b/src/ansys/dpf/core/operators/result/temperature_grad.py
index bc8be7b6d6c..c02386e7597 100644
--- a/src/ansys/dpf/core/operators/result/temperature_grad.py
+++ b/src/ansys/dpf/core/operators/result/temperature_grad.py
@@ -154,8 +154,10 @@ class temperature_grad(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -189,8 +191,10 @@ class temperature_grad(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.temperature_grad(
@@ -205,6 +209,7 @@ class temperature_grad(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -224,6 +229,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -252,6 +258,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -442,10 +450,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -530,8 +544,10 @@ class InputsTemperatureGrad(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -564,6 +580,10 @@ def __init__(self, op: Operator):
self._inputs.append(self._split_shells)
self._shell_layer = Input(temperature_grad._spec().input_pin(27), 27, op, -1)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ temperature_grad._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -796,6 +816,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.temperature_grad()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsTemperatureGrad(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/thermal_strain.py b/src/ansys/dpf/core/operators/result/thermal_strain.py
index 29047b08a33..ae5ebdb641b 100644
--- a/src/ansys/dpf/core/operators/result/thermal_strain.py
+++ b/src/ansys/dpf/core/operators/result/thermal_strain.py
@@ -154,8 +154,10 @@ class thermal_strain(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -189,8 +191,10 @@ class thermal_strain(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.thermal_strain(
@@ -205,6 +209,7 @@ class thermal_strain(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -224,6 +229,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -252,6 +258,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -442,10 +450,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -530,8 +544,10 @@ class InputsThermalStrain(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -560,6 +576,10 @@ def __init__(self, op: Operator):
self._inputs.append(self._split_shells)
self._shell_layer = Input(thermal_strain._spec().input_pin(27), 27, op, -1)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ thermal_strain._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -792,6 +812,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.thermal_strain()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsThermalStrain(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/core/operators/result/thermal_strains_eqv.py b/src/ansys/dpf/core/operators/result/thermal_strains_eqv.py
index 907d14f3e6b..b6de58ed0dd 100644
--- a/src/ansys/dpf/core/operators/result/thermal_strains_eqv.py
+++ b/src/ansys/dpf/core/operators/result/thermal_strains_eqv.py
@@ -154,8 +154,10 @@ class thermal_strains_eqv(Operator):
elemental nodal beam results are read if this pin is set to true (default is false)
split_shells: bool, optional
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.
- shell_layer: int, optional
+ shell_layer: bool, optional
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
+ extend_to_mid_nodes: bool, optional
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
Returns
-------
@@ -189,8 +191,10 @@ class thermal_strains_eqv(Operator):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
>>> # Instantiate operator and connect inputs in one line
>>> op = dpf.operators.result.thermal_strains_eqv(
@@ -205,6 +209,7 @@ class thermal_strains_eqv(Operator):
... read_beams=my_read_beams,
... split_shells=my_split_shells,
... shell_layer=my_shell_layer,
+ ... extend_to_mid_nodes=my_extend_to_mid_nodes,
... )
>>> # Get output data
@@ -224,6 +229,7 @@ def __init__(
read_beams=None,
split_shells=None,
shell_layer=None,
+ extend_to_mid_nodes=None,
config=None,
server=None,
):
@@ -252,6 +258,8 @@ def __init__(
self.inputs.split_shells.connect(split_shells)
if shell_layer is not None:
self.inputs.shell_layer.connect(shell_layer)
+ if extend_to_mid_nodes is not None:
+ self.inputs.extend_to_mid_nodes.connect(extend_to_mid_nodes)
@staticmethod
def _spec() -> Specification:
@@ -442,10 +450,16 @@ def _spec() -> Specification:
),
27: PinSpecification(
name="shell_layer",
- type_names=["int32"],
+ type_names=["bool"],
optional=True,
document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""",
),
+ 28: PinSpecification(
+ name="extend_to_mid_nodes",
+ type_names=["bool"],
+ optional=True,
+ document=r"""Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True""",
+ ),
},
map_output_pin_spec={
0: PinSpecification(
@@ -530,8 +544,10 @@ class InputsThermalStrainsEqv(_Inputs):
>>> op.inputs.read_beams.connect(my_read_beams)
>>> my_split_shells = bool()
>>> op.inputs.split_shells.connect(my_split_shells)
- >>> my_shell_layer = int()
+ >>> my_shell_layer = bool()
>>> op.inputs.shell_layer.connect(my_shell_layer)
+ >>> my_extend_to_mid_nodes = bool()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
"""
def __init__(self, op: Operator):
@@ -568,6 +584,10 @@ def __init__(self, op: Operator):
self._inputs.append(self._split_shells)
self._shell_layer = Input(thermal_strains_eqv._spec().input_pin(27), 27, op, -1)
self._inputs.append(self._shell_layer)
+ self._extend_to_mid_nodes = Input(
+ thermal_strains_eqv._spec().input_pin(28), 28, op, -1
+ )
+ self._inputs.append(self._extend_to_mid_nodes)
@property
def time_scoping(self) -> Input:
@@ -800,6 +820,27 @@ def shell_layer(self) -> Input:
"""
return self._shell_layer
+ @property
+ def extend_to_mid_nodes(self) -> Input:
+ r"""Allows to connect extend_to_mid_nodes input to the operator.
+
+ Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True
+
+ Returns
+ -------
+ input:
+ An Input instance for this pin.
+
+ Examples
+ --------
+ >>> from ansys.dpf import core as dpf
+ >>> op = dpf.operators.result.thermal_strains_eqv()
+ >>> op.inputs.extend_to_mid_nodes.connect(my_extend_to_mid_nodes)
+ >>> # or
+ >>> op.inputs.extend_to_mid_nodes(my_extend_to_mid_nodes)
+ """
+ return self._extend_to_mid_nodes
+
class OutputsThermalStrainsEqv(_Outputs):
"""Intermediate class used to get outputs from
diff --git a/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll b/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll
index 89423c408b5..370c1224932 100644
Binary files a/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll and b/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll differ
diff --git a/src/ansys/dpf/gatebin/DPFClientAPI.dll b/src/ansys/dpf/gatebin/DPFClientAPI.dll
index 8ea0a80caed..efdb6c17f3e 100644
Binary files a/src/ansys/dpf/gatebin/DPFClientAPI.dll and b/src/ansys/dpf/gatebin/DPFClientAPI.dll differ
diff --git a/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so b/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so
index e1c8bb5066e..b4fba0ce436 100644
Binary files a/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so and b/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so differ