Skip to content

Commit 471876c

Browse files
Update generated code for DPF 261_daily on master (#2437)
Co-authored-by: PProfizi <[email protected]>
1 parent 8bb4bc6 commit 471876c

30 files changed

+1846
-1589
lines changed

doc/source/_static/dpf_operators.html

Lines changed: 1501 additions & 1438 deletions
Large diffs are not rendered by default.

src/ansys/dpf/core/operators/result/creep_strain_intensity.py

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717

1818
class creep_strain_intensity(Operator):
1919
r"""Reads/computes element nodal component creep strains, average it on
20-
nodes (by default) and computes its invariants.
20+
nodes (by default) and computes its invariants. This operation is
21+
independent of the coordinate system unless averaging across elements is
22+
requested, in which case a rotation to the global coordinate system is
23+
performed.
2124
2225
2326
Parameters
@@ -33,7 +36,7 @@ class creep_strain_intensity(Operator):
3336
data_sources: DataSources
3437
result file path container, used if no streams are set
3538
bool_rotate_to_global: bool, optional
36-
if true the field is rotated to global coordinate system (default true)
39+
This pin is removed for versions >25.2. An error is raised if connected.
3740
mesh: MeshedRegion or MeshesContainer, optional
3841
prevents from reading the mesh in the result files
3942
requested_location: str, optional
@@ -135,7 +138,10 @@ def __init__(
135138
@staticmethod
136139
def _spec() -> Specification:
137140
description = r"""Reads/computes element nodal component creep strains, average it on
138-
nodes (by default) and computes its invariants.
141+
nodes (by default) and computes its invariants. This operation is
142+
independent of the coordinate system unless averaging across elements is
143+
requested, in which case a rotation to the global coordinate system is
144+
performed.
139145
"""
140146
spec = Specification(
141147
description=description,
@@ -181,7 +187,7 @@ def _spec() -> Specification:
181187
name="bool_rotate_to_global",
182188
type_names=["bool"],
183189
optional=True,
184-
document=r"""if true the field is rotated to global coordinate system (default true)""",
190+
document=r"""This pin is removed for versions >25.2. An error is raised if connected.""",
185191
),
186192
7: PinSpecification(
187193
name="mesh",
@@ -443,7 +449,7 @@ def data_sources(self) -> Input:
443449
def bool_rotate_to_global(self) -> Input:
444450
r"""Allows to connect bool_rotate_to_global input to the operator.
445451
446-
if true the field is rotated to global coordinate system (default true)
452+
This pin is removed for versions >25.2. An error is raised if connected.
447453
448454
Returns
449455
-------

src/ansys/dpf/core/operators/result/creep_strain_max_shear.py

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717

1818
class creep_strain_max_shear(Operator):
1919
r"""Reads/computes element nodal component creep strains, average it on
20-
nodes (by default) and computes its invariants.
20+
nodes (by default) and computes its invariants. This operation is
21+
independent of the coordinate system unless averaging across elements is
22+
requested, in which case a rotation to the global coordinate system is
23+
performed.
2124
2225
2326
Parameters
@@ -33,7 +36,7 @@ class creep_strain_max_shear(Operator):
3336
data_sources: DataSources
3437
result file path container, used if no streams are set
3538
bool_rotate_to_global: bool, optional
36-
if true the field is rotated to global coordinate system (default true)
39+
This pin is removed for versions >25.2. An error is raised if connected.
3740
mesh: MeshedRegion or MeshesContainer, optional
3841
prevents from reading the mesh in the result files
3942
requested_location: str, optional
@@ -135,7 +138,10 @@ def __init__(
135138
@staticmethod
136139
def _spec() -> Specification:
137140
description = r"""Reads/computes element nodal component creep strains, average it on
138-
nodes (by default) and computes its invariants.
141+
nodes (by default) and computes its invariants. This operation is
142+
independent of the coordinate system unless averaging across elements is
143+
requested, in which case a rotation to the global coordinate system is
144+
performed.
139145
"""
140146
spec = Specification(
141147
description=description,
@@ -181,7 +187,7 @@ def _spec() -> Specification:
181187
name="bool_rotate_to_global",
182188
type_names=["bool"],
183189
optional=True,
184-
document=r"""if true the field is rotated to global coordinate system (default true)""",
190+
document=r"""This pin is removed for versions >25.2. An error is raised if connected.""",
185191
),
186192
7: PinSpecification(
187193
name="mesh",
@@ -443,7 +449,7 @@ def data_sources(self) -> Input:
443449
def bool_rotate_to_global(self) -> Input:
444450
r"""Allows to connect bool_rotate_to_global input to the operator.
445451
446-
if true the field is rotated to global coordinate system (default true)
452+
This pin is removed for versions >25.2. An error is raised if connected.
447453
448454
Returns
449455
-------

src/ansys/dpf/core/operators/result/creep_strain_principal_1.py

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@
1818
class creep_strain_principal_1(Operator):
1919
r"""Read/compute element nodal component creep strains 1st principal
2020
component by calling the readers defined by the datasources and
21-
computing its eigen values. The off-diagonal strains are first converted
22-
from Voigt notation to the standard strain values.
21+
computing its eigen values. This operation is independent of the
22+
coordinate system unless averaging across elements is requested, in
23+
which case a rotation to the global coordinate system is performed. The
24+
off-diagonal strains are first converted from Voigt notation to the
25+
standard strain values.
2326
2427
2528
Parameters
@@ -35,7 +38,7 @@ class creep_strain_principal_1(Operator):
3538
data_sources: DataSources
3639
result file path container, used if no streams are set
3740
bool_rotate_to_global: bool, optional
38-
if true the field is rotated to global coordinate system (default true)
41+
This pin is removed for versions >25.2. An error is raised if connected.
3942
mesh: MeshedRegion or MeshesContainer, optional
4043
prevents from reading the mesh in the result files
4144
requested_location: str, optional
@@ -138,8 +141,11 @@ def __init__(
138141
def _spec() -> Specification:
139142
description = r"""Read/compute element nodal component creep strains 1st principal
140143
component by calling the readers defined by the datasources and
141-
computing its eigen values. The off-diagonal strains are first converted
142-
from Voigt notation to the standard strain values.
144+
computing its eigen values. This operation is independent of the
145+
coordinate system unless averaging across elements is requested, in
146+
which case a rotation to the global coordinate system is performed. The
147+
off-diagonal strains are first converted from Voigt notation to the
148+
standard strain values.
143149
"""
144150
spec = Specification(
145151
description=description,
@@ -185,7 +191,7 @@ def _spec() -> Specification:
185191
name="bool_rotate_to_global",
186192
type_names=["bool"],
187193
optional=True,
188-
document=r"""if true the field is rotated to global coordinate system (default true)""",
194+
document=r"""This pin is removed for versions >25.2. An error is raised if connected.""",
189195
),
190196
7: PinSpecification(
191197
name="mesh",
@@ -447,7 +453,7 @@ def data_sources(self) -> Input:
447453
def bool_rotate_to_global(self) -> Input:
448454
r"""Allows to connect bool_rotate_to_global input to the operator.
449455
450-
if true the field is rotated to global coordinate system (default true)
456+
This pin is removed for versions >25.2. An error is raised if connected.
451457
452458
Returns
453459
-------

src/ansys/dpf/core/operators/result/creep_strain_principal_2.py

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@
1818
class creep_strain_principal_2(Operator):
1919
r"""Read/compute element nodal component creep strains 2nd principal
2020
component by calling the readers defined by the datasources and
21-
computing its eigen values. The off-diagonal strains are first converted
22-
from Voigt notation to the standard strain values.
21+
computing its eigen values. This operation is independent of the
22+
coordinate system unless averaging across elements is requested, in
23+
which case a rotation to the global coordinate system is performed. The
24+
off-diagonal strains are first converted from Voigt notation to the
25+
standard strain values.
2326
2427
2528
Parameters
@@ -35,7 +38,7 @@ class creep_strain_principal_2(Operator):
3538
data_sources: DataSources
3639
result file path container, used if no streams are set
3740
bool_rotate_to_global: bool, optional
38-
if true the field is rotated to global coordinate system (default true)
41+
This pin is removed for versions >25.2. An error is raised if connected.
3942
mesh: MeshedRegion or MeshesContainer, optional
4043
prevents from reading the mesh in the result files
4144
requested_location: str, optional
@@ -138,8 +141,11 @@ def __init__(
138141
def _spec() -> Specification:
139142
description = r"""Read/compute element nodal component creep strains 2nd principal
140143
component by calling the readers defined by the datasources and
141-
computing its eigen values. The off-diagonal strains are first converted
142-
from Voigt notation to the standard strain values.
144+
computing its eigen values. This operation is independent of the
145+
coordinate system unless averaging across elements is requested, in
146+
which case a rotation to the global coordinate system is performed. The
147+
off-diagonal strains are first converted from Voigt notation to the
148+
standard strain values.
143149
"""
144150
spec = Specification(
145151
description=description,
@@ -185,7 +191,7 @@ def _spec() -> Specification:
185191
name="bool_rotate_to_global",
186192
type_names=["bool"],
187193
optional=True,
188-
document=r"""if true the field is rotated to global coordinate system (default true)""",
194+
document=r"""This pin is removed for versions >25.2. An error is raised if connected.""",
189195
),
190196
7: PinSpecification(
191197
name="mesh",
@@ -447,7 +453,7 @@ def data_sources(self) -> Input:
447453
def bool_rotate_to_global(self) -> Input:
448454
r"""Allows to connect bool_rotate_to_global input to the operator.
449455
450-
if true the field is rotated to global coordinate system (default true)
456+
This pin is removed for versions >25.2. An error is raised if connected.
451457
452458
Returns
453459
-------

src/ansys/dpf/core/operators/result/creep_strain_principal_3.py

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@
1818
class creep_strain_principal_3(Operator):
1919
r"""Read/compute element nodal component creep strains 3rd principal
2020
component by calling the readers defined by the datasources and
21-
computing its eigen values. The off-diagonal strains are first converted
22-
from Voigt notation to the standard strain values.
21+
computing its eigen values. This operation is independent of the
22+
coordinate system unless averaging across elements is requested, in
23+
which case a rotation to the global coordinate system is performed. The
24+
off-diagonal strains are first converted from Voigt notation to the
25+
standard strain values.
2326
2427
2528
Parameters
@@ -35,7 +38,7 @@ class creep_strain_principal_3(Operator):
3538
data_sources: DataSources
3639
result file path container, used if no streams are set
3740
bool_rotate_to_global: bool, optional
38-
if true the field is rotated to global coordinate system (default true)
41+
This pin is removed for versions >25.2. An error is raised if connected.
3942
mesh: MeshedRegion or MeshesContainer, optional
4043
prevents from reading the mesh in the result files
4144
requested_location: str, optional
@@ -138,8 +141,11 @@ def __init__(
138141
def _spec() -> Specification:
139142
description = r"""Read/compute element nodal component creep strains 3rd principal
140143
component by calling the readers defined by the datasources and
141-
computing its eigen values. The off-diagonal strains are first converted
142-
from Voigt notation to the standard strain values.
144+
computing its eigen values. This operation is independent of the
145+
coordinate system unless averaging across elements is requested, in
146+
which case a rotation to the global coordinate system is performed. The
147+
off-diagonal strains are first converted from Voigt notation to the
148+
standard strain values.
143149
"""
144150
spec = Specification(
145151
description=description,
@@ -185,7 +191,7 @@ def _spec() -> Specification:
185191
name="bool_rotate_to_global",
186192
type_names=["bool"],
187193
optional=True,
188-
document=r"""if true the field is rotated to global coordinate system (default true)""",
194+
document=r"""This pin is removed for versions >25.2. An error is raised if connected.""",
189195
),
190196
7: PinSpecification(
191197
name="mesh",
@@ -447,7 +453,7 @@ def data_sources(self) -> Input:
447453
def bool_rotate_to_global(self) -> Input:
448454
r"""Allows to connect bool_rotate_to_global input to the operator.
449455
450-
if true the field is rotated to global coordinate system (default true)
456+
This pin is removed for versions >25.2. An error is raised if connected.
451457
452458
Returns
453459
-------

src/ansys/dpf/core/operators/result/elastic_strain_intensity.py

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717

1818
class elastic_strain_intensity(Operator):
1919
r"""Reads/computes element nodal component elastic strains, average it on
20-
nodes (by default) and computes its invariants.
20+
nodes (by default) and computes its invariants. This operation is
21+
independent of the coordinate system unless averaging across elements is
22+
requested, in which case a rotation to the global coordinate system is
23+
performed.
2124
2225
2326
Parameters
@@ -33,7 +36,7 @@ class elastic_strain_intensity(Operator):
3336
data_sources: DataSources
3437
result file path container, used if no streams are set
3538
bool_rotate_to_global: bool, optional
36-
if true the field is rotated to global coordinate system (default true)
39+
This pin is removed for versions >25.2. An error is raised if connected.
3740
mesh: MeshedRegion or MeshesContainer, optional
3841
prevents from reading the mesh in the result files
3942
requested_location: str, optional
@@ -135,7 +138,10 @@ def __init__(
135138
@staticmethod
136139
def _spec() -> Specification:
137140
description = r"""Reads/computes element nodal component elastic strains, average it on
138-
nodes (by default) and computes its invariants.
141+
nodes (by default) and computes its invariants. This operation is
142+
independent of the coordinate system unless averaging across elements is
143+
requested, in which case a rotation to the global coordinate system is
144+
performed.
139145
"""
140146
spec = Specification(
141147
description=description,
@@ -181,7 +187,7 @@ def _spec() -> Specification:
181187
name="bool_rotate_to_global",
182188
type_names=["bool"],
183189
optional=True,
184-
document=r"""if true the field is rotated to global coordinate system (default true)""",
190+
document=r"""This pin is removed for versions >25.2. An error is raised if connected.""",
185191
),
186192
7: PinSpecification(
187193
name="mesh",
@@ -443,7 +449,7 @@ def data_sources(self) -> Input:
443449
def bool_rotate_to_global(self) -> Input:
444450
r"""Allows to connect bool_rotate_to_global input to the operator.
445451
446-
if true the field is rotated to global coordinate system (default true)
452+
This pin is removed for versions >25.2. An error is raised if connected.
447453
448454
Returns
449455
-------

src/ansys/dpf/core/operators/result/elastic_strain_max_shear.py

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717

1818
class elastic_strain_max_shear(Operator):
1919
r"""Reads/computes element nodal component elastic strains, average it on
20-
nodes (by default) and computes its invariants.
20+
nodes (by default) and computes its invariants. This operation is
21+
independent of the coordinate system unless averaging across elements is
22+
requested, in which case a rotation to the global coordinate system is
23+
performed.
2124
2225
2326
Parameters
@@ -33,7 +36,7 @@ class elastic_strain_max_shear(Operator):
3336
data_sources: DataSources
3437
result file path container, used if no streams are set
3538
bool_rotate_to_global: bool, optional
36-
if true the field is rotated to global coordinate system (default true)
39+
This pin is removed for versions >25.2. An error is raised if connected.
3740
mesh: MeshedRegion or MeshesContainer, optional
3841
prevents from reading the mesh in the result files
3942
requested_location: str, optional
@@ -135,7 +138,10 @@ def __init__(
135138
@staticmethod
136139
def _spec() -> Specification:
137140
description = r"""Reads/computes element nodal component elastic strains, average it on
138-
nodes (by default) and computes its invariants.
141+
nodes (by default) and computes its invariants. This operation is
142+
independent of the coordinate system unless averaging across elements is
143+
requested, in which case a rotation to the global coordinate system is
144+
performed.
139145
"""
140146
spec = Specification(
141147
description=description,
@@ -181,7 +187,7 @@ def _spec() -> Specification:
181187
name="bool_rotate_to_global",
182188
type_names=["bool"],
183189
optional=True,
184-
document=r"""if true the field is rotated to global coordinate system (default true)""",
190+
document=r"""This pin is removed for versions >25.2. An error is raised if connected.""",
185191
),
186192
7: PinSpecification(
187193
name="mesh",
@@ -443,7 +449,7 @@ def data_sources(self) -> Input:
443449
def bool_rotate_to_global(self) -> Input:
444450
r"""Allows to connect bool_rotate_to_global input to the operator.
445451
446-
if true the field is rotated to global coordinate system (default true)
452+
This pin is removed for versions >25.2. An error is raised if connected.
447453
448454
Returns
449455
-------

0 commit comments

Comments
 (0)