diff --git a/doc/source/_static/dpf_operators.html b/doc/source/_static/dpf_operators.html index 7064ba2b76b..acb7ba2c6ef 100644 --- a/doc/source/_static/dpf_operators.html +++ b/doc/source/_static/dpf_operators.html @@ -5253,13 +5253,13 @@

Configurating operators

Inputs

Outputs

Configurations

Scripting

metadata: mesh support provider

Description

Reads the mesh support.

Inputs

Streams (result file container) (optional).

If the stream is null, retrieves the file path from the data sources.

-

Outputs

Configurations

Scripting

result: creep strain principal 1

Description

Read/compute element nodal component creep strains 1st principal component by calling the readers defined by the datasources and computing its eigen values. The off-diagonal strains are first converted from Voigt notation to the standard strain values.

+

Outputs

Configurations

Scripting

result: creep strain principal 1

Description

Read/compute element nodal component creep strains 1st principal component by calling the readers defined by the datasources and computing its eigen values. +This operation is independent of the coordinate system, thus, rotation to global will be avoided unless averaging is requested since averaging across elements need a shared coordinate system. The off-diagonal strains are first converted from Voigt notation to the standard strain values.

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

FieldsContainer already allocated modified inplace

result file container allowed to be kept open to cache data

result file path container, used if no streams are set

-

if true the field is rotated to global coordinate system (default true)

prevents from reading the mesh in the result files

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

elemental nodal beam results are read if this pin is set to true (default is false)

@@ -5392,13 +5392,13 @@

Configurating operators

Outputs

Configurations

Scripting

math: -

Description

Computes the difference of two fields. If one field's scoping has an 'overall' location, then this field's values are applied on the other field entirely. When using a constant or 'work_by_index', you can use 'inplace' to reuse one of the fields.

Inputs

field or fields container with only one field is expected

field or fields container with only one field is expected

-

Outputs

Configurations

Scripting

result: plastic strain principal 1

Description

Read/compute element nodal component plastic strains 1st principal component by calling the readers defined by the datasources and computing its eigen values. The off-diagonal strains are first converted from Voigt notation to the standard strain values.

+

Outputs

Configurations

Scripting

result: plastic strain principal 1

Description

Read/compute element nodal component plastic strains 1st principal component by calling the readers defined by the datasources and computing its eigen values. +This operation is independent of the coordinate system, thus, rotation to global will be avoided unless averaging is requested since averaging across elements need a shared coordinate system. The off-diagonal strains are first converted from Voigt notation to the standard strain values.

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

FieldsContainer already allocated modified inplace

result file container allowed to be kept open to cache data

result file path container, used if no streams are set

-

if true the field is rotated to global coordinate system (default true)

prevents from reading the mesh in the result files

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

elemental nodal beam results are read if this pin is set to true (default is false)

@@ -5516,13 +5516,13 @@

Configurating operators

Outputs

Configurations

Scripting

math: * (component-wise field)

Description

Computes component-wise product between two fields of same dimensionality. If one field's scoping has an 'overall' location, then this field's values are applied on the other field entirely. When using a constant or 'work_by_index', you can use 'inplace' to reuse one of the fields.

Inputs

field or fields container with only one field is expected

field or fields container with only one field is expected

-

Outputs

Configurations

Scripting

result: stress max_shear

Description

Reads/computes element nodal component stresses, average it on nodes (by default) and computes its invariants.

+

Outputs

Configurations

Scripting

result: stress max_shear

Description

Reads/computes element nodal component stresses, average it on nodes (by default) and computes its invariants. +This operation is independent of the coordinate system, thus, rotation to global will be avoided unless averaging is requested since averaging across elements needs a shared coordinate system.

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

FieldsContainer already allocated modified inplace

result file container allowed to be kept open to cache data

result file path container, used if no streams are set

-

if true the field is rotated to global coordinate system (default true)

prevents from reading the mesh in the result files

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

elemental nodal beam results are read if this pin is set to true (default is false)

@@ -6182,13 +6182,13 @@

Configurating operators

ex "mapdl_element_type", "mapdl_element_type_id", "apdl_type_index", "mapdl_type_id", "material", "apdl_section_id", "apdl_real_id", "apdl_esys_id", "shell_axi", "volume_axi"...

If element scoping is requested on a nodal named selection, if inclusive == 1 then all the elements/faces adjacent to the nodes/faces ids in input are added, if inclusive == 0, only the elements/faces which have all their nodes/faces in the scoping are included

Outputs

Scoping

-

Configurations

Scripting

result: stress intensity

Description

Reads/computes element nodal component stresses, average it on nodes (by default) and computes its invariants.

+

Configurations

Scripting

result: stress intensity

Description

Reads/computes element nodal component stresses, average it on nodes (by default) and computes its invariants. +This operation is independent of the coordinate system, thus, rotation to global will be avoided unless averaging is requested since averaging across elements needs a shared coordinate system.

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

FieldsContainer already allocated modified inplace

result file container allowed to be kept open to cache data

result file path container, used if no streams are set

-

if true the field is rotated to global coordinate system (default true)

prevents from reading the mesh in the result files

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

elemental nodal beam results are read if this pin is set to true (default is false)

@@ -6541,13 +6541,13 @@

Configurating operators

elemental nodal beam results are read if this pin is set to true (default is false)

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.

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.

-

Outputs

Configurations

Scripting

result: plastic strain principal 2

Description

Read/compute element nodal component plastic strains 2nd principal component by calling the readers defined by the datasources and computing its eigen values. The off-diagonal strains are first converted from Voigt notation to the standard strain values.

+

Outputs

Configurations

Scripting

result: plastic strain principal 2

Description

Read/compute element nodal component plastic strains 2nd principal component by calling the readers defined by the datasources and computing its eigen values. +This operation is independent of the coordinate system, thus, rotation to global will be avoided unless averaging is requested since averaging across elements need a shared coordinate system. The off-diagonal strains are first converted from Voigt notation to the standard strain values.

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

FieldsContainer already allocated modified inplace

result file container allowed to be kept open to cache data

result file path container, used if no streams are set

-

if true the field is rotated to global coordinate system (default true)

prevents from reading the mesh in the result files

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

elemental nodal beam results are read if this pin is set to true (default is false)

@@ -6929,13 +6929,13 @@

Configurating operators

result file path container, used if no streams are set

entity (part for matsum, interface for rcforc) where the result will be scoped

Unit System ID (int), semicolon-separated list of base unit strings (str) or UnitSystem instance

-

Outputs

Configurations

Scripting

result: creep strain max_shear

Description

Reads/computes element nodal component creep strains, average it on nodes (by default) and computes its invariants.

+

Outputs

Configurations

Scripting

result: creep strain max_shear

Description

Reads/computes element nodal component creep strains, average it on nodes (by default) and computes its invariants. +This operation is independent of the coordinate system, thus, rotation to global will be avoided unless averaging is requested since averaging across elements needs a shared coordinate system.

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

FieldsContainer already allocated modified inplace

result file container allowed to be kept open to cache data

result file path container, used if no streams are set

-

if true the field is rotated to global coordinate system (default true)

prevents from reading the mesh in the result files

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

elemental nodal beam results are read if this pin is set to true (default is false)

@@ -7413,35 +7413,35 @@

Configurating operators

result file path container, used if no streams are set

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.

prevents from reading the mesh in the result files

-

Outputs

Configurations

Scripting

result: stress principal 1

Description

Read/compute element nodal component stresses 1st principal component by calling the readers defined by the datasources and computing its eigen values.

+

Outputs

Configurations

Scripting

result: stress principal 1

Description

Read/compute element nodal component stresses 1st principal component by calling the readers defined by the datasources and computing its eigen values. +This operation is independent of the coordinate system, thus, rotation to global will be avoided unless averaging is requested since averaging across elements need a shared coordinate system.

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

FieldsContainer already allocated modified inplace

result file container allowed to be kept open to cache data

result file path container, used if no streams are set

-

if true the field is rotated to global coordinate system (default true)

prevents from reading the mesh in the result files

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

elemental nodal beam results are read if this pin is set to true (default is false)

Outputs

Configurations

Scripting

utility: merge string fields

Description

Assembles a set of string fields into a unique one.

Inputs

Either a a vector of string fields to merge or string fields from pin 0 to ...

-

Outputs

Configurations

Scripting

result: stress principal 2

Description

Read/compute element nodal component stresses 2nd principal component by calling the readers defined by the datasources and computing its eigen values.

+

Outputs

Configurations

Scripting

result: stress principal 2

Description

Read/compute element nodal component stresses 2nd principal component by calling the readers defined by the datasources and computing its eigen values. +This operation is independent of the coordinate system, thus, rotation to global will be avoided unless averaging is requested since averaging across elements need a shared coordinate system.

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

FieldsContainer already allocated modified inplace

result file container allowed to be kept open to cache data

result file path container, used if no streams are set

-

if true the field is rotated to global coordinate system (default true)

prevents from reading the mesh in the result files

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

elemental nodal beam results are read if this pin is set to true (default is false)

-

Outputs

Configurations

Scripting

result: stress principal 3

Description

Read/compute element nodal component stresses 3rd principal component by calling the readers defined by the datasources and computing its eigen values.

+

Outputs

Configurations

Scripting

result: stress principal 3

Description

Read/compute element nodal component stresses 3rd principal component by calling the readers defined by the datasources and computing its eigen values. +This operation is independent of the coordinate system, thus, rotation to global will be avoided unless averaging is requested since averaging across elements need a shared coordinate system.

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

FieldsContainer already allocated modified inplace

result file container allowed to be kept open to cache data

result file path container, used if no streams are set

-

if true the field is rotated to global coordinate system (default true)

prevents from reading the mesh in the result files

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

elemental nodal beam results are read if this pin is set to true (default is false)

@@ -7456,13 +7456,13 @@

Configurating operators

Outputs

Configurations

Scripting

invariant: convertnum bcs to nod

Description

Converts a fields container from BCS to NOD ordering.

Inputs

fields_container

Data_sources (must contain the full file).

-

Outputs

Configurations

Scripting

result: stress von mises

Description

Reads/computes element nodal component stresses, average it on nodes (by default) and computes its invariants.

+

Outputs

Configurations

Scripting

result: stress von mises

Description

Reads/computes element nodal component stresses, average it on nodes (by default) and computes its invariants. +This operation is independent of the coordinate system, thus, rotation to global will be avoided unless averaging is requested since averaging across elements needs a shared coordinate system.

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

FieldsContainer already allocated modified inplace

result file container allowed to be kept open to cache data

result file path container, used if no streams are set

-

if true the field is rotated to global coordinate system (default true)

prevents from reading the mesh in the result files

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

elemental nodal beam results are read if this pin is set to true (default is false)

@@ -8425,34 +8425,34 @@

Configurating operators

Configurations

Scripting

result: rigid transformation

Description

Extracts rigid body motions from a displacement in input.

Supported file types

Inputs

streams (result file container) (optional)

If the stream is null, retrieves the file path from the data sources.

-

Outputs

Configurations

Scripting

result: elastic strain principal 1

Description

Read/compute element nodal component elastic strains 1st principal component by calling the readers defined by the datasources and computing its eigen values. The off-diagonal strains are first converted from Voigt notation to the standard strain values.

+

Outputs

Configurations

Scripting

result: elastic strain principal 1

Description

Read/compute element nodal component elastic strains 1st principal component by calling the readers defined by the datasources and computing its eigen values. +This operation is independent of the coordinate system, thus, rotation to global will be avoided unless averaging is requested since averaging across elements need a shared coordinate system. The off-diagonal strains are first converted from Voigt notation to the standard strain values.

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

FieldsContainer already allocated modified inplace

result file container allowed to be kept open to cache data

result file path container, used if no streams are set

-

if true the field is rotated to global coordinate system (default true)

prevents from reading the mesh in the result files

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

elemental nodal beam results are read if this pin is set to true (default is false)

-

Outputs

Configurations

Scripting

result: elastic strain principal 2

Description

Read/compute element nodal component elastic strains 2nd principal component by calling the readers defined by the datasources and computing its eigen values. The off-diagonal strains are first converted from Voigt notation to the standard strain values.

+

Outputs

Configurations

Scripting

result: elastic strain principal 2

Description

Read/compute element nodal component elastic strains 2nd principal component by calling the readers defined by the datasources and computing its eigen values. +This operation is independent of the coordinate system, thus, rotation to global will be avoided unless averaging is requested since averaging across elements need a shared coordinate system. The off-diagonal strains are first converted from Voigt notation to the standard strain values.

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

FieldsContainer already allocated modified inplace

result file container allowed to be kept open to cache data

result file path container, used if no streams are set

-

if true the field is rotated to global coordinate system (default true)

prevents from reading the mesh in the result files

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

elemental nodal beam results are read if this pin is set to true (default is false)

Outputs

Configurations

Scripting

geo: scoping normals

Description

compute the normals at the given nodes or element scoping based on the given mesh (first version, the element normal is only handled on the shell elements)

-

Inputs

Outputs

Configurations

Scripting

result: elastic strain principal 3

Description

Read/compute element nodal component elastic strains 3rd principal component by calling the readers defined by the datasources and computing its eigen values. The off-diagonal strains are first converted from Voigt notation to the standard strain values.

+

Inputs

Outputs

Configurations

Scripting

result: elastic strain principal 3

Description

Read/compute element nodal component elastic strains 3rd principal component by calling the readers defined by the datasources and computing its eigen values. +This operation is independent of the coordinate system, thus, rotation to global will be avoided unless averaging is requested since averaging across elements need a shared coordinate system. The off-diagonal strains are first converted from Voigt notation to the standard strain values.

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

FieldsContainer already allocated modified inplace

result file container allowed to be kept open to cache data

result file path container, used if no streams are set

-

if true the field is rotated to global coordinate system (default true)

prevents from reading the mesh in the result files

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

elemental nodal beam results are read if this pin is set to true (default is false)

@@ -8612,23 +8612,23 @@

Configurating operators

requested location, default is Nodal

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

elemental nodal beam results are read if this pin is set to true (default is false)

-

Outputs

Configurations

Scripting

result: elastic strain intensity

Description

Reads/computes element nodal component elastic strains, average it on nodes (by default) and computes its invariants.

+

Outputs

Configurations

Scripting

result: elastic strain intensity

Description

Reads/computes element nodal component elastic strains, average it on nodes (by default) and computes its invariants. +This operation is independent of the coordinate system, thus, rotation to global will be avoided unless averaging is requested since averaging across elements needs a shared coordinate system.

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

FieldsContainer already allocated modified inplace

result file container allowed to be kept open to cache data

result file path container, used if no streams are set

-

if true the field is rotated to global coordinate system (default true)

prevents from reading the mesh in the result files

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

elemental nodal beam results are read if this pin is set to true (default is false)

-

Outputs

Configurations

Scripting

result: elastic strain max_shear

Description

Reads/computes element nodal component elastic strains, average it on nodes (by default) and computes its invariants.

+

Outputs

Configurations

Scripting

result: elastic strain max_shear

Description

Reads/computes element nodal component elastic strains, average it on nodes (by default) and computes its invariants. +This operation is independent of the coordinate system, thus, rotation to global will be avoided unless averaging is requested since averaging across elements needs a shared coordinate system.

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

FieldsContainer already allocated modified inplace

result file container allowed to be kept open to cache data

result file path container, used if no streams are set

-

if true the field is rotated to global coordinate system (default true)

prevents from reading the mesh in the result files

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

elemental nodal beam results are read if this pin is set to true (default is false)

@@ -8786,12 +8786,7 @@

Configurating operators

elemental nodal beam results are read if this pin is set to true (default is false)

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.

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.

-

Outputs

Configurations

Scripting

scoping: transpose

Description

Transposes the input scoping or scopings container (Elemental/Faces --> Nodal, or Nodal ---> Elemental/Faces), based on the input mesh region.

-

Inputs

Scoping or scopings container (the input type is the output type)

-

if inclusive == 1 then all the elements/faces adjacent to the nodes/faces ids in input are added, if inclusive == 0, only the elements/faces which have all their nodes/faces in the scoping are included

-

Output scoping location for meshes with nodes, faces and elements. By default, elemental and faces scopings transpose to nodal, and nodal scopings transpose to elemental.

-

Outputs

Scoping or scopings container (the input type is the output type)

-

Configurations

Scripting

result: plastic strain X

Description

Read/compute element nodal component plastic strains XX normal component (00 component) by calling the readers defined by the datasources. Regarding the requested location and the input mesh scoping, the result location can be Nodal/ElementalNodal/Elemental.

+

Outputs

Configurations

Scripting

result: plastic strain X

Description

Read/compute element nodal component plastic strains XX normal component (00 component) by calling the readers defined by the datasources. Regarding the requested location and the input mesh scoping, the result location can be Nodal/ElementalNodal/Elemental.

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

FieldsContainer already allocated modified inplace

@@ -9063,23 +9058,23 @@

Configurating operators

Outputs

Configurations

Scripting

result: workflow energy per harmonic

Description

Calculates the cumulated energy per harmonic in a multistage multiharmonic model.

Inputs

Master scoping. All harmonics will be intersected with this scoping.

Type of energy to be processed: (0: Strain + Kinetic energy (default), 1: Strain energy, 2: Kinetic energy)

-

Outputs

Configurations

Scripting

result: plastic strain principal 3

Description

Read/compute element nodal component plastic strains 3rd principal component by calling the readers defined by the datasources and computing its eigen values. The off-diagonal strains are first converted from Voigt notation to the standard strain values.

+

Outputs

Configurations

Scripting

result: plastic strain principal 3

Description

Read/compute element nodal component plastic strains 3rd principal component by calling the readers defined by the datasources and computing its eigen values. +This operation is independent of the coordinate system, thus, rotation to global will be avoided unless averaging is requested since averaging across elements need a shared coordinate system. The off-diagonal strains are first converted from Voigt notation to the standard strain values.

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

FieldsContainer already allocated modified inplace

result file container allowed to be kept open to cache data

result file path container, used if no streams are set

-

if true the field is rotated to global coordinate system (default true)

prevents from reading the mesh in the result files

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

elemental nodal beam results are read if this pin is set to true (default is false)

-

Outputs

Configurations

Scripting

result: plastic strain intensity

Description

Reads/computes element nodal component plastic strains, average it on nodes (by default) and computes its invariants.

+

Outputs

Configurations

Scripting

result: plastic strain intensity

Description

Reads/computes element nodal component plastic strains, average it on nodes (by default) and computes its invariants. +This operation is independent of the coordinate system, thus, rotation to global will be avoided unless averaging is requested since averaging across elements needs a shared coordinate system.

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

FieldsContainer already allocated modified inplace

result file container allowed to be kept open to cache data

result file path container, used if no streams are set

-

if true the field is rotated to global coordinate system (default true)

prevents from reading the mesh in the result files

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

elemental nodal beam results are read if this pin is set to true (default is false)

@@ -9090,13 +9085,13 @@

Configurating operators

Outputs

Configurations

Scripting

filter: low pass (timefreq)

Description

The low pass filter returns all the values below (but not equal to) the threshold value in input.

Inputs

a threshold scalar or a field containing one value is expected

The default is false. If set to true, the complement of the filtered fields container is returned on output pin 1.

-

Outputs

Configurations

Scripting

result: plastic strain max_shear

Description

Reads/computes element nodal component plastic strains, average it on nodes (by default) and computes its invariants.

+

Outputs

Configurations

Scripting

result: plastic strain max_shear

Description

Reads/computes element nodal component plastic strains, average it on nodes (by default) and computes its invariants. +This operation is independent of the coordinate system, thus, rotation to global will be avoided unless averaging is requested since averaging across elements needs a shared coordinate system.

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

FieldsContainer already allocated modified inplace

result file container allowed to be kept open to cache data

result file path container, used if no streams are set

-

if true the field is rotated to global coordinate system (default true)

prevents from reading the mesh in the result files

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

elemental nodal beam results are read if this pin is set to true (default is false)

@@ -9467,13 +9462,13 @@

Configurating operators

requested location, default is Nodal

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

elemental nodal beam results are read if this pin is set to true (default is false)

-

Outputs

Configurations

Scripting

result: creep strain principal 2

Description

Read/compute element nodal component creep strains 2nd principal component by calling the readers defined by the datasources and computing its eigen values. The off-diagonal strains are first converted from Voigt notation to the standard strain values.

+

Outputs

Configurations

Scripting

result: creep strain principal 2

Description

Read/compute element nodal component creep strains 2nd principal component by calling the readers defined by the datasources and computing its eigen values. +This operation is independent of the coordinate system, thus, rotation to global will be avoided unless averaging is requested since averaging across elements need a shared coordinate system. The off-diagonal strains are first converted from Voigt notation to the standard strain values.

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

FieldsContainer already allocated modified inplace

result file container allowed to be kept open to cache data

result file path container, used if no streams are set

-

if true the field is rotated to global coordinate system (default true)

prevents from reading the mesh in the result files

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

elemental nodal beam results are read if this pin is set to true (default is false)

@@ -9490,23 +9485,23 @@

Configurating operators

sectors to expand (start at 0), for multistage: use scopings container with 'stage' label, use if cyclic expansion is to be done.

angle phi in degrees (default value 0.0), use if cyclic expansion is to be done.

Outputs

Configurations

Scripting

logic: same string fields?

Description

Takes two string fields and compares them.

-

Inputs

Outputs

Configurations

Scripting

result: creep strain principal 3

Description

Read/compute element nodal component creep strains 3rd principal component by calling the readers defined by the datasources and computing its eigen values. The off-diagonal strains are first converted from Voigt notation to the standard strain values.

+

Inputs

Outputs

Configurations

Scripting

result: creep strain principal 3

Description

Read/compute element nodal component creep strains 3rd principal component by calling the readers defined by the datasources and computing its eigen values. +This operation is independent of the coordinate system, thus, rotation to global will be avoided unless averaging is requested since averaging across elements need a shared coordinate system. The off-diagonal strains are first converted from Voigt notation to the standard strain values.

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

FieldsContainer already allocated modified inplace

result file container allowed to be kept open to cache data

result file path container, used if no streams are set

-

if true the field is rotated to global coordinate system (default true)

prevents from reading the mesh in the result files

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

elemental nodal beam results are read if this pin is set to true (default is false)

-

Outputs

Configurations

Scripting

result: creep strain intensity

Description

Reads/computes element nodal component creep strains, average it on nodes (by default) and computes its invariants.

+

Outputs

Configurations

Scripting

result: creep strain intensity

Description

Reads/computes element nodal component creep strains, average it on nodes (by default) and computes its invariants. +This operation is independent of the coordinate system, thus, rotation to global will be avoided unless averaging is requested since averaging across elements needs a shared coordinate system.

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

FieldsContainer already allocated modified inplace

result file container allowed to be kept open to cache data

result file path container, used if no streams are set

-

if true the field is rotated to global coordinate system (default true)

prevents from reading the mesh in the result files

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

elemental nodal beam results are read if this pin is set to true (default is false)

@@ -9581,13 +9576,13 @@

Configurating operators

requested location, default is Nodal

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

elemental nodal beam results are read if this pin is set to true (default is false)

-

Outputs

Configurations

Scripting

result: thermal strain principal 1

Description

Read/compute element nodal component thermal strains 1st principal component by calling the readers defined by the datasources and computing its eigen values. The off-diagonal strains are first converted from Voigt notation to the standard strain values.

+

Outputs

Configurations

Scripting

result: thermal strain principal 1

Description

Read/compute element nodal component thermal strains 1st principal component by calling the readers defined by the datasources and computing its eigen values. +This operation is independent of the coordinate system, thus, rotation to global will be avoided unless averaging is requested since averaging across elements need a shared coordinate system. The off-diagonal strains are first converted from Voigt notation to the standard strain values.

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

FieldsContainer already allocated modified inplace

result file container allowed to be kept open to cache data

result file path container, used if no streams are set

-

if true the field is rotated to global coordinate system (default true)

prevents from reading the mesh in the result files

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

elemental nodal beam results are read if this pin is set to true (default is false)

@@ -9596,23 +9591,23 @@

Configurating operators

Double relative tolerance. Maximum tolerance gap between two compared values. Values within relative tolerance are considered identical. Formula is (v1-v2)/v2 < relativeTol. Default is 0.001.

For meshes and meshescontainer: compare auxiliary data (i.e property fields, scopings...). Default value is 'false'.

Outputs

bool (true if belongs...)

-

Configurations

Scripting

result: thermal strain principal 2

Description

Read/compute element nodal component thermal strains 2nd principal component by calling the readers defined by the datasources and computing its eigen values. The off-diagonal strains are first converted from Voigt notation to the standard strain values.

+

Configurations

Scripting

result: thermal strain principal 2

Description

Read/compute element nodal component thermal strains 2nd principal component by calling the readers defined by the datasources and computing its eigen values. +This operation is independent of the coordinate system, thus, rotation to global will be avoided unless averaging is requested since averaging across elements need a shared coordinate system. The off-diagonal strains are first converted from Voigt notation to the standard strain values.

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

FieldsContainer already allocated modified inplace

result file container allowed to be kept open to cache data

result file path container, used if no streams are set

-

if true the field is rotated to global coordinate system (default true)

prevents from reading the mesh in the result files

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

elemental nodal beam results are read if this pin is set to true (default is false)

-

Outputs

Configurations

Scripting

result: thermal strain principal 3

Description

Read/compute element nodal component thermal strains 3rd principal component by calling the readers defined by the datasources and computing its eigen values. The off-diagonal strains are first converted from Voigt notation to the standard strain values.

+

Outputs

Configurations

Scripting

result: thermal strain principal 3

Description

Read/compute element nodal component thermal strains 3rd principal component by calling the readers defined by the datasources and computing its eigen values. +This operation is independent of the coordinate system, thus, rotation to global will be avoided unless averaging is requested since averaging across elements need a shared coordinate system. The off-diagonal strains are first converted from Voigt notation to the standard strain values.

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

FieldsContainer already allocated modified inplace

result file container allowed to be kept open to cache data

result file path container, used if no streams are set

-

if true the field is rotated to global coordinate system (default true)

prevents from reading the mesh in the result files

if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1)

elemental nodal beam results are read if this pin is set to true (default is false)

@@ -9636,7 +9631,7 @@

Configurating operators

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.

prevents from reading the mesh in the result files

Outputs

Configurations

Scripting

result: velocity

Description

Read/compute nodal velocities by calling the readers defined by the datasources.

-

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

+

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

Fields container already allocated modified inplace

result file container allowed to be kept open to cache data

@@ -13976,8 +13971,9 @@

Configurating operators

prevents from reading the mesh in the result files

region id (integer) or vector of region ids (vector) or region scoping (scoping) of the model (region corresponds to zone for Fluid results or part for LSDyna results).

(for Fluid results only) LabelSpace with combination of zone, phases or species ids

-

Outputs

Configurations

Scripting

utility: extract scoping

Description

Takes a field or a fields container and extracts its scoping or scopings container.

-

Inputs

Outputs

Configurations

Scripting

result: thermal conductivity

Description

Read Thermal Conductivity by calling the readers defined by the datasources.

+

Outputs

Configurations

Scripting

utility: extract scoping

Description

Takes a field type object, mesh or a collection of them and extracts its scoping or scopings container.

+

Inputs

If input 0 is a mesh or a meshes_container, the operator returns the nodes scoping, possible locations are: Nodal(default) or Elemental

+

Outputs

Configurations

Scripting

result: thermal conductivity

Description

Read Thermal Conductivity by calling the readers defined by the datasources.

Supported file types

Inputs

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.

nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains

result file container allowed to be kept open to cache data

@@ -14195,7 +14191,12 @@

Configurating operators

set to 0: to have skin elements in their own group, 1: merge skin and solid elements, 2: merge skin and shell elements (default)

properties to apply the filtering 'mat' and/or 'elshape' (since 2025R1 it supports any property name contained in the mesh property fields) (default is 'elshape')

Outputs

Scoping

-

Configurations

Scripting

utility: overlap fields

Description

Take two fields and superpose them, the overlapping field will override values of base_field.

+

Configurations

Scripting

scoping: transpose

Description

Transposes the input scoping or scopings container (Elemental/Faces --> Nodal, or Nodal ---> Elemental/Faces), based on the input mesh region.

+

Inputs

Scoping or scopings container (the input type is the output type)

+

if inclusive == 1 then all the elements/faces adjacent to the nodes/faces ids in input are added, if inclusive == 0, only the elements/faces which have all their nodes/faces in the scoping are included

+

Output scoping location for meshes with nodes, faces and elements. By default, elemental and faces scopings transpose to nodal, and nodal scopings transpose to elemental.

+

Outputs

Scoping or scopings container (the input type is the output type)

+

Configurations

Scripting

utility: overlap fields

Description

Take two fields and superpose them, the overlapping field will override values of base_field.

Inputs

Outputs

Configurations

Scripting

mapping: find reduced coordinates

Description

Finds the elements corresponding to the given coordinates in input and computes their reduced coordinates in those elements.

Inputs

If the first field in input has no mesh in support, then the mesh in this pin is expected (default is false). If a meshes container with several meshes is set, it should be on the same label spaces as the coordinates fields container.

If this pin is set to true, reduced coordinates are computed on the quadratic element if the element is quadratic (more precise but less performant). Default is false.

diff --git a/src/ansys/dpf/core/operators/result/creep_strain_intensity.py b/src/ansys/dpf/core/operators/result/creep_strain_intensity.py index c6c3af0523b..166ce312096 100644 --- a/src/ansys/dpf/core/operators/result/creep_strain_intensity.py +++ b/src/ansys/dpf/core/operators/result/creep_strain_intensity.py @@ -17,7 +17,10 @@ class creep_strain_intensity(Operator): r"""Reads/computes element nodal component creep strains, average it on - nodes (by default) and computes its invariants. + nodes (by default) and computes its invariants. This operation is + independent of the coordinate system, thus, rotation to global will be + avoided unless averaging is requested since averaging across elements + needs a shared coordinate system. Parameters @@ -32,8 +35,6 @@ class creep_strain_intensity(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) mesh: MeshedRegion or MeshesContainer, optional prevents from reading the mesh in the result files requested_location: str, optional @@ -64,8 +65,6 @@ class creep_strain_intensity(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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -82,7 +81,6 @@ class creep_strain_intensity(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, ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, @@ -100,7 +98,6 @@ def __init__( fields_container=None, streams_container=None, data_sources=None, - bool_rotate_to_global=None, mesh=None, requested_location=None, read_cyclic=None, @@ -121,8 +118,6 @@ 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 mesh is not None: self.inputs.mesh.connect(mesh) if requested_location is not None: @@ -135,7 +130,10 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Reads/computes element nodal component creep strains, average it on -nodes (by default) and computes its invariants. +nodes (by default) and computes its invariants. This operation is +independent of the coordinate system, thus, rotation to global will be +avoided unless averaging is requested since averaging across elements +needs a shared coordinate system. """ spec = Specification( description=description, @@ -177,12 +175,6 @@ 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)""", - ), 7: PinSpecification( name="mesh", type_names=["abstract_meshed_region", "meshes_container"], @@ -281,8 +273,6 @@ class InputsCreepStrainIntensity(_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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -315,10 +305,6 @@ def __init__(self, op: Operator): creep_strain_intensity._spec().input_pin(4), 4, op, -1 ) self._inputs.append(self._data_sources) - self._bool_rotate_to_global = Input( - creep_strain_intensity._spec().input_pin(5), 5, op, -1 - ) - self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(creep_strain_intensity._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) self._requested_location = Input( @@ -439,27 +425,6 @@ 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) - - Returns - ------- - input: - An Input instance for this pin. - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.creep_strain_intensity() - >>> 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 mesh(self) -> Input: r"""Allows to connect mesh input to the operator. diff --git a/src/ansys/dpf/core/operators/result/creep_strain_max_shear.py b/src/ansys/dpf/core/operators/result/creep_strain_max_shear.py index 9112984aa16..ac7d7e7f372 100644 --- a/src/ansys/dpf/core/operators/result/creep_strain_max_shear.py +++ b/src/ansys/dpf/core/operators/result/creep_strain_max_shear.py @@ -17,7 +17,10 @@ class creep_strain_max_shear(Operator): r"""Reads/computes element nodal component creep strains, average it on - nodes (by default) and computes its invariants. + nodes (by default) and computes its invariants. This operation is + independent of the coordinate system, thus, rotation to global will be + avoided unless averaging is requested since averaging across elements + needs a shared coordinate system. Parameters @@ -32,8 +35,6 @@ class creep_strain_max_shear(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) mesh: MeshedRegion or MeshesContainer, optional prevents from reading the mesh in the result files requested_location: str, optional @@ -64,8 +65,6 @@ class creep_strain_max_shear(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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -82,7 +81,6 @@ class creep_strain_max_shear(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, ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, @@ -100,7 +98,6 @@ def __init__( fields_container=None, streams_container=None, data_sources=None, - bool_rotate_to_global=None, mesh=None, requested_location=None, read_cyclic=None, @@ -121,8 +118,6 @@ 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 mesh is not None: self.inputs.mesh.connect(mesh) if requested_location is not None: @@ -135,7 +130,10 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Reads/computes element nodal component creep strains, average it on -nodes (by default) and computes its invariants. +nodes (by default) and computes its invariants. This operation is +independent of the coordinate system, thus, rotation to global will be +avoided unless averaging is requested since averaging across elements +needs a shared coordinate system. """ spec = Specification( description=description, @@ -177,12 +175,6 @@ 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)""", - ), 7: PinSpecification( name="mesh", type_names=["abstract_meshed_region", "meshes_container"], @@ -281,8 +273,6 @@ class InputsCreepStrainMaxShear(_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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -315,10 +305,6 @@ def __init__(self, op: Operator): creep_strain_max_shear._spec().input_pin(4), 4, op, -1 ) self._inputs.append(self._data_sources) - self._bool_rotate_to_global = Input( - creep_strain_max_shear._spec().input_pin(5), 5, op, -1 - ) - self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(creep_strain_max_shear._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) self._requested_location = Input( @@ -439,27 +425,6 @@ 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) - - Returns - ------- - input: - An Input instance for this pin. - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.creep_strain_max_shear() - >>> 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 mesh(self) -> Input: r"""Allows to connect mesh input to the operator. diff --git a/src/ansys/dpf/core/operators/result/creep_strain_principal_1.py b/src/ansys/dpf/core/operators/result/creep_strain_principal_1.py index 87edc90abf4..03371b44cfb 100644 --- a/src/ansys/dpf/core/operators/result/creep_strain_principal_1.py +++ b/src/ansys/dpf/core/operators/result/creep_strain_principal_1.py @@ -18,8 +18,11 @@ class creep_strain_principal_1(Operator): r"""Read/compute element nodal component creep strains 1st principal component by calling the readers defined by the datasources and - computing its eigen values. The off-diagonal strains are first converted - from Voigt notation to the standard strain values. + computing its eigen values. This operation is independent of the + coordinate system, thus, rotation to global will be avoided unless + averaging is requested since averaging across elements need a shared + coordinate system. The off-diagonal strains are first converted from + Voigt notation to the standard strain values. Parameters @@ -34,8 +37,6 @@ class creep_strain_principal_1(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) mesh: MeshedRegion or MeshesContainer, optional prevents from reading the mesh in the result files requested_location: str, optional @@ -66,8 +67,6 @@ class creep_strain_principal_1(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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -84,7 +83,6 @@ class creep_strain_principal_1(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, ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, @@ -102,7 +100,6 @@ def __init__( fields_container=None, streams_container=None, data_sources=None, - bool_rotate_to_global=None, mesh=None, requested_location=None, read_cyclic=None, @@ -123,8 +120,6 @@ 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 mesh is not None: self.inputs.mesh.connect(mesh) if requested_location is not None: @@ -138,8 +133,11 @@ def __init__( def _spec() -> Specification: description = r"""Read/compute element nodal component creep strains 1st principal component by calling the readers defined by the datasources and -computing its eigen values. The off-diagonal strains are first converted -from Voigt notation to the standard strain values. +computing its eigen values. This operation is independent of the +coordinate system, thus, rotation to global will be avoided unless +averaging is requested since averaging across elements need a shared +coordinate system. The off-diagonal strains are first converted from +Voigt notation to the standard strain values. """ spec = Specification( description=description, @@ -181,12 +179,6 @@ 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)""", - ), 7: PinSpecification( name="mesh", type_names=["abstract_meshed_region", "meshes_container"], @@ -285,8 +277,6 @@ class InputsCreepStrainPrincipal1(_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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -319,10 +309,6 @@ def __init__(self, op: Operator): creep_strain_principal_1._spec().input_pin(4), 4, op, -1 ) self._inputs.append(self._data_sources) - self._bool_rotate_to_global = Input( - creep_strain_principal_1._spec().input_pin(5), 5, op, -1 - ) - self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(creep_strain_principal_1._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) self._requested_location = Input( @@ -443,27 +429,6 @@ 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) - - Returns - ------- - input: - An Input instance for this pin. - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.creep_strain_principal_1() - >>> 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 mesh(self) -> Input: r"""Allows to connect mesh input to the operator. diff --git a/src/ansys/dpf/core/operators/result/creep_strain_principal_2.py b/src/ansys/dpf/core/operators/result/creep_strain_principal_2.py index 41fb6046715..8ecc8c3a251 100644 --- a/src/ansys/dpf/core/operators/result/creep_strain_principal_2.py +++ b/src/ansys/dpf/core/operators/result/creep_strain_principal_2.py @@ -18,8 +18,11 @@ class creep_strain_principal_2(Operator): r"""Read/compute element nodal component creep strains 2nd principal component by calling the readers defined by the datasources and - computing its eigen values. The off-diagonal strains are first converted - from Voigt notation to the standard strain values. + computing its eigen values. This operation is independent of the + coordinate system, thus, rotation to global will be avoided unless + averaging is requested since averaging across elements need a shared + coordinate system. The off-diagonal strains are first converted from + Voigt notation to the standard strain values. Parameters @@ -34,8 +37,6 @@ class creep_strain_principal_2(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) mesh: MeshedRegion or MeshesContainer, optional prevents from reading the mesh in the result files requested_location: str, optional @@ -66,8 +67,6 @@ class creep_strain_principal_2(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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -84,7 +83,6 @@ class creep_strain_principal_2(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, ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, @@ -102,7 +100,6 @@ def __init__( fields_container=None, streams_container=None, data_sources=None, - bool_rotate_to_global=None, mesh=None, requested_location=None, read_cyclic=None, @@ -123,8 +120,6 @@ 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 mesh is not None: self.inputs.mesh.connect(mesh) if requested_location is not None: @@ -138,8 +133,11 @@ def __init__( def _spec() -> Specification: description = r"""Read/compute element nodal component creep strains 2nd principal component by calling the readers defined by the datasources and -computing its eigen values. The off-diagonal strains are first converted -from Voigt notation to the standard strain values. +computing its eigen values. This operation is independent of the +coordinate system, thus, rotation to global will be avoided unless +averaging is requested since averaging across elements need a shared +coordinate system. The off-diagonal strains are first converted from +Voigt notation to the standard strain values. """ spec = Specification( description=description, @@ -181,12 +179,6 @@ 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)""", - ), 7: PinSpecification( name="mesh", type_names=["abstract_meshed_region", "meshes_container"], @@ -285,8 +277,6 @@ class InputsCreepStrainPrincipal2(_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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -319,10 +309,6 @@ def __init__(self, op: Operator): creep_strain_principal_2._spec().input_pin(4), 4, op, -1 ) self._inputs.append(self._data_sources) - self._bool_rotate_to_global = Input( - creep_strain_principal_2._spec().input_pin(5), 5, op, -1 - ) - self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(creep_strain_principal_2._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) self._requested_location = Input( @@ -443,27 +429,6 @@ 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) - - Returns - ------- - input: - An Input instance for this pin. - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.creep_strain_principal_2() - >>> 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 mesh(self) -> Input: r"""Allows to connect mesh input to the operator. diff --git a/src/ansys/dpf/core/operators/result/creep_strain_principal_3.py b/src/ansys/dpf/core/operators/result/creep_strain_principal_3.py index 5a0531ca6be..f3d542c8ecd 100644 --- a/src/ansys/dpf/core/operators/result/creep_strain_principal_3.py +++ b/src/ansys/dpf/core/operators/result/creep_strain_principal_3.py @@ -18,8 +18,11 @@ class creep_strain_principal_3(Operator): r"""Read/compute element nodal component creep strains 3rd principal component by calling the readers defined by the datasources and - computing its eigen values. The off-diagonal strains are first converted - from Voigt notation to the standard strain values. + computing its eigen values. This operation is independent of the + coordinate system, thus, rotation to global will be avoided unless + averaging is requested since averaging across elements need a shared + coordinate system. The off-diagonal strains are first converted from + Voigt notation to the standard strain values. Parameters @@ -34,8 +37,6 @@ class creep_strain_principal_3(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) mesh: MeshedRegion or MeshesContainer, optional prevents from reading the mesh in the result files requested_location: str, optional @@ -66,8 +67,6 @@ class creep_strain_principal_3(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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -84,7 +83,6 @@ class creep_strain_principal_3(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, ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, @@ -102,7 +100,6 @@ def __init__( fields_container=None, streams_container=None, data_sources=None, - bool_rotate_to_global=None, mesh=None, requested_location=None, read_cyclic=None, @@ -123,8 +120,6 @@ 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 mesh is not None: self.inputs.mesh.connect(mesh) if requested_location is not None: @@ -138,8 +133,11 @@ def __init__( def _spec() -> Specification: description = r"""Read/compute element nodal component creep strains 3rd principal component by calling the readers defined by the datasources and -computing its eigen values. The off-diagonal strains are first converted -from Voigt notation to the standard strain values. +computing its eigen values. This operation is independent of the +coordinate system, thus, rotation to global will be avoided unless +averaging is requested since averaging across elements need a shared +coordinate system. The off-diagonal strains are first converted from +Voigt notation to the standard strain values. """ spec = Specification( description=description, @@ -181,12 +179,6 @@ 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)""", - ), 7: PinSpecification( name="mesh", type_names=["abstract_meshed_region", "meshes_container"], @@ -285,8 +277,6 @@ class InputsCreepStrainPrincipal3(_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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -319,10 +309,6 @@ def __init__(self, op: Operator): creep_strain_principal_3._spec().input_pin(4), 4, op, -1 ) self._inputs.append(self._data_sources) - self._bool_rotate_to_global = Input( - creep_strain_principal_3._spec().input_pin(5), 5, op, -1 - ) - self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(creep_strain_principal_3._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) self._requested_location = Input( @@ -443,27 +429,6 @@ 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) - - Returns - ------- - input: - An Input instance for this pin. - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.creep_strain_principal_3() - >>> 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 mesh(self) -> Input: r"""Allows to connect mesh input to the operator. diff --git a/src/ansys/dpf/core/operators/result/elastic_strain_intensity.py b/src/ansys/dpf/core/operators/result/elastic_strain_intensity.py index f6b7710dedb..5989dbe785d 100644 --- a/src/ansys/dpf/core/operators/result/elastic_strain_intensity.py +++ b/src/ansys/dpf/core/operators/result/elastic_strain_intensity.py @@ -17,7 +17,10 @@ class elastic_strain_intensity(Operator): r"""Reads/computes element nodal component elastic strains, average it on - nodes (by default) and computes its invariants. + nodes (by default) and computes its invariants. This operation is + independent of the coordinate system, thus, rotation to global will be + avoided unless averaging is requested since averaging across elements + needs a shared coordinate system. Parameters @@ -32,8 +35,6 @@ class elastic_strain_intensity(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) mesh: MeshedRegion or MeshesContainer, optional prevents from reading the mesh in the result files requested_location: str, optional @@ -64,8 +65,6 @@ class elastic_strain_intensity(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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -82,7 +81,6 @@ class elastic_strain_intensity(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, ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, @@ -100,7 +98,6 @@ def __init__( fields_container=None, streams_container=None, data_sources=None, - bool_rotate_to_global=None, mesh=None, requested_location=None, read_cyclic=None, @@ -121,8 +118,6 @@ 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 mesh is not None: self.inputs.mesh.connect(mesh) if requested_location is not None: @@ -135,7 +130,10 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Reads/computes element nodal component elastic strains, average it on -nodes (by default) and computes its invariants. +nodes (by default) and computes its invariants. This operation is +independent of the coordinate system, thus, rotation to global will be +avoided unless averaging is requested since averaging across elements +needs a shared coordinate system. """ spec = Specification( description=description, @@ -177,12 +175,6 @@ 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)""", - ), 7: PinSpecification( name="mesh", type_names=["abstract_meshed_region", "meshes_container"], @@ -281,8 +273,6 @@ class InputsElasticStrainIntensity(_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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -315,10 +305,6 @@ def __init__(self, op: Operator): elastic_strain_intensity._spec().input_pin(4), 4, op, -1 ) self._inputs.append(self._data_sources) - self._bool_rotate_to_global = Input( - elastic_strain_intensity._spec().input_pin(5), 5, op, -1 - ) - self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(elastic_strain_intensity._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) self._requested_location = Input( @@ -439,27 +425,6 @@ 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) - - Returns - ------- - input: - An Input instance for this pin. - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.elastic_strain_intensity() - >>> 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 mesh(self) -> Input: r"""Allows to connect mesh input to the operator. diff --git a/src/ansys/dpf/core/operators/result/elastic_strain_max_shear.py b/src/ansys/dpf/core/operators/result/elastic_strain_max_shear.py index 67fe14509cf..3c23914ba0e 100644 --- a/src/ansys/dpf/core/operators/result/elastic_strain_max_shear.py +++ b/src/ansys/dpf/core/operators/result/elastic_strain_max_shear.py @@ -17,7 +17,10 @@ class elastic_strain_max_shear(Operator): r"""Reads/computes element nodal component elastic strains, average it on - nodes (by default) and computes its invariants. + nodes (by default) and computes its invariants. This operation is + independent of the coordinate system, thus, rotation to global will be + avoided unless averaging is requested since averaging across elements + needs a shared coordinate system. Parameters @@ -32,8 +35,6 @@ class elastic_strain_max_shear(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) mesh: MeshedRegion or MeshesContainer, optional prevents from reading the mesh in the result files requested_location: str, optional @@ -64,8 +65,6 @@ class elastic_strain_max_shear(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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -82,7 +81,6 @@ class elastic_strain_max_shear(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, ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, @@ -100,7 +98,6 @@ def __init__( fields_container=None, streams_container=None, data_sources=None, - bool_rotate_to_global=None, mesh=None, requested_location=None, read_cyclic=None, @@ -121,8 +118,6 @@ 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 mesh is not None: self.inputs.mesh.connect(mesh) if requested_location is not None: @@ -135,7 +130,10 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Reads/computes element nodal component elastic strains, average it on -nodes (by default) and computes its invariants. +nodes (by default) and computes its invariants. This operation is +independent of the coordinate system, thus, rotation to global will be +avoided unless averaging is requested since averaging across elements +needs a shared coordinate system. """ spec = Specification( description=description, @@ -177,12 +175,6 @@ 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)""", - ), 7: PinSpecification( name="mesh", type_names=["abstract_meshed_region", "meshes_container"], @@ -281,8 +273,6 @@ class InputsElasticStrainMaxShear(_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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -315,10 +305,6 @@ def __init__(self, op: Operator): elastic_strain_max_shear._spec().input_pin(4), 4, op, -1 ) self._inputs.append(self._data_sources) - self._bool_rotate_to_global = Input( - elastic_strain_max_shear._spec().input_pin(5), 5, op, -1 - ) - self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(elastic_strain_max_shear._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) self._requested_location = Input( @@ -439,27 +425,6 @@ 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) - - Returns - ------- - input: - An Input instance for this pin. - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.elastic_strain_max_shear() - >>> 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 mesh(self) -> Input: r"""Allows to connect mesh input to the operator. diff --git a/src/ansys/dpf/core/operators/result/elastic_strain_principal_1.py b/src/ansys/dpf/core/operators/result/elastic_strain_principal_1.py index db7b1db89a5..c0a63d681a1 100644 --- a/src/ansys/dpf/core/operators/result/elastic_strain_principal_1.py +++ b/src/ansys/dpf/core/operators/result/elastic_strain_principal_1.py @@ -18,8 +18,11 @@ class elastic_strain_principal_1(Operator): r"""Read/compute element nodal component elastic strains 1st principal component by calling the readers defined by the datasources and - computing its eigen values. The off-diagonal strains are first converted - from Voigt notation to the standard strain values. + computing its eigen values. This operation is independent of the + coordinate system, thus, rotation to global will be avoided unless + averaging is requested since averaging across elements need a shared + coordinate system. The off-diagonal strains are first converted from + Voigt notation to the standard strain values. Parameters @@ -34,8 +37,6 @@ class elastic_strain_principal_1(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) mesh: MeshedRegion or MeshesContainer, optional prevents from reading the mesh in the result files requested_location: str, optional @@ -66,8 +67,6 @@ class elastic_strain_principal_1(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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -84,7 +83,6 @@ class elastic_strain_principal_1(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, ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, @@ -102,7 +100,6 @@ def __init__( fields_container=None, streams_container=None, data_sources=None, - bool_rotate_to_global=None, mesh=None, requested_location=None, read_cyclic=None, @@ -123,8 +120,6 @@ 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 mesh is not None: self.inputs.mesh.connect(mesh) if requested_location is not None: @@ -138,8 +133,11 @@ def __init__( def _spec() -> Specification: description = r"""Read/compute element nodal component elastic strains 1st principal component by calling the readers defined by the datasources and -computing its eigen values. The off-diagonal strains are first converted -from Voigt notation to the standard strain values. +computing its eigen values. This operation is independent of the +coordinate system, thus, rotation to global will be avoided unless +averaging is requested since averaging across elements need a shared +coordinate system. The off-diagonal strains are first converted from +Voigt notation to the standard strain values. """ spec = Specification( description=description, @@ -181,12 +179,6 @@ 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)""", - ), 7: PinSpecification( name="mesh", type_names=["abstract_meshed_region", "meshes_container"], @@ -285,8 +277,6 @@ class InputsElasticStrainPrincipal1(_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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -319,10 +309,6 @@ def __init__(self, op: Operator): elastic_strain_principal_1._spec().input_pin(4), 4, op, -1 ) self._inputs.append(self._data_sources) - self._bool_rotate_to_global = Input( - elastic_strain_principal_1._spec().input_pin(5), 5, op, -1 - ) - self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(elastic_strain_principal_1._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) self._requested_location = Input( @@ -443,27 +429,6 @@ 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) - - Returns - ------- - input: - An Input instance for this pin. - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.elastic_strain_principal_1() - >>> 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 mesh(self) -> Input: r"""Allows to connect mesh input to the operator. diff --git a/src/ansys/dpf/core/operators/result/elastic_strain_principal_2.py b/src/ansys/dpf/core/operators/result/elastic_strain_principal_2.py index 9ee9a66ab77..b82ca771e25 100644 --- a/src/ansys/dpf/core/operators/result/elastic_strain_principal_2.py +++ b/src/ansys/dpf/core/operators/result/elastic_strain_principal_2.py @@ -18,8 +18,11 @@ class elastic_strain_principal_2(Operator): r"""Read/compute element nodal component elastic strains 2nd principal component by calling the readers defined by the datasources and - computing its eigen values. The off-diagonal strains are first converted - from Voigt notation to the standard strain values. + computing its eigen values. This operation is independent of the + coordinate system, thus, rotation to global will be avoided unless + averaging is requested since averaging across elements need a shared + coordinate system. The off-diagonal strains are first converted from + Voigt notation to the standard strain values. Parameters @@ -34,8 +37,6 @@ class elastic_strain_principal_2(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) mesh: MeshedRegion or MeshesContainer, optional prevents from reading the mesh in the result files requested_location: str, optional @@ -66,8 +67,6 @@ class elastic_strain_principal_2(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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -84,7 +83,6 @@ class elastic_strain_principal_2(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, ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, @@ -102,7 +100,6 @@ def __init__( fields_container=None, streams_container=None, data_sources=None, - bool_rotate_to_global=None, mesh=None, requested_location=None, read_cyclic=None, @@ -123,8 +120,6 @@ 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 mesh is not None: self.inputs.mesh.connect(mesh) if requested_location is not None: @@ -138,8 +133,11 @@ def __init__( def _spec() -> Specification: description = r"""Read/compute element nodal component elastic strains 2nd principal component by calling the readers defined by the datasources and -computing its eigen values. The off-diagonal strains are first converted -from Voigt notation to the standard strain values. +computing its eigen values. This operation is independent of the +coordinate system, thus, rotation to global will be avoided unless +averaging is requested since averaging across elements need a shared +coordinate system. The off-diagonal strains are first converted from +Voigt notation to the standard strain values. """ spec = Specification( description=description, @@ -181,12 +179,6 @@ 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)""", - ), 7: PinSpecification( name="mesh", type_names=["abstract_meshed_region", "meshes_container"], @@ -285,8 +277,6 @@ class InputsElasticStrainPrincipal2(_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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -319,10 +309,6 @@ def __init__(self, op: Operator): elastic_strain_principal_2._spec().input_pin(4), 4, op, -1 ) self._inputs.append(self._data_sources) - self._bool_rotate_to_global = Input( - elastic_strain_principal_2._spec().input_pin(5), 5, op, -1 - ) - self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(elastic_strain_principal_2._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) self._requested_location = Input( @@ -443,27 +429,6 @@ 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) - - Returns - ------- - input: - An Input instance for this pin. - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.elastic_strain_principal_2() - >>> 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 mesh(self) -> Input: r"""Allows to connect mesh input to the operator. diff --git a/src/ansys/dpf/core/operators/result/elastic_strain_principal_3.py b/src/ansys/dpf/core/operators/result/elastic_strain_principal_3.py index 0bac8d69043..fc777e84588 100644 --- a/src/ansys/dpf/core/operators/result/elastic_strain_principal_3.py +++ b/src/ansys/dpf/core/operators/result/elastic_strain_principal_3.py @@ -18,8 +18,11 @@ class elastic_strain_principal_3(Operator): r"""Read/compute element nodal component elastic strains 3rd principal component by calling the readers defined by the datasources and - computing its eigen values. The off-diagonal strains are first converted - from Voigt notation to the standard strain values. + computing its eigen values. This operation is independent of the + coordinate system, thus, rotation to global will be avoided unless + averaging is requested since averaging across elements need a shared + coordinate system. The off-diagonal strains are first converted from + Voigt notation to the standard strain values. Parameters @@ -34,8 +37,6 @@ class elastic_strain_principal_3(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) mesh: MeshedRegion or MeshesContainer, optional prevents from reading the mesh in the result files requested_location: str, optional @@ -66,8 +67,6 @@ class elastic_strain_principal_3(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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -84,7 +83,6 @@ class elastic_strain_principal_3(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, ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, @@ -102,7 +100,6 @@ def __init__( fields_container=None, streams_container=None, data_sources=None, - bool_rotate_to_global=None, mesh=None, requested_location=None, read_cyclic=None, @@ -123,8 +120,6 @@ 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 mesh is not None: self.inputs.mesh.connect(mesh) if requested_location is not None: @@ -138,8 +133,11 @@ def __init__( def _spec() -> Specification: description = r"""Read/compute element nodal component elastic strains 3rd principal component by calling the readers defined by the datasources and -computing its eigen values. The off-diagonal strains are first converted -from Voigt notation to the standard strain values. +computing its eigen values. This operation is independent of the +coordinate system, thus, rotation to global will be avoided unless +averaging is requested since averaging across elements need a shared +coordinate system. The off-diagonal strains are first converted from +Voigt notation to the standard strain values. """ spec = Specification( description=description, @@ -181,12 +179,6 @@ 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)""", - ), 7: PinSpecification( name="mesh", type_names=["abstract_meshed_region", "meshes_container"], @@ -285,8 +277,6 @@ class InputsElasticStrainPrincipal3(_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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -319,10 +309,6 @@ def __init__(self, op: Operator): elastic_strain_principal_3._spec().input_pin(4), 4, op, -1 ) self._inputs.append(self._data_sources) - self._bool_rotate_to_global = Input( - elastic_strain_principal_3._spec().input_pin(5), 5, op, -1 - ) - self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(elastic_strain_principal_3._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) self._requested_location = Input( @@ -443,27 +429,6 @@ 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) - - Returns - ------- - input: - An Input instance for this pin. - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.elastic_strain_principal_3() - >>> 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 mesh(self) -> Input: r"""Allows to connect mesh input to the operator. diff --git a/src/ansys/dpf/core/operators/result/plastic_strain_intensity.py b/src/ansys/dpf/core/operators/result/plastic_strain_intensity.py index d3562227a8f..04cd2cebf39 100644 --- a/src/ansys/dpf/core/operators/result/plastic_strain_intensity.py +++ b/src/ansys/dpf/core/operators/result/plastic_strain_intensity.py @@ -17,7 +17,10 @@ class plastic_strain_intensity(Operator): r"""Reads/computes element nodal component plastic strains, average it on - nodes (by default) and computes its invariants. + nodes (by default) and computes its invariants. This operation is + independent of the coordinate system, thus, rotation to global will be + avoided unless averaging is requested since averaging across elements + needs a shared coordinate system. Parameters @@ -32,8 +35,6 @@ class plastic_strain_intensity(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) mesh: MeshedRegion or MeshesContainer, optional prevents from reading the mesh in the result files requested_location: str, optional @@ -64,8 +65,6 @@ class plastic_strain_intensity(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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -82,7 +81,6 @@ class plastic_strain_intensity(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, ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, @@ -100,7 +98,6 @@ def __init__( fields_container=None, streams_container=None, data_sources=None, - bool_rotate_to_global=None, mesh=None, requested_location=None, read_cyclic=None, @@ -121,8 +118,6 @@ 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 mesh is not None: self.inputs.mesh.connect(mesh) if requested_location is not None: @@ -135,7 +130,10 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Reads/computes element nodal component plastic strains, average it on -nodes (by default) and computes its invariants. +nodes (by default) and computes its invariants. This operation is +independent of the coordinate system, thus, rotation to global will be +avoided unless averaging is requested since averaging across elements +needs a shared coordinate system. """ spec = Specification( description=description, @@ -177,12 +175,6 @@ 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)""", - ), 7: PinSpecification( name="mesh", type_names=["abstract_meshed_region", "meshes_container"], @@ -281,8 +273,6 @@ class InputsPlasticStrainIntensity(_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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -315,10 +305,6 @@ def __init__(self, op: Operator): plastic_strain_intensity._spec().input_pin(4), 4, op, -1 ) self._inputs.append(self._data_sources) - self._bool_rotate_to_global = Input( - plastic_strain_intensity._spec().input_pin(5), 5, op, -1 - ) - self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(plastic_strain_intensity._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) self._requested_location = Input( @@ -439,27 +425,6 @@ 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) - - Returns - ------- - input: - An Input instance for this pin. - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.plastic_strain_intensity() - >>> 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 mesh(self) -> Input: r"""Allows to connect mesh input to the operator. diff --git a/src/ansys/dpf/core/operators/result/plastic_strain_max_shear.py b/src/ansys/dpf/core/operators/result/plastic_strain_max_shear.py index 07c5f7c75ad..dc1b81af64c 100644 --- a/src/ansys/dpf/core/operators/result/plastic_strain_max_shear.py +++ b/src/ansys/dpf/core/operators/result/plastic_strain_max_shear.py @@ -17,7 +17,10 @@ class plastic_strain_max_shear(Operator): r"""Reads/computes element nodal component plastic strains, average it on - nodes (by default) and computes its invariants. + nodes (by default) and computes its invariants. This operation is + independent of the coordinate system, thus, rotation to global will be + avoided unless averaging is requested since averaging across elements + needs a shared coordinate system. Parameters @@ -32,8 +35,6 @@ class plastic_strain_max_shear(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) mesh: MeshedRegion or MeshesContainer, optional prevents from reading the mesh in the result files requested_location: str, optional @@ -64,8 +65,6 @@ class plastic_strain_max_shear(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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -82,7 +81,6 @@ class plastic_strain_max_shear(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, ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, @@ -100,7 +98,6 @@ def __init__( fields_container=None, streams_container=None, data_sources=None, - bool_rotate_to_global=None, mesh=None, requested_location=None, read_cyclic=None, @@ -121,8 +118,6 @@ 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 mesh is not None: self.inputs.mesh.connect(mesh) if requested_location is not None: @@ -135,7 +130,10 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Reads/computes element nodal component plastic strains, average it on -nodes (by default) and computes its invariants. +nodes (by default) and computes its invariants. This operation is +independent of the coordinate system, thus, rotation to global will be +avoided unless averaging is requested since averaging across elements +needs a shared coordinate system. """ spec = Specification( description=description, @@ -177,12 +175,6 @@ 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)""", - ), 7: PinSpecification( name="mesh", type_names=["abstract_meshed_region", "meshes_container"], @@ -281,8 +273,6 @@ class InputsPlasticStrainMaxShear(_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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -315,10 +305,6 @@ def __init__(self, op: Operator): plastic_strain_max_shear._spec().input_pin(4), 4, op, -1 ) self._inputs.append(self._data_sources) - self._bool_rotate_to_global = Input( - plastic_strain_max_shear._spec().input_pin(5), 5, op, -1 - ) - self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(plastic_strain_max_shear._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) self._requested_location = Input( @@ -439,27 +425,6 @@ 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) - - Returns - ------- - input: - An Input instance for this pin. - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.plastic_strain_max_shear() - >>> 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 mesh(self) -> Input: r"""Allows to connect mesh input to the operator. diff --git a/src/ansys/dpf/core/operators/result/plastic_strain_principal_1.py b/src/ansys/dpf/core/operators/result/plastic_strain_principal_1.py index ded632f05d6..1742700c4ad 100644 --- a/src/ansys/dpf/core/operators/result/plastic_strain_principal_1.py +++ b/src/ansys/dpf/core/operators/result/plastic_strain_principal_1.py @@ -18,8 +18,11 @@ class plastic_strain_principal_1(Operator): r"""Read/compute element nodal component plastic strains 1st principal component by calling the readers defined by the datasources and - computing its eigen values. The off-diagonal strains are first converted - from Voigt notation to the standard strain values. + computing its eigen values. This operation is independent of the + coordinate system, thus, rotation to global will be avoided unless + averaging is requested since averaging across elements need a shared + coordinate system. The off-diagonal strains are first converted from + Voigt notation to the standard strain values. Parameters @@ -34,8 +37,6 @@ class plastic_strain_principal_1(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) mesh: MeshedRegion or MeshesContainer, optional prevents from reading the mesh in the result files requested_location: str, optional @@ -66,8 +67,6 @@ class plastic_strain_principal_1(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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -84,7 +83,6 @@ class plastic_strain_principal_1(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, ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, @@ -102,7 +100,6 @@ def __init__( fields_container=None, streams_container=None, data_sources=None, - bool_rotate_to_global=None, mesh=None, requested_location=None, read_cyclic=None, @@ -123,8 +120,6 @@ 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 mesh is not None: self.inputs.mesh.connect(mesh) if requested_location is not None: @@ -138,8 +133,11 @@ def __init__( def _spec() -> Specification: description = r"""Read/compute element nodal component plastic strains 1st principal component by calling the readers defined by the datasources and -computing its eigen values. The off-diagonal strains are first converted -from Voigt notation to the standard strain values. +computing its eigen values. This operation is independent of the +coordinate system, thus, rotation to global will be avoided unless +averaging is requested since averaging across elements need a shared +coordinate system. The off-diagonal strains are first converted from +Voigt notation to the standard strain values. """ spec = Specification( description=description, @@ -181,12 +179,6 @@ 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)""", - ), 7: PinSpecification( name="mesh", type_names=["abstract_meshed_region", "meshes_container"], @@ -285,8 +277,6 @@ class InputsPlasticStrainPrincipal1(_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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -319,10 +309,6 @@ def __init__(self, op: Operator): plastic_strain_principal_1._spec().input_pin(4), 4, op, -1 ) self._inputs.append(self._data_sources) - self._bool_rotate_to_global = Input( - plastic_strain_principal_1._spec().input_pin(5), 5, op, -1 - ) - self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(plastic_strain_principal_1._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) self._requested_location = Input( @@ -443,27 +429,6 @@ 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) - - Returns - ------- - input: - An Input instance for this pin. - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.plastic_strain_principal_1() - >>> 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 mesh(self) -> Input: r"""Allows to connect mesh input to the operator. diff --git a/src/ansys/dpf/core/operators/result/plastic_strain_principal_2.py b/src/ansys/dpf/core/operators/result/plastic_strain_principal_2.py index 0315d07f457..3a76b250110 100644 --- a/src/ansys/dpf/core/operators/result/plastic_strain_principal_2.py +++ b/src/ansys/dpf/core/operators/result/plastic_strain_principal_2.py @@ -18,8 +18,11 @@ class plastic_strain_principal_2(Operator): r"""Read/compute element nodal component plastic strains 2nd principal component by calling the readers defined by the datasources and - computing its eigen values. The off-diagonal strains are first converted - from Voigt notation to the standard strain values. + computing its eigen values. This operation is independent of the + coordinate system, thus, rotation to global will be avoided unless + averaging is requested since averaging across elements need a shared + coordinate system. The off-diagonal strains are first converted from + Voigt notation to the standard strain values. Parameters @@ -34,8 +37,6 @@ class plastic_strain_principal_2(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) mesh: MeshedRegion or MeshesContainer, optional prevents from reading the mesh in the result files requested_location: str, optional @@ -66,8 +67,6 @@ class plastic_strain_principal_2(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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -84,7 +83,6 @@ class plastic_strain_principal_2(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, ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, @@ -102,7 +100,6 @@ def __init__( fields_container=None, streams_container=None, data_sources=None, - bool_rotate_to_global=None, mesh=None, requested_location=None, read_cyclic=None, @@ -123,8 +120,6 @@ 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 mesh is not None: self.inputs.mesh.connect(mesh) if requested_location is not None: @@ -138,8 +133,11 @@ def __init__( def _spec() -> Specification: description = r"""Read/compute element nodal component plastic strains 2nd principal component by calling the readers defined by the datasources and -computing its eigen values. The off-diagonal strains are first converted -from Voigt notation to the standard strain values. +computing its eigen values. This operation is independent of the +coordinate system, thus, rotation to global will be avoided unless +averaging is requested since averaging across elements need a shared +coordinate system. The off-diagonal strains are first converted from +Voigt notation to the standard strain values. """ spec = Specification( description=description, @@ -181,12 +179,6 @@ 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)""", - ), 7: PinSpecification( name="mesh", type_names=["abstract_meshed_region", "meshes_container"], @@ -285,8 +277,6 @@ class InputsPlasticStrainPrincipal2(_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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -319,10 +309,6 @@ def __init__(self, op: Operator): plastic_strain_principal_2._spec().input_pin(4), 4, op, -1 ) self._inputs.append(self._data_sources) - self._bool_rotate_to_global = Input( - plastic_strain_principal_2._spec().input_pin(5), 5, op, -1 - ) - self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(plastic_strain_principal_2._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) self._requested_location = Input( @@ -443,27 +429,6 @@ 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) - - Returns - ------- - input: - An Input instance for this pin. - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.plastic_strain_principal_2() - >>> 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 mesh(self) -> Input: r"""Allows to connect mesh input to the operator. diff --git a/src/ansys/dpf/core/operators/result/plastic_strain_principal_3.py b/src/ansys/dpf/core/operators/result/plastic_strain_principal_3.py index e76f15c6de9..84d9649999f 100644 --- a/src/ansys/dpf/core/operators/result/plastic_strain_principal_3.py +++ b/src/ansys/dpf/core/operators/result/plastic_strain_principal_3.py @@ -18,8 +18,11 @@ class plastic_strain_principal_3(Operator): r"""Read/compute element nodal component plastic strains 3rd principal component by calling the readers defined by the datasources and - computing its eigen values. The off-diagonal strains are first converted - from Voigt notation to the standard strain values. + computing its eigen values. This operation is independent of the + coordinate system, thus, rotation to global will be avoided unless + averaging is requested since averaging across elements need a shared + coordinate system. The off-diagonal strains are first converted from + Voigt notation to the standard strain values. Parameters @@ -34,8 +37,6 @@ class plastic_strain_principal_3(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) mesh: MeshedRegion or MeshesContainer, optional prevents from reading the mesh in the result files requested_location: str, optional @@ -66,8 +67,6 @@ class plastic_strain_principal_3(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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -84,7 +83,6 @@ class plastic_strain_principal_3(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, ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, @@ -102,7 +100,6 @@ def __init__( fields_container=None, streams_container=None, data_sources=None, - bool_rotate_to_global=None, mesh=None, requested_location=None, read_cyclic=None, @@ -123,8 +120,6 @@ 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 mesh is not None: self.inputs.mesh.connect(mesh) if requested_location is not None: @@ -138,8 +133,11 @@ def __init__( def _spec() -> Specification: description = r"""Read/compute element nodal component plastic strains 3rd principal component by calling the readers defined by the datasources and -computing its eigen values. The off-diagonal strains are first converted -from Voigt notation to the standard strain values. +computing its eigen values. This operation is independent of the +coordinate system, thus, rotation to global will be avoided unless +averaging is requested since averaging across elements need a shared +coordinate system. The off-diagonal strains are first converted from +Voigt notation to the standard strain values. """ spec = Specification( description=description, @@ -181,12 +179,6 @@ 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)""", - ), 7: PinSpecification( name="mesh", type_names=["abstract_meshed_region", "meshes_container"], @@ -285,8 +277,6 @@ class InputsPlasticStrainPrincipal3(_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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -319,10 +309,6 @@ def __init__(self, op: Operator): plastic_strain_principal_3._spec().input_pin(4), 4, op, -1 ) self._inputs.append(self._data_sources) - self._bool_rotate_to_global = Input( - plastic_strain_principal_3._spec().input_pin(5), 5, op, -1 - ) - self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(plastic_strain_principal_3._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) self._requested_location = Input( @@ -443,27 +429,6 @@ 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) - - Returns - ------- - input: - An Input instance for this pin. - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.plastic_strain_principal_3() - >>> 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 mesh(self) -> Input: r"""Allows to connect mesh input to the operator. diff --git a/src/ansys/dpf/core/operators/result/stress_intensity.py b/src/ansys/dpf/core/operators/result/stress_intensity.py index 70a43b3b879..14d991af793 100644 --- a/src/ansys/dpf/core/operators/result/stress_intensity.py +++ b/src/ansys/dpf/core/operators/result/stress_intensity.py @@ -17,7 +17,10 @@ class stress_intensity(Operator): r"""Reads/computes element nodal component stresses, average it on nodes (by - default) and computes its invariants. + default) and computes its invariants. This operation is independent of + the coordinate system, thus, rotation to global will be avoided unless + averaging is requested since averaging across elements needs a shared + coordinate system. Parameters @@ -32,8 +35,6 @@ class stress_intensity(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) mesh: MeshedRegion or MeshesContainer, optional prevents from reading the mesh in the result files requested_location: str, optional @@ -64,8 +65,6 @@ class stress_intensity(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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -82,7 +81,6 @@ class stress_intensity(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, ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, @@ -100,7 +98,6 @@ def __init__( fields_container=None, streams_container=None, data_sources=None, - bool_rotate_to_global=None, mesh=None, requested_location=None, read_cyclic=None, @@ -121,8 +118,6 @@ 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 mesh is not None: self.inputs.mesh.connect(mesh) if requested_location is not None: @@ -135,7 +130,10 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Reads/computes element nodal component stresses, average it on nodes (by -default) and computes its invariants. +default) and computes its invariants. This operation is independent of +the coordinate system, thus, rotation to global will be avoided unless +averaging is requested since averaging across elements needs a shared +coordinate system. """ spec = Specification( description=description, @@ -177,12 +175,6 @@ 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)""", - ), 7: PinSpecification( name="mesh", type_names=["abstract_meshed_region", "meshes_container"], @@ -281,8 +273,6 @@ class InputsStressIntensity(_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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -307,10 +297,6 @@ def __init__(self, op: Operator): self._inputs.append(self._streams_container) self._data_sources = Input(stress_intensity._spec().input_pin(4), 4, op, -1) self._inputs.append(self._data_sources) - self._bool_rotate_to_global = Input( - stress_intensity._spec().input_pin(5), 5, op, -1 - ) - self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(stress_intensity._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) self._requested_location = Input( @@ -427,27 +413,6 @@ 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) - - Returns - ------- - input: - An Input instance for this pin. - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.stress_intensity() - >>> 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 mesh(self) -> Input: r"""Allows to connect mesh input to the operator. diff --git a/src/ansys/dpf/core/operators/result/stress_max_shear.py b/src/ansys/dpf/core/operators/result/stress_max_shear.py index b4ebf96a463..4588d046670 100644 --- a/src/ansys/dpf/core/operators/result/stress_max_shear.py +++ b/src/ansys/dpf/core/operators/result/stress_max_shear.py @@ -17,7 +17,10 @@ class stress_max_shear(Operator): r"""Reads/computes element nodal component stresses, average it on nodes (by - default) and computes its invariants. + default) and computes its invariants. This operation is independent of + the coordinate system, thus, rotation to global will be avoided unless + averaging is requested since averaging across elements needs a shared + coordinate system. Parameters @@ -32,8 +35,6 @@ class stress_max_shear(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) mesh: MeshedRegion or MeshesContainer, optional prevents from reading the mesh in the result files requested_location: str, optional @@ -64,8 +65,6 @@ class stress_max_shear(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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -82,7 +81,6 @@ class stress_max_shear(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, ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, @@ -100,7 +98,6 @@ def __init__( fields_container=None, streams_container=None, data_sources=None, - bool_rotate_to_global=None, mesh=None, requested_location=None, read_cyclic=None, @@ -121,8 +118,6 @@ 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 mesh is not None: self.inputs.mesh.connect(mesh) if requested_location is not None: @@ -135,7 +130,10 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Reads/computes element nodal component stresses, average it on nodes (by -default) and computes its invariants. +default) and computes its invariants. This operation is independent of +the coordinate system, thus, rotation to global will be avoided unless +averaging is requested since averaging across elements needs a shared +coordinate system. """ spec = Specification( description=description, @@ -177,12 +175,6 @@ 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)""", - ), 7: PinSpecification( name="mesh", type_names=["abstract_meshed_region", "meshes_container"], @@ -281,8 +273,6 @@ class InputsStressMaxShear(_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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -307,10 +297,6 @@ def __init__(self, op: Operator): self._inputs.append(self._streams_container) self._data_sources = Input(stress_max_shear._spec().input_pin(4), 4, op, -1) self._inputs.append(self._data_sources) - self._bool_rotate_to_global = Input( - stress_max_shear._spec().input_pin(5), 5, op, -1 - ) - self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(stress_max_shear._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) self._requested_location = Input( @@ -427,27 +413,6 @@ 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) - - Returns - ------- - input: - An Input instance for this pin. - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.stress_max_shear() - >>> 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 mesh(self) -> Input: r"""Allows to connect mesh input to the operator. diff --git a/src/ansys/dpf/core/operators/result/stress_principal_1.py b/src/ansys/dpf/core/operators/result/stress_principal_1.py index cff4fb5d42b..69879a2fc1d 100644 --- a/src/ansys/dpf/core/operators/result/stress_principal_1.py +++ b/src/ansys/dpf/core/operators/result/stress_principal_1.py @@ -18,7 +18,9 @@ class stress_principal_1(Operator): r"""Read/compute element nodal component stresses 1st principal component by calling the readers defined by the datasources and computing its eigen - values. + values. This operation is independent of the coordinate system, thus, + rotation to global will be avoided unless averaging is requested since + averaging across elements need a shared coordinate system. Parameters @@ -33,8 +35,6 @@ class stress_principal_1(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) mesh: MeshedRegion or MeshesContainer, optional prevents from reading the mesh in the result files requested_location: str, optional @@ -65,8 +65,6 @@ class stress_principal_1(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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -83,7 +81,6 @@ class stress_principal_1(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, ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, @@ -101,7 +98,6 @@ def __init__( fields_container=None, streams_container=None, data_sources=None, - bool_rotate_to_global=None, mesh=None, requested_location=None, read_cyclic=None, @@ -122,8 +118,6 @@ 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 mesh is not None: self.inputs.mesh.connect(mesh) if requested_location is not None: @@ -137,7 +131,9 @@ def __init__( def _spec() -> Specification: description = r"""Read/compute element nodal component stresses 1st principal component by calling the readers defined by the datasources and computing its eigen -values. +values. This operation is independent of the coordinate system, thus, +rotation to global will be avoided unless averaging is requested since +averaging across elements need a shared coordinate system. """ spec = Specification( description=description, @@ -179,12 +175,6 @@ 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)""", - ), 7: PinSpecification( name="mesh", type_names=["abstract_meshed_region", "meshes_container"], @@ -283,8 +273,6 @@ class InputsStressPrincipal1(_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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -311,10 +299,6 @@ def __init__(self, op: Operator): self._inputs.append(self._streams_container) self._data_sources = Input(stress_principal_1._spec().input_pin(4), 4, op, -1) self._inputs.append(self._data_sources) - self._bool_rotate_to_global = Input( - stress_principal_1._spec().input_pin(5), 5, op, -1 - ) - self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(stress_principal_1._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) self._requested_location = Input( @@ -431,27 +415,6 @@ 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) - - Returns - ------- - input: - An Input instance for this pin. - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.stress_principal_1() - >>> 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 mesh(self) -> Input: r"""Allows to connect mesh input to the operator. diff --git a/src/ansys/dpf/core/operators/result/stress_principal_2.py b/src/ansys/dpf/core/operators/result/stress_principal_2.py index 43764ac0afb..ac3cfba64b6 100644 --- a/src/ansys/dpf/core/operators/result/stress_principal_2.py +++ b/src/ansys/dpf/core/operators/result/stress_principal_2.py @@ -18,7 +18,9 @@ class stress_principal_2(Operator): r"""Read/compute element nodal component stresses 2nd principal component by calling the readers defined by the datasources and computing its eigen - values. + values. This operation is independent of the coordinate system, thus, + rotation to global will be avoided unless averaging is requested since + averaging across elements need a shared coordinate system. Parameters @@ -33,8 +35,6 @@ class stress_principal_2(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) mesh: MeshedRegion or MeshesContainer, optional prevents from reading the mesh in the result files requested_location: str, optional @@ -65,8 +65,6 @@ class stress_principal_2(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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -83,7 +81,6 @@ class stress_principal_2(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, ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, @@ -101,7 +98,6 @@ def __init__( fields_container=None, streams_container=None, data_sources=None, - bool_rotate_to_global=None, mesh=None, requested_location=None, read_cyclic=None, @@ -122,8 +118,6 @@ 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 mesh is not None: self.inputs.mesh.connect(mesh) if requested_location is not None: @@ -137,7 +131,9 @@ def __init__( def _spec() -> Specification: description = r"""Read/compute element nodal component stresses 2nd principal component by calling the readers defined by the datasources and computing its eigen -values. +values. This operation is independent of the coordinate system, thus, +rotation to global will be avoided unless averaging is requested since +averaging across elements need a shared coordinate system. """ spec = Specification( description=description, @@ -179,12 +175,6 @@ 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)""", - ), 7: PinSpecification( name="mesh", type_names=["abstract_meshed_region", "meshes_container"], @@ -283,8 +273,6 @@ class InputsStressPrincipal2(_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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -311,10 +299,6 @@ def __init__(self, op: Operator): self._inputs.append(self._streams_container) self._data_sources = Input(stress_principal_2._spec().input_pin(4), 4, op, -1) self._inputs.append(self._data_sources) - self._bool_rotate_to_global = Input( - stress_principal_2._spec().input_pin(5), 5, op, -1 - ) - self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(stress_principal_2._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) self._requested_location = Input( @@ -431,27 +415,6 @@ 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) - - Returns - ------- - input: - An Input instance for this pin. - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.stress_principal_2() - >>> 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 mesh(self) -> Input: r"""Allows to connect mesh input to the operator. diff --git a/src/ansys/dpf/core/operators/result/stress_principal_3.py b/src/ansys/dpf/core/operators/result/stress_principal_3.py index 5582c1d6da7..aa5109d357c 100644 --- a/src/ansys/dpf/core/operators/result/stress_principal_3.py +++ b/src/ansys/dpf/core/operators/result/stress_principal_3.py @@ -18,7 +18,9 @@ class stress_principal_3(Operator): r"""Read/compute element nodal component stresses 3rd principal component by calling the readers defined by the datasources and computing its eigen - values. + values. This operation is independent of the coordinate system, thus, + rotation to global will be avoided unless averaging is requested since + averaging across elements need a shared coordinate system. Parameters @@ -33,8 +35,6 @@ class stress_principal_3(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) mesh: MeshedRegion or MeshesContainer, optional prevents from reading the mesh in the result files requested_location: str, optional @@ -65,8 +65,6 @@ class stress_principal_3(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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -83,7 +81,6 @@ class stress_principal_3(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, ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, @@ -101,7 +98,6 @@ def __init__( fields_container=None, streams_container=None, data_sources=None, - bool_rotate_to_global=None, mesh=None, requested_location=None, read_cyclic=None, @@ -122,8 +118,6 @@ 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 mesh is not None: self.inputs.mesh.connect(mesh) if requested_location is not None: @@ -137,7 +131,9 @@ def __init__( def _spec() -> Specification: description = r"""Read/compute element nodal component stresses 3rd principal component by calling the readers defined by the datasources and computing its eigen -values. +values. This operation is independent of the coordinate system, thus, +rotation to global will be avoided unless averaging is requested since +averaging across elements need a shared coordinate system. """ spec = Specification( description=description, @@ -179,12 +175,6 @@ 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)""", - ), 7: PinSpecification( name="mesh", type_names=["abstract_meshed_region", "meshes_container"], @@ -283,8 +273,6 @@ class InputsStressPrincipal3(_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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -311,10 +299,6 @@ def __init__(self, op: Operator): self._inputs.append(self._streams_container) self._data_sources = Input(stress_principal_3._spec().input_pin(4), 4, op, -1) self._inputs.append(self._data_sources) - self._bool_rotate_to_global = Input( - stress_principal_3._spec().input_pin(5), 5, op, -1 - ) - self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(stress_principal_3._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) self._requested_location = Input( @@ -431,27 +415,6 @@ 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) - - Returns - ------- - input: - An Input instance for this pin. - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.stress_principal_3() - >>> 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 mesh(self) -> Input: r"""Allows to connect mesh input to the operator. diff --git a/src/ansys/dpf/core/operators/result/stress_von_mises.py b/src/ansys/dpf/core/operators/result/stress_von_mises.py index ac6f4e69964..88f8405b0bc 100644 --- a/src/ansys/dpf/core/operators/result/stress_von_mises.py +++ b/src/ansys/dpf/core/operators/result/stress_von_mises.py @@ -17,7 +17,10 @@ class stress_von_mises(Operator): r"""Reads/computes element nodal component stresses, average it on nodes (by - default) and computes its invariants. + default) and computes its invariants. This operation is independent of + the coordinate system, thus, rotation to global will be avoided unless + averaging is requested since averaging across elements needs a shared + coordinate system. Parameters @@ -32,8 +35,6 @@ class stress_von_mises(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) mesh: MeshedRegion or MeshesContainer, optional prevents from reading the mesh in the result files requested_location: str, optional @@ -64,8 +65,6 @@ class stress_von_mises(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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -82,7 +81,6 @@ class stress_von_mises(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, ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, @@ -100,7 +98,6 @@ def __init__( fields_container=None, streams_container=None, data_sources=None, - bool_rotate_to_global=None, mesh=None, requested_location=None, read_cyclic=None, @@ -121,8 +118,6 @@ 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 mesh is not None: self.inputs.mesh.connect(mesh) if requested_location is not None: @@ -135,7 +130,10 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Reads/computes element nodal component stresses, average it on nodes (by -default) and computes its invariants. +default) and computes its invariants. This operation is independent of +the coordinate system, thus, rotation to global will be avoided unless +averaging is requested since averaging across elements needs a shared +coordinate system. """ spec = Specification( description=description, @@ -177,12 +175,6 @@ 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)""", - ), 7: PinSpecification( name="mesh", type_names=["abstract_meshed_region", "meshes_container"], @@ -281,8 +273,6 @@ class InputsStressVonMises(_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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -307,10 +297,6 @@ def __init__(self, op: Operator): self._inputs.append(self._streams_container) self._data_sources = Input(stress_von_mises._spec().input_pin(4), 4, op, -1) self._inputs.append(self._data_sources) - self._bool_rotate_to_global = Input( - stress_von_mises._spec().input_pin(5), 5, op, -1 - ) - self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(stress_von_mises._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) self._requested_location = Input( @@ -427,27 +413,6 @@ 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) - - Returns - ------- - input: - An Input instance for this pin. - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.stress_von_mises() - >>> 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 mesh(self) -> Input: r"""Allows to connect mesh input to the operator. diff --git a/src/ansys/dpf/core/operators/result/thermal_strain_principal_1.py b/src/ansys/dpf/core/operators/result/thermal_strain_principal_1.py index b16fb6312e1..1147cc0b049 100644 --- a/src/ansys/dpf/core/operators/result/thermal_strain_principal_1.py +++ b/src/ansys/dpf/core/operators/result/thermal_strain_principal_1.py @@ -18,8 +18,11 @@ class thermal_strain_principal_1(Operator): r"""Read/compute element nodal component thermal strains 1st principal component by calling the readers defined by the datasources and - computing its eigen values. The off-diagonal strains are first converted - from Voigt notation to the standard strain values. + computing its eigen values. This operation is independent of the + coordinate system, thus, rotation to global will be avoided unless + averaging is requested since averaging across elements need a shared + coordinate system. The off-diagonal strains are first converted from + Voigt notation to the standard strain values. Parameters @@ -34,8 +37,6 @@ class thermal_strain_principal_1(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) mesh: MeshedRegion or MeshesContainer, optional prevents from reading the mesh in the result files requested_location: str, optional @@ -66,8 +67,6 @@ class thermal_strain_principal_1(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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -84,7 +83,6 @@ class thermal_strain_principal_1(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, ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, @@ -102,7 +100,6 @@ def __init__( fields_container=None, streams_container=None, data_sources=None, - bool_rotate_to_global=None, mesh=None, requested_location=None, read_cyclic=None, @@ -123,8 +120,6 @@ 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 mesh is not None: self.inputs.mesh.connect(mesh) if requested_location is not None: @@ -138,8 +133,11 @@ def __init__( def _spec() -> Specification: description = r"""Read/compute element nodal component thermal strains 1st principal component by calling the readers defined by the datasources and -computing its eigen values. The off-diagonal strains are first converted -from Voigt notation to the standard strain values. +computing its eigen values. This operation is independent of the +coordinate system, thus, rotation to global will be avoided unless +averaging is requested since averaging across elements need a shared +coordinate system. The off-diagonal strains are first converted from +Voigt notation to the standard strain values. """ spec = Specification( description=description, @@ -181,12 +179,6 @@ 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)""", - ), 7: PinSpecification( name="mesh", type_names=["abstract_meshed_region", "meshes_container"], @@ -285,8 +277,6 @@ class InputsThermalStrainPrincipal1(_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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -319,10 +309,6 @@ def __init__(self, op: Operator): thermal_strain_principal_1._spec().input_pin(4), 4, op, -1 ) self._inputs.append(self._data_sources) - self._bool_rotate_to_global = Input( - thermal_strain_principal_1._spec().input_pin(5), 5, op, -1 - ) - self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(thermal_strain_principal_1._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) self._requested_location = Input( @@ -443,27 +429,6 @@ 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) - - Returns - ------- - input: - An Input instance for this pin. - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.thermal_strain_principal_1() - >>> 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 mesh(self) -> Input: r"""Allows to connect mesh input to the operator. diff --git a/src/ansys/dpf/core/operators/result/thermal_strain_principal_2.py b/src/ansys/dpf/core/operators/result/thermal_strain_principal_2.py index 1903de7eafe..5a7696d8689 100644 --- a/src/ansys/dpf/core/operators/result/thermal_strain_principal_2.py +++ b/src/ansys/dpf/core/operators/result/thermal_strain_principal_2.py @@ -18,8 +18,11 @@ class thermal_strain_principal_2(Operator): r"""Read/compute element nodal component thermal strains 2nd principal component by calling the readers defined by the datasources and - computing its eigen values. The off-diagonal strains are first converted - from Voigt notation to the standard strain values. + computing its eigen values. This operation is independent of the + coordinate system, thus, rotation to global will be avoided unless + averaging is requested since averaging across elements need a shared + coordinate system. The off-diagonal strains are first converted from + Voigt notation to the standard strain values. Parameters @@ -34,8 +37,6 @@ class thermal_strain_principal_2(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) mesh: MeshedRegion or MeshesContainer, optional prevents from reading the mesh in the result files requested_location: str, optional @@ -66,8 +67,6 @@ class thermal_strain_principal_2(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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -84,7 +83,6 @@ class thermal_strain_principal_2(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, ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, @@ -102,7 +100,6 @@ def __init__( fields_container=None, streams_container=None, data_sources=None, - bool_rotate_to_global=None, mesh=None, requested_location=None, read_cyclic=None, @@ -123,8 +120,6 @@ 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 mesh is not None: self.inputs.mesh.connect(mesh) if requested_location is not None: @@ -138,8 +133,11 @@ def __init__( def _spec() -> Specification: description = r"""Read/compute element nodal component thermal strains 2nd principal component by calling the readers defined by the datasources and -computing its eigen values. The off-diagonal strains are first converted -from Voigt notation to the standard strain values. +computing its eigen values. This operation is independent of the +coordinate system, thus, rotation to global will be avoided unless +averaging is requested since averaging across elements need a shared +coordinate system. The off-diagonal strains are first converted from +Voigt notation to the standard strain values. """ spec = Specification( description=description, @@ -181,12 +179,6 @@ 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)""", - ), 7: PinSpecification( name="mesh", type_names=["abstract_meshed_region", "meshes_container"], @@ -285,8 +277,6 @@ class InputsThermalStrainPrincipal2(_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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -319,10 +309,6 @@ def __init__(self, op: Operator): thermal_strain_principal_2._spec().input_pin(4), 4, op, -1 ) self._inputs.append(self._data_sources) - self._bool_rotate_to_global = Input( - thermal_strain_principal_2._spec().input_pin(5), 5, op, -1 - ) - self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(thermal_strain_principal_2._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) self._requested_location = Input( @@ -443,27 +429,6 @@ 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) - - Returns - ------- - input: - An Input instance for this pin. - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.thermal_strain_principal_2() - >>> 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 mesh(self) -> Input: r"""Allows to connect mesh input to the operator. diff --git a/src/ansys/dpf/core/operators/result/thermal_strain_principal_3.py b/src/ansys/dpf/core/operators/result/thermal_strain_principal_3.py index 01df3c92c98..2d60801f4f4 100644 --- a/src/ansys/dpf/core/operators/result/thermal_strain_principal_3.py +++ b/src/ansys/dpf/core/operators/result/thermal_strain_principal_3.py @@ -18,8 +18,11 @@ class thermal_strain_principal_3(Operator): r"""Read/compute element nodal component thermal strains 3rd principal component by calling the readers defined by the datasources and - computing its eigen values. The off-diagonal strains are first converted - from Voigt notation to the standard strain values. + computing its eigen values. This operation is independent of the + coordinate system, thus, rotation to global will be avoided unless + averaging is requested since averaging across elements need a shared + coordinate system. The off-diagonal strains are first converted from + Voigt notation to the standard strain values. Parameters @@ -34,8 +37,6 @@ class thermal_strain_principal_3(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) mesh: MeshedRegion or MeshesContainer, optional prevents from reading the mesh in the result files requested_location: str, optional @@ -66,8 +67,6 @@ class thermal_strain_principal_3(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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -84,7 +83,6 @@ class thermal_strain_principal_3(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, ... mesh=my_mesh, ... requested_location=my_requested_location, ... read_cyclic=my_read_cyclic, @@ -102,7 +100,6 @@ def __init__( fields_container=None, streams_container=None, data_sources=None, - bool_rotate_to_global=None, mesh=None, requested_location=None, read_cyclic=None, @@ -123,8 +120,6 @@ 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 mesh is not None: self.inputs.mesh.connect(mesh) if requested_location is not None: @@ -138,8 +133,11 @@ def __init__( def _spec() -> Specification: description = r"""Read/compute element nodal component thermal strains 3rd principal component by calling the readers defined by the datasources and -computing its eigen values. The off-diagonal strains are first converted -from Voigt notation to the standard strain values. +computing its eigen values. This operation is independent of the +coordinate system, thus, rotation to global will be avoided unless +averaging is requested since averaging across elements need a shared +coordinate system. The off-diagonal strains are first converted from +Voigt notation to the standard strain values. """ spec = Specification( description=description, @@ -181,12 +179,6 @@ 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)""", - ), 7: PinSpecification( name="mesh", type_names=["abstract_meshed_region", "meshes_container"], @@ -285,8 +277,6 @@ class InputsThermalStrainPrincipal3(_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_mesh = dpf.MeshedRegion() >>> op.inputs.mesh.connect(my_mesh) >>> my_requested_location = str() @@ -319,10 +309,6 @@ def __init__(self, op: Operator): thermal_strain_principal_3._spec().input_pin(4), 4, op, -1 ) self._inputs.append(self._data_sources) - self._bool_rotate_to_global = Input( - thermal_strain_principal_3._spec().input_pin(5), 5, op, -1 - ) - self._inputs.append(self._bool_rotate_to_global) self._mesh = Input(thermal_strain_principal_3._spec().input_pin(7), 7, op, -1) self._inputs.append(self._mesh) self._requested_location = Input( @@ -443,27 +429,6 @@ 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) - - Returns - ------- - input: - An Input instance for this pin. - - Examples - -------- - >>> from ansys.dpf import core as dpf - >>> op = dpf.operators.result.thermal_strain_principal_3() - >>> 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 mesh(self) -> Input: r"""Allows to connect mesh input to the operator. diff --git a/src/ansys/dpf/core/operators/utility/extract_scoping.py b/src/ansys/dpf/core/operators/utility/extract_scoping.py index 4dd4e579827..ef7005fadc3 100644 --- a/src/ansys/dpf/core/operators/utility/extract_scoping.py +++ b/src/ansys/dpf/core/operators/utility/extract_scoping.py @@ -17,13 +17,19 @@ class extract_scoping(Operator): - r"""Takes a field or a fields container and extracts its scoping or scopings - container. + r"""Takes a field type object, mesh or a collection of them and extracts its + scoping or scopings container. Parameters ---------- - field_or_fields_container: Field or FieldsContainer, optional + field_or_fields_container: Field or FieldsContainer or PropertyField or + PropertyFieldsContainer or CustomTypeField or + CustomTypeFieldsContainer or StringField or Scoping + or ScopingsContainer or MeshedRegion or + MeshesContainer, optional + requested_location: int, optional + If input 0 is a mesh or a meshes_container, the operator returns the nodes scoping, possible locations are: Nodal(default) or Elemental Returns ------- @@ -39,37 +45,66 @@ class extract_scoping(Operator): >>> # Make input connections >>> my_field_or_fields_container = dpf.Field() >>> op.inputs.field_or_fields_container.connect(my_field_or_fields_container) + >>> my_requested_location = int() + >>> op.inputs.requested_location.connect(my_requested_location) >>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.utility.extract_scoping( ... field_or_fields_container=my_field_or_fields_container, + ... requested_location=my_requested_location, ... ) >>> # Get output data >>> result_mesh_scoping = op.outputs.mesh_scoping() """ - def __init__(self, field_or_fields_container=None, config=None, server=None): + def __init__( + self, + field_or_fields_container=None, + requested_location=None, + config=None, + server=None, + ): super().__init__(name="extract_scoping", config=config, server=server) self._inputs = InputsExtractScoping(self) self._outputs = OutputsExtractScoping(self) if field_or_fields_container is not None: self.inputs.field_or_fields_container.connect(field_or_fields_container) + if requested_location is not None: + self.inputs.requested_location.connect(requested_location) @staticmethod def _spec() -> Specification: - description = r"""Takes a field or a fields container and extracts its scoping or scopings -container. + description = r"""Takes a field type object, mesh or a collection of them and extracts its +scoping or scopings container. """ spec = Specification( description=description, map_input_pin_spec={ 0: PinSpecification( name="field_or_fields_container", - type_names=["field", "fields_container"], + type_names=[ + "field", + "fields_container", + "property_field", + "property_fields_container", + "custom_type_field", + "custom_type_fields_container", + "string_field", + "scoping", + "scopings_container", + "meshed_region", + "meshes_container", + ], optional=True, document=r"""""", ), + 1: PinSpecification( + name="requested_location", + type_names=["int32"], + optional=True, + document=r"""If input 0 is a mesh or a meshes_container, the operator returns the nodes scoping, possible locations are: Nodal(default) or Elemental""", + ), }, map_output_pin_spec={ 0: PinSpecification( @@ -136,6 +171,8 @@ class InputsExtractScoping(_Inputs): >>> op = dpf.operators.utility.extract_scoping() >>> my_field_or_fields_container = dpf.Field() >>> op.inputs.field_or_fields_container.connect(my_field_or_fields_container) + >>> my_requested_location = int() + >>> op.inputs.requested_location.connect(my_requested_location) """ def __init__(self, op: Operator): @@ -144,6 +181,10 @@ def __init__(self, op: Operator): extract_scoping._spec().input_pin(0), 0, op, -1 ) self._inputs.append(self._field_or_fields_container) + self._requested_location = Input( + extract_scoping._spec().input_pin(1), 1, op, -1 + ) + self._inputs.append(self._requested_location) @property def field_or_fields_container(self) -> Input: @@ -164,6 +205,27 @@ def field_or_fields_container(self) -> Input: """ return self._field_or_fields_container + @property + def requested_location(self) -> Input: + r"""Allows to connect requested_location input to the operator. + + If input 0 is a mesh or a meshes_container, the operator returns the nodes scoping, possible locations are: Nodal(default) or Elemental + + Returns + ------- + input: + An Input instance for this pin. + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.utility.extract_scoping() + >>> op.inputs.requested_location.connect(my_requested_location) + >>> # or + >>> op.inputs.requested_location(my_requested_location) + """ + return self._requested_location + class OutputsExtractScoping(_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 70486fa30fa..34a040f1cc5 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 c6420be2eba..ba3985f0ce7 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 db1e1caa014..55c94f7424a 100644 Binary files a/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so and b/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so differ diff --git a/src/ansys/dpf/gatebin/libDPFClientAPI.so b/src/ansys/dpf/gatebin/libDPFClientAPI.so index 182fe21845a..a9c94d92ce9 100644 Binary files a/src/ansys/dpf/gatebin/libDPFClientAPI.so and b/src/ansys/dpf/gatebin/libDPFClientAPI.so differ