diff --git a/doc/source/_static/dpf_operators.html b/doc/source/_static/dpf_operators.html index 2bccc4bdbd3..fc3bc4bbb2d 100644 --- a/doc/source/_static/dpf_operators.html +++ b/doc/source/_static/dpf_operators.html @@ -5528,18 +5528,7 @@
Computes component-wise product between two fields of same dimensionality. If one field's scoping has an 'overall' location, then this field's values are applied on the other field entirely. When using a constant or 'work_by_index', you can use 'inplace' to reuse one of the fields.
field or fields container with only one field is expected |
field or fields container with only one field is expected - |
Checks if two meshes_container are identical.
-Double positive small value. Smallest value which will be considered during the comparison step. All the abs(values) in the field less than this value are considered as null, (default value:1.0e-14). - |
Double relative tolerance. Maximum tolerance gap between two compared values. Values within relative tolerance are considered identical (v1-v2)/v2 < relativeTol (default is 0.001). - |
compare auxiliary data (i.e property fields, scopings...). Default value is 'false'. - |
bool (true if identical...) - |
Computes component-wise product between two fields of same dimensionality. If one field's scoping has an 'overall' location, then this field's values are applied on the other field entirely. When using a constant or 'work_by_index', you can use 'inplace' to reuse one of the fields.
-field or fields container with only one field is expected - |
field or fields container with only one field is expected - |
Reads a field made of 3 coordinates and 3 Euler angles (6 dofs) by node from the result file.
-if true, then the field will only contain the scoping if any rotation is not zero. (default is false). - |
if true, then the field has ncomp=6 with 3 coordinates and 3 Euler angles, else there is only the Euler angles (default is true). - |
Reads/computes element nodal component stresses, average it on nodes (by default) and computes its invariants. +
Reads/computes element nodal component stresses, average it on nodes (by default) and computes its invariants. This operation is independent of the coordinate system unless averaging across elements is requested, in which case a rotation to the global coordinate system is performed.
time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs 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 @@ -5550,7 +5539,18 @@Configurating operators |
prevents from reading the mesh in the result files |
if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1) |
elemental nodal beam results are read if this pin is set to true (default is false) - |
Read Beam TR Shear Stress (LSDyna) by calling the readers defined by the datasources.
+Checks if two meshes_container are identical.
+Double positive small value. Smallest value which will be considered during the comparison step. All the abs(values) in the field less than this value are considered as null, (default value:1.0e-14). + |
Double relative tolerance. Maximum tolerance gap between two compared values. Values within relative tolerance are considered identical (v1-v2)/v2 < relativeTol (default is 0.001). + |
compare auxiliary data (i.e property fields, scopings...). Default value is 'false'. + |
bool (true if identical...) + |
Computes component-wise product between two fields of same dimensionality. If one field's scoping has an 'overall' location, then this field's values are applied on the other field entirely. When using a constant or 'work_by_index', you can use 'inplace' to reuse one of the fields.
+field or fields container with only one field is expected + |
field or fields container with only one field is expected + |
Reads a field made of 3 coordinates and 3 Euler angles (6 dofs) by node from the result file.
+if true, then the field will only contain the scoping if any rotation is not zero. (default is false). + |
if true, then the field has ncomp=6 with 3 coordinates and 3 Euler angles, else there is only the Euler angles (default is true). + |
Read Beam TR Shear Stress (LSDyna) by calling the readers defined by the datasources.
time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs 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 @@ -5704,7 +5704,17 @@Configurating operators |
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. |
Computes element-wise ln(field[i]).
field or fields container with only one field is expected - |
Computes the element-wise invariants of a tensor field.
+Export a MeshedRegion in the pyVista format.
+Node coordinates. If not set, the node coordinates of the mesh are employed. + |
Export a linear version of the mesh (quadratic surface elements do no include midside nodes). If not set, defaults to true. + |
mesh to export in pyVista format + |
True if the VTK version employed by pyVista is > VTK 9. Default true. + |
Export elements as polyhedrons (cell-face-node representation). Default false. + |
Node coordinates double vector + |
Cell connectivity int vector + |
Cell types property int vector + |
If vtk_updated=false, offsets int vector + |
Computes the element-wise invariants of a tensor field.
stress intensity field |
stress equivalent intensity |
max shear stress field @@ -7785,203 +7795,7 @@Configurating operators |
requested location, default is Nodal |
if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1) |
elemental nodal beam results are read if this pin is set to true (default is false) - |
Read/compute elemental gasket deformation by calling the readers defined by the datasources.
-| Averaging is needed | -'split_shells' | -'shell_layer' | -Expected output | -
|---|---|---|---|
| No | -Not connected/false | -Not connected | -Location as in the result file. Fields with all element shapes combined. All shell layers present. | -
| No | -true | -Not connected | -Location as in the result file. Fields split according to element shapes. All shell layers present. | -
| No | -true | -Connected | -Location as in the result file. Fields split according to element shapes. Only the requested shell layer present. | -
| No | -Not connected/false | -Connected | -Location as in the result file. Fields with all element shapes combined. Only the requested shell layer present. | -
| Yes | -Not connected/true | -Not connected | -Location as requested. Fields split according to element shapes. All shell layers present. | -
| Yes | -false | -Not connected | -Location as requested. Fields with all element shapes combined. All shell layers present. | -
| Yes | -false | -Connected | -Location as requested. Fields with all element shapes combined. Only the requested shell layer present. | -
| Yes | -Not connected/true | -Connected | -Location as requested. Fields split according to element shapes. Only the requested shell layer present. | -
| elshape | -Related elements | -
|---|---|
| 1 | -Shell (generic) | -
| 2 | -Solid | -
| 3 | -Beam | -
| 4 | -Skin | -
| 5 | -Contact | -
| 6 | -Load | -
| 7 | -Point | -
| 8 | -Shell with 1 result across thickness (membrane) | -
| 9 | -Shell with 2 results across thickness (top/bottom) | -
| 10 | -Shell with 3 results across thickness (top/bottom/mid) | -
| 11 | -Gasket | -
| 12 | -Multi-Point Constraint | -
| 13 | -Pretension | -
time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1. - |
nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains - |
Fields container already allocated modified inplace - |
result file container allowed to be kept open to cache data - |
result file path container, used if no streams are set - |
if true the field is rotated to global coordinate system (default true). Please check your results carefully if 'false' is used for Elemental or ElementalNodal results averaged to the Nodes when adjacent elements do not share the same coordinate system, as results may be incorrect. - |
prevents from reading the mesh in the result files - |
requested location Nodal, Elemental or ElementalNodal - |
elemental nodal beam results are read if this pin is set to true (default is false) - |
If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. - |
If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. - |
Read/compute elemental gasket deformation XX normal component (00 component) by calling the readers defined by the datasources. Regarding the requested location and the input mesh scoping, the result location can be Nodal/ElementalNodal/Elemental.
-time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1. - |
nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains - |
FieldsContainer already allocated modified inplace - |
result file container allowed to be kept open to cache data - |
result file path container, used if no streams are set - |
if true the field is rotated to global coordinate system (default true) - |
prevents from reading the mesh in the result files - |
requested location, default is Nodal - |
if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1) - |
elemental nodal beam results are read if this pin is set to true (default is false) - |
Calculates for a mesh, the surface of each element's facet over time for each specified time step. The output is a new mesh made with only surface elements.
-Displacement field's container. - |
Mesh must be defined if the displacement field's container does not contain it, or if there is no displacement. - |
Surfaces field. - |
Mesh made of surface elements only. - |
Read/compute elemental gasket deformation 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.
-time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1. - |
nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains - |
FieldsContainer already allocated modified inplace - |
result file container allowed to be kept open to cache data - |
result file path container, used if no streams are set - |
if true the field is rotated to global coordinate system (default true) - |
prevents from reading the mesh in the result files - |
requested location, default is Nodal - |
if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1) - |
elemental nodal beam results are read if this pin is set to true (default is false) - |
Read/compute element nodal component creep 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.
-time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1. - |
nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains - |
FieldsContainer already allocated modified inplace - |
result file container allowed to be kept open to cache data - |
result file path container, used if no streams are set - |
if true the field is rotated to global coordinate system (default true) - |
prevents from reading the mesh in the result files - |
requested location, default is Nodal - |
if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1) - |
elemental nodal beam results are read if this pin is set to true (default is false) - |
Provides the property values for a set of elements for a defined property name.
-scoping that defines the set of elements to fetch the property values for. If not specified, applied on all the elements of the mesh. - |
optional if using a dataSources - |
optional if using a streamsContainer - |
property to read, that can be the following: elements_connectivity, nodes_connectivity, material, element_type, apdl_section_id, apdl_real_id, apdl_esys_id, mapdl_element_type, mapdl_element_type_id, harmonic_index, step, substep, keyopt_i (i = 1 -> 18). - |
property field - |
Read/compute elemental gasket deformation XZ shear component (02 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.
-time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1. - |
nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains - |
FieldsContainer already allocated modified inplace - |
result file container allowed to be kept open to cache data - |
result file path container, used if no streams are set - |
if true the field is rotated to global coordinate system (default true) - |
prevents from reading the mesh in the result files - |
requested location, default is Nodal - |
if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1) - |
elemental nodal beam results are read if this pin is set to true (default is false) - |
Reads a mesh from result files.
+Reads a mesh from result files.
Optional time/frequency set ID of the mesh, supported for adaptative meshes. |
result file container allowed to be kept open to cache data |
result file path container, used if no streams are set @@ -8336,7 +8150,63 @@Configurating operators |
requested location, default is Nodal |
if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1) |
elemental nodal beam results are read if this pin is set to true (default is false) - |
Read/compute element nodal component elastic 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.
+computes the gasket total closure (sum of gasket thermal closure and gasket inelastic closure).
+Read/compute elemental gasket total 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.
+time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1. + |
nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains + |
FieldsContainer already allocated modified inplace + |
result file container allowed to be kept open to cache data + |
result file path container, used if no streams are set + |
if true the field is rotated to global coordinate system (default true) + |
prevents from reading the mesh in the result files + |
requested location, default is Nodal + |
if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1) + |
elemental nodal beam results are read if this pin is set to true (default is false) + |
Calculates for a mesh, the surface of each element's facet over time for each specified time step. The output is a new mesh made with only surface elements.
+Displacement field's container. + |
Mesh must be defined if the displacement field's container does not contain it, or if there is no displacement. + |
Surfaces field. + |
Mesh made of surface elements only. + |
Read/compute elemental gasket total 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.
+time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1. + |
nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains + |
FieldsContainer already allocated modified inplace + |
result file container allowed to be kept open to cache data + |
result file path container, used if no streams are set + |
if true the field is rotated to global coordinate system (default true) + |
prevents from reading the mesh in the result files + |
requested location, default is Nodal + |
if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1) + |
elemental nodal beam results are read if this pin is set to true (default is false) + |
Read/compute element nodal component creep 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.
+time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1. + |
nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains + |
FieldsContainer already allocated modified inplace + |
result file container allowed to be kept open to cache data + |
result file path container, used if no streams are set + |
if true the field is rotated to global coordinate system (default true) + |
prevents from reading the mesh in the result files + |
requested location, default is Nodal + |
if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1) + |
elemental nodal beam results are read if this pin is set to true (default is false) + |
Provides the property values for a set of elements for a defined property name.
+scoping that defines the set of elements to fetch the property values for. If not specified, applied on all the elements of the mesh. + |
optional if using a dataSources + |
optional if using a streamsContainer + |
property to read, that can be the following: elements_connectivity, nodes_connectivity, material, element_type, apdl_section_id, apdl_real_id, apdl_esys_id, mapdl_element_type, mapdl_element_type_id, harmonic_index, step, substep, keyopt_i (i = 1 -> 18). + |
property field + |
Read/compute elemental gasket total closure XZ shear component (02 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.
+time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1. + |
nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains + |
FieldsContainer already allocated modified inplace + |
result file container allowed to be kept open to cache data + |
result file path container, used if no streams are set + |
if true the field is rotated to global coordinate system (default true) + |
prevents from reading the mesh in the result files + |
requested location, default is Nodal + |
if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1) + |
elemental nodal beam results are read if this pin is set to true (default is false) + |
Read/compute element nodal component elastic 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.
time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs 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 @@ -8648,12 +8518,7 @@Configurating operators |
prevents from reading the mesh in the result files |
if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1) |
elemental nodal beam results are read if this pin is set to true (default is false) - |
Transforms Input fields into Elemental fields using an averaging process. The result is computed on a given element's scoping.
-if it is set to true, Elemental Nodal fields are first averaged on nodes and then averaged on elements (default is false). - |
If true, the data across different shell layers is averaged as well (default is false). - |
For shell/solid mixed fields, group in the same field all solids and shells (false by default). If this pin is true and collapse_shell_layers is false, a shell_layer needs to be specified. - |
0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid). - |
Read Turbulent Specific Dissipation Rate (omega) by calling the readers defined by the datasources.
+Read Turbulent Specific Dissipation Rate (omega) by calling the readers defined by the datasources.
time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs 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 @@ -8661,7 +8526,12 @@Configurating operators |
prevents from reading the mesh in the result files |
region id (integer) or vector of region ids (vector) or region scoping (scoping) of the model (region corresponds to zone for Fluid results or part for LSDyna results). |
(for Fluid results only) LabelSpace with combination of zone, phases or species ids - |
Read/compute element nodal component plastic strains by calling the readers defined by the datasources.
+Transforms Input fields into Elemental fields using an averaging process. The result is computed on a given element's scoping.
+if it is set to true, Elemental Nodal fields are first averaged on nodes and then averaged on elements (default is false). + |
If true, the data across different shell layers is averaged as well (default is false). + |
For shell/solid mixed fields, group in the same field all solids and shells (false by default). If this pin is true and collapse_shell_layers is false, a shell_layer needs to be specified. + |
0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. If merge_solid_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid). + |
Read/compute element nodal component plastic strains by calling the readers defined by the datasources.
global mass matrix multiplier |
global stiffness matrix multiplier |
field of modal damping ratio. - |
Export DPF data into vtu format.
-directory path - |
vtu base file name, (default is file) - |
mesh - |
Nodal, Face, or Elemental field, fields container (over time), or property field to export. When there is no support available in the exported mesh, that data is ignored. - |
Available are rawbinarycompressed, rawbinary, base64appended, base64inline, ascii, default is (rawbinarycompressed) - |
Whether to export the mesh as a point cloud. Default is False. - |
Whether to also export faces as shell elements when the mesh contains cells. Default is False. - |
List of names of mesh properties to export. - |
list of output vtu file path - |
Read/compute element nodal component creep strains by calling the readers defined by the datasources.
+Read/compute element nodal component creep strains by calling the readers defined by the datasources.
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. - |
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.
+Export DPF data into vtu format.
+directory path + |
vtu base file name, (default is file) + |
mesh + |
Nodal, Face, or Elemental field, fields container (over time), or property field to export. When there is no support available in the exported mesh, that data is ignored. + |
Available are rawbinarycompressed, rawbinary, base64appended, base64inline, ascii, default is (rawbinarycompressed) + |
Whether to export the mesh as a point cloud. Default is False. + |
Whether to also export faces as shell elements when the mesh contains cells. Default is False. + |
List of names of mesh properties to export. + |
list of output vtu file path + |
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.
time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs 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 @@ -9669,7 +9539,8 @@Configurating operators |
angle phi in degrees (default value 0.0), use if cyclic expansion is to be done. |
region id (integer) or vector of region ids (vector) or region scoping (scoping) of the model (region corresponds to zone for Fluid results or part for LSDyna results). |
(for Fluid results only) LabelSpace with combination of zone, phases or species ids - |
Read/compute nodal reaction forces X component of the vector (1st component) by calling the readers defined by the datasources.
+Converts 3D field from cartesian coordinates to spherical coordinates.
+Read/compute nodal reaction forces X component of the vector (1st component) by calling the readers defined by the datasources.
time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs 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 @@ -9687,8 +9558,7 @@Configurating operators |
if true the field is rotated to global coordinate system (default true) |
prevents from reading the mesh in the result files |
if 0 cyclic symmetry is ignored, if 1 cyclic sector is read, if 2 cyclic expansion is done, if 3 cyclic expansion is done and stages are merged (default is 1) - |
Converts 3D field from cartesian coordinates to spherical coordinates.
-Read Global External Work (LSDyna) by calling the readers defined by the datasources.
+Read Global External Work (LSDyna) by calling the readers defined by the datasources.
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 @@ -10315,7 +10185,15 @@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. - |
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.
+Read/compute names result from result streams.
+time/freq (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output + |
nodes or elements scoping required in output. The scoping's location indicates whether nodes or elements are asked. Using scopings container enables to split the result fields container in domains + |
result file container allowed to be kept open to cache data + |
result file path container, used if no streams are set + |
name of the result to read. By default the name of the operator is taken. + |
Optional zone name/Id of the mesh. + |
Results + |
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.
time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs 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 @@ -13744,7 +13622,7 @@Configurating operators |
time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs 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.0.0 Supported file typesInputs
OutputsConfigurationsScriptingChangelogutility: incremental fieldIncrementaly merge the input. -Version 0.0.0 InputsOutputsConfigurationsScriptingChangeloggeo: rotate (fields container)Apply a transformation (rotation) matrix on all the fields of a fields container. +Version 0.0.0 InputsOutputsConfigurationsScriptingChangelogutility: incremental fields containerIncrementaly merge the input. +Version 0.0.0 InputsOutputsConfigurationsScriptingChangeloggeo: rotate (fields container)Apply a transformation (rotation) matrix on all the fields of a fields container. Version 0.0.0 Inputs
OutputsConfigurationsScriptingChangelogutility: incremental fields containerIncrementaly merge the input. -Version 0.0.0 InputsOutputsConfigurationsScriptingChangelogutility: incremental property fieldIncrementaly merge the input. + |
Incrementaly merge the input.
Extract a mesh made of points elements. This mesh is made from input meshes coordinates on the input scopings.
Incrementaly merge the input.
Assemble fields in a fields container.
@@ -14598,10 +14476,10 @@first eigen value field |
second eigen value field |
third eigen value field - |
Computes the element-wise Segalman Von-Mises criteria on all the tensor fields of a fields container.
-Computes the element-wise Von-Mises criteria on all the tensor fields of a fields container.
+Computes the element-wise Von-Mises criteria on all the tensor fields of a fields container.
Poisson ratio to be used in equivalent strain calculation. - |
Computes the element centroids of the mesh. It also outputs the element measure.
+Computes the element-wise Segalman Von-Mises criteria on all the tensor fields of a fields container.
+Computes the element centroids of the mesh. It also outputs the element measure.
If provided, only the centroids of the elements in the scoping are computed. |
Mesh to compute centroids |
element centroids. @@ -15046,7 +14924,16 @@Configurating operators |
Supported property names are: "mat", "named_selection", "named_selection_names", "apdl_element_type", "section", "elprops", "keyopt_1" to "keyopt_18". |
Retrieves a property at a given index or by name. For example, a named selection's number or a named selection's name. |
Returns a property field for properties: "mat", "apdl_element_type", "section", "elprops", "keyopt_1" to "keyopt_18" (or any mesh's property field), a scoping for properties:"named_selection", a string field for properties: "named_selection_names". - |
Computes the strain from a displacement field. +
Extract all results from a datasources and exports them into vtu format. All the connected inputs are forwarded to the result providers operators.
+time sets to export, default is all + |
result file container allowed to be kept open to cache data + |
result file path container, used if no streams are set + |
directory path + |
vtu base file name, (default is file) + |
if Operator's names are connected to this Pin, only these results are exported (else all available results are exported) + |
Available are rawbinarycompressed, rawbinary, base64appended, base64inline, ascii, default is (rawbinarycompressed) + |
list of output vtu file path + |
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. @@ -15224,39 +15111,12 @@
Average the Elemental Nodal result to the requested location. |
Field/or fields container containing only the elastic strain field (element nodal). |
The computed result fields container (elemental nodal). - |
Extract all results from a datasources and exports them into vtu format. All the connected inputs are forwarded to the result providers operators.
-time sets to export, default is all - |
result file container allowed to be kept open to cache data - |
result file path container, used if no streams are set - |
directory path - |
vtu base file name, (default is file) - |
if Operator's names are connected to this Pin, only these results are exported (else all available results are exported) - |
Available are rawbinarycompressed, rawbinary, base64appended, base64inline, ascii, default is (rawbinarycompressed) - |
list of output vtu file path - |
Export a MeshedRegion in the pyVista format.
-Node coordinates. If not set, the node coordinates of the mesh are employed. - |
Export a linear version of the mesh (quadratic surface elements do no include midside nodes). If not set, defaults to true. - |
mesh to export in pyVista format - |
True if the VTK version employed by pyVista is > VTK 9. Default true. - |
Export elements as polyhedrons (cell-face-node representation). Default false. - |
Node coordinates double vector - |
Cell connectivity int vector - |
Cell types property int vector - |
If vtk_updated=false, offsets int vector - |
Decimate a meshed region
+Decimate a meshed region
Mesh to decimate |
Target ratio of elements to preserve, the actual number of elements preserved might differ. Default value is 0.5. |
Quality measure for the resulting decimated mesh. Lower aggresiveness will provide a higher quality mesh with the tradeoff of higher execution time. Value range is 0 to 150, default is 0. |
Decimated mesh with triangle elements - |
Read/compute names result from result streams.
-time/freq (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output - |
nodes or elements scoping required in output. The scoping's location indicates whether nodes or elements are asked. Using scopings container enables to split the result fields container in domains - |
result file container allowed to be kept open to cache data - |
result file path container, used if no streams are set - |
name of the result to read. By default the name of the operator is taken. - |
Optional zone name/Id of the mesh. - |
Results - |
Generates a workflow that computes the equivalent (Von Mises) stresses and averages it to the nodes (by default). For multibody simulations, averaging across bodies can either be activated or deactivated.
+Generates a workflow that computes the equivalent (Von Mises) stresses and averages it to the nodes (by default). For multibody simulations, averaging across bodies can either be activated or deactivated.
time/freq (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids use scoping with TimeFreq_steps location) required in output. |
nodes or elements scoping required in output. |
result file container allowed to be kept open to cache data. diff --git a/src/ansys/dpf/core/operators/result/__init__.py b/src/ansys/dpf/core/operators/result/__init__.py index 0c78f968687..3921cfe7897 100644 --- a/src/ansys/dpf/core/operators/result/__init__.py +++ b/src/ansys/dpf/core/operators/result/__init__.py @@ -126,10 +126,6 @@ from .euler_load_buckling import euler_load_buckling from .euler_nodes import euler_nodes from .fluid_velocity import fluid_velocity -from .gasket_deformation import gasket_deformation -from .gasket_deformation_X import gasket_deformation_X -from .gasket_deformation_XY import gasket_deformation_XY -from .gasket_deformation_XZ import gasket_deformation_XZ from .gasket_inelastic_closure import gasket_inelastic_closure from .gasket_inelastic_closure_X import gasket_inelastic_closure_X from .gasket_inelastic_closure_XY import gasket_inelastic_closure_XY @@ -142,6 +138,10 @@ from .gasket_thermal_closure_X import gasket_thermal_closure_X from .gasket_thermal_closure_XY import gasket_thermal_closure_XY from .gasket_thermal_closure_XZ import gasket_thermal_closure_XZ +from .gasket_total_closure import gasket_total_closure +from .gasket_total_closure_X import gasket_total_closure_X +from .gasket_total_closure_XY import gasket_total_closure_XY +from .gasket_total_closure_XZ import gasket_total_closure_XZ from .global_added_mass import global_added_mass from .global_added_mass_pct import global_added_mass_pct from .global_center_mass import global_center_mass diff --git a/src/ansys/dpf/core/operators/result/gasket_deformation.py b/src/ansys/dpf/core/operators/result/gasket_deformation.py deleted file mode 100644 index b46246cd53e..00000000000 --- a/src/ansys/dpf/core/operators/result/gasket_deformation.py +++ /dev/null @@ -1,835 +0,0 @@ -""" -gasket_deformation - -Autogenerated DPF operator classes. -""" - -from __future__ import annotations - -from warnings import warn -from ansys.dpf.core.dpf_operator import Operator -from ansys.dpf.core.inputs import Input, _Inputs -from ansys.dpf.core.outputs import Output, _Outputs -from ansys.dpf.core.operators.specification import PinSpecification, Specification -from ansys.dpf.core.config import Config -from ansys.dpf.core.server_types import AnyServerType - - -class gasket_deformation(Operator): - r"""Read/compute elemental gasket deformation by calling the readers defined - by the datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs - are processed to see if they need scoping transposition or result - averaging. The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ - or ‘Elemental’ location. - Once the need for averaging has been - detected, the behavior of the combined connection of the ‘split_shells’ - and ‘shell_layer’ pins is: - - +-------------------+-------------------+-------------+---------------+ - | Averaging is | ‘split_shells’ | ‘s | Expected | - | needed | | hell_layer’ | output | - +===================+===================+=============+===============+ - | No | Not | Not | Location as | - | | connected/false | connected | in the result | - | | | | file. Fields | - | | | | with all | - | | | | element | - | | | | shapes | - | | | | combined. All | - | | | | shell layers | - | | | | present. | - +-------------------+-------------------+-------------+---------------+ - | No | true | Not | Location as | - | | | connected | in the result | - | | | | file. Fields | - | | | | split | - | | | | according to | - | | | | element | - | | | | shapes. All | - | | | | shell layers | - | | | | present. | - +-------------------+-------------------+-------------+---------------+ - | No | true | Connected | Location as | - | | | | in the result | - | | | | file. Fields | - | | | | split | - | | | | according to | - | | | | element | - | | | | shapes. Only | - | | | | the requested | - | | | | shell layer | - | | | | present. | - +-------------------+-------------------+-------------+---------------+ - | No | Not | Connected | Location as | - | | connected/false | | in the result | - | | | | file. Fields | - | | | | with all | - | | | | element | - | | | | shapes | - | | | | combined. | - | | | | Only the | - | | | | requested | - | | | | shell layer | - | | | | present. | - +-------------------+-------------------+-------------+---------------+ - | Yes | Not | Not | Location as | - | | connected/true | connected | requested. | - | | | | Fields split | - | | | | according to | - | | | | element | - | | | | shapes. All | - | | | | shell layers | - | | | | present. | - +-------------------+-------------------+-------------+---------------+ - | Yes | false | Not | Location as | - | | | connected | requested. | - | | | | Fields with | - | | | | all element | - | | | | shapes | - | | | | combined. All | - | | | | shell layers | - | | | | present. | - +-------------------+-------------------+-------------+---------------+ - | Yes | false | Connected | Location as | - | | | | requested. | - | | | | Fields with | - | | | | all element | - | | | | shapes | - | | | | combined. | - | | | | Only the | - | | | | requested | - | | | | shell layer | - | | | | present. | - +-------------------+-------------------+-------------+---------------+ - | Yes | Not | Connected | Location as | - | | connected/true | | requested. | - | | | | Fields split | - | | | | according to | - | | | | element | - | | | | shapes. Only | - | | | | the requested | - | | | | shell layer | - | | | | present. | - +-------------------+-------------------+-------------+---------------+ - - - The available ‘elshape’ values are: - - ======= ====================================================== - elshape Related elements - ======= ====================================================== - 1 Shell (generic) - 2 Solid - 3 Beam - 4 Skin - 5 Contact - 6 Load - 7 Point - 8 Shell with 1 result across thickness (membrane) - 9 Shell with 2 results across thickness (top/bottom) - 10 Shell with 3 results across thickness (top/bottom/mid) - 11 Gasket - 12 Multi-Point Constraint - 13 Pretension - ======= ====================================================== - - - Parameters - ---------- - time_scoping: Scoping or int or float or Field, optional - time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1. - mesh_scoping: ScopingsContainer or Scoping, optional - nodes or elements scoping required in output. The output fields will be scoped on these node or element IDs. To figure out the ordering of the fields data, look at their scoping IDs as they might not be ordered as the input scoping was. The scoping's location indicates whether nodes or elements are asked for. Using scopings container allows you to split the result fields container into domains - fields_container: FieldsContainer, optional - Fields container already allocated modified inplace - streams_container: StreamsContainer, optional - result file container allowed to be kept open to cache data - data_sources: DataSources - result file path container, used if no streams are set - bool_rotate_to_global: bool, optional - if true the field is rotated to global coordinate system (default true). Please check your results carefully if 'false' is used for Elemental or ElementalNodal results averaged to the Nodes when adjacent elements do not share the same coordinate system, as results may be incorrect. - mesh: MeshedRegion or MeshesContainer, optional - prevents from reading the mesh in the result files - requested_location: str, optional - requested location Nodal, Elemental or ElementalNodal - read_beams: bool, optional - elemental nodal beam results are read if this pin is set to true (default is false) - split_shells: bool, optional - If true, this pin forces the results to be split by element shape, indicated by the presence of the 'elshape' label in the output. If false, the results for all elements shapes are combined. Default value is false if averaging is not required and true if averaging is required. - shell_layer: int, optional - If connected, this pin allows you to extract the result only on the selected shell layer(s). The available values are: 0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. - - Returns - ------- - fields_container: FieldsContainer - - Examples - -------- - >>> from ansys.dpf import core as dpf - - >>> # Instantiate operator - >>> op = dpf.operators.result.gasket_deformation() - - >>> # Make input connections - >>> my_time_scoping = dpf.Scoping() - >>> op.inputs.time_scoping.connect(my_time_scoping) - >>> my_mesh_scoping = dpf.ScopingsContainer() - >>> op.inputs.mesh_scoping.connect(my_mesh_scoping) - >>> my_fields_container = dpf.FieldsContainer() - >>> op.inputs.fields_container.connect(my_fields_container) - >>> my_streams_container = dpf.StreamsContainer() - >>> op.inputs.streams_container.connect(my_streams_container) - >>> my_data_sources = dpf.DataSources() - >>> op.inputs.data_sources.connect(my_data_sources) - >>> my_bool_rotate_to_global = bool() - >>> op.inputs.bool_rotate_to_global.connect(my_bool_rotate_to_global) - >>> my_mesh = dpf.MeshedRegion() - >>> op.inputs.mesh.connect(my_mesh) - >>> my_requested_location = str() - >>> op.inputs.requested_location.connect(my_requested_location) - >>> my_read_beams = bool() - >>> op.inputs.read_beams.connect(my_read_beams) - >>> my_split_shells = bool() - >>> op.inputs.split_shells.connect(my_split_shells) - >>> my_shell_layer = int() - >>> op.inputs.shell_layer.connect(my_shell_layer) - - >>> # Instantiate operator and connect inputs in one line - >>> op = dpf.operators.result.gasket_deformation( - ... time_scoping=my_time_scoping, - ... mesh_scoping=my_mesh_scoping, - ... fields_container=my_fields_container, - ... streams_container=my_streams_container, - ... data_sources=my_data_sources, - ... bool_rotate_to_global=my_bool_rotate_to_global, - ... mesh=my_mesh, - ... requested_location=my_requested_location, - ... read_beams=my_read_beams, - ... split_shells=my_split_shells, - ... shell_layer=my_shell_layer, - ... ) - - >>> # Get output data - >>> result_fields_container = op.outputs.fields_container() - """ - - def __init__( - self, - time_scoping=None, - mesh_scoping=None, - fields_container=None, - streams_container=None, - data_sources=None, - bool_rotate_to_global=None, - mesh=None, - requested_location=None, - read_beams=None, - split_shells=None, - shell_layer=None, - config=None, - server=None, - ): - super().__init__(name="GKD", config=config, server=server) - self._inputs = InputsGasketDeformation(self) - self._outputs = OutputsGasketDeformation(self) - if time_scoping is not None: - self.inputs.time_scoping.connect(time_scoping) - if mesh_scoping is not None: - self.inputs.mesh_scoping.connect(mesh_scoping) - if fields_container is not None: - self.inputs.fields_container.connect(fields_container) - if streams_container is not None: - self.inputs.streams_container.connect(streams_container) - if data_sources is not None: - self.inputs.data_sources.connect(data_sources) - if bool_rotate_to_global is not None: - self.inputs.bool_rotate_to_global.connect(bool_rotate_to_global) - if mesh is not None: - self.inputs.mesh.connect(mesh) - if requested_location is not None: - self.inputs.requested_location.connect(requested_location) - if read_beams is not None: - self.inputs.read_beams.connect(read_beams) - if split_shells is not None: - self.inputs.split_shells.connect(split_shells) - if shell_layer is not None: - self.inputs.shell_layer.connect(shell_layer) - - @staticmethod - def _spec() -> Specification: - description = r"""Read/compute elemental gasket deformation by calling the readers defined -by the datasources. - The ‘requested_location’ and ‘mesh_scoping’ inputs -are processed to see if they need scoping transposition or result -averaging. The resulting output fields have a ‘Nodal’, ‘ElementalNodal’ -or ‘Elemental’ location. - Once the need for averaging has been -detected, the behavior of the combined connection of the ‘split_shells’ -and ‘shell_layer’ pins is: - -+-------------------+-------------------+-------------+---------------+ -| Averaging is | ‘split_shells’ | ‘s | Expected | -| needed | | hell_layer’ | output | -+===================+===================+=============+===============+ -| No | Not | Not | Location as | -| | connected/false | connected | in the result | -| | | | file. Fields | -| | | | with all | -| | | | element | -| | | | shapes | -| | | | combined. All | -| | | | shell layers | -| | | | present. | -+-------------------+-------------------+-------------+---------------+ -| No | true | Not | Location as | -| | | connected | in the result | -| | | | file. Fields | -| | | | split | -| | | | according to | -| | | | element | -| | | | shapes. All | -| | | | shell layers | -| | | | present. | -+-------------------+-------------------+-------------+---------------+ -| No | true | Connected | Location as | -| | | | in the result | -| | | | file. Fields | -| | | | split | -| | | | according to | -| | | | element | -| | | | shapes. Only | -| | | | the requested | -| | | | shell layer | -| | | | present. | -+-------------------+-------------------+-------------+---------------+ -| No | Not | Connected | Location as | -| | connected/false | | in the result | -| | | | file. Fields | -| | | | with all | -| | | | element | -| | | | shapes | -| | | | combined. | -| | | | Only the | -| | | | requested | -| | | | shell layer | -| | | | present. | -+-------------------+-------------------+-------------+---------------+ -| Yes | Not | Not | Location as | -| | connected/true | connected | requested. | -| | | | Fields split | -| | | | according to | -| | | | element | -| | | | shapes. All | -| | | | shell layers | -| | | | present. | -+-------------------+-------------------+-------------+---------------+ -| Yes | false | Not | Location as | -| | | connected | requested. | -| | | | Fields with | -| | | | all element | -| | | | shapes | -| | | | combined. All | -| | | | shell layers | -| | | | present. | -+-------------------+-------------------+-------------+---------------+ -| Yes | false | Connected | Location as | -| | | | requested. | -| | | | Fields with | -| | | | all element | -| | | | shapes | -| | | | combined. | -| | | | Only the | -| | | | requested | -| | | | shell layer | -| | | | present. | -+-------------------+-------------------+-------------+---------------+ -| Yes | Not | Connected | Location as | -| | connected/true | | requested. | -| | | | Fields split | -| | | | according to | -| | | | element | -| | | | shapes. Only | -| | | | the requested | -| | | | shell layer | -| | | | present. | -+-------------------+-------------------+-------------+---------------+ - -- The available ‘elshape’ values are: - -======= ====================================================== -elshape Related elements -======= ====================================================== -1 Shell (generic) -2 Solid -3 Beam -4 Skin -5 Contact -6 Load -7 Point -8 Shell with 1 result across thickness (membrane) -9 Shell with 2 results across thickness (top/bottom) -10 Shell with 3 results across thickness (top/bottom/mid) -11 Gasket -12 Multi-Point Constraint -13 Pretension -======= ====================================================== -""" - spec = Specification( - description=description, - map_input_pin_spec={ - 0: PinSpecification( - name="time_scoping", - type_names=[ - "scoping", - "int32", - "vector |