diff --git a/doc/source/_static/dpf_operators.html b/doc/source/_static/dpf_operators.html index 68907946415..ff34e7ae6e1 100644 --- a/doc/source/_static/dpf_operators.html +++ b/doc/source/_static/dpf_operators.html @@ -5411,9 +5411,9 @@

Configurating operators

Inputs

field or fields container with only one field is expected

field or fields container with only one field is expected

Outputs

Configurations

Scripting

scoping: elements in mesh

Description

Retrieves the elemental scoping of a given input mesh, which contains the element IDs.

-

Inputs

Outputs

Configurations

Scripting

math: ^ (field)

Description

Computes element-wise field[i]^p.

-

Inputs

Outputs

Configurations

Scripting

scoping: intersect scopings

Description

Intersect 2 scopings and return the intersection and the difference between the intersection and the first scoping.

-

Inputs

Outputs

Configurations

Scripting

math: scale (field)

Description

Scales a field by a constant factor. This factor can be a scalar or a vector, where each value of the vector represents a scaler per component. Number of the components are corresponding to the input field dimensionality

+

Inputs

Outputs

Configurations

Scripting

scoping: intersect scopings

Description

Intersect 2 scopings and return the intersection and the difference between the intersection and the first scoping.

+

Inputs

Outputs

Configurations

Scripting

math: ^ (field)

Description

Computes element-wise field[i]^p.

+

Inputs

Outputs

Configurations

Scripting

math: scale (field)

Description

Scales a field by a constant factor. This factor can be a scalar or a vector, where each value of the vector represents a scaler per component. Number of the components are corresponding to the input field dimensionality

Inputs

field or fields container with only one field is expected

Double/Field/Vector of doubles. When scoped on overall, same value(s) applied on all the data, when scoped elsewhere, corresponding values will be multiplied due to the scoping

Default is false. If set to true, output of scale is made dimensionless

@@ -5544,7 +5544,136 @@

Configurating operators

result file path container, used if no streams are set

integration point where the result will be read from. Default value: 0 (first integration point).

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

-

Outputs

Configurations

Scripting

result: num surface status changes

Description

Read/compute element total number of contact status changes during substep 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: num surface status changes

Description

Read/compute element total number of contact status changes during substep by calling the readers defined by the datasources.

+
    +
  • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
  • +
  • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
  • +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Averaging is needed'split_shells''shell_layer'Expected output
NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
+
    +
  • The available 'elshape' values are:
  • +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
elshapeRelated elements
1Shell (generic)
2Solid
3Beam
4Skin
5Contact
6Load
7Point
8Shell with 1 result across thickness (membrane)
9Shell with 2 results across thickness (top/bottom)
10Shell with 3 results across thickness (top/bottom/mid)
11Gasket
12Multi-Point Constraint
13Pretension

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

@@ -5558,8 +5687,8 @@

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.

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

-

This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

-

If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

+

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

math: ln (field)

Description

Computes element-wise ln(field[i]).

Inputs

field or fields container with only one field is expected

Outputs

Configurations

Scripting

mesh: mesh to pyvista

Description

Export a MeshedRegion in the pyVista format.

@@ -5658,7 +5787,136 @@

Configurating operators

Field containing weights, one weight per entity

time_scoping

Outputs

Field containing the (weighted) sum for each component in an elementary data

-

Configurations

Scripting

result: heat flux

Description

Read/compute heat flux 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.

+

Configurations

Scripting

result: heat flux

Description

Read/compute heat flux by calling the readers defined by the datasources.

+
    +
  • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
  • +
  • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
  • +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Averaging is needed'split_shells''shell_layer'Expected output
NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
+
    +
  • The available 'elshape' values are:
  • +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
elshapeRelated elements
1Shell (generic)
2Solid
3Beam
4Skin
5Contact
6Load
7Point
8Shell with 1 result across thickness (membrane)
9Shell with 2 results across thickness (top/bottom)
10Shell with 3 results across thickness (top/bottom/mid)
11Gasket
12Multi-Point Constraint
13Pretension

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

@@ -5672,8 +5930,8 @@

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.

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

-

This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

-

If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

+

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: co-energy

Description

Read/compute co-energy (magnetics) 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

@@ -5727,7 +5985,136 @@

Configurating operators

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

Outputs

Configurations

Scripting

math: absolute value by component (field)

Description

Compute the absolute value of each data value of the input field, no norm performed.

Inputs

field or fields container with only one field is expected

-

Outputs

Configurations

Scripting

result: thermal strain

Description

Read/compute element nodal component thermal strains 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: thermal strain

Description

Read/compute element nodal component thermal strains by calling the readers defined by the datasources.

+
    +
  • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
  • +
  • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
  • +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Averaging is needed'split_shells''shell_layer'Expected output
NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
+
    +
  • The available 'elshape' values are:
  • +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
elshapeRelated elements
1Shell (generic)
2Solid
3Beam
4Skin
5Contact
6Load
7Point
8Shell with 1 result across thickness (membrane)
9Shell with 2 results across thickness (top/bottom)
10Shell with 3 results across thickness (top/bottom/mid)
11Gasket
12Multi-Point Constraint
13Pretension

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

@@ -5737,8 +6124,8 @@

Configurating operators

prevents from reading the mesh in the result files

requested location Nodal, Elemental or ElementalNodal

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

-

This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

-

If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

+

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: incremental energy

Description

Read/compute incremental energy (magnetics) 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

@@ -5835,7 +6222,136 @@

Configurating operators

Outputs

Configurations

Scripting

utility: convert to meshes container

Description

Creates a meshes container containing the mesh provided on pin 0.

Inputs

If a meshes container is set in input, it is passed on as an output with the additional label space (if any).

Sets a label space.

-

Outputs

Configurations

Scripting

result: equivalent stress parameter

Description

Read/compute element nodal equivalent stress parameter 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: equivalent stress parameter

Description

Read/compute element nodal equivalent stress parameter by calling the readers defined by the datasources.

+
    +
  • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
  • +
  • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
  • +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Averaging is needed'split_shells''shell_layer'Expected output
NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
+
    +
  • The available 'elshape' values are:
  • +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
elshapeRelated elements
1Shell (generic)
2Solid
3Beam
4Skin
5Contact
6Load
7Point
8Shell with 1 result across thickness (membrane)
9Shell with 2 results across thickness (top/bottom)
10Shell with 3 results across thickness (top/bottom/mid)
11Gasket
12Multi-Point Constraint
13Pretension

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

@@ -5845,8 +6361,8 @@

Configurating operators

prevents from reading the mesh in the result files

requested location Nodal, Elemental or ElementalNodal

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

-

This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

-

If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

+

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: beam torsional moment (LSDyna)

Description

Read Beam Torsional Moment (LSDyna) 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.

elements scoping required in output.

@@ -5884,7 +6400,136 @@

Configurating operators

Outputs

Configurations

Scripting

utility: forward field

Description

Returns the input field or fields container.

Inputs

field or fields container with only one field is expected

Outputs

Configurations

Scripting

utility: forward fields container

Description

Returns the input field or fields container.

-

Inputs

Outputs

Configurations

Scripting

result: electric flux density

Description

Read/compute Electric flux density 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.

+

Inputs

Outputs

Configurations

Scripting

result: electric flux density

Description

Read/compute Electric flux density by calling the readers defined by the datasources.

+
    +
  • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
  • +
  • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
  • +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Averaging is needed'split_shells''shell_layer'Expected output
NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
+
    +
  • The available 'elshape' values are:
  • +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
elshapeRelated elements
1Shell (generic)
2Solid
3Beam
4Skin
5Contact
6Load
7Point
8Shell with 1 result across thickness (membrane)
9Shell with 2 results across thickness (top/bottom)
10Shell with 3 results across thickness (top/bottom/mid)
11Gasket
12Multi-Point Constraint
13Pretension

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

@@ -5894,8 +6539,8 @@

Configurating operators

prevents from reading the mesh in the result files

requested location Nodal, Elemental or ElementalNodal

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

-

This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

-

If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

+

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.

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

@@ -5933,7 +6578,136 @@

Configurating operators

Average the Elemental Nodal result to the requested location.

Field/or fields container containing only the displacement field (nodal). If none specified, read displacements from result file using the data_sources.

Outputs

The computed result fields container (elemental nodal).

-

Configurations

Scripting

result: plastic strain eqv

Description

Read/compute element nodal equivalent plastic strain 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.

+

Configurations

Scripting

result: plastic strain eqv

Description

Read/compute element nodal equivalent plastic strain by calling the readers defined by the datasources.

+
    +
  • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
  • +
  • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
  • +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Averaging is needed'split_shells''shell_layer'Expected output
NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
+
    +
  • The available 'elshape' values are:
  • +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
elshapeRelated elements
1Shell (generic)
2Solid
3Beam
4Skin
5Contact
6Load
7Point
8Shell with 1 result across thickness (membrane)
9Shell with 2 results across thickness (top/bottom)
10Shell with 3 results across thickness (top/bottom/mid)
11Gasket
12Multi-Point Constraint
13Pretension

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

@@ -5943,8 +6717,8 @@

Configurating operators

prevents from reading the mesh in the result files

requested location Nodal, Elemental or ElementalNodal

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

-

This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

-

If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

+

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: gasket inelastic closure XY

Description

Read/compute elemental gasket inelastic closure XY shear component (01 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

@@ -5962,7 +6736,136 @@

Configurating operators

Outputs

any output

Configurations

Scripting

utility: bind support (fields container)

Description

Ties a support to a fields container.

Inputs

Meshed region or a support of the field.

-

Outputs

Configurations

Scripting

result: creep strain eqv

Description

Read/compute element nodal equivalent component creep strains 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: creep strain eqv

Description

Read/compute element nodal equivalent component creep strains by calling the readers defined by the datasources.

+
    +
  • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
  • +
  • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
  • +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Averaging is needed'split_shells''shell_layer'Expected output
NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
+
    +
  • The available 'elshape' values are:
  • +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
elshapeRelated elements
1Shell (generic)
2Solid
3Beam
4Skin
5Contact
6Load
7Point
8Shell with 1 result across thickness (membrane)
9Shell with 2 results across thickness (top/bottom)
10Shell with 3 results across thickness (top/bottom/mid)
11Gasket
12Multi-Point Constraint
13Pretension

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

@@ -5972,8 +6875,8 @@

Configurating operators

prevents from reading the mesh in the result files

requested location Nodal, Elemental or ElementalNodal

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

-

This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

-

If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

+

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: normal contact moment

Description

Read/compute normal contact moment by calling the readers defined by the datasources.

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

@@ -6098,7 +7001,136 @@

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

result: elastic strain

Description

Read/compute element nodal component elastic strains 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: elastic strain

Description

Read/compute element nodal component elastic strains by calling the readers defined by the datasources.

+
    +
  • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
  • +
  • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
  • +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Averaging is needed'split_shells''shell_layer'Expected output
NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
+
    +
  • The available 'elshape' values are:
  • +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
elshapeRelated elements
1Shell (generic)
2Solid
3Beam
4Skin
5Contact
6Load
7Point
8Shell with 1 result across thickness (membrane)
9Shell with 2 results across thickness (top/bottom)
10Shell with 3 results across thickness (top/bottom/mid)
11Gasket
12Multi-Point Constraint
13Pretension

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

@@ -6112,8 +7144,8 @@

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.

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

-

This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

-

If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

+

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: turbulent viscosity

Description

Read Turbulent Viscosity 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

@@ -6132,7 +7164,136 @@

Configurating operators

Inputs

Outputs

Configurations

Scripting

geo: elements volume

Description

Compute the measure of the Elements (volume for 3D elements, surface for 2D elements or length for 1D elements) using default shape functions, except for polyhedrons.

Inputs

If not provided, the measure of all elements for the mesh is computed. If provided, the Scoping needs to have "Elemental" location.

Outputs

Configurations

Scripting

utility: make overall

Description

Extracts a value from a field and makes a new field containing only this value, with the associated scoping's location set as 'overall'.

-

Inputs

Outputs

Configurations

Scripting

result: stress

Description

Read/compute element nodal component stresses 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.

+

Inputs

Outputs

Configurations

Scripting

result: stress

Description

Read/compute element nodal component stresses by calling the readers defined by the datasources.

+
    +
  • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
  • +
  • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
  • +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Averaging is needed'split_shells''shell_layer'Expected output
NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
+
    +
  • The available 'elshape' values are:
  • +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
elshapeRelated elements
1Shell (generic)
2Solid
3Beam
4Skin
5Contact
6Load
7Point
8Shell with 1 result across thickness (membrane)
9Shell with 2 results across thickness (top/bottom)
10Shell with 3 results across thickness (top/bottom/mid)
11Gasket
12Multi-Point Constraint
13Pretension

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

@@ -6146,10 +7307,10 @@

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.

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

-

This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

-

If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

+

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: pressure

Description

Read/compute Pressure 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

@@ -6305,7 +7466,136 @@

Configurating operators

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: gasket stress

Description

Read/compute elemental gasket stress 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: gasket stress

Description

Read/compute elemental gasket stress by calling the readers defined by the datasources.

+
    +
  • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
  • +
  • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
  • +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Averaging is needed'split_shells''shell_layer'Expected output
NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
+
    +
  • The available 'elshape' values are:
  • +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
elshapeRelated elements
1Shell (generic)
2Solid
3Beam
4Skin
5Contact
6Load
7Point
8Shell with 1 result across thickness (membrane)
9Shell with 2 results across thickness (top/bottom)
10Shell with 3 results across thickness (top/bottom/mid)
11Gasket
12Multi-Point Constraint
13Pretension

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

@@ -6315,9 +7605,138 @@

Configurating operators

prevents from reading the mesh in the result files

requested location Nodal, Elemental or ElementalNodal

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

-

This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

-

If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

-

Outputs

Configurations

Scripting

result: contact fluid penetration pressure

Description

Read/compute element actual applied fluid penetration pressure 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.

+

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: contact fluid penetration pressure

Description

Read/compute element actual applied fluid penetration pressure by calling the readers defined by the datasources.

+
    +
  • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
  • +
  • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
  • +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Averaging is needed'split_shells''shell_layer'Expected output
NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
+
    +
  • The available 'elshape' values are:
  • +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
elshapeRelated elements
1Shell (generic)
2Solid
3Beam
4Skin
5Contact
6Load
7Point
8Shell with 1 result across thickness (membrane)
9Shell with 2 results across thickness (top/bottom)
10Shell with 3 results across thickness (top/bottom/mid)
11Gasket
12Multi-Point Constraint
13Pretension

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

@@ -6331,8 +7750,8 @@

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.

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

-

This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

-

If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

+

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: gasket stress X

Description

Read/compute elemental gasket stress 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

@@ -6355,7 +7774,136 @@

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: gasket deformation

Description

Read/compute elemental gasket deformation 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: gasket deformation

Description

Read/compute elemental gasket deformation by calling the readers defined by the datasources.

+
    +
  • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
  • +
  • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
  • +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Averaging is needed'split_shells''shell_layer'Expected output
NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
+
    +
  • The available 'elshape' values are:
  • +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
elshapeRelated elements
1Shell (generic)
2Solid
3Beam
4Skin
5Contact
6Load
7Point
8Shell with 1 result across thickness (membrane)
9Shell with 2 results across thickness (top/bottom)
10Shell with 3 results across thickness (top/bottom/mid)
11Gasket
12Multi-Point Constraint
13Pretension

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

@@ -6365,8 +7913,8 @@

Configurating operators

prevents from reading the mesh in the result files

requested location Nodal, Elemental or ElementalNodal

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

-

This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

-

If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

+

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: gasket deformation X

Description

Read/compute elemental gasket deformation 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

@@ -6434,7 +7982,136 @@

Configurating operators

  • all mesh property fields "mat", "named_selection", "apdl_element_type", "section"-> if set to 1 these properties will not be read and a workflow will be bounded to the properties to be evaluated on demand, with 0 they are read (default is 0).
  • "all_available_properties" option set to 0 will return all possible properties
  • -

    Outputs

    Configurations

    Scripting

    result: gasket inelastic closure

    Description

    Read/compute elemental gasket inelastic closure 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: gasket inelastic closure

    Description

    Read/compute elemental gasket inelastic closure by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -6444,8 +8121,8 @@

    Configurating operators

    prevents from reading the mesh in the result files

    requested location Nodal, Elemental or ElementalNodal

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    +

    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

    serialization: export symbolic workflow

    Description

    Transforms a Workflow into a symbolic Workflow and writes it to a file (if a path is set in input) or string

    Inputs

    0 is ASCII format and 1 is binary, default is 0.

    1 copies connections with its data, 2 forwards named inputs and outputs names, 7 copies connections of named inputs and ouputs with their data. default is 7.

    @@ -6496,7 +8173,136 @@

    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: gasket thermal closure

    Description

    Read/compute elemental gasket thermal closure 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: gasket thermal closure

    Description

    Read/compute elemental gasket thermal closure by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -6506,8 +8312,8 @@

    Configurating operators

    prevents from reading the mesh in the result files

    requested location Nodal, Elemental or ElementalNodal

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    +

    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: gasket thermal closure X

    Description

    Read/compute elemental gasket thermal closure 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

    @@ -6654,7 +8460,136 @@

    Configurating operators

    Inputs

    field container with the base and duplicate sectors

    default is true

    Outputs

    FieldsContainer filled in

    -

    Configurations

    Scripting

    result: elastic strain eqv

    Description

    Read/compute element nodal equivalent elastic strain 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.

    +

    Configurations

    Scripting

    result: elastic strain eqv

    Description

    Read/compute element nodal equivalent elastic strain by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -6664,8 +8599,8 @@

    Configurating operators

    prevents from reading the mesh in the result files

    requested location Nodal, Elemental or ElementalNodal

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    +

    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: electric flux density X

    Description

    Read/compute Electric flux density X component of the vector (1st 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.

    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

    @@ -6709,8 +8644,137 @@

    Configurating operators

    Inputs

    if it is set to true, Elemental Nodal fields are first averaged on nodes and then averaged on elements (default is false).

    If true, the data across different shell layers is averaged as well (default is false).

    For shell/solid mixed fields, group in the same field all solids and shells (false by default). If this pin is true and collapse_shell_layers is false, a shell_layer needs to be specified.

    -

    0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid).

    -

    Outputs

    Configurations

    Scripting

    result: plastic strain

    Description

    Read/compute element nodal component plastic strains 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.

    +

    0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid).

    +

    Outputs

    Configurations

    Scripting

    result: plastic strain

    Description

    Read/compute element nodal component plastic strains by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -6720,8 +8784,8 @@

    Configurating operators

    prevents from reading the mesh in the result files

    requested location Nodal, Elemental or ElementalNodal

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    +

    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

    @@ -6816,7 +8880,136 @@

    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: hydrostatic pressure

    Description

    Read/compute element nodal hydrostatic pressure 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: hydrostatic pressure

    Description

    Read/compute element nodal hydrostatic pressure by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -6826,8 +9019,8 @@

    Configurating operators

    prevents from reading the mesh in the result files

    requested location Nodal, Elemental or ElementalNodal

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    +

    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: compute stress von mises

    Description

    Computes the stress from an elastic strain field. compute_total_strain limitations are applicable for stress computationGet the Von Mises equivalent stress.

    Inputs

    The element scoping on which the result is computed.

    Needed to get mesh and material ids. Optional if a data_sources have been connected.

    @@ -6914,7 +9107,136 @@

    Configurating operators

    global mass matrix multiplier

    global stiffness matrix multiplier

    Outputs

    field of modal damping ratio.

    -

    Configurations

    Scripting

    result: creep strain

    Description

    Read/compute element nodal component creep strains 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.

    +

    Configurations

    Scripting

    result: creep strain

    Description

    Read/compute element nodal component creep strains by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -6924,8 +9246,8 @@

    Configurating operators

    prevents from reading the mesh in the result files

    requested location Nodal, Elemental or ElementalNodal

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    +

    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

    serialization: vtu export

    Description

    Export DPF data into vtu format.

    Inputs

    directory path

    vtu base file name, (default is file)

    @@ -6978,7 +9300,136 @@

    Configurating operators

    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 solution to global cs

    Description

    read Euler angles on elements from the result file and rotate the fields in the fieldsContainer.

    -

    Inputs

    Outputs

    Configurations

    Scripting

    result: contact pressure

    Description

    Read/compute element contact pressure 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.

    +

    Inputs

    Outputs

    Configurations

    Scripting

    result: contact pressure

    Description

    Read/compute element contact pressure by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -6992,8 +9443,8 @@

    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.

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    +

    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: creep strain YZ

    Description

    Read/compute element nodal component creep strains YZ shear component (12 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

    @@ -7344,7 +9795,136 @@

    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: electric field

    Description

    Read/compute electric field 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: electric field

    Description

    Read/compute electric field by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -7354,8 +9934,8 @@

    Configurating operators

    prevents from reading the mesh in the result files

    requested location Nodal, Elemental or ElementalNodal

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    +

    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: heat flux Z

    Description

    Read/compute heat flux Z component of the vector (3rd 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

    @@ -7375,7 +9955,136 @@

    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: element orientations

    Description

    Read/compute element euler angles 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: element orientations

    Description

    Read/compute element euler angles by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -7385,8 +10094,8 @@

    Configurating operators

    prevents from reading the mesh in the result files

    requested location Nodal, Elemental or ElementalNodal

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    +

    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

    serialization: serialize to hdf5

    Description

    This operator is deprecated: use 'hdf5::h5dpf::make_result_file' instead. Serialize the inputs in an hdf5 format.

    Inputs

    output file path with .h5 extension

    converts double to float to reduce file size (default is true)

    @@ -7420,7 +10129,7 @@

    Configurating operators

    Average only on these elements. If it is a scoping container, the label must correspond to the one of the fields container.

    The mesh region in this pin is used to perform the averaging. It is used if there is no fields support.

    For shell/solid mixed fields, group in the same field all solids and shells (false by default). This pin only has an effect when collapse_shell_layers is false and a value for e_shell_layer is provided.

    -

    0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. This pin only has an effect when collapse_shell_layers is false.

    +

    0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. This pin only has an effect when collapse_shell_layers is false.

    Outputs

    Configurations

    Scripting

    result: magnetic field Y

    Description

    Read/compute Magnetic Field Y component of the vector (2nd 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.

    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

    @@ -7445,7 +10154,136 @@

    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: temperature gradient

    Description

    Read/compute Temperature Gradient 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: temperature gradient

    Description

    Read/compute Temperature Gradient by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -7455,8 +10293,8 @@

    Configurating operators

    prevents from reading the mesh in the result files

    requested location Nodal, Elemental or ElementalNodal

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    +

    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: cgns result provider

    Description

    Read/compute names result from result streams.

    Inputs

    time/freq (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output

    nodes or elements scoping required in output. The scoping's location indicates whether nodes or elements are asked. Using scopings container enables to split the result fields container in domains

    @@ -7528,7 +10366,136 @@

    Configurating operators

    mesh expanded, use if cyclic expansion is to be done.

    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

    result: magnetic field

    Description

    Read/compute Magnetic Field 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: magnetic field

    Description

    Read/compute Magnetic Field by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -7538,8 +10505,8 @@

    Configurating operators

    prevents from reading the mesh in the result files

    requested location Nodal, Elemental or ElementalNodal

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    +

    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: compute stress Z

    Description

    Computes the stress from an elastic strain field. compute_total_strain limitations are applicable for stress computation Get the ZZ normal component (22 component).

    Inputs

    The element scoping on which the result is computed.

    Needed to get mesh and material ids. Optional if a data_sources have been connected.

    @@ -7566,7 +10533,136 @@

    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: magnetic flux density

    Description

    Read/compute Magnetic Flux Density 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: magnetic flux density

    Description

    Read/compute Magnetic Flux Density by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -7576,8 +10672,8 @@

    Configurating operators

    prevents from reading the mesh in the result files

    requested location Nodal, Elemental or ElementalNodal

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    +

    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: magnetic flux density X

    Description

    Read/compute Magnetic Flux Density X component of the vector (1st 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.

    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

    @@ -7641,7 +10737,136 @@

    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: element nodal forces

    Description

    Read/compute element nodal forces 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: element nodal forces

    Description

    Read/compute element nodal forces by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -7655,8 +10880,8 @@

    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.

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    +

    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.

    If this pin is set to true, the output fields container splits the ENF by degree of freedom ("dof" label, 0 for translation, 1 for rotation, 2 for temperature) and derivative order ("derivative_order" label, 0 for stiffness terms, 1 for damping terms and 2 for inertial terms). Default is false.

    Outputs

    Configurations

    Scripting

    result: compute total strain Z

    Description

    Computes the strain from a displacement field. Only SOLID185 (B-Bar, Simplified Enhanced Strain, Enhanced Strain formulations), SOLID186 (Full Integration) & SOLID187 elements are supported. @@ -7677,7 +10902,136 @@

    Configurating operators

    Average the Elemental Nodal result to the requested location.

    Field/or fields container containing only the displacement field (nodal). If none specified, read displacements from result file using the data_sources.

    Outputs

    The computed result fields container (elemental nodal).

    -

    Configurations

    Scripting

    result: structural temperature

    Description

    Read/compute element structural nodal temperatures 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.

    +

    Configurations

    Scripting

    result: structural temperature

    Description

    Read/compute element structural nodal temperatures by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -7687,15 +11041,144 @@

    Configurating operators

    prevents from reading the mesh in the result files

    requested location Nodal, Elemental or ElementalNodal

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    +

    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

    metadata: result info provider

    Description

    Reads the result information, such as available results or unit systems from the results files contained in the streams or data sources.

    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

    filter: band pass (timescoping)

    Description

    The band pass filter returns all the values above (but not equal to) the minimum threshold value and below (but not equal to) the maximum threshold value in input.

    Inputs

    A minimum threshold scalar or a field containing one value is expected.

    A maximum threshold scalar or a field containing one value is expected.

    -

    Outputs

    Configurations

    Scripting

    result: stress ratio

    Description

    Read/compute element nodal stress ratio 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: stress ratio

    Description

    Read/compute element nodal stress ratio by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -7705,12 +11188,141 @@

    Configurating operators

    prevents from reading the mesh in the result files

    requested location Nodal, Elemental or ElementalNodal

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    +

    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

    mesh: skin (tri mesh)

    Description

    Extracts a skin of the mesh in triangles in a new meshed region.

    Inputs

    True: meshing will also take into account shell and skin elements. False: meshing will ignore shell and skin elements. The default is false.

    Nodal scoping to restrict the skin extraction to a set of nodes. If provided, a skin element is added to the skin mesh if all its nodes are in the scoping.

    -

    Outputs

    Configurations

    Scripting

    result: accu eqv plastic strain

    Description

    Read/compute element nodal accumulated equivalent plastic strain 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: accu eqv plastic strain

    Description

    Read/compute element nodal accumulated equivalent plastic strain by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -7720,9 +11332,138 @@

    Configurating operators

    prevents from reading the mesh in the result files

    requested location Nodal, Elemental or ElementalNodal

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    -

    Outputs

    Configurations

    Scripting

    result: plastic state variable

    Description

    Read/compute element nodal plastic state variable 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.

    +

    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 state variable

    Description

    Read/compute element nodal plastic state variable by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -7732,9 +11473,138 @@

    Configurating operators

    prevents from reading the mesh in the result files

    requested location Nodal, Elemental or ElementalNodal

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    -

    Outputs

    Configurations

    Scripting

    result: accu eqv creep strain

    Description

    Read/compute element nodal accumulated equivalent creep strain 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.

    +

    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: accu eqv creep strain

    Description

    Read/compute element nodal accumulated equivalent creep strain by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -7744,9 +11614,138 @@

    Configurating operators

    prevents from reading the mesh in the result files

    requested location Nodal, Elemental or ElementalNodal

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    -

    Outputs

    Configurations

    Scripting

    result: plastic strain energy density

    Description

    Read/compute element nodal plastic strain energy density 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.

    +

    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 energy density

    Description

    Read/compute element nodal plastic strain energy density by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -7756,11 +11755,140 @@

    Configurating operators

    prevents from reading the mesh in the result files

    requested location Nodal, Elemental or ElementalNodal

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    +

    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: material property of element

    Description

    Loads the appropriate operator based on the data sources and retrieves material properties.

    Supported file types

    Inputs

    Outputs

    material properties

    -

    Configurations

    Scripting

    result: creep strain energy density

    Description

    Read/compute element nodal creep strain energy density 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.

    +

    Configurations

    Scripting

    result: creep strain energy density

    Description

    Read/compute element nodal creep strain energy density by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -7770,15 +11898,144 @@

    Configurating operators

    prevents from reading the mesh in the result files

    requested location Nodal, Elemental or ElementalNodal

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    +

    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: erp radiation efficiency

    Description

    Compute the radiation efficiency (enhanced erp divided by classical erp)

    Inputs

    the input field container expects displacements fields

    the meshes region in this pin has to be boundary or skin mesh

    load step number (if it's specified, the ERP is computed only on the substeps of this step) or time scoping

    mass density (if it's not specified, default value of the air is applied).

    speed of sound (if it's not specified, default value of the speed of sound in the air is applied).

    -

    Outputs

    Configurations

    Scripting

    result: elastic strain energy density

    Description

    Read/compute element nodal elastic strain energy density 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: elastic strain energy density

    Description

    Read/compute element nodal elastic strain energy density by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -7788,12 +12045,141 @@

    Configurating operators

    prevents from reading the mesh in the result files

    requested location Nodal, Elemental or ElementalNodal

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    +

    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

    serialization: field to csv

    Description

    Exports a field or a fields container into a csv file

    Inputs

    field_or_fields_container

    storage type : if matrices (without any particularity) are included in the fields container, the storage format can be chosen. 0 : flat/line format, 1 : ranked format. If 1 is chosen, the csv can not be read by "csv to field" operator anymore. Default : 0.

    -

    Outputs

    Configurations

    Scripting

    result: contact status

    Description

    Read/compute element contact status 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: contact status

    Description

    Read/compute element contact status by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -7807,9 +12193,138 @@

    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.

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    -

    Outputs

    Configurations

    Scripting

    result: contact penetration

    Description

    Read/compute element contact penetration 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.

    +

    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: contact penetration

    Description

    Read/compute element contact penetration by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -7823,9 +12338,138 @@

    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.

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    -

    Outputs

    Configurations

    Scripting

    result: contact friction stress

    Description

    Read/compute element contact friction stress 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.

    +

    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: contact friction stress

    Description

    Read/compute element contact friction stress by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -7839,9 +12483,138 @@

    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.

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    -

    Outputs

    Configurations

    Scripting

    result: contact total stress

    Description

    Read/compute element contact total stress (pressure plus friction) 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.

    +

    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: contact total stress

    Description

    Read/compute element contact total stress (pressure plus friction) by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -7855,15 +12628,144 @@

    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.

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    +

    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: global joint internal energy (LSDyna)

    Description

    Read Global Joint Internal Energy (LSDyna) by calling the readers defined by the datasources.

    Supported file types

    Inputs

    result file container allowed to be kept open to cache data

    result file path container, used if no streams are set

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

    Outputs

    Configurations

    Scripting

    utility: merge generic data container

    Description

    Merges a list of generic data container. For each data entry, the merge operation is forwarded to the correct merge Operator. Primitive types cannot be merged, first instance found will be maintained in the result.

    Inputs

    Either a vector of generic data containers (sharing the same data types) or generic data containers from pin 0 to ... to merge. Supported types rely on existing type specific merge operators.

    -

    Outputs

    Configurations

    Scripting

    result: contact sliding distance

    Description

    Read/compute element contact sliding distance 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: contact sliding distance

    Description

    Read/compute element contact sliding distance by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -7877,12 +12779,141 @@

    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.

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    +

    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

    serialization: vtk to fields

    Description

    Write a field based on a vtk file.

    Inputs

    name of the field in the vtk file

    Outputs

    fields_container

    -

    Configurations

    Scripting

    result: contact gap distance

    Description

    Read/compute element contact gap distance 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.

    +

    Configurations

    Scripting

    result: contact gap distance

    Description

    Read/compute element contact gap distance by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -7896,9 +12927,138 @@

    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.

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    -

    Outputs

    Configurations

    Scripting

    result: contact surface heat flux

    Description

    Read/compute element total heat flux at contact surface 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.

    +

    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: contact surface heat flux

    Description

    Read/compute element total heat flux at contact surface by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -7912,8 +13072,8 @@

    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.

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    +

    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: artificial hourglass energy

    Description

    Read/compute artificial hourglass energy 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

    @@ -7950,7 +13110,136 @@

    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

    result: swelling strains

    Description

    Read/compute element nodal swelling strains 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: swelling strains

    Description

    Read/compute element nodal swelling strains by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -7960,8 +13249,8 @@

    Configurating operators

    prevents from reading the mesh in the result files

    requested location Nodal, Elemental or ElementalNodal

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    +

    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: total contact force

    Description

    Read/compute total contact force by calling the readers defined by the datasources.

    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

    @@ -8077,7 +13366,21 @@

    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: joint force reaction

    Description

    Read/compute joint force reaction by calling the readers defined by the datasources.

    +

    Outputs

    Configurations

    Scripting

    invariant: von mises eqv (field)

    Description

    Computes the element-wise Von-Mises criteria on a tensor field.

    +

    Inputs

    field or fields container with only one field is expected

    +

    Poisson ratio to be used in equivalent strain calculation.

    +

    Outputs

    Configurations

    Scripting

    utility: merge fields into field matrix

    Description

    Assembles a set of fields into a field matrix.

    +

    Inputs

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

    +

    Outputs

    Configurations

    Scripting

    result: beam axial plastic strain (LSDyna)

    Description

    Read Beam Axial Plastic strain (LSDyna) 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.

    +

    elements scoping required in output.

    +

    result file container allowed to be kept open to cache data

    +

    result file path container, used if no streams are set

    +

    integration point where the result will be read from. Default value: 0 (first integration point).

    +

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

    +

    Outputs

    Configurations

    Scripting

    invariant: segalman von mises eqv (field)

    Description

    Computes the element-wise Segalman Von-Mises criteria on a tensor field.

    +

    Inputs

    field or fields container with only one field is expected

    +

    Outputs

    Configurations

    Scripting

    result: joint force reaction

    Description

    Read/compute joint force reaction by calling the readers defined by the datasources.

    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

    @@ -8144,7 +13447,136 @@

    Configurating operators

    result file path container, used if no streams are set

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

    Outputs

    Configurations

    Scripting

    serialization: txt to data tree

    Description

    Reads a txt file or string to a DataTree

    -

    Inputs

    Outputs

    Configurations

    Scripting

    result: thermal strains eqv

    Description

    Read/compute element nodal equivalent component thermal strains 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.

    +

    Inputs

    Outputs

    Configurations

    Scripting

    result: thermal strains eqv

    Description

    Read/compute element nodal equivalent component thermal strains by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension

    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

    @@ -8154,8 +13586,8 @@

    Configurating operators

    prevents from reading the mesh in the result files

    requested location Nodal, Elemental or ElementalNodal

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    +

    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: elemental non summable miscellaneous data

    Description

    Read/compute elemental non summable miscellaneous data by calling the readers defined by the datasources. Modal superposition (on demand expansion) and cyclic cxpansion procedures are not supported since results cannot be summed.

    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

    @@ -8170,8 +13602,137 @@

    Configurating operators

    mesh expanded, use if cyclic expansion is to be done.

    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

    result: state variable

    Description

    Read/compute elemental state variable 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.

    +

    Outputs

    Configurations

    Scripting

    result: state variable

    Description

    Read/compute elemental state variable by calling the readers defined by the datasources.

    +
      +
    • The 'requested_location' and 'mesh_scoping' inputs are processed to see if they need scoping transposition or result averaging. The resulting output fields have a 'Nodal', 'ElementalNodal' or 'Elemental' location.
    • +
    • Once the need for averaging has been detected, the behavior of the combined connection of the 'split_shells' and 'shell_layer' pins is:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Averaging is needed'split_shells''shell_layer'Expected output
    NoNot connected/falseNot connectedLocation as in the result file. Fields with all element shapes combined. All shell layers present.
    NotrueNot connectedLocation as in the result file. Fields split according to element shapes. All shell layers present.
    NotrueConnectedLocation as in the result file. Fields split according to element shapes. Only the requested shell layer present.
    NoNot connected/falseConnectedLocation as in the result file. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueNot connectedLocation as requested. Fields split according to element shapes. All shell layers present.
    YesfalseNot connectedLocation as requested. Fields with all element shapes combined. All shell layers present.
    YesfalseConnectedLocation as requested. Fields with all element shapes combined. Only the requested shell layer present.
    YesNot connected/trueConnectedLocation as requested. Fields split according to element shapes. Only the requested shell layer present.
    +
      +
    • The available 'elshape' values are:
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    elshapeRelated elements
    1Shell (generic)
    2Solid
    3Beam
    4Skin
    5Contact
    6Load
    7Point
    8Shell with 1 result across thickness (membrane)
    9Shell with 2 results across thickness (top/bottom)
    10Shell with 3 results across thickness (top/bottom/mid)
    11Gasket
    12Multi-Point Constraint
    13Pretension
    +

    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

    @@ -8181,9 +13742,17 @@

    Configurating operators

    requested location Nodal, Elemental or ElementalNodal

    Index of requested item.

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

    -

    This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.

    -

    If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.

    -

    Outputs

    Configurations

    Scripting

    utility: merge supports

    Description

    Assembles a set of supports into a unique one.

    +

    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: fluid velocity

    Description

    Read/compute FV 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

    +

    Fields container 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). 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

    utility: merge supports

    Description

    Assembles a set of supports into a unique one.

    Inputs

    For some result files (such as RST), the scoping on names selection is duplicated through all the distributed files.If this pin is false, the merging process is skipped. If it is true, this scoping is merged. Default is true.

    A vector of supports to merge or supports from pin 0 to ...

    Outputs

    Configurations

    Scripting

    result: global kinetic energy (LSDyna)

    Description

    Read Global Kinetic Energy (LSDyna) by calling the readers defined by the datasources.

    @@ -8270,21 +13839,7 @@

    Configurating operators

    result file path container, used if no streams are set

    integration point where the result will be read from. Default value: 0 (first integration point).

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

    -

    Outputs

    Configurations

    Scripting

    invariant: von mises eqv (field)

    Description

    Computes the element-wise Von-Mises criteria on a tensor field.

    -

    Inputs

    field or fields container with only one field is expected

    -

    Poisson ratio to be used in equivalent strain calculation.

    -

    Outputs

    Configurations

    Scripting

    utility: merge fields into field matrix

    Description

    Assembles a set of fields into a field matrix.

    -

    Inputs

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

    -

    Outputs

    Configurations

    Scripting

    result: beam axial plastic strain (LSDyna)

    Description

    Read Beam Axial Plastic strain (LSDyna) 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.

    -

    elements scoping required in output.

    -

    result file container allowed to be kept open to cache data

    -

    result file path container, used if no streams are set

    -

    integration point where the result will be read from. Default value: 0 (first integration point).

    -

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

    -

    Outputs

    Configurations

    Scripting

    invariant: segalman von mises eqv (field)

    Description

    Computes the element-wise Segalman Von-Mises criteria on a tensor field.

    -

    Inputs

    field or fields container with only one field is expected

    -

    Outputs

    Configurations

    Scripting

    result: part eroded internal energy (LSDyna)

    Description

    Read Part Eroded Internal Energy (LSDyna) by calling the readers defined by the datasources.

    +

    Outputs

    Configurations

    Scripting

    result: part eroded internal energy (LSDyna)

    Description

    Read Part Eroded Internal Energy (LSDyna) by calling the readers defined by the datasources.

    Supported file types

    Inputs

    result file container allowed to be kept open to cache data

    result file path container, used if no streams are set

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

    @@ -8482,7 +14037,7 @@

    Configurating operators

    Outputs

    Configurations

    Scripting

    utility: for each

    Description

    Allows to write a loop over a chunk of operators.

    Inputs

    Either the result of the make_iterable_info operator, or the operator that must be incremented.

    Outputs

    Configurations

    Scripting

    metadata: boundary condition provider

    Description

    Reads boundary conditions from the results files contained in the streams or data sources.

    -

    Supported file types

    Inputs

    Outputs

    results info

    +

    Supported file types

    Inputs

    Outputs

    results info

    Configurations

    Scripting

    utility: custom type field get attribute

    Description

    A CustomTypeField in pin 0 and a property name (string) in pin 1 are expected in input.

    Inputs

    Accepted inputs are: 'time_freq_support', 'scoping' and 'header'.

    Outputs

    Property value.

    @@ -8562,7 +14117,7 @@

    Configurating operators

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

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

    Configurations

    Scripting

    utility: change shell layers

    Description

    Extract the requested shell layers from the input fields. If the fields contain only one layer and the permissive configuration input is set to true then it returns the input fields. If permissive configuration input is set to false, any change which should not be permitted won't be achieved and the corresponding field in the output will be empty. If permissive configuration input is set to true (default), carefully check the result.

    -

    Inputs

    0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid.

    +

    Inputs

    0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

    Mesh support of the input fields_container, in case it does not have one defined. If the fields_container contains mixed shell/solid results, the mesh is required (either by connecting this pin or in the support).

    For fields with mixed shell layers (solid/shell elements with heterogeneous shell layers), group all of them in the same field (false by default).

    Outputs

    Configurations

    Scripting

    utility: merge meshes

    Description

    Take a set of meshes and assemble them in a unique one

    @@ -8610,7 +14165,7 @@

    Configurating operators

    output's name of the workflow to return

    Outputs

    remote workflow containing an image of the remote workflow and the protocols streams

    Configurations

    Scripting

    utility: clone field to shell layer

    Description

    Generates a Field from the Field in input 0 that has the same FieldDefinition with the exception of the shellLayers enum that is specified in input 1. The DataPointer is recomputed to the appropriate value. The Data of the output Field is 0.0 for all entities. Scoping can be shared or not based on the optional pin 2.

    -

    Inputs

    0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid.

    +

    Inputs

    0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

    If true, a new scoping is computed for the output Field. If false, the input Field scoping is used. Default is false.

    Outputs

    Configurations

    Scripting

    math: compute residual and error

    Description

    Computes the Lp-norm of a field or a field container. When a second entry is provided, the residual (the difference between the first and second entry) is calculated along with the error as the Lp-norm of the difference. @@ -8956,7 +14511,7 @@

    Configurating operators

    Compute mid nodes (when available) by averaging the neighbour primary nodes.

    Extends weights to mid nodes (when available). Default is false.

    For shell/solid mixed fields, group in the same field all solids and shells (false by default). If this pin is true, a shell_layer needs to be specified.

    -

    0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid).

    +

    0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid).

    Outputs

    Gives for each node, the number of times it was found in the Elemental Nodal field. Can be used to average later.

    Configurations

    Scripting

    averaging: elemental to nodal (field)

    Description

    Transforms an Elemental field to a Nodal field. The result is computed on a given node's scoping.

      @@ -8992,10 +14547,10 @@

      Configurating operators

    Outputs

    Configurations

    Scripting

    averaging: to nodal (field)

    Description

    Transforms a field into a Nodal field using an averaging process. The result is computed on a given node's scoping.

    Inputs

    field or fields container with only one field is expected

    For shell/solid mixed fields, group in the same field all solids and shells (false by default). If this pin is true, a shell_layer needs to be specified.

    -

    0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid).

    +

    0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid).

    Outputs

    Configurations

    Scripting

    averaging: to nodal (fields container)

    Description

    Transforms fields into Nodal fields using an averaging process. The result is computed on a given node's scoping.

    Inputs

    For shell/solid mixed fields, group in the same field all solids and shells (false by default). If this pin is true, a shell_layer needs to be specified.

    -

    0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid).

    +

    0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid).

    Outputs

    Configurations

    Scripting

    averaging: elemental mean (field)

    Description

    Computes the average of a multi-entity field, (ElementalNodal -> Elemental), (NodalElemental -> Nodal).

    Inputs

    If true, shell layers are averaged as well (default is false).

    If true you average, if false you just sum.

    @@ -9008,7 +14563,7 @@

    Configurating operators

    Average only on these elements. If it is a scoping container, the label must correspond to the one of the fields containers.

    If true, the data across different shell layers is averaged as well (default is false).

    For shell/solid mixed fields, group in the same field all solids and shells (false by default). If this pin is true and collapse_shell_layers is false, a shell_layer needs to be specified.

    -

    0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid).

    +

    0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid).

    Outputs

    Configurations

    Scripting

    averaging: nodal to elemental nodal (field)

    Description

    Transforms a Nodal field to an ElementalNodal field, The result is computed on a given element's scoping.

    Inputs

    field or fields container with only one field is expected

    If true, the data across different shell layers is averaged as well (default is false).

    diff --git a/src/ansys/dpf/core/operators/averaging/elemental_mean_fc.py b/src/ansys/dpf/core/operators/averaging/elemental_mean_fc.py index 1cc9a3d0e33..9264055e6c8 100644 --- a/src/ansys/dpf/core/operators/averaging/elemental_mean_fc.py +++ b/src/ansys/dpf/core/operators/averaging/elemental_mean_fc.py @@ -41,7 +41,7 @@ class elemental_mean_fc(Operator): merge_solid_shell: bool, optional For shell/solid mixed fields, group in the same field all solids and shells (false by default). This pin only has an effect when collapse_shell_layers is false and a value for e_shell_layer is provided. e_shell_layer: int, optional - 0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. This pin only has an effect when collapse_shell_layers is false. + 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. This pin only has an effect when collapse_shell_layers is false. Returns ------- @@ -170,7 +170,7 @@ def _spec() -> Specification: name="e_shell_layer", type_names=["int32"], optional=True, - document=r"""0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. This pin only has an effect when collapse_shell_layers is false.""", + document=r"""0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. This pin only has an effect when collapse_shell_layers is false.""", ), }, map_output_pin_spec={ @@ -405,7 +405,7 @@ def merge_solid_shell(self) -> Input: def e_shell_layer(self) -> Input: r"""Allows to connect e_shell_layer input to the operator. - 0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. This pin only has an effect when collapse_shell_layers is false. + 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. This pin only has an effect when collapse_shell_layers is false. Returns ------- diff --git a/src/ansys/dpf/core/operators/averaging/elemental_nodal_to_nodal_fc.py b/src/ansys/dpf/core/operators/averaging/elemental_nodal_to_nodal_fc.py index babc7e43a4a..88b9ca416c4 100644 --- a/src/ansys/dpf/core/operators/averaging/elemental_nodal_to_nodal_fc.py +++ b/src/ansys/dpf/core/operators/averaging/elemental_nodal_to_nodal_fc.py @@ -39,7 +39,7 @@ class elemental_nodal_to_nodal_fc(Operator): merge_solid_shell: bool, optional For shell/solid mixed fields, group in the same field all solids and shells (false by default). If this pin is true, a shell_layer needs to be specified. shell_layer: int, optional - 0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid). + 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid). Returns ------- @@ -182,7 +182,7 @@ def _spec() -> Specification: name="shell_layer", type_names=["int32"], optional=True, - document=r"""0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid).""", + document=r"""0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid).""", ), }, map_output_pin_spec={ @@ -458,7 +458,7 @@ def merge_solid_shell(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - 0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid). + 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid). Returns ------- diff --git a/src/ansys/dpf/core/operators/averaging/nodal_to_elemental_fc.py b/src/ansys/dpf/core/operators/averaging/nodal_to_elemental_fc.py index bfe5610613f..9d858a804f1 100644 --- a/src/ansys/dpf/core/operators/averaging/nodal_to_elemental_fc.py +++ b/src/ansys/dpf/core/operators/averaging/nodal_to_elemental_fc.py @@ -35,7 +35,7 @@ class nodal_to_elemental_fc(Operator): merge_solid_shell: bool, optional For shell/solid mixed fields, group in the same field all solids and shells (false by default). If this pin is true and collapse_shell_layers is false, a shell_layer needs to be specified. shell_layer: int, optional - 0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid). + 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid). Returns ------- @@ -148,7 +148,7 @@ def _spec() -> Specification: name="shell_layer", type_names=["int32"], optional=True, - document=r"""0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid).""", + document=r"""0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid).""", ), }, map_output_pin_spec={ @@ -358,7 +358,7 @@ def merge_solid_shell(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - 0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid). + 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid). Returns ------- diff --git a/src/ansys/dpf/core/operators/averaging/to_elemental_fc.py b/src/ansys/dpf/core/operators/averaging/to_elemental_fc.py index f8e54f41d67..fa8762a10e5 100644 --- a/src/ansys/dpf/core/operators/averaging/to_elemental_fc.py +++ b/src/ansys/dpf/core/operators/averaging/to_elemental_fc.py @@ -32,7 +32,7 @@ class to_elemental_fc(Operator): merge_solid_shell: bool, optional For shell/solid mixed fields, group in the same field all solids and shells (false by default). If this pin is true and collapse_shell_layers is false, a shell_layer needs to be specified. shell_layer: int, optional - 0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid). + 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid). Returns ------- @@ -154,7 +154,7 @@ def _spec() -> Specification: name="shell_layer", type_names=["int32"], optional=True, - document=r"""0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid).""", + document=r"""0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid).""", ), }, map_output_pin_spec={ @@ -381,7 +381,7 @@ def merge_solid_shell(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - 0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid). + 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid). Returns ------- diff --git a/src/ansys/dpf/core/operators/averaging/to_nodal.py b/src/ansys/dpf/core/operators/averaging/to_nodal.py index a400db4906a..50eab892e3f 100644 --- a/src/ansys/dpf/core/operators/averaging/to_nodal.py +++ b/src/ansys/dpf/core/operators/averaging/to_nodal.py @@ -28,7 +28,7 @@ class to_nodal(Operator): merge_solid_shell: bool, optional For shell/solid mixed fields, group in the same field all solids and shells (false by default). If this pin is true, a shell_layer needs to be specified. shell_layer: int, optional - 0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid). + 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid). Returns ------- @@ -114,7 +114,7 @@ def _spec() -> Specification: name="shell_layer", type_names=["int32"], optional=True, - document=r"""0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid).""", + document=r"""0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid).""", ), }, map_output_pin_spec={ @@ -266,7 +266,7 @@ def merge_solid_shell(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - 0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid). + 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid). Returns ------- diff --git a/src/ansys/dpf/core/operators/averaging/to_nodal_fc.py b/src/ansys/dpf/core/operators/averaging/to_nodal_fc.py index cc998dd971c..89adf13d1cf 100644 --- a/src/ansys/dpf/core/operators/averaging/to_nodal_fc.py +++ b/src/ansys/dpf/core/operators/averaging/to_nodal_fc.py @@ -28,7 +28,7 @@ class to_nodal_fc(Operator): merge_solid_shell: bool, optional For shell/solid mixed fields, group in the same field all solids and shells (false by default). If this pin is true, a shell_layer needs to be specified. shell_layer: int, optional - 0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid). + 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid). Returns ------- @@ -126,7 +126,7 @@ def _spec() -> Specification: name="shell_layer", type_names=["int32"], optional=True, - document=r"""0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid).""", + document=r"""0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid).""", ), }, map_output_pin_spec={ @@ -299,7 +299,7 @@ def merge_solid_shell(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - 0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid). + 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid). Returns ------- diff --git a/src/ansys/dpf/core/operators/result/__init__.py b/src/ansys/dpf/core/operators/result/__init__.py index a516a72dddd..0c78f968687 100644 --- a/src/ansys/dpf/core/operators/result/__init__.py +++ b/src/ansys/dpf/core/operators/result/__init__.py @@ -125,6 +125,7 @@ from .erp_radiation_efficiency import erp_radiation_efficiency from .euler_load_buckling import euler_load_buckling from .euler_nodes import euler_nodes +from .fluid_velocity import fluid_velocity from .gasket_deformation import gasket_deformation from .gasket_deformation_X import gasket_deformation_X from .gasket_deformation_XY import gasket_deformation_XY diff --git a/src/ansys/dpf/core/operators/result/accu_eqv_creep_strain.py b/src/ansys/dpf/core/operators/result/accu_eqv_creep_strain.py index 15d4208ce9c..5c149930a9a 100644 --- a/src/ansys/dpf/core/operators/result/accu_eqv_creep_strain.py +++ b/src/ansys/dpf/core/operators/result/accu_eqv_creep_strain.py @@ -17,9 +17,119 @@ class accu_eqv_creep_strain(Operator): r"""Read/compute element nodal accumulated equivalent creep strain 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. + calling the readers defined by the datasources. - The + ‘requested_location’ and ‘mesh_scoping’ inputs are processed to see if + they need scoping transposition or result averaging. The resulting + output fields have a ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. + - Once the need for averaging has been detected, the behavior of the + combined connection of the ‘split_shells’ and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -43,9 +153,9 @@ class accu_eqv_creep_strain(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -146,9 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element nodal accumulated equivalent creep strain 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. +calling the readers defined by the datasources. - The +‘requested_location’ and ‘mesh_scoping’ inputs are processed to see if +they need scoping transposition or result averaging. The resulting +output fields have a ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. +- Once the need for averaging has been detected, the behavior of the +combined connection of the ‘split_shells’ and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -218,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -552,7 +772,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -573,7 +793,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/accu_eqv_plastic_strain.py b/src/ansys/dpf/core/operators/result/accu_eqv_plastic_strain.py index 7c06010ca8e..fd47ac6fbb6 100644 --- a/src/ansys/dpf/core/operators/result/accu_eqv_plastic_strain.py +++ b/src/ansys/dpf/core/operators/result/accu_eqv_plastic_strain.py @@ -17,9 +17,119 @@ class accu_eqv_plastic_strain(Operator): r"""Read/compute element nodal accumulated equivalent plastic strain 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. + calling the readers defined by the datasources. - The + ‘requested_location’ and ‘mesh_scoping’ inputs are processed to see if + they need scoping transposition or result averaging. The resulting + output fields have a ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. + - Once the need for averaging has been detected, the behavior of the + combined connection of the ‘split_shells’ and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -43,9 +153,9 @@ class accu_eqv_plastic_strain(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -146,9 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element nodal accumulated equivalent plastic strain 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. +calling the readers defined by the datasources. - The +‘requested_location’ and ‘mesh_scoping’ inputs are processed to see if +they need scoping transposition or result averaging. The resulting +output fields have a ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. +- Once the need for averaging has been detected, the behavior of the +combined connection of the ‘split_shells’ and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -218,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -552,7 +772,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -573,7 +793,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/contact_fluid_penetration_pressure.py b/src/ansys/dpf/core/operators/result/contact_fluid_penetration_pressure.py index 4f138e13550..41bdf9854da 100644 --- a/src/ansys/dpf/core/operators/result/contact_fluid_penetration_pressure.py +++ b/src/ansys/dpf/core/operators/result/contact_fluid_penetration_pressure.py @@ -17,9 +17,119 @@ class contact_fluid_penetration_pressure(Operator): r"""Read/compute element actual applied fluid penetration pressure 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. + calling the readers defined by the datasources. - The + ‘requested_location’ and ‘mesh_scoping’ inputs are processed to see if + they need scoping transposition or result averaging. The resulting + output fields have a ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. + - Once the need for averaging has been detected, the behavior of the + combined connection of the ‘split_shells’ and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -51,9 +161,9 @@ class contact_fluid_penetration_pressure(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -178,9 +288,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element actual applied fluid penetration pressure 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. +calling the readers defined by the datasources. - The +‘requested_location’ and ‘mesh_scoping’ inputs are processed to see if +they need scoping transposition or result averaging. The resulting +output fields have a ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. +- Once the need for averaging has been detected, the behavior of the +combined connection of the ‘split_shells’ and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -274,13 +494,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -718,7 +938,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -739,7 +959,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/contact_friction_stress.py b/src/ansys/dpf/core/operators/result/contact_friction_stress.py index 13ccc97bcfd..62e5b817223 100644 --- a/src/ansys/dpf/core/operators/result/contact_friction_stress.py +++ b/src/ansys/dpf/core/operators/result/contact_friction_stress.py @@ -17,9 +17,119 @@ class contact_friction_stress(Operator): r"""Read/compute element contact friction stress 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. + defined by the datasources. - The ‘requested_location’ and + ‘mesh_scoping’ inputs are processed to see if they need scoping + transposition or result averaging. The resulting output fields have a + ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for + averaging has been detected, the behavior of the combined connection of + the ‘split_shells’ and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -51,9 +161,9 @@ class contact_friction_stress(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -178,9 +288,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element contact friction stress 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. +defined by the datasources. - The ‘requested_location’ and +‘mesh_scoping’ inputs are processed to see if they need scoping +transposition or result averaging. The resulting output fields have a +‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for +averaging has been detected, the behavior of the combined connection of +the ‘split_shells’ and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -274,13 +494,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -714,7 +934,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -735,7 +955,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/contact_gap_distance.py b/src/ansys/dpf/core/operators/result/contact_gap_distance.py index 4d4c66f3b8d..baba8952b9a 100644 --- a/src/ansys/dpf/core/operators/result/contact_gap_distance.py +++ b/src/ansys/dpf/core/operators/result/contact_gap_distance.py @@ -17,8 +17,119 @@ class contact_gap_distance(Operator): r"""Read/compute element contact gap distance 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. + by the datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs + are processed to see if they need scoping transposition or result + averaging. The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ + or ‘Elemental’ location. - Once the need for averaging has been + detected, the behavior of the combined connection of the ‘split_shells’ + and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -50,9 +161,9 @@ class contact_gap_distance(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -177,8 +288,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element contact gap distance 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. +by the datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs +are processed to see if they need scoping transposition or result +averaging. The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ +or ‘Elemental’ location. - Once the need for averaging has been +detected, the behavior of the combined connection of the ‘split_shells’ +and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -272,13 +494,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -704,7 +926,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -725,7 +947,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/contact_penetration.py b/src/ansys/dpf/core/operators/result/contact_penetration.py index 6e6321dcf6e..ab4c2cb4d52 100644 --- a/src/ansys/dpf/core/operators/result/contact_penetration.py +++ b/src/ansys/dpf/core/operators/result/contact_penetration.py @@ -17,8 +17,119 @@ class contact_penetration(Operator): r"""Read/compute element contact penetration 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. + by the datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs + are processed to see if they need scoping transposition or result + averaging. The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ + or ‘Elemental’ location. - Once the need for averaging has been + detected, the behavior of the combined connection of the ‘split_shells’ + and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -50,9 +161,9 @@ class contact_penetration(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -177,8 +288,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element contact penetration 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. +by the datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs +are processed to see if they need scoping transposition or result +averaging. The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ +or ‘Elemental’ location. - Once the need for averaging has been +detected, the behavior of the combined connection of the ‘split_shells’ +and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -272,13 +494,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -700,7 +922,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -721,7 +943,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/contact_pressure.py b/src/ansys/dpf/core/operators/result/contact_pressure.py index 44ec2fad460..fd06c47ceaf 100644 --- a/src/ansys/dpf/core/operators/result/contact_pressure.py +++ b/src/ansys/dpf/core/operators/result/contact_pressure.py @@ -17,8 +17,119 @@ class contact_pressure(Operator): r"""Read/compute element contact pressure 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. + the datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs + are processed to see if they need scoping transposition or result + averaging. The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ + or ‘Elemental’ location. - Once the need for averaging has been + detected, the behavior of the combined connection of the ‘split_shells’ + and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -50,9 +161,9 @@ class contact_pressure(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -177,8 +288,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element contact pressure 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. +the datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs +are processed to see if they need scoping transposition or result +averaging. The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ +or ‘Elemental’ location. - Once the need for averaging has been +detected, the behavior of the combined connection of the ‘split_shells’ +and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -272,13 +494,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -696,7 +918,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -717,7 +939,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/contact_sliding_distance.py b/src/ansys/dpf/core/operators/result/contact_sliding_distance.py index 86254a79ee9..cd6049d46e3 100644 --- a/src/ansys/dpf/core/operators/result/contact_sliding_distance.py +++ b/src/ansys/dpf/core/operators/result/contact_sliding_distance.py @@ -17,9 +17,119 @@ class contact_sliding_distance(Operator): r"""Read/compute element contact sliding distance 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. + defined by the datasources. - The ‘requested_location’ and + ‘mesh_scoping’ inputs are processed to see if they need scoping + transposition or result averaging. The resulting output fields have a + ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for + averaging has been detected, the behavior of the combined connection of + the ‘split_shells’ and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -51,9 +161,9 @@ class contact_sliding_distance(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -178,9 +288,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element contact sliding distance 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. +defined by the datasources. - The ‘requested_location’ and +‘mesh_scoping’ inputs are processed to see if they need scoping +transposition or result averaging. The resulting output fields have a +‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for +averaging has been detected, the behavior of the combined connection of +the ‘split_shells’ and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -274,13 +494,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -714,7 +934,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -735,7 +955,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/contact_status.py b/src/ansys/dpf/core/operators/result/contact_status.py index 3bf3e116ab3..6f3ac0b807a 100644 --- a/src/ansys/dpf/core/operators/result/contact_status.py +++ b/src/ansys/dpf/core/operators/result/contact_status.py @@ -17,8 +17,119 @@ class contact_status(Operator): r"""Read/compute element contact status 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. + the datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs + are processed to see if they need scoping transposition or result + averaging. The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ + or ‘Elemental’ location. - Once the need for averaging has been + detected, the behavior of the combined connection of the ‘split_shells’ + and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -50,9 +161,9 @@ class contact_status(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -177,8 +288,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element contact status 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. +the datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs +are processed to see if they need scoping transposition or result +averaging. The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ +or ‘Elemental’ location. - Once the need for averaging has been +detected, the behavior of the combined connection of the ‘split_shells’ +and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -272,13 +494,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -692,7 +914,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -713,7 +935,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/contact_surface_heat_flux.py b/src/ansys/dpf/core/operators/result/contact_surface_heat_flux.py index fd66d5cd00b..88e5b0f1b66 100644 --- a/src/ansys/dpf/core/operators/result/contact_surface_heat_flux.py +++ b/src/ansys/dpf/core/operators/result/contact_surface_heat_flux.py @@ -17,9 +17,119 @@ class contact_surface_heat_flux(Operator): r"""Read/compute element total heat flux at contact surface 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. + readers defined by the datasources. - The ‘requested_location’ and + ‘mesh_scoping’ inputs are processed to see if they need scoping + transposition or result averaging. The resulting output fields have a + ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for + averaging has been detected, the behavior of the combined connection of + the ‘split_shells’ and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -51,9 +161,9 @@ class contact_surface_heat_flux(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -178,9 +288,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element total heat flux at contact surface 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. +readers defined by the datasources. - The ‘requested_location’ and +‘mesh_scoping’ inputs are processed to see if they need scoping +transposition or result averaging. The resulting output fields have a +‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for +averaging has been detected, the behavior of the combined connection of +the ‘split_shells’ and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -274,13 +494,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -714,7 +934,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -735,7 +955,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/contact_total_stress.py b/src/ansys/dpf/core/operators/result/contact_total_stress.py index c9c9c5f8ee4..fc587ac3607 100644 --- a/src/ansys/dpf/core/operators/result/contact_total_stress.py +++ b/src/ansys/dpf/core/operators/result/contact_total_stress.py @@ -17,9 +17,119 @@ class contact_total_stress(Operator): r"""Read/compute element contact total stress (pressure plus friction) 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. + calling the readers defined by the datasources. - The + ‘requested_location’ and ‘mesh_scoping’ inputs are processed to see if + they need scoping transposition or result averaging. The resulting + output fields have a ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. + - Once the need for averaging has been detected, the behavior of the + combined connection of the ‘split_shells’ and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -51,9 +161,9 @@ class contact_total_stress(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -178,9 +288,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element contact total stress (pressure plus friction) 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. +calling the readers defined by the datasources. - The +‘requested_location’ and ‘mesh_scoping’ inputs are processed to see if +they need scoping transposition or result averaging. The resulting +output fields have a ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. +- Once the need for averaging has been detected, the behavior of the +combined connection of the ‘split_shells’ and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -274,13 +494,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -706,7 +926,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -727,7 +947,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/creep_strain.py b/src/ansys/dpf/core/operators/result/creep_strain.py index cf437119b17..03eba292c96 100644 --- a/src/ansys/dpf/core/operators/result/creep_strain.py +++ b/src/ansys/dpf/core/operators/result/creep_strain.py @@ -17,9 +17,119 @@ class creep_strain(Operator): r"""Read/compute element nodal component creep strains 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. + readers defined by the datasources. - The ‘requested_location’ and + ‘mesh_scoping’ inputs are processed to see if they need scoping + transposition or result averaging. The resulting output fields have a + ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for + averaging has been detected, the behavior of the combined connection of + the ‘split_shells’ and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -43,9 +153,9 @@ class creep_strain(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -146,9 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element nodal component creep strains 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. +readers defined by the datasources. - The ‘requested_location’ and +‘mesh_scoping’ inputs are processed to see if they need scoping +transposition or result averaging. The resulting output fields have a +‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for +averaging has been detected, the behavior of the combined connection of +the ‘split_shells’ and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -218,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -534,7 +754,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -555,7 +775,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/creep_strain_energy_density.py b/src/ansys/dpf/core/operators/result/creep_strain_energy_density.py index 4efbb91040b..5b033dff657 100644 --- a/src/ansys/dpf/core/operators/result/creep_strain_energy_density.py +++ b/src/ansys/dpf/core/operators/result/creep_strain_energy_density.py @@ -17,9 +17,119 @@ class creep_strain_energy_density(Operator): r"""Read/compute element nodal creep strain energy density 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. + readers defined by the datasources. - The ‘requested_location’ and + ‘mesh_scoping’ inputs are processed to see if they need scoping + transposition or result averaging. The resulting output fields have a + ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for + averaging has been detected, the behavior of the combined connection of + the ‘split_shells’ and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -43,9 +153,9 @@ class creep_strain_energy_density(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -146,9 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element nodal creep strain energy density 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. +readers defined by the datasources. - The ‘requested_location’ and +‘mesh_scoping’ inputs are processed to see if they need scoping +transposition or result averaging. The resulting output fields have a +‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for +averaging has been detected, the behavior of the combined connection of +the ‘split_shells’ and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -218,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -552,7 +772,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -573,7 +793,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/creep_strain_eqv.py b/src/ansys/dpf/core/operators/result/creep_strain_eqv.py index 112a514ce87..1eb4e411c5d 100644 --- a/src/ansys/dpf/core/operators/result/creep_strain_eqv.py +++ b/src/ansys/dpf/core/operators/result/creep_strain_eqv.py @@ -17,9 +17,119 @@ class creep_strain_eqv(Operator): r"""Read/compute element nodal equivalent component creep strains 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. + the readers defined by the datasources. - The ‘requested_location’ and + ‘mesh_scoping’ inputs are processed to see if they need scoping + transposition or result averaging. The resulting output fields have a + ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for + averaging has been detected, the behavior of the combined connection of + the ‘split_shells’ and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -43,9 +153,9 @@ class creep_strain_eqv(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -146,9 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element nodal equivalent component creep strains 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. +the readers defined by the datasources. - The ‘requested_location’ and +‘mesh_scoping’ inputs are processed to see if they need scoping +transposition or result averaging. The resulting output fields have a +‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for +averaging has been detected, the behavior of the combined connection of +the ‘split_shells’ and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -218,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -538,7 +758,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -559,7 +779,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/elastic_strain.py b/src/ansys/dpf/core/operators/result/elastic_strain.py index 099d071f053..70c728bc119 100644 --- a/src/ansys/dpf/core/operators/result/elastic_strain.py +++ b/src/ansys/dpf/core/operators/result/elastic_strain.py @@ -17,9 +17,119 @@ class elastic_strain(Operator): r"""Read/compute element nodal component elastic strains 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. + readers defined by the datasources. - The ‘requested_location’ and + ‘mesh_scoping’ inputs are processed to see if they need scoping + transposition or result averaging. The resulting output fields have a + ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for + averaging has been detected, the behavior of the combined connection of + the ‘split_shells’ and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -51,9 +161,9 @@ class elastic_strain(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -178,9 +288,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element nodal component elastic strains 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. +readers defined by the datasources. - The ‘requested_location’ and +‘mesh_scoping’ inputs are processed to see if they need scoping +transposition or result averaging. The resulting output fields have a +‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for +averaging has been detected, the behavior of the combined connection of +the ‘split_shells’ and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -274,13 +494,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -694,7 +914,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -715,7 +935,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/elastic_strain_energy_density.py b/src/ansys/dpf/core/operators/result/elastic_strain_energy_density.py index 957c3fb3951..cb3bad4c22e 100644 --- a/src/ansys/dpf/core/operators/result/elastic_strain_energy_density.py +++ b/src/ansys/dpf/core/operators/result/elastic_strain_energy_density.py @@ -17,9 +17,119 @@ class elastic_strain_energy_density(Operator): r"""Read/compute element nodal elastic strain energy density 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. + readers defined by the datasources. - The ‘requested_location’ and + ‘mesh_scoping’ inputs are processed to see if they need scoping + transposition or result averaging. The resulting output fields have a + ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for + averaging has been detected, the behavior of the combined connection of + the ‘split_shells’ and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -43,9 +153,9 @@ class elastic_strain_energy_density(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -146,9 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element nodal elastic strain energy density 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. +readers defined by the datasources. - The ‘requested_location’ and +‘mesh_scoping’ inputs are processed to see if they need scoping +transposition or result averaging. The resulting output fields have a +‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for +averaging has been detected, the behavior of the combined connection of +the ‘split_shells’ and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -218,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -554,7 +774,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -575,7 +795,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/elastic_strain_eqv.py b/src/ansys/dpf/core/operators/result/elastic_strain_eqv.py index 78a327768af..9801ec3a336 100644 --- a/src/ansys/dpf/core/operators/result/elastic_strain_eqv.py +++ b/src/ansys/dpf/core/operators/result/elastic_strain_eqv.py @@ -17,9 +17,119 @@ class elastic_strain_eqv(Operator): r"""Read/compute element nodal equivalent elastic strain 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. + readers defined by the datasources. - The ‘requested_location’ and + ‘mesh_scoping’ inputs are processed to see if they need scoping + transposition or result averaging. The resulting output fields have a + ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for + averaging has been detected, the behavior of the combined connection of + the ‘split_shells’ and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -43,9 +153,9 @@ class elastic_strain_eqv(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -146,9 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element nodal equivalent elastic strain 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. +readers defined by the datasources. - The ‘requested_location’ and +‘mesh_scoping’ inputs are processed to see if they need scoping +transposition or result averaging. The resulting output fields have a +‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for +averaging has been detected, the behavior of the combined connection of +the ‘split_shells’ and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -218,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -540,7 +760,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -561,7 +781,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/electric_field.py b/src/ansys/dpf/core/operators/result/electric_field.py index 996ea2833d5..c9be72782b1 100644 --- a/src/ansys/dpf/core/operators/result/electric_field.py +++ b/src/ansys/dpf/core/operators/result/electric_field.py @@ -17,8 +17,119 @@ class electric_field(Operator): r"""Read/compute electric field 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. + datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs are + processed to see if they need scoping transposition or result averaging. + The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ or + ‘Elemental’ location. - Once the need for averaging has been detected, + the behavior of the combined connection of the ‘split_shells’ and + ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -42,9 +153,9 @@ class electric_field(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -145,8 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute electric field 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. +datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs are +processed to see if they need scoping transposition or result averaging. +The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ or +‘Elemental’ location. - Once the need for averaging has been detected, +the behavior of the combined connection of the ‘split_shells’ and +‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -216,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -532,7 +754,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -553,7 +775,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/electric_flux_density.py b/src/ansys/dpf/core/operators/result/electric_flux_density.py index 1dc4845c6ca..c292fa9e524 100644 --- a/src/ansys/dpf/core/operators/result/electric_flux_density.py +++ b/src/ansys/dpf/core/operators/result/electric_flux_density.py @@ -17,8 +17,119 @@ class electric_flux_density(Operator): r"""Read/compute Electric flux density 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. + datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs are + processed to see if they need scoping transposition or result averaging. + The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ or + ‘Elemental’ location. - Once the need for averaging has been detected, + the behavior of the combined connection of the ‘split_shells’ and + ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -42,9 +153,9 @@ class electric_flux_density(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -145,8 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute Electric flux density 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. +datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs are +processed to see if they need scoping transposition or result averaging. +The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ or +‘Elemental’ location. - Once the need for averaging has been detected, +the behavior of the combined connection of the ‘split_shells’ and +‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -216,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -550,7 +772,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -571,7 +793,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/element_nodal_forces.py b/src/ansys/dpf/core/operators/result/element_nodal_forces.py index 5fbdf680eff..0a3bcec2a37 100644 --- a/src/ansys/dpf/core/operators/result/element_nodal_forces.py +++ b/src/ansys/dpf/core/operators/result/element_nodal_forces.py @@ -17,8 +17,119 @@ class element_nodal_forces(Operator): r"""Read/compute element nodal forces 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. + datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs are + processed to see if they need scoping transposition or result averaging. + The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ or + ‘Elemental’ location. - Once the need for averaging has been detected, + the behavior of the combined connection of the ‘split_shells’ and + ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -50,9 +161,9 @@ class element_nodal_forces(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. split_force_components: bool, optional If this pin is set to true, the output fields container splits the ENF by degree of freedom ("dof" label, 0 for translation, 1 for rotation, 2 for temperature) and derivative order ("derivative_order" label, 0 for stiffness terms, 1 for damping terms and 2 for inertial terms). Default is false. @@ -185,8 +296,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element nodal forces 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. +datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs are +processed to see if they need scoping transposition or result averaging. +The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ or +‘Elemental’ location. - Once the need for averaging has been detected, +the behavior of the combined connection of the ‘split_shells’ and +‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -280,13 +502,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), 200: PinSpecification( name="split_force_components", @@ -724,7 +946,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -745,7 +967,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/element_orientations.py b/src/ansys/dpf/core/operators/result/element_orientations.py index 21fdce94580..772d2d05c77 100644 --- a/src/ansys/dpf/core/operators/result/element_orientations.py +++ b/src/ansys/dpf/core/operators/result/element_orientations.py @@ -17,8 +17,119 @@ class element_orientations(Operator): r"""Read/compute element euler angles 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. + datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs are + processed to see if they need scoping transposition or result averaging. + The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ or + ‘Elemental’ location. - Once the need for averaging has been detected, + the behavior of the combined connection of the ‘split_shells’ and + ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -42,9 +153,9 @@ class element_orientations(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -145,8 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element euler angles 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. +datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs are +processed to see if they need scoping transposition or result averaging. +The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ or +‘Elemental’ location. - Once the need for averaging has been detected, +the behavior of the combined connection of the ‘split_shells’ and +‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -216,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -542,7 +764,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -563,7 +785,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/eqv_stress_parameter.py b/src/ansys/dpf/core/operators/result/eqv_stress_parameter.py index 0096286d4de..5d6873fa82b 100644 --- a/src/ansys/dpf/core/operators/result/eqv_stress_parameter.py +++ b/src/ansys/dpf/core/operators/result/eqv_stress_parameter.py @@ -17,9 +17,119 @@ class eqv_stress_parameter(Operator): r"""Read/compute element nodal equivalent stress parameter 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. + readers defined by the datasources. - The ‘requested_location’ and + ‘mesh_scoping’ inputs are processed to see if they need scoping + transposition or result averaging. The resulting output fields have a + ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for + averaging has been detected, the behavior of the combined connection of + the ‘split_shells’ and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -43,9 +153,9 @@ class eqv_stress_parameter(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -146,9 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element nodal equivalent stress parameter 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. +readers defined by the datasources. - The ‘requested_location’ and +‘mesh_scoping’ inputs are processed to see if they need scoping +transposition or result averaging. The resulting output fields have a +‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for +averaging has been detected, the behavior of the combined connection of +the ‘split_shells’ and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -218,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -544,7 +764,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -565,7 +785,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/fluid_velocity.py b/src/ansys/dpf/core/operators/result/fluid_velocity.py new file mode 100644 index 00000000000..006584540cf --- /dev/null +++ b/src/ansys/dpf/core/operators/result/fluid_velocity.py @@ -0,0 +1,447 @@ +""" +fluid_velocity + +Autogenerated DPF operator classes. +""" + +from __future__ import annotations + +from warnings import warn +from ansys.dpf.core.dpf_operator import Operator +from ansys.dpf.core.inputs import Input, _Inputs +from ansys.dpf.core.outputs import Output, _Outputs +from ansys.dpf.core.operators.specification import PinSpecification, Specification +from ansys.dpf.core.config import Config +from ansys.dpf.core.server_types import AnyServerType + + +class fluid_velocity(Operator): + r"""Read/compute FV by calling the readers defined by the datasources. + + + Parameters + ---------- + time_scoping: Scoping or int or float or Field, optional + 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. + mesh_scoping: ScopingsContainer or Scoping, optional + 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: FieldsContainer, optional + Fields container already allocated modified inplace + streams_container: StreamsContainer, optional + result file container allowed to be kept open to cache data + data_sources: DataSources + result file path container, used if no streams are set + bool_rotate_to_global: bool, optional + if true the field is rotated to global coordinate system (default true). Please check your results carefully if 'false' is used for Elemental or ElementalNodal results averaged to the Nodes when adjacent elements do not share the same coordinate system, as results may be incorrect. + mesh: MeshedRegion or MeshesContainer, optional + prevents from reading the mesh in the result files + + Returns + ------- + fields_container: FieldsContainer + + Examples + -------- + >>> from ansys.dpf import core as dpf + + >>> # Instantiate operator + >>> op = dpf.operators.result.fluid_velocity() + + >>> # Make input connections + >>> my_time_scoping = dpf.Scoping() + >>> op.inputs.time_scoping.connect(my_time_scoping) + >>> my_mesh_scoping = dpf.ScopingsContainer() + >>> op.inputs.mesh_scoping.connect(my_mesh_scoping) + >>> my_fields_container = dpf.FieldsContainer() + >>> op.inputs.fields_container.connect(my_fields_container) + >>> my_streams_container = dpf.StreamsContainer() + >>> op.inputs.streams_container.connect(my_streams_container) + >>> my_data_sources = dpf.DataSources() + >>> op.inputs.data_sources.connect(my_data_sources) + >>> my_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) + + >>> # Instantiate operator and connect inputs in one line + >>> op = dpf.operators.result.fluid_velocity( + ... time_scoping=my_time_scoping, + ... mesh_scoping=my_mesh_scoping, + ... 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, + ... ) + + >>> # Get output data + >>> result_fields_container = op.outputs.fields_container() + """ + + def __init__( + self, + time_scoping=None, + mesh_scoping=None, + fields_container=None, + streams_container=None, + data_sources=None, + bool_rotate_to_global=None, + mesh=None, + config=None, + server=None, + ): + super().__init__(name="FV", config=config, server=server) + self._inputs = InputsFluidVelocity(self) + self._outputs = OutputsFluidVelocity(self) + if time_scoping is not None: + self.inputs.time_scoping.connect(time_scoping) + if mesh_scoping is not None: + self.inputs.mesh_scoping.connect(mesh_scoping) + if fields_container is not None: + self.inputs.fields_container.connect(fields_container) + if streams_container is not None: + 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) + + @staticmethod + def _spec() -> Specification: + description = r"""Read/compute FV by calling the readers defined by the datasources. +""" + spec = Specification( + description=description, + map_input_pin_spec={ + 0: PinSpecification( + name="time_scoping", + type_names=[ + "scoping", + "int32", + "vector", + "double", + "field", + "vector", + ], + optional=True, + document=r"""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.""", + ), + 1: PinSpecification( + name="mesh_scoping", + type_names=["scopings_container", "scoping"], + optional=True, + document=r"""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""", + ), + 2: PinSpecification( + name="fields_container", + type_names=["fields_container"], + optional=True, + document=r"""Fields container already allocated modified inplace""", + ), + 3: PinSpecification( + name="streams_container", + type_names=["streams_container"], + optional=True, + document=r"""result file container allowed to be kept open to cache data""", + ), + 4: PinSpecification( + name="data_sources", + type_names=["data_sources"], + optional=False, + document=r"""result file path container, used if no streams are set""", + ), + 5: PinSpecification( + name="bool_rotate_to_global", + type_names=["bool"], + optional=True, + document=r"""if true the field is rotated to global coordinate system (default true). Please check your results carefully if 'false' is used for Elemental or ElementalNodal results averaged to the Nodes when adjacent elements do not share the same coordinate system, as results may be incorrect.""", + ), + 7: PinSpecification( + name="mesh", + type_names=["abstract_meshed_region", "meshes_container"], + optional=True, + document=r"""prevents from reading the mesh in the result files""", + ), + }, + map_output_pin_spec={ + 0: PinSpecification( + name="fields_container", + type_names=["fields_container"], + optional=False, + document=r"""""", + ), + }, + ) + return spec + + @staticmethod + def default_config(server: AnyServerType = None) -> Config: + """Returns the default config of the operator. + + This config can then be changed to the user needs and be used to + instantiate the operator. The Configuration allows to customize + how the operation will be processed by the operator. + + Parameters + ---------- + server: + Server with channel connected to the remote or local instance. When + ``None``, attempts to use the global server. + + Returns + ------- + config: + A new Config instance equivalent to the default config for this operator. + """ + return Operator.default_config(name="FV", server=server) + + @property + def inputs(self) -> InputsFluidVelocity: + """Enables to connect inputs to the operator + + Returns + -------- + inputs: + An instance of InputsFluidVelocity. + """ + return super().inputs + + @property + def outputs(self) -> OutputsFluidVelocity: + """Enables to get outputs of the operator by evaluating it + + Returns + -------- + outputs: + An instance of OutputsFluidVelocity. + """ + return super().outputs + + +class InputsFluidVelocity(_Inputs): + """Intermediate class used to connect user inputs to + fluid_velocity operator. + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.fluid_velocity() + >>> my_time_scoping = dpf.Scoping() + >>> op.inputs.time_scoping.connect(my_time_scoping) + >>> my_mesh_scoping = dpf.ScopingsContainer() + >>> op.inputs.mesh_scoping.connect(my_mesh_scoping) + >>> my_fields_container = dpf.FieldsContainer() + >>> op.inputs.fields_container.connect(my_fields_container) + >>> my_streams_container = dpf.StreamsContainer() + >>> op.inputs.streams_container.connect(my_streams_container) + >>> my_data_sources = dpf.DataSources() + >>> op.inputs.data_sources.connect(my_data_sources) + >>> my_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) + """ + + def __init__(self, op: Operator): + super().__init__(fluid_velocity._spec().inputs, op) + self._time_scoping = Input(fluid_velocity._spec().input_pin(0), 0, op, -1) + self._inputs.append(self._time_scoping) + self._mesh_scoping = Input(fluid_velocity._spec().input_pin(1), 1, op, -1) + self._inputs.append(self._mesh_scoping) + self._fields_container = Input(fluid_velocity._spec().input_pin(2), 2, op, -1) + self._inputs.append(self._fields_container) + self._streams_container = Input(fluid_velocity._spec().input_pin(3), 3, op, -1) + self._inputs.append(self._streams_container) + self._data_sources = Input(fluid_velocity._spec().input_pin(4), 4, op, -1) + self._inputs.append(self._data_sources) + self._bool_rotate_to_global = Input( + fluid_velocity._spec().input_pin(5), 5, op, -1 + ) + self._inputs.append(self._bool_rotate_to_global) + self._mesh = Input(fluid_velocity._spec().input_pin(7), 7, op, -1) + self._inputs.append(self._mesh) + + @property + def time_scoping(self) -> Input: + r"""Allows to connect time_scoping input to the operator. + + 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. + + Returns + ------- + input: + An Input instance for this pin. + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.fluid_velocity() + >>> op.inputs.time_scoping.connect(my_time_scoping) + >>> # or + >>> op.inputs.time_scoping(my_time_scoping) + """ + return self._time_scoping + + @property + def mesh_scoping(self) -> Input: + r"""Allows to connect mesh_scoping input to the operator. + + 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 + + Returns + ------- + input: + An Input instance for this pin. + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.fluid_velocity() + >>> op.inputs.mesh_scoping.connect(my_mesh_scoping) + >>> # or + >>> op.inputs.mesh_scoping(my_mesh_scoping) + """ + return self._mesh_scoping + + @property + def fields_container(self) -> Input: + r"""Allows to connect fields_container input to the operator. + + Fields container already allocated modified inplace + + Returns + ------- + input: + An Input instance for this pin. + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.fluid_velocity() + >>> op.inputs.fields_container.connect(my_fields_container) + >>> # or + >>> op.inputs.fields_container(my_fields_container) + """ + return self._fields_container + + @property + def streams_container(self) -> Input: + r"""Allows to connect streams_container input to the operator. + + result file container allowed to be kept open to cache data + + Returns + ------- + input: + An Input instance for this pin. + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.fluid_velocity() + >>> op.inputs.streams_container.connect(my_streams_container) + >>> # or + >>> op.inputs.streams_container(my_streams_container) + """ + return self._streams_container + + @property + def data_sources(self) -> Input: + r"""Allows to connect data_sources input to the operator. + + result file path container, used if no streams are set + + Returns + ------- + input: + An Input instance for this pin. + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.fluid_velocity() + >>> op.inputs.data_sources.connect(my_data_sources) + >>> # or + >>> op.inputs.data_sources(my_data_sources) + """ + return self._data_sources + + @property + def bool_rotate_to_global(self) -> Input: + r"""Allows to connect bool_rotate_to_global input to the operator. + + if true the field is rotated to global coordinate system (default true). Please check your results carefully if 'false' is used for Elemental or ElementalNodal results averaged to the Nodes when adjacent elements do not share the same coordinate system, as results may be incorrect. + + Returns + ------- + input: + An Input instance for this pin. + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.fluid_velocity() + >>> 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. + + prevents from reading the mesh in the result files + + Returns + ------- + input: + An Input instance for this pin. + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.fluid_velocity() + >>> op.inputs.mesh.connect(my_mesh) + >>> # or + >>> op.inputs.mesh(my_mesh) + """ + return self._mesh + + +class OutputsFluidVelocity(_Outputs): + """Intermediate class used to get outputs from + fluid_velocity operator. + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.fluid_velocity() + >>> # Connect inputs : op.inputs. ... + >>> result_fields_container = op.outputs.fields_container() + """ + + def __init__(self, op: Operator): + super().__init__(fluid_velocity._spec().outputs, op) + self._fields_container = Output(fluid_velocity._spec().output_pin(0), 0, op) + self._outputs.append(self._fields_container) + + @property + def fields_container(self) -> Output: + r"""Allows to get fields_container output of the operator + + Returns + ------- + output: + An Output instance for this pin. + + Examples + -------- + >>> from ansys.dpf import core as dpf + >>> op = dpf.operators.result.fluid_velocity() + >>> # Get the output from op.outputs. ... + >>> result_fields_container = op.outputs.fields_container() + """ + return self._fields_container diff --git a/src/ansys/dpf/core/operators/result/gasket_deformation.py b/src/ansys/dpf/core/operators/result/gasket_deformation.py index 40c870186e3..b46246cd53e 100644 --- a/src/ansys/dpf/core/operators/result/gasket_deformation.py +++ b/src/ansys/dpf/core/operators/result/gasket_deformation.py @@ -17,8 +17,119 @@ class gasket_deformation(Operator): r"""Read/compute elemental gasket deformation 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. + by the datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs + are processed to see if they need scoping transposition or result + averaging. The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ + or ‘Elemental’ location. - Once the need for averaging has been + detected, the behavior of the combined connection of the ‘split_shells’ + and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -42,9 +153,9 @@ class gasket_deformation(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -145,8 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute elemental gasket deformation 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. +by the datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs +are processed to see if they need scoping transposition or result +averaging. The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ +or ‘Elemental’ location. - Once the need for averaging has been +detected, the behavior of the combined connection of the ‘split_shells’ +and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -216,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -538,7 +760,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -559,7 +781,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/gasket_inelastic_closure.py b/src/ansys/dpf/core/operators/result/gasket_inelastic_closure.py index 077708999dc..36c30143d54 100644 --- a/src/ansys/dpf/core/operators/result/gasket_inelastic_closure.py +++ b/src/ansys/dpf/core/operators/result/gasket_inelastic_closure.py @@ -17,9 +17,119 @@ class gasket_inelastic_closure(Operator): r"""Read/compute elemental gasket inelastic closure 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. + defined by the datasources. - The ‘requested_location’ and + ‘mesh_scoping’ inputs are processed to see if they need scoping + transposition or result averaging. The resulting output fields have a + ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for + averaging has been detected, the behavior of the combined connection of + the ‘split_shells’ and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -43,9 +153,9 @@ class gasket_inelastic_closure(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -146,9 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute elemental gasket inelastic closure 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. +defined by the datasources. - The ‘requested_location’ and +‘mesh_scoping’ inputs are processed to see if they need scoping +transposition or result averaging. The resulting output fields have a +‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for +averaging has been detected, the behavior of the combined connection of +the ‘split_shells’ and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -218,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -552,7 +772,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -573,7 +793,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/gasket_stress.py b/src/ansys/dpf/core/operators/result/gasket_stress.py index 386c6ef0bb1..5ac32a4f5d5 100644 --- a/src/ansys/dpf/core/operators/result/gasket_stress.py +++ b/src/ansys/dpf/core/operators/result/gasket_stress.py @@ -17,8 +17,119 @@ class gasket_stress(Operator): r"""Read/compute elemental gasket stress 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. + the datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs + are processed to see if they need scoping transposition or result + averaging. The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ + or ‘Elemental’ location. - Once the need for averaging has been + detected, the behavior of the combined connection of the ‘split_shells’ + and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -42,9 +153,9 @@ class gasket_stress(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -145,8 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute elemental gasket stress 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. +the datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs +are processed to see if they need scoping transposition or result +averaging. The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ +or ‘Elemental’ location. - Once the need for averaging has been +detected, the behavior of the combined connection of the ‘split_shells’ +and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -216,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -532,7 +754,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -553,7 +775,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/gasket_thermal_closure.py b/src/ansys/dpf/core/operators/result/gasket_thermal_closure.py index eca2356ddf3..1314f931f0f 100644 --- a/src/ansys/dpf/core/operators/result/gasket_thermal_closure.py +++ b/src/ansys/dpf/core/operators/result/gasket_thermal_closure.py @@ -17,9 +17,119 @@ class gasket_thermal_closure(Operator): r"""Read/compute elemental gasket thermal closure 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. + defined by the datasources. - The ‘requested_location’ and + ‘mesh_scoping’ inputs are processed to see if they need scoping + transposition or result averaging. The resulting output fields have a + ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for + averaging has been detected, the behavior of the combined connection of + the ‘split_shells’ and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -43,9 +153,9 @@ class gasket_thermal_closure(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -146,9 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute elemental gasket thermal closure 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. +defined by the datasources. - The ‘requested_location’ and +‘mesh_scoping’ inputs are processed to see if they need scoping +transposition or result averaging. The resulting output fields have a +‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for +averaging has been detected, the behavior of the combined connection of +the ‘split_shells’ and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -218,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -552,7 +772,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -573,7 +793,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/heat_flux.py b/src/ansys/dpf/core/operators/result/heat_flux.py index c860851ae3c..a6f7ae4b1d6 100644 --- a/src/ansys/dpf/core/operators/result/heat_flux.py +++ b/src/ansys/dpf/core/operators/result/heat_flux.py @@ -17,8 +17,119 @@ class heat_flux(Operator): r"""Read/compute heat flux 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. + datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs are + processed to see if they need scoping transposition or result averaging. + The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ or + ‘Elemental’ location. - Once the need for averaging has been detected, + the behavior of the combined connection of the ‘split_shells’ and + ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -50,9 +161,9 @@ class heat_flux(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -177,8 +288,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute heat flux 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. +datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs are +processed to see if they need scoping transposition or result averaging. +The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ or +‘Elemental’ location. - Once the need for averaging has been detected, +the behavior of the combined connection of the ‘split_shells’ and +‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -272,13 +494,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -688,7 +910,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -709,7 +931,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/hydrostatic_pressure.py b/src/ansys/dpf/core/operators/result/hydrostatic_pressure.py index fa9b7047c5e..bb4a322ceaa 100644 --- a/src/ansys/dpf/core/operators/result/hydrostatic_pressure.py +++ b/src/ansys/dpf/core/operators/result/hydrostatic_pressure.py @@ -17,9 +17,119 @@ class hydrostatic_pressure(Operator): r"""Read/compute element nodal hydrostatic pressure 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. + defined by the datasources. - The ‘requested_location’ and + ‘mesh_scoping’ inputs are processed to see if they need scoping + transposition or result averaging. The resulting output fields have a + ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for + averaging has been detected, the behavior of the combined connection of + the ‘split_shells’ and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -43,9 +153,9 @@ class hydrostatic_pressure(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -146,9 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element nodal hydrostatic pressure 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. +defined by the datasources. - The ‘requested_location’ and +‘mesh_scoping’ inputs are processed to see if they need scoping +transposition or result averaging. The resulting output fields have a +‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for +averaging has been detected, the behavior of the combined connection of +the ‘split_shells’ and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -218,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -544,7 +764,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -565,7 +785,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/magnetic_field.py b/src/ansys/dpf/core/operators/result/magnetic_field.py index 0fd8be0cd72..71cfddf4ae4 100644 --- a/src/ansys/dpf/core/operators/result/magnetic_field.py +++ b/src/ansys/dpf/core/operators/result/magnetic_field.py @@ -17,8 +17,119 @@ class magnetic_field(Operator): r"""Read/compute Magnetic Field 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. + datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs are + processed to see if they need scoping transposition or result averaging. + The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ or + ‘Elemental’ location. - Once the need for averaging has been detected, + the behavior of the combined connection of the ‘split_shells’ and + ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -42,9 +153,9 @@ class magnetic_field(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -145,8 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute Magnetic Field 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. +datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs are +processed to see if they need scoping transposition or result averaging. +The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ or +‘Elemental’ location. - Once the need for averaging has been detected, +the behavior of the combined connection of the ‘split_shells’ and +‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -216,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -532,7 +754,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -553,7 +775,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/magnetic_flux_density.py b/src/ansys/dpf/core/operators/result/magnetic_flux_density.py index 583dc2b1d3a..475c95bffb1 100644 --- a/src/ansys/dpf/core/operators/result/magnetic_flux_density.py +++ b/src/ansys/dpf/core/operators/result/magnetic_flux_density.py @@ -17,8 +17,119 @@ class magnetic_flux_density(Operator): r"""Read/compute Magnetic Flux Density 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. + datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs are + processed to see if they need scoping transposition or result averaging. + The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ or + ‘Elemental’ location. - Once the need for averaging has been detected, + the behavior of the combined connection of the ‘split_shells’ and + ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -42,9 +153,9 @@ class magnetic_flux_density(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -145,8 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute Magnetic Flux Density 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. +datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs are +processed to see if they need scoping transposition or result averaging. +The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ or +‘Elemental’ location. - Once the need for averaging has been detected, +the behavior of the combined connection of the ‘split_shells’ and +‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -216,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -550,7 +772,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -571,7 +793,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/num_surface_status_changes.py b/src/ansys/dpf/core/operators/result/num_surface_status_changes.py index 2725a5ec64d..850485de90e 100644 --- a/src/ansys/dpf/core/operators/result/num_surface_status_changes.py +++ b/src/ansys/dpf/core/operators/result/num_surface_status_changes.py @@ -17,9 +17,119 @@ class num_surface_status_changes(Operator): r"""Read/compute element total number of contact status changes during - substep 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. + substep by calling the readers defined by the datasources. - The + ‘requested_location’ and ‘mesh_scoping’ inputs are processed to see if + they need scoping transposition or result averaging. The resulting + output fields have a ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. + - Once the need for averaging has been detected, the behavior of the + combined connection of the ‘split_shells’ and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -51,9 +161,9 @@ class num_surface_status_changes(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -178,9 +288,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element total number of contact status changes during -substep 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. +substep by calling the readers defined by the datasources. - The +‘requested_location’ and ‘mesh_scoping’ inputs are processed to see if +they need scoping transposition or result averaging. The resulting +output fields have a ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. +- Once the need for averaging has been detected, the behavior of the +combined connection of the ‘split_shells’ and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -274,13 +494,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -714,7 +934,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -735,7 +955,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/plastic_state_variable.py b/src/ansys/dpf/core/operators/result/plastic_state_variable.py index 3ea16ec3def..e29332399bb 100644 --- a/src/ansys/dpf/core/operators/result/plastic_state_variable.py +++ b/src/ansys/dpf/core/operators/result/plastic_state_variable.py @@ -17,9 +17,119 @@ class plastic_state_variable(Operator): r"""Read/compute element nodal plastic state variable 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. + defined by the datasources. - The ‘requested_location’ and + ‘mesh_scoping’ inputs are processed to see if they need scoping + transposition or result averaging. The resulting output fields have a + ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for + averaging has been detected, the behavior of the combined connection of + the ‘split_shells’ and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -43,9 +153,9 @@ class plastic_state_variable(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -146,9 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element nodal plastic state variable 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. +defined by the datasources. - The ‘requested_location’ and +‘mesh_scoping’ inputs are processed to see if they need scoping +transposition or result averaging. The resulting output fields have a +‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for +averaging has been detected, the behavior of the combined connection of +the ‘split_shells’ and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -218,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -552,7 +772,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -573,7 +793,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/plastic_strain.py b/src/ansys/dpf/core/operators/result/plastic_strain.py index 363c3d6de6d..37d23532360 100644 --- a/src/ansys/dpf/core/operators/result/plastic_strain.py +++ b/src/ansys/dpf/core/operators/result/plastic_strain.py @@ -17,9 +17,119 @@ class plastic_strain(Operator): r"""Read/compute element nodal component plastic strains 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. + readers defined by the datasources. - The ‘requested_location’ and + ‘mesh_scoping’ inputs are processed to see if they need scoping + transposition or result averaging. The resulting output fields have a + ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for + averaging has been detected, the behavior of the combined connection of + the ‘split_shells’ and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -43,9 +153,9 @@ class plastic_strain(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -146,9 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element nodal component plastic strains 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. +readers defined by the datasources. - The ‘requested_location’ and +‘mesh_scoping’ inputs are processed to see if they need scoping +transposition or result averaging. The resulting output fields have a +‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for +averaging has been detected, the behavior of the combined connection of +the ‘split_shells’ and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -218,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -534,7 +754,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -555,7 +775,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/plastic_strain_energy_density.py b/src/ansys/dpf/core/operators/result/plastic_strain_energy_density.py index d8cfb68d80a..0e0b2dbb8b6 100644 --- a/src/ansys/dpf/core/operators/result/plastic_strain_energy_density.py +++ b/src/ansys/dpf/core/operators/result/plastic_strain_energy_density.py @@ -17,9 +17,119 @@ class plastic_strain_energy_density(Operator): r"""Read/compute element nodal plastic strain energy density 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. + readers defined by the datasources. - The ‘requested_location’ and + ‘mesh_scoping’ inputs are processed to see if they need scoping + transposition or result averaging. The resulting output fields have a + ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for + averaging has been detected, the behavior of the combined connection of + the ‘split_shells’ and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -43,9 +153,9 @@ class plastic_strain_energy_density(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -146,9 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element nodal plastic strain energy density 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. +readers defined by the datasources. - The ‘requested_location’ and +‘mesh_scoping’ inputs are processed to see if they need scoping +transposition or result averaging. The resulting output fields have a +‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for +averaging has been detected, the behavior of the combined connection of +the ‘split_shells’ and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -218,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -554,7 +774,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -575,7 +795,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/plastic_strain_eqv.py b/src/ansys/dpf/core/operators/result/plastic_strain_eqv.py index 6440457defb..acb261ed8a8 100644 --- a/src/ansys/dpf/core/operators/result/plastic_strain_eqv.py +++ b/src/ansys/dpf/core/operators/result/plastic_strain_eqv.py @@ -17,9 +17,119 @@ class plastic_strain_eqv(Operator): r"""Read/compute element nodal equivalent plastic strain 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. + readers defined by the datasources. - The ‘requested_location’ and + ‘mesh_scoping’ inputs are processed to see if they need scoping + transposition or result averaging. The resulting output fields have a + ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for + averaging has been detected, the behavior of the combined connection of + the ‘split_shells’ and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -43,9 +153,9 @@ class plastic_strain_eqv(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -146,9 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element nodal equivalent plastic strain 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. +readers defined by the datasources. - The ‘requested_location’ and +‘mesh_scoping’ inputs are processed to see if they need scoping +transposition or result averaging. The resulting output fields have a +‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for +averaging has been detected, the behavior of the combined connection of +the ‘split_shells’ and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -218,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -540,7 +760,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -561,7 +781,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/state_variable.py b/src/ansys/dpf/core/operators/result/state_variable.py index 9f0b3dc6b0b..c00c4342c5a 100644 --- a/src/ansys/dpf/core/operators/result/state_variable.py +++ b/src/ansys/dpf/core/operators/result/state_variable.py @@ -17,8 +17,119 @@ class state_variable(Operator): r"""Read/compute elemental state variable 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. + the datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs + are processed to see if they need scoping transposition or result + averaging. The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ + or ‘Elemental’ location. - Once the need for averaging has been + detected, the behavior of the combined connection of the ‘split_shells’ + and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -44,9 +155,9 @@ class state_variable(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -153,8 +264,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute elemental state variable 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. +the datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs +are processed to see if they need scoping transposition or result +averaging. The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ +or ‘Elemental’ location. - Once the need for averaging has been +detected, the behavior of the combined connection of the ‘split_shells’ +and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -230,13 +452,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -571,7 +793,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -592,7 +814,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/stress.py b/src/ansys/dpf/core/operators/result/stress.py index 1af9a260d36..74b4ccec9b0 100644 --- a/src/ansys/dpf/core/operators/result/stress.py +++ b/src/ansys/dpf/core/operators/result/stress.py @@ -17,9 +17,119 @@ class stress(Operator): r"""Read/compute element nodal component stresses 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. + defined by the datasources. - The ‘requested_location’ and + ‘mesh_scoping’ inputs are processed to see if they need scoping + transposition or result averaging. The resulting output fields have a + ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for + averaging has been detected, the behavior of the combined connection of + the ‘split_shells’ and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -51,9 +161,9 @@ class stress(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -178,9 +288,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element nodal component stresses 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. +defined by the datasources. - The ‘requested_location’ and +‘mesh_scoping’ inputs are processed to see if they need scoping +transposition or result averaging. The resulting output fields have a +‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for +averaging has been detected, the behavior of the combined connection of +the ‘split_shells’ and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -274,13 +494,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -688,7 +908,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -709,7 +929,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/stress_ratio.py b/src/ansys/dpf/core/operators/result/stress_ratio.py index 1707ced5bff..4516fb4bf01 100644 --- a/src/ansys/dpf/core/operators/result/stress_ratio.py +++ b/src/ansys/dpf/core/operators/result/stress_ratio.py @@ -17,8 +17,119 @@ class stress_ratio(Operator): r"""Read/compute element nodal stress ratio 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. + by the datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs + are processed to see if they need scoping transposition or result + averaging. The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ + or ‘Elemental’ location. - Once the need for averaging has been + detected, the behavior of the combined connection of the ‘split_shells’ + and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -42,9 +153,9 @@ class stress_ratio(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -145,8 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element nodal stress ratio 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. +by the datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs +are processed to see if they need scoping transposition or result +averaging. The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ +or ‘Elemental’ location. - Once the need for averaging has been +detected, the behavior of the combined connection of the ‘split_shells’ +and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -216,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -532,7 +754,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -553,7 +775,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/structural_temperature.py b/src/ansys/dpf/core/operators/result/structural_temperature.py index 85d4761f9df..f2dd0f46305 100644 --- a/src/ansys/dpf/core/operators/result/structural_temperature.py +++ b/src/ansys/dpf/core/operators/result/structural_temperature.py @@ -17,9 +17,119 @@ class structural_temperature(Operator): r"""Read/compute element structural nodal temperatures 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. + readers defined by the datasources. - The ‘requested_location’ and + ‘mesh_scoping’ inputs are processed to see if they need scoping + transposition or result averaging. The resulting output fields have a + ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for + averaging has been detected, the behavior of the combined connection of + the ‘split_shells’ and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -43,9 +153,9 @@ class structural_temperature(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -146,9 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element structural nodal temperatures 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. +readers defined by the datasources. - The ‘requested_location’ and +‘mesh_scoping’ inputs are processed to see if they need scoping +transposition or result averaging. The resulting output fields have a +‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for +averaging has been detected, the behavior of the combined connection of +the ‘split_shells’ and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -218,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -552,7 +772,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -573,7 +793,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/swelling_strains.py b/src/ansys/dpf/core/operators/result/swelling_strains.py index 7c32442a82e..2d23887eac6 100644 --- a/src/ansys/dpf/core/operators/result/swelling_strains.py +++ b/src/ansys/dpf/core/operators/result/swelling_strains.py @@ -17,9 +17,119 @@ class swelling_strains(Operator): r"""Read/compute element nodal swelling strains 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. + defined by the datasources. - The ‘requested_location’ and + ‘mesh_scoping’ inputs are processed to see if they need scoping + transposition or result averaging. The resulting output fields have a + ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for + averaging has been detected, the behavior of the combined connection of + the ‘split_shells’ and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -43,9 +153,9 @@ class swelling_strains(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -146,9 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element nodal swelling strains 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. +defined by the datasources. - The ‘requested_location’ and +‘mesh_scoping’ inputs are processed to see if they need scoping +transposition or result averaging. The resulting output fields have a +‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for +averaging has been detected, the behavior of the combined connection of +the ‘split_shells’ and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -218,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -538,7 +758,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -559,7 +779,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/temperature_grad.py b/src/ansys/dpf/core/operators/result/temperature_grad.py index 4db6bc50e47..bc8be7b6d6c 100644 --- a/src/ansys/dpf/core/operators/result/temperature_grad.py +++ b/src/ansys/dpf/core/operators/result/temperature_grad.py @@ -17,8 +17,119 @@ class temperature_grad(Operator): r"""Read/compute Temperature Gradient 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. + datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs are + processed to see if they need scoping transposition or result averaging. + The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ or + ‘Elemental’ location. - Once the need for averaging has been detected, + the behavior of the combined connection of the ‘split_shells’ and + ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -42,9 +153,9 @@ class temperature_grad(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -145,8 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute Temperature Gradient 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. +datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs are +processed to see if they need scoping transposition or result averaging. +The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ or +‘Elemental’ location. - Once the need for averaging has been detected, +the behavior of the combined connection of the ‘split_shells’ and +‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -216,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -536,7 +758,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -557,7 +779,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/thermal_strain.py b/src/ansys/dpf/core/operators/result/thermal_strain.py index 932943c3293..29047b08a33 100644 --- a/src/ansys/dpf/core/operators/result/thermal_strain.py +++ b/src/ansys/dpf/core/operators/result/thermal_strain.py @@ -17,9 +17,119 @@ class thermal_strain(Operator): r"""Read/compute element nodal component thermal strains 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. + readers defined by the datasources. - The ‘requested_location’ and + ‘mesh_scoping’ inputs are processed to see if they need scoping + transposition or result averaging. The resulting output fields have a + ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for + averaging has been detected, the behavior of the combined connection of + the ‘split_shells’ and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -43,9 +153,9 @@ class thermal_strain(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -146,9 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element nodal component thermal strains 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. +readers defined by the datasources. - The ‘requested_location’ and +‘mesh_scoping’ inputs are processed to see if they need scoping +transposition or result averaging. The resulting output fields have a +‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. - Once the need for +averaging has been detected, the behavior of the combined connection of +the ‘split_shells’ and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -218,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -534,7 +754,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -555,7 +775,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/result/thermal_strains_eqv.py b/src/ansys/dpf/core/operators/result/thermal_strains_eqv.py index 0db344cc063..907d14f3e6b 100644 --- a/src/ansys/dpf/core/operators/result/thermal_strains_eqv.py +++ b/src/ansys/dpf/core/operators/result/thermal_strains_eqv.py @@ -17,9 +17,119 @@ class thermal_strains_eqv(Operator): r"""Read/compute element nodal equivalent component thermal strains 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. + calling the readers defined by the datasources. - The + ‘requested_location’ and ‘mesh_scoping’ inputs are processed to see if + they need scoping transposition or result averaging. The resulting + output fields have a ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. + - Once the need for averaging has been detected, the behavior of the + combined connection of the ‘split_shells’ and ‘shell_layer’ pins is: + + +-------------------+-------------------+-------------+---------------+ + | Averaging is | ‘split_shells’ | ‘s | Expected | + | needed | | hell_layer’ | output | + +===================+===================+=============+===============+ + | No | Not | Not | Location as | + | | connected/false | connected | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Not | Location as | + | | | connected | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | true | Connected | Location as | + | | | | in the result | + | | | | file. Fields | + | | | | split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | No | Not | Connected | Location as | + | | connected/false | | in the result | + | | | | file. Fields | + | | | | with all | + | | | | element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Not | Location as | + | | connected/true | connected | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Not | Location as | + | | | connected | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. All | + | | | | shell layers | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | false | Connected | Location as | + | | | | requested. | + | | | | Fields with | + | | | | all element | + | | | | shapes | + | | | | combined. | + | | | | Only the | + | | | | requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + | Yes | Not | Connected | Location as | + | | connected/true | | requested. | + | | | | Fields split | + | | | | according to | + | | | | element | + | | | | shapes. Only | + | | | | the requested | + | | | | shell layer | + | | | | present. | + +-------------------+-------------------+-------------+---------------+ + + - The available ‘elshape’ values are: + + ======= ====================================================== + elshape Related elements + ======= ====================================================== + 1 Shell (generic) + 2 Solid + 3 Beam + 4 Skin + 5 Contact + 6 Load + 7 Point + 8 Shell with 1 result across thickness (membrane) + 9 Shell with 2 results across thickness (top/bottom) + 10 Shell with 3 results across thickness (top/bottom/mid) + 11 Gasket + 12 Multi-Point Constraint + 13 Pretension + ======= ====================================================== Parameters @@ -43,9 +153,9 @@ class thermal_strains_eqv(Operator): read_beams: bool, optional elemental nodal beam results are read if this pin is set to true (default is false) split_shells: bool, optional - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- @@ -146,9 +256,119 @@ def __init__( @staticmethod def _spec() -> Specification: description = r"""Read/compute element nodal equivalent component thermal strains 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. +calling the readers defined by the datasources. - The +‘requested_location’ and ‘mesh_scoping’ inputs are processed to see if +they need scoping transposition or result averaging. The resulting +output fields have a ‘Nodal’, ‘ElementalNodal’ or ‘Elemental’ location. +- Once the need for averaging has been detected, the behavior of the +combined connection of the ‘split_shells’ and ‘shell_layer’ pins is: + ++-------------------+-------------------+-------------+---------------+ +| Averaging is | ‘split_shells’ | ‘s | Expected | +| needed | | hell_layer’ | output | ++===================+===================+=============+===============+ +| No | Not | Not | Location as | +| | connected/false | connected | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Not | Location as | +| | | connected | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | true | Connected | Location as | +| | | | in the result | +| | | | file. Fields | +| | | | split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| No | Not | Connected | Location as | +| | connected/false | | in the result | +| | | | file. Fields | +| | | | with all | +| | | | element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Not | Location as | +| | connected/true | connected | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Not | Location as | +| | | connected | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. All | +| | | | shell layers | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | false | Connected | Location as | +| | | | requested. | +| | | | Fields with | +| | | | all element | +| | | | shapes | +| | | | combined. | +| | | | Only the | +| | | | requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ +| Yes | Not | Connected | Location as | +| | connected/true | | requested. | +| | | | Fields split | +| | | | according to | +| | | | element | +| | | | shapes. Only | +| | | | the requested | +| | | | shell layer | +| | | | present. | ++-------------------+-------------------+-------------+---------------+ + +- The available ‘elshape’ values are: + +======= ====================================================== +elshape Related elements +======= ====================================================== +1 Shell (generic) +2 Solid +3 Beam +4 Skin +5 Contact +6 Load +7 Point +8 Shell with 1 result across thickness (membrane) +9 Shell with 2 results across thickness (top/bottom) +10 Shell with 3 results across thickness (top/bottom/mid) +11 Gasket +12 Multi-Point Constraint +13 Pretension +======= ====================================================== """ spec = Specification( description=description, @@ -218,13 +438,13 @@ def _spec() -> Specification: name="split_shells", type_names=["bool"], optional=True, - document=r"""This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided.""", + document=r"""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.""", ), 27: PinSpecification( name="shell_layer", type_names=["int32"], optional=True, - document=r"""If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer.""", + document=r"""If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), }, map_output_pin_spec={ @@ -542,7 +762,7 @@ def read_beams(self) -> Input: def split_shells(self) -> Input: r"""Allows to connect split_shells input to the operator. - This pin forces elemental nodal shell and solid results to be split if this pin is set to true. If set to false (default), a specific shell layer is still needed to merge the fields. Merge is possible only if a shell layer is provided. + 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. Returns ------- @@ -563,7 +783,7 @@ def split_shells(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - If the requested_location pin is not connected, and if split_shells pin is set to true, we choose one of the shell layer for shell element. If split_shells pin is set to false (default value) and a specific shell layer is provided, results will be merged on this specific shell layer. + 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. Returns ------- diff --git a/src/ansys/dpf/core/operators/utility/change_shell_layers.py b/src/ansys/dpf/core/operators/utility/change_shell_layers.py index 6993daef1e8..38fa823e926 100644 --- a/src/ansys/dpf/core/operators/utility/change_shell_layers.py +++ b/src/ansys/dpf/core/operators/utility/change_shell_layers.py @@ -30,7 +30,7 @@ class change_shell_layers(Operator): ---------- fields_container: FieldsContainer or Field e_shell_layer: int - 0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. + 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. mesh: MeshedRegion or MeshesContainer, optional Mesh support of the input fields_container, in case it does not have one defined. If the fields_container contains mixed shell/solid results, the mesh is required (either by connecting this pin or in the support). merge: bool, optional @@ -113,7 +113,7 @@ def _spec() -> Specification: name="e_shell_layer", type_names=["int32", "enum dataProcessing::EShellLayers"], optional=False, - document=r"""0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid.""", + document=r"""0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), 2: PinSpecification( name="mesh", @@ -237,7 +237,7 @@ def fields_container(self) -> Input: def e_shell_layer(self) -> Input: r"""Allows to connect e_shell_layer input to the operator. - 0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. + 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. Returns ------- diff --git a/src/ansys/dpf/core/operators/utility/field_clone_to_shell_layer.py b/src/ansys/dpf/core/operators/utility/field_clone_to_shell_layer.py index dde91f5033a..615c4d5f459 100644 --- a/src/ansys/dpf/core/operators/utility/field_clone_to_shell_layer.py +++ b/src/ansys/dpf/core/operators/utility/field_clone_to_shell_layer.py @@ -27,7 +27,7 @@ class field_clone_to_shell_layer(Operator): ---------- field: Field shell_layer: int - 0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. + 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. duplicate_scoping: bool, optional If true, a new scoping is computed for the output Field. If false, the input Field scoping is used. Default is false. @@ -102,7 +102,7 @@ def _spec() -> Specification: name="shell_layer", type_names=["int32", "enum dataProcessing::EShellLayers"], optional=False, - document=r"""0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid.""", + document=r"""0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.""", ), 2: PinSpecification( name="duplicate_scoping", @@ -220,7 +220,7 @@ def field(self) -> Input: def shell_layer(self) -> Input: r"""Allows to connect shell_layer input to the operator. - 0: Top, 1: Bottom, 2: BottomTop, 3: Mid, 4: BottomTopMid. + 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. Returns ------- diff --git a/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll b/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll index 8c83246d797..614f950311a 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 06a2b028ede..d04794bf7bb 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 d2a987ecaf3..fc0cc42ee70 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 b30912a8c63..b0367e48ff7 100644 Binary files a/src/ansys/dpf/gatebin/libDPFClientAPI.so and b/src/ansys/dpf/gatebin/libDPFClientAPI.so differ