diff --git a/doc/source/_static/dpf_operators.html b/doc/source/_static/dpf_operators.html index 9a0f6f7e522..df0c303dbd5 100644 --- a/doc/source/_static/dpf_operators.html +++ b/doc/source/_static/dpf_operators.html @@ -5694,7 +5694,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -5708,8 +5708,9 @@

Configurating operators

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)

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

Changelog

math: ln (field)

Description

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

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

math: ln (field)

Description

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

Version 0.0.0

Inputs

field or fields container with only one field is expected

Outputs

Configurations

Scripting

Changelog

invariant: scalar invariants (field)

Description

Computes the element-wise invariants of a tensor field.

Version 0.0.0

Inputs

Outputs

stress intensity field

@@ -5939,7 +5940,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -5953,8 +5954,9 @@

Configurating operators

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)

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

Changelog

result: co-energy

Description

Read/compute co-energy (magnetics) by calling the readers defined by the datasources.

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

result: co-energy

Description

Read/compute co-energy (magnetics) by calling the readers defined by the datasources.

Version 0.0.0

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

@@ -6137,7 +6139,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -6147,8 +6149,9 @@

Configurating operators

requested location Nodal, Elemental or ElementalNodal

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

If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.

-

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

-

Outputs

Configurations

Scripting

Changelog

result: incremental energy

Description

Read/compute incremental energy (magnetics) by calling the readers defined by the datasources.

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

result: incremental energy

Description

Read/compute incremental energy (magnetics) by calling the readers defined by the datasources.

Version 0.0.0

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

@@ -6377,7 +6380,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -6387,8 +6390,9 @@

Configurating operators

requested location Nodal, Elemental or ElementalNodal

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

If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.

-

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

-

Outputs

Configurations

Scripting

Changelog

result: beam torsional moment

Description

Read Beam Torsional Moment by calling the readers defined by the datasources.

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

result: beam torsional moment

Description

Read Beam Torsional Moment by calling the readers defined by the datasources.

Version 0.1.0

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

@@ -6552,7 +6556,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -6562,8 +6566,9 @@

Configurating operators

requested location Nodal, Elemental or ElementalNodal

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

If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.

-

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

-

Outputs

Configurations

Scripting

Changelog

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. +

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

result: plastic strain principal 2

Description

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

Version 1.0.0

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

@@ -6731,7 +6736,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -6741,8 +6746,9 @@

Configurating operators

requested location Nodal, Elemental or ElementalNodal

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

If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.

-

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

-

Outputs

Configurations

Scripting

Changelog

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.

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

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.

Version 0.0.0

Supported file types

Inputs

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

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

FieldsContainer already allocated modified inplace

@@ -6888,7 +6894,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -6898,8 +6904,9 @@

Configurating operators

requested location Nodal, Elemental or ElementalNodal

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

If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.

-

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

-

Outputs

Configurations

Scripting

Changelog

result: normal contact moment

Description

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

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

result: normal contact moment

Description

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

Version 0.0.0

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

@@ -7163,7 +7170,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -7177,8 +7184,9 @@

Configurating operators

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)

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

Changelog

result: turbulent viscosity

Description

Read Turbulent Viscosity by calling the readers defined by the datasources.

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

result: turbulent viscosity

Description

Read Turbulent Viscosity by calling the readers defined by the datasources.

Version 0.0.0

Supported file types

Inputs

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

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

result file container allowed to be kept open to cache data

@@ -7326,7 +7334,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -7340,8 +7348,9 @@

Configurating operators

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)

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

Changelog

result: pressure

Description

Read/compute Pressure by calling the readers defined by the datasources.

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

result: pressure

Description

Read/compute Pressure by calling the readers defined by the datasources.

Version 0.0.0

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

@@ -7467,18 +7476,7 @@

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

Changelog

result: stress principal 3

Description

Read/compute element nodal component stresses 3rd principal component by calling the readers defined by the datasources and computing its eigen values. -This operation is independent of the coordinate system unless averaging across elements is requested, in which case a rotation to the global coordinate system is performed.

-
Version 1.0.0

Supported file types

Inputs

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

-

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

-

FieldsContainer already allocated modified inplace

-

result file container allowed to be kept open to cache data

-

result file path container, used if no streams are set

-

This pin is removed for versions >25.2. An error is raised if connected.

-

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

Changelog

result: tangential contact moment

Description

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

+

Outputs

Configurations

Scripting

Changelog

result: tangential contact moment

Description

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

Version 0.0.0

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

@@ -7489,7 +7487,18 @@

Configurating operators

Outputs

Configurations

Scripting

Changelog

invariant: convertnum bcs to nod

Description

Converts a fields container from BCS to NOD ordering.

Version 0.0.0

Inputs

fields_container

Data_sources (must contain the full file).

-

Outputs

Configurations

Scripting

Changelog

result: stress von mises

Description

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

Outputs

Configurations

Scripting

Changelog

result: stress principal 3

Description

Read/compute element nodal component stresses 3rd principal component by calling the readers defined by the datasources and computing its eigen values. +This operation is independent of the coordinate system unless averaging across elements is requested, in which case a rotation to the global coordinate system is performed.

+
Version 1.0.0

Supported file types

Inputs

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

+

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

+

FieldsContainer already allocated modified inplace

+

result file container allowed to be kept open to cache data

+

result file path container, used if no streams are set

+

This pin is removed for versions >25.2. An error is raised if connected.

+

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

Changelog

result: stress von mises

Description

Reads/computes element nodal component stresses, average it on nodes (by default) and computes its invariants. This operation is independent of the coordinate system unless averaging across elements is requested, in which case a rotation to the global coordinate system is performed.

Version 1.0.0

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

@@ -7630,7 +7639,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -7639,8 +7648,9 @@

Configurating operators

prevents from reading the mesh in the result files

requested location Nodal, Elemental or ElementalNodal

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

Changelog

result: contact fluid penetration pressure

Description

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

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

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:
  • @@ -7770,7 +7780,7 @@

    Configurating operators

    -
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -7784,8 +7794,9 @@

Configurating operators

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)

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

Changelog

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.

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

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.

Version 0.0.0

Supported file types

Inputs

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

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

FieldsContainer already allocated modified inplace

@@ -7947,7 +7958,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -7956,8 +7967,9 @@

Configurating operators

prevents from reading the mesh in the result files

requested location Nodal, Elemental or ElementalNodal

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

Changelog

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

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

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

Version 0.0.0

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.

Outputs

Configurations

Scripting

Changelog

result: write cms rbd file

Description

Write the invariant terms and the model data in a cms_rbd file

@@ -8144,7 +8156,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -8153,8 +8165,9 @@

Configurating operators

prevents from reading the mesh in the result files

requested location Nodal, Elemental or ElementalNodal

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

Changelog

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.

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

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.

Version 0.0.0

Supported file types

Inputs

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

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

FieldsContainer already allocated modified inplace

@@ -8494,7 +8507,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -8504,8 +8517,9 @@

Configurating operators

requested location Nodal, Elemental or ElementalNodal

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

If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.

-

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

-

Outputs

Configurations

Scripting

Changelog

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.

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

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.

Version 0.0.0

Inputs

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

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

FieldsContainer already allocated modified inplace

@@ -8681,7 +8695,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -8691,8 +8705,9 @@

Configurating operators

requested location Nodal, Elemental or ElementalNodal

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

If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.

-

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

-

Outputs

Configurations

Scripting

Changelog

result: plastic strain X

Description

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

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

result: plastic strain X

Description

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

Version 0.0.0

Supported file types

Inputs

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

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

FieldsContainer already allocated modified inplace

@@ -8911,7 +8926,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -8921,8 +8936,9 @@

Configurating operators

requested location Nodal, Elemental or ElementalNodal

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

If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.

-

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

-

Outputs

Configurations

Scripting

Changelog

result: nodal rotational acceleration

Description

Read/compute nodal rotational acceleration by calling the readers defined by the datasources.

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

result: nodal rotational acceleration

Description

Read/compute nodal rotational acceleration by calling the readers defined by the datasources.

Version 0.0.0

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

@@ -9152,7 +9168,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -9162,8 +9178,9 @@

Configurating operators

requested location Nodal, Elemental or ElementalNodal

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

If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.

-

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

-

Outputs

Configurations

Scripting

Changelog

result: creep strain Y

Description

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

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

result: creep strain Y

Description

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

Version 0.0.0

Supported file types

Inputs

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

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

FieldsContainer already allocated modified inplace

@@ -9335,7 +9352,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -9349,8 +9366,9 @@

Configurating operators

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)

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

Changelog

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.

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

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.

Version 0.0.0

Supported file types

Inputs

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

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

FieldsContainer already allocated modified inplace

@@ -9850,7 +9868,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -9860,8 +9878,9 @@

Configurating operators

requested location Nodal, Elemental or ElementalNodal

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

If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.

-

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

-

Outputs

Configurations

Scripting

Changelog

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.

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

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.

Version 0.0.0

Supported file types

Inputs

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

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

FieldsContainer already allocated modified inplace

@@ -10010,7 +10029,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -10020,8 +10039,9 @@

Configurating operators

requested location Nodal, Elemental or ElementalNodal

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

If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.

-

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

-

Outputs

Configurations

Scripting

Changelog

serialization: serialize to hdf5

Description

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

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

serialization: serialize to hdf5

Description

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

Version 0.0.0

Inputs

output file path with .h5 extension

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

if true, vectors and matrices data are exported flat (x1,y1,z1,x2,y2,z2..) (default is false)

@@ -10209,7 +10229,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -10219,8 +10239,9 @@

Configurating operators

requested location Nodal, Elemental or ElementalNodal

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

If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.

-

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

-

Outputs

Configurations

Scripting

Changelog

result: temperature gradient X

Description

Read/compute Temperature Gradient 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.

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

result: temperature gradient X

Description

Read/compute Temperature Gradient 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.

Version 0.0.0

Supported file types

Inputs

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

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

FieldsContainer already allocated modified inplace

@@ -10413,7 +10434,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -10423,8 +10444,9 @@

Configurating operators

requested location Nodal, Elemental or ElementalNodal

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

If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.

-

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

-

Outputs

Configurations

Scripting

Changelog

result: part eroded kinetic energy (LSDyna)

Description

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

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

result: part eroded kinetic energy (LSDyna)

Description

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

Version 0.0.0

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

@@ -10573,7 +10595,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -10583,8 +10605,9 @@

Configurating operators

requested location Nodal, Elemental or ElementalNodal

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

If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.

-

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

-

Outputs

Configurations

Scripting

Changelog

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.

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

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.

Version 0.0.0

Inputs

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

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

FieldsContainer already allocated modified inplace

@@ -10871,7 +10894,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -10885,9 +10908,10 @@

Configurating operators

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)

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 connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

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

Changelog

result: compute total strain Z

Description

Computes the strain from a displacement field. +

Outputs

Configurations

Scripting

Changelog

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. Layered elements are not supported. Thermal strains are not supported. @@ -11036,7 +11060,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -11046,8 +11070,9 @@

Configurating operators

requested location Nodal, Elemental or ElementalNodal

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

If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.

-

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

-

Outputs

Configurations

Scripting

Changelog

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.

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

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.

Version 0.0.0

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

Changelog

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.

@@ -11183,7 +11208,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -11193,8 +11218,9 @@

Configurating operators

requested location Nodal, Elemental or ElementalNodal

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

If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.

-

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

-

Outputs

Configurations

Scripting

Changelog

mesh: skin (tri mesh)

Description

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

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

mesh: skin (tri mesh)

Description

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

Version 0.0.0

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

Changelog

result: accu eqv plastic strain

Description

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

@@ -11327,7 +11353,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -11337,8 +11363,9 @@

Configurating operators

requested location Nodal, Elemental or ElementalNodal

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

If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.

-

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

-

Outputs

Configurations

Scripting

Changelog

result: plastic state variable

Description

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

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

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:
  • @@ -11468,7 +11495,7 @@

    Configurating operators

    -
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -11478,8 +11505,9 @@

Configurating operators

requested location Nodal, Elemental or ElementalNodal

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

If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.

-

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

-

Outputs

Configurations

Scripting

Changelog

result: accu eqv creep strain

Description

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

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

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:
  • @@ -11609,7 +11637,7 @@

    Configurating operators

    -
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -11619,8 +11647,9 @@

Configurating operators

requested location Nodal, Elemental or ElementalNodal

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

If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.

-

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

-

Outputs

Configurations

Scripting

Changelog

result: plastic strain energy density

Description

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

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

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:
  • @@ -11750,7 +11779,7 @@

    Configurating operators

    -
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -11760,8 +11789,9 @@

Configurating operators

requested location Nodal, Elemental or ElementalNodal

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

If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.

-

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

-

Outputs

Configurations

Scripting

Changelog

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

result: erp radiation efficiency

Description

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

Version 0.0.0

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

@@ -12048,7 +12079,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -12058,8 +12089,9 @@

Configurating operators

requested location Nodal, Elemental or ElementalNodal

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

If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.

-

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

-

Outputs

Configurations

Scripting

Changelog

serialization: field to csv

Description

Exports a field or a fields container into a csv file

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

serialization: field to csv

Description

Exports a field or a fields container into a csv file

Version 0.0.0

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

Changelog

result: contact status

Description

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

@@ -12192,7 +12224,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -12206,8 +12238,9 @@

Configurating operators

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)

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

Changelog

result: contact penetration

Description

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

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

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:
  • @@ -12337,7 +12370,7 @@

    Configurating operators

    -
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -12351,8 +12384,9 @@

Configurating operators

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)

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

Changelog

result: contact friction stress

Description

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

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

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:
  • @@ -12482,7 +12516,7 @@

    Configurating operators

    -
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -12496,8 +12530,9 @@

Configurating operators

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)

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

Changelog

result: contact total stress

Description

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

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

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:
  • @@ -12627,7 +12662,7 @@

    Configurating operators

    -
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -12641,8 +12676,9 @@

Configurating operators

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)

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

Changelog

result: global joint internal energy (LSDyna)

Description

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

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

result: global joint internal energy (LSDyna)

Description

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

Version 0.0.0

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

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

@@ -12778,7 +12814,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -12792,8 +12828,9 @@

Configurating operators

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)

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

Changelog

result: contact gap distance

Description

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

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

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:
  • @@ -12923,7 +12960,7 @@

    Configurating operators

    -
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -12937,8 +12974,9 @@

Configurating operators

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)

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

Changelog

result: contact surface heat flux

Description

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

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

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:
  • @@ -13068,7 +13106,7 @@

    Configurating operators

    -
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -13082,8 +13120,9 @@

Configurating operators

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)

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

Changelog

result: artificial hourglass energy

Description

Read/compute artificial hourglass energy by calling the readers defined by the datasources.

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

result: artificial hourglass energy

Description

Read/compute artificial hourglass energy by calling the readers defined by the datasources.

Version 0.0.0

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

@@ -13249,7 +13288,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -13259,8 +13298,9 @@

Configurating operators

requested location Nodal, Elemental or ElementalNodal

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

If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.

-

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

-

Outputs

Configurations

Scripting

Changelog

result: total contact force

Description

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

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

result: total contact force

Description

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

Version 0.0.0

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

@@ -13343,6 +13383,7 @@

Configurating operators

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.

default is false.

mesh. If cylic expansion is to be done, mesh of the base sector

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)

@@ -13586,7 +13627,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -13596,8 +13637,9 @@

Configurating operators

requested location Nodal, Elemental or ElementalNodal

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

If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.

-

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

-

Outputs

Configurations

Scripting

Changelog

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.

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

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.

Version 0.0.0

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

@@ -13741,7 +13783,7 @@

Configurating operators

-
Version 0.0.0

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.

+
Version 0.1.0

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

@@ -13752,8 +13794,9 @@

Configurating operators

Index of requested item.

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

If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required.

-

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

-

Outputs

Configurations

Scripting

Changelog

result: fluid velocity

Description

Read/compute FV by calling the readers defined by the datasources.

+

If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.

+

Compute mid nodes (when available) by averaging the neighbour corner nodes. Default: True

+

Outputs

Configurations

Scripting

Changelog

result: fluid velocity

Description

Read/compute FV by calling the readers defined by the datasources.

Version 0.0.0

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

@@ -14069,22 +14112,7 @@

Configurating operators

Hdf5df file data source.

meta_data that may be used to evaluate results or extract workflows.

Name of the result that must be extracted from the hdf5dpf file

-

Outputs

Configurations

Scripting

Changelog

scoping: rescope custom type field

Description

Rescopes a custom type field on the given scoping. If an ID does not exist in the original custom type field, the default value (in 2) is used when defined.

-
Version 0.1.0

Inputs

If pin 2 is used, the IDs not found in the custom type field are added with this default value.

-

Outputs

Configurations

Scripting

Changelog

result: nodal_to_global

Description

Rotates nodal elemental results to global coordinate system

-
Version 0.0.0

Inputs

Vector or tensor field that must be rotated, expressed in nodal coordinate system.

-

Nodal euler angles defined from a result file. Those must be the rotations from Nodal to Global.

-

Outputs

Rotated field

-

Configurations

Scripting

Changelog

min_max: min max by entity over time

Description

For each entity and component, evaluates minimum and maximum over time/frequency.
-Input pin 4 compute_amplitude is only effective when given fields_container contains the complex label.
-if given input fields_container has a time_freq_support, output pins 2 and 3 fields_container contains time/freq indices of the minimum and maximum values.

-
Version 0.0.0

Inputs

Calculate the absolute value of field entities before computing the min/max.

-

Do calculate amplitude.

-

Outputs

Configurations

Scripting

Changelog

result: global_to_nodal

Description

Rotate results from global coordinate system to local coordinate system.

-
Version 0.0.0

Inputs

Vector or tensor field that must be rotated, expressed in global coordinate system.

-

Nodal euler angles defined from a result file. Those must be the rotations from Nodal to Global.

-

Outputs

Rotated field

-

Configurations

Scripting

Changelog

utility: split in for each range

Description

Split a scoping into several pieces so you can iterate it with a for_each loop.

+

Outputs

Configurations

Scripting

Changelog

utility: split in for each range

Description

Split a scoping into several pieces so you can iterate it with a for_each loop.

Version 0.0.0

Inputs

Iterable that can be combined with the one currently generated.

Operator that must be reconnected with the range values.

Outputs

Configurations

Scripting

Changelog

metadata: cyclic support provider

Description

Read the cyclic support (DPF entity containing necessary information for expansions) and expands the mesh.

@@ -14142,7 +14170,22 @@

Configurating operators

Outputs

number and types of outputs corresponding of the inputs used in the serialization

Configurations

Scripting

Changelog

logic: same scopings container?

Description

Checks if two scopings_container are identical.

Version 0.0.0

Inputs

Outputs

bool (true if identical...)

-

Configurations

Scripting

Changelog

filter: low pass (timescoping)

Description

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

+

Configurations

Scripting

Changelog

scoping: rescope custom type field

Description

Rescopes a custom type field on the given scoping. If an ID does not exist in the original custom type field, the default value (in 2) is used when defined.

+
Version 0.1.0

Inputs

If pin 2 is used, the IDs not found in the custom type field are added with this default value.

+

Outputs

Configurations

Scripting

Changelog

result: nodal_to_global

Description

Rotates nodal elemental results to global coordinate system

+
Version 0.0.0

Inputs

Vector or tensor field that must be rotated, expressed in nodal coordinate system.

+

Nodal euler angles defined from a result file. Those must be the rotations from Nodal to Global.

+

Outputs

Rotated field

+

Configurations

Scripting

Changelog

min_max: min max by entity over time

Description

For each entity and component, evaluates minimum and maximum over time/frequency.
+Input pin 4 compute_amplitude is only effective when given fields_container contains the complex label.
+if given input fields_container has a time_freq_support, output pins 2 and 3 fields_container contains time/freq indices of the minimum and maximum values.

+
Version 0.0.0

Inputs

Calculate the absolute value of field entities before computing the min/max.

+

Do calculate amplitude.

+

Outputs

Configurations

Scripting

Changelog

result: global_to_nodal

Description

Rotate results from global coordinate system to local coordinate system.

+
Version 0.0.0

Inputs

Vector or tensor field that must be rotated, expressed in global coordinate system.

+

Nodal euler angles defined from a result file. Those must be the rotations from Nodal to Global.

+

Outputs

Rotated field

+

Configurations

Scripting

Changelog

filter: low pass (timescoping)

Description

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

Version 0.0.0

Inputs

a threshold scalar or a field containing one value is expected

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

Outputs

Configurations

Scripting

Changelog

scoping: rescope

Description

Rescopes a field on the given scoping. If an ID does not exist in the original field, the default value (in 2) is used when defined.

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