diff --git a/doc/source/_static/dpf_operators.html b/doc/source/_static/dpf_operators.html index 9a0f6f7e522..d9977f6fc46 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

@@ -5709,7 +5709,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

Changelog

math: ln (field)

Description

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

+

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

@@ -5954,7 +5955,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

Changelog

result: co-energy

Description

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

+

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

@@ -6148,7 +6150,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

Changelog

result: incremental energy

Description

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

+

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

@@ -6388,7 +6391,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

Changelog

result: beam torsional moment

Description

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

+

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

@@ -6563,7 +6567,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

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

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

@@ -6742,7 +6747,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

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.

+

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

@@ -6899,7 +6905,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

Changelog

result: normal contact moment

Description

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

+

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

@@ -7178,7 +7185,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

Changelog

result: turbulent viscosity

Description

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

+

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

@@ -7341,7 +7349,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

Changelog

result: pressure

Description

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

+

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

@@ -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

@@ -7640,7 +7649,8 @@

Configurating operators

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.

+

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

@@ -7785,7 +7795,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

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.

+

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

@@ -7957,7 +7968,8 @@

Configurating operators

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

+

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

@@ -8154,7 +8166,8 @@

Configurating operators

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.

+

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

@@ -8505,7 +8518,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

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.

+

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

@@ -8692,7 +8706,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

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.

+

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

@@ -8922,7 +8937,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

Changelog

result: nodal rotational acceleration

Description

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

+

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

@@ -9163,7 +9179,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

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.

+

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

@@ -9350,7 +9367,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

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.

+

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

@@ -9861,7 +9879,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

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.

+

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

@@ -10021,7 +10040,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

Changelog

serialization: serialize to hdf5

Description

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

+

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

@@ -10220,7 +10240,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

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.

+

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

@@ -10424,7 +10445,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

Changelog

result: part eroded kinetic energy (LSDyna)

Description

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

+

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

@@ -10584,7 +10606,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

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.

+

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

@@ -10886,8 +10909,9 @@

Configurating operators

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

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

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

+

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

@@ -11047,7 +11071,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

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.

+

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

@@ -11194,7 +11219,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

Changelog

mesh: skin (tri mesh)

Description

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

+

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

@@ -11338,7 +11364,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

Changelog

result: plastic state variable

Description

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

+

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

@@ -11479,7 +11506,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

Changelog

result: accu eqv creep strain

Description

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

+

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

@@ -11620,7 +11648,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

Changelog

result: plastic strain energy density

Description

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

+

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

@@ -11761,7 +11790,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

Changelog

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

@@ -12059,7 +12090,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

Changelog

serialization: field to csv

Description

Exports a field or a fields container into a csv file

+

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

@@ -12207,7 +12239,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

Changelog

result: contact penetration

Description

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

+

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

@@ -12352,7 +12385,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

Changelog

result: contact friction stress

Description

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

+

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

@@ -12497,7 +12531,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

Changelog

result: contact total stress

Description

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

+

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

@@ -12642,7 +12677,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

Changelog

result: global joint internal energy (LSDyna)

Description

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

+

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

@@ -12793,7 +12829,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

Changelog

result: contact gap distance

Description

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

+

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

@@ -12938,7 +12975,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

Changelog

result: contact surface heat flux

Description

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

+

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

@@ -13083,7 +13121,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

Changelog

result: artificial hourglass energy

Description

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

+

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

@@ -13260,7 +13299,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

Changelog

result: total contact force

Description

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

+

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

@@ -13586,7 +13626,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

@@ -13597,7 +13637,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

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.

+

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 +13782,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

@@ -13753,7 +13794,8 @@

Configurating operators

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

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

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

-

Outputs

Configurations

Scripting

Changelog

result: fluid velocity

Description

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

+

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

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..a586ee53d9f 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 @@ -156,6 +156,8 @@ class accu_eqv_creep_strain(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -191,6 +193,8 @@ class accu_eqv_creep_strain(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -446,6 +454,12 @@ def _spec() -> Specification: 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( @@ -532,6 +546,8 @@ class InputsAccuEqvCreepStrain(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..a46d516a5e0 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 @@ -156,6 +156,8 @@ class accu_eqv_plastic_strain(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -191,6 +193,8 @@ class accu_eqv_plastic_strain(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -446,6 +454,12 @@ def _spec() -> Specification: 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( @@ -532,6 +546,8 @@ class InputsAccuEqvPlasticStrain(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..ff181d39fb9 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 @@ -164,6 +164,8 @@ class contact_fluid_penetration_pressure(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -207,6 +209,8 @@ class contact_fluid_penetration_pressure(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -502,6 +510,12 @@ def _spec() -> Specification: 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( @@ -596,6 +610,8 @@ class InputsContactFluidPenetrationPressure(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..5d1243ff233 100644 --- a/src/ansys/dpf/core/operators/result/contact_friction_stress.py +++ b/src/ansys/dpf/core/operators/result/contact_friction_stress.py @@ -164,6 +164,8 @@ class contact_friction_stress(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -207,6 +209,8 @@ class contact_friction_stress(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -502,6 +510,12 @@ def _spec() -> Specification: 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( @@ -596,6 +610,8 @@ class InputsContactFrictionStress(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..398535645f4 100644 --- a/src/ansys/dpf/core/operators/result/contact_gap_distance.py +++ b/src/ansys/dpf/core/operators/result/contact_gap_distance.py @@ -164,6 +164,8 @@ class contact_gap_distance(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -207,6 +209,8 @@ class contact_gap_distance(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -502,6 +510,12 @@ def _spec() -> Specification: 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( @@ -596,6 +610,8 @@ class InputsContactGapDistance(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..e9b7e072ee4 100644 --- a/src/ansys/dpf/core/operators/result/contact_penetration.py +++ b/src/ansys/dpf/core/operators/result/contact_penetration.py @@ -164,6 +164,8 @@ class contact_penetration(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -207,6 +209,8 @@ class contact_penetration(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -502,6 +510,12 @@ def _spec() -> Specification: 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( @@ -596,6 +610,8 @@ class InputsContactPenetration(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..839d732ea49 100644 --- a/src/ansys/dpf/core/operators/result/contact_pressure.py +++ b/src/ansys/dpf/core/operators/result/contact_pressure.py @@ -164,6 +164,8 @@ class contact_pressure(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -207,6 +209,8 @@ class contact_pressure(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -502,6 +510,12 @@ def _spec() -> Specification: 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( @@ -596,6 +610,8 @@ class InputsContactPressure(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..98e3d02326b 100644 --- a/src/ansys/dpf/core/operators/result/contact_sliding_distance.py +++ b/src/ansys/dpf/core/operators/result/contact_sliding_distance.py @@ -164,6 +164,8 @@ class contact_sliding_distance(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -207,6 +209,8 @@ class contact_sliding_distance(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -502,6 +510,12 @@ def _spec() -> Specification: 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( @@ -596,6 +610,8 @@ class InputsContactSlidingDistance(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..f5914612a63 100644 --- a/src/ansys/dpf/core/operators/result/contact_status.py +++ b/src/ansys/dpf/core/operators/result/contact_status.py @@ -164,6 +164,8 @@ class contact_status(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -207,6 +209,8 @@ class contact_status(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -502,6 +510,12 @@ def _spec() -> Specification: 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( @@ -596,6 +610,8 @@ class InputsContactStatus(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..6429213bdea 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 @@ -164,6 +164,8 @@ class contact_surface_heat_flux(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -207,6 +209,8 @@ class contact_surface_heat_flux(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -502,6 +510,12 @@ def _spec() -> Specification: 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( @@ -596,6 +610,8 @@ class InputsContactSurfaceHeatFlux(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..ed110c0c9f6 100644 --- a/src/ansys/dpf/core/operators/result/contact_total_stress.py +++ b/src/ansys/dpf/core/operators/result/contact_total_stress.py @@ -164,6 +164,8 @@ class contact_total_stress(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -207,6 +209,8 @@ class contact_total_stress(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -502,6 +510,12 @@ def _spec() -> Specification: 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( @@ -596,6 +610,8 @@ class InputsContactTotalStress(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..2cebe178400 100644 --- a/src/ansys/dpf/core/operators/result/creep_strain.py +++ b/src/ansys/dpf/core/operators/result/creep_strain.py @@ -156,6 +156,8 @@ class creep_strain(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -191,6 +193,8 @@ class creep_strain(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -446,6 +454,12 @@ def _spec() -> Specification: 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( @@ -532,6 +546,8 @@ class InputsCreepStrain(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..1e5a215d745 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 @@ -156,6 +156,8 @@ class creep_strain_energy_density(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -191,6 +193,8 @@ class creep_strain_energy_density(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -446,6 +454,12 @@ def _spec() -> Specification: 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( @@ -532,6 +546,8 @@ class InputsCreepStrainEnergyDensity(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..54ec9e23e47 100644 --- a/src/ansys/dpf/core/operators/result/creep_strain_eqv.py +++ b/src/ansys/dpf/core/operators/result/creep_strain_eqv.py @@ -156,6 +156,8 @@ class creep_strain_eqv(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -191,6 +193,8 @@ class creep_strain_eqv(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -446,6 +454,12 @@ def _spec() -> Specification: 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( @@ -532,6 +546,8 @@ class InputsCreepStrainEqv(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..937655bb6e0 100644 --- a/src/ansys/dpf/core/operators/result/elastic_strain.py +++ b/src/ansys/dpf/core/operators/result/elastic_strain.py @@ -164,6 +164,8 @@ class elastic_strain(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -207,6 +209,8 @@ class elastic_strain(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -502,6 +510,12 @@ def _spec() -> Specification: 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( @@ -596,6 +610,8 @@ class InputsElasticStrain(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..4b1871421eb 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 @@ -156,6 +156,8 @@ class elastic_strain_energy_density(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -191,6 +193,8 @@ class elastic_strain_energy_density(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -446,6 +454,12 @@ def _spec() -> Specification: 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( @@ -532,6 +546,8 @@ class InputsElasticStrainEnergyDensity(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..0e2158137fb 100644 --- a/src/ansys/dpf/core/operators/result/elastic_strain_eqv.py +++ b/src/ansys/dpf/core/operators/result/elastic_strain_eqv.py @@ -156,6 +156,8 @@ class elastic_strain_eqv(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -191,6 +193,8 @@ class elastic_strain_eqv(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -446,6 +454,12 @@ def _spec() -> Specification: 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( @@ -532,6 +546,8 @@ class InputsElasticStrainEqv(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..ca699b73cb3 100644 --- a/src/ansys/dpf/core/operators/result/electric_field.py +++ b/src/ansys/dpf/core/operators/result/electric_field.py @@ -156,6 +156,8 @@ class electric_field(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -191,6 +193,8 @@ class electric_field(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -446,6 +454,12 @@ def _spec() -> Specification: 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( @@ -532,6 +546,8 @@ class InputsElectricField(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..44635794270 100644 --- a/src/ansys/dpf/core/operators/result/electric_flux_density.py +++ b/src/ansys/dpf/core/operators/result/electric_flux_density.py @@ -156,6 +156,8 @@ class electric_flux_density(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -191,6 +193,8 @@ class electric_flux_density(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -446,6 +454,12 @@ def _spec() -> Specification: 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( @@ -532,6 +546,8 @@ class InputsElectricFluxDensity(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..73fca05aecc 100644 --- a/src/ansys/dpf/core/operators/result/element_nodal_forces.py +++ b/src/ansys/dpf/core/operators/result/element_nodal_forces.py @@ -164,6 +164,8 @@ class element_nodal_forces(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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. @@ -209,6 +211,8 @@ class element_nodal_forces(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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) @@ -510,6 +518,12 @@ def _spec() -> Specification: 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"], @@ -610,6 +624,8 @@ class InputsElementNodalForces(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..97c5b2603c5 100644 --- a/src/ansys/dpf/core/operators/result/element_orientations.py +++ b/src/ansys/dpf/core/operators/result/element_orientations.py @@ -156,6 +156,8 @@ class element_orientations(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -191,6 +193,8 @@ class element_orientations(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -446,6 +454,12 @@ def _spec() -> Specification: 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( @@ -532,6 +546,8 @@ class InputsElementOrientations(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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/eqv_stress_parameter.py b/src/ansys/dpf/core/operators/result/eqv_stress_parameter.py index 5d6873fa82b..48446573ab3 100644 --- a/src/ansys/dpf/core/operators/result/eqv_stress_parameter.py +++ b/src/ansys/dpf/core/operators/result/eqv_stress_parameter.py @@ -156,6 +156,8 @@ class eqv_stress_parameter(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -191,6 +193,8 @@ class eqv_stress_parameter(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -446,6 +454,12 @@ def _spec() -> Specification: 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( @@ -532,6 +546,8 @@ class InputsEqvStressParameter(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..dfd4f711489 100644 --- a/src/ansys/dpf/core/operators/result/gasket_inelastic_closure.py +++ b/src/ansys/dpf/core/operators/result/gasket_inelastic_closure.py @@ -154,6 +154,8 @@ class gasket_inelastic_closure(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -187,6 +189,8 @@ class gasket_inelastic_closure(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -432,6 +440,12 @@ def _spec() -> Specification: 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( @@ -516,6 +530,8 @@ class InputsGasketInelasticClosure(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..2e74925eb1a 100644 --- a/src/ansys/dpf/core/operators/result/gasket_stress.py +++ b/src/ansys/dpf/core/operators/result/gasket_stress.py @@ -154,6 +154,8 @@ class gasket_stress(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -187,6 +189,8 @@ class gasket_stress(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -432,6 +440,12 @@ def _spec() -> Specification: 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( @@ -516,6 +530,8 @@ class InputsGasketStress(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..33e39a10644 100644 --- a/src/ansys/dpf/core/operators/result/gasket_thermal_closure.py +++ b/src/ansys/dpf/core/operators/result/gasket_thermal_closure.py @@ -154,6 +154,8 @@ class gasket_thermal_closure(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -187,6 +189,8 @@ class gasket_thermal_closure(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -432,6 +440,12 @@ def _spec() -> Specification: 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( @@ -516,6 +530,8 @@ class InputsGasketThermalClosure(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..b029b6be080 100644 --- a/src/ansys/dpf/core/operators/result/heat_flux.py +++ b/src/ansys/dpf/core/operators/result/heat_flux.py @@ -164,6 +164,8 @@ class heat_flux(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -207,6 +209,8 @@ class heat_flux(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -502,6 +510,12 @@ def _spec() -> Specification: 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( @@ -596,6 +610,8 @@ class InputsHeatFlux(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..d02d133aee5 100644 --- a/src/ansys/dpf/core/operators/result/hydrostatic_pressure.py +++ b/src/ansys/dpf/core/operators/result/hydrostatic_pressure.py @@ -156,6 +156,8 @@ class hydrostatic_pressure(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -191,6 +193,8 @@ class hydrostatic_pressure(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -446,6 +454,12 @@ def _spec() -> Specification: 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( @@ -532,6 +546,8 @@ class InputsHydrostaticPressure(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..c8c0f1cc48d 100644 --- a/src/ansys/dpf/core/operators/result/magnetic_field.py +++ b/src/ansys/dpf/core/operators/result/magnetic_field.py @@ -156,6 +156,8 @@ class magnetic_field(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -191,6 +193,8 @@ class magnetic_field(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -446,6 +454,12 @@ def _spec() -> Specification: 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( @@ -532,6 +546,8 @@ class InputsMagneticField(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..08b9268b269 100644 --- a/src/ansys/dpf/core/operators/result/magnetic_flux_density.py +++ b/src/ansys/dpf/core/operators/result/magnetic_flux_density.py @@ -156,6 +156,8 @@ class magnetic_flux_density(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -191,6 +193,8 @@ class magnetic_flux_density(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -446,6 +454,12 @@ def _spec() -> Specification: 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( @@ -532,6 +546,8 @@ class InputsMagneticFluxDensity(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..62c20152a07 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 @@ -164,6 +164,8 @@ class num_surface_status_changes(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -207,6 +209,8 @@ class num_surface_status_changes(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -502,6 +510,12 @@ def _spec() -> Specification: 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( @@ -596,6 +610,8 @@ class InputsNumSurfaceStatusChanges(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..adf8c633c61 100644 --- a/src/ansys/dpf/core/operators/result/plastic_state_variable.py +++ b/src/ansys/dpf/core/operators/result/plastic_state_variable.py @@ -156,6 +156,8 @@ class plastic_state_variable(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -191,6 +193,8 @@ class plastic_state_variable(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -446,6 +454,12 @@ def _spec() -> Specification: 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( @@ -532,6 +546,8 @@ class InputsPlasticStateVariable(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..542ac347cfb 100644 --- a/src/ansys/dpf/core/operators/result/plastic_strain.py +++ b/src/ansys/dpf/core/operators/result/plastic_strain.py @@ -156,6 +156,8 @@ class plastic_strain(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -191,6 +193,8 @@ class plastic_strain(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -446,6 +454,12 @@ def _spec() -> Specification: 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( @@ -532,6 +546,8 @@ class InputsPlasticStrain(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..431751c0dfe 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 @@ -156,6 +156,8 @@ class plastic_strain_energy_density(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -191,6 +193,8 @@ class plastic_strain_energy_density(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -446,6 +454,12 @@ def _spec() -> Specification: 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( @@ -532,6 +546,8 @@ class InputsPlasticStrainEnergyDensity(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..bc6d8df75f0 100644 --- a/src/ansys/dpf/core/operators/result/plastic_strain_eqv.py +++ b/src/ansys/dpf/core/operators/result/plastic_strain_eqv.py @@ -156,6 +156,8 @@ class plastic_strain_eqv(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -191,6 +193,8 @@ class plastic_strain_eqv(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -446,6 +454,12 @@ def _spec() -> Specification: 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( @@ -532,6 +546,8 @@ class InputsPlasticStrainEqv(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..100b6dddeac 100644 --- a/src/ansys/dpf/core/operators/result/state_variable.py +++ b/src/ansys/dpf/core/operators/result/state_variable.py @@ -158,6 +158,8 @@ class state_variable(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -195,6 +197,8 @@ class state_variable(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -460,6 +468,12 @@ def _spec() -> Specification: 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( @@ -548,6 +562,8 @@ class InputsStateVariable(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..b7121a2f100 100644 --- a/src/ansys/dpf/core/operators/result/stress.py +++ b/src/ansys/dpf/core/operators/result/stress.py @@ -164,6 +164,8 @@ class stress(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -207,6 +209,8 @@ class stress(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -502,6 +510,12 @@ def _spec() -> Specification: 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( @@ -596,6 +610,8 @@ class InputsStress(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..35ab1cb1290 100644 --- a/src/ansys/dpf/core/operators/result/stress_ratio.py +++ b/src/ansys/dpf/core/operators/result/stress_ratio.py @@ -156,6 +156,8 @@ class stress_ratio(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -191,6 +193,8 @@ class stress_ratio(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -446,6 +454,12 @@ def _spec() -> Specification: 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( @@ -532,6 +546,8 @@ class InputsStressRatio(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..08db7f201c4 100644 --- a/src/ansys/dpf/core/operators/result/structural_temperature.py +++ b/src/ansys/dpf/core/operators/result/structural_temperature.py @@ -156,6 +156,8 @@ class structural_temperature(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -191,6 +193,8 @@ class structural_temperature(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -446,6 +454,12 @@ def _spec() -> Specification: 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( @@ -532,6 +546,8 @@ class InputsStructuralTemperature(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..b6cb7129194 100644 --- a/src/ansys/dpf/core/operators/result/swelling_strains.py +++ b/src/ansys/dpf/core/operators/result/swelling_strains.py @@ -156,6 +156,8 @@ class swelling_strains(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -191,6 +193,8 @@ class swelling_strains(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -446,6 +454,12 @@ def _spec() -> Specification: 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( @@ -532,6 +546,8 @@ class InputsSwellingStrains(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..3c25df39e54 100644 --- a/src/ansys/dpf/core/operators/result/temperature_grad.py +++ b/src/ansys/dpf/core/operators/result/temperature_grad.py @@ -156,6 +156,8 @@ class temperature_grad(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -191,6 +193,8 @@ class temperature_grad(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -446,6 +454,12 @@ def _spec() -> Specification: 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( @@ -532,6 +546,8 @@ class InputsTemperatureGrad(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..3c262167d2a 100644 --- a/src/ansys/dpf/core/operators/result/thermal_strain.py +++ b/src/ansys/dpf/core/operators/result/thermal_strain.py @@ -156,6 +156,8 @@ class thermal_strain(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -191,6 +193,8 @@ class thermal_strain(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -446,6 +454,12 @@ def _spec() -> Specification: 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( @@ -532,6 +546,8 @@ class InputsThermalStrain(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..1e3b4c0cd8c 100644 --- a/src/ansys/dpf/core/operators/result/thermal_strains_eqv.py +++ b/src/ansys/dpf/core/operators/result/thermal_strains_eqv.py @@ -156,6 +156,8 @@ class thermal_strains_eqv(Operator): If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. shell_layer: int, optional If connected, this pin allows you to 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 ------- @@ -191,6 +193,8 @@ class thermal_strains_eqv(Operator): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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: @@ -446,6 +454,12 @@ def _spec() -> Specification: 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( @@ -532,6 +546,8 @@ class InputsThermalStrainsEqv(_Inputs): >>> op.inputs.split_shells.connect(my_split_shells) >>> my_shell_layer = int() >>> 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..1631a20dda9 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..deac14dd994 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