diff --git a/doc/source/_static/dpf_operators.html b/doc/source/_static/dpf_operators.html index 3afc01ed74b..868001d79da 100644 --- a/doc/source/_static/dpf_operators.html +++ b/doc/source/_static/dpf_operators.html @@ -9599,8 +9599,8 @@

Configurating operators

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

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

Outputs

Configurations

Scripting

Changelog

scoping: rescope (fields container)

Description

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

-
Version 0.0.0

Inputs

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

-

Outputs

Configurations

Scripting

Changelog

result: acceleration Z

Description

Read/compute nodal accelerations Z component of the vector (3rd component) by calling the readers defined by the datasources.

+
Version 0.1.0

Inputs

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

+

Outputs

Configurations

Scripting

Changelog

result: acceleration Z

Description

Read/compute nodal accelerations Z component of the vector (3rd component) 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

FieldsContainer already allocated modified inplace

@@ -14019,8 +14019,8 @@

Configurating operators

Version 0.0.0

Inputs

a threshold scalar or a field containing one value is expected

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

Outputs

Configurations

Scripting

Changelog

scoping: rescope

Description

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

-
Version 0.0.0

Inputs

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

-

Outputs

Configurations

Scripting

Changelog

utility: data sources get attribute

Description

A DataSources in pin 0 and a property name (string) in pin 1 are expected in input. An index refering to the property can also be provided.

+
Version 0.1.0

Inputs

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

+

Outputs

Configurations

Scripting

Changelog

utility: data sources get attribute

Description

A DataSources in pin 0 and a property name (string) in pin 1 are expected in input. An index refering to the property can also be provided.

Version 0.0.0

Inputs

Accepted inputs are: 'file_path' (returns string), 'result_file_name' (returns string), 'domain_file_path' (returns string), 'domain_result_file_name' (returns string), 'num_keys' (returns int), num_result_key (returns int), num_file_path (returns int), 'num_result_file_path' (returns int), 'key_by_index' (returns string), 'result_key_by_index' (returns string), 'path_by_index' (returns string), 'path_key_by_index' (returns string).

Index for the property. Must be set for 'domain_file_path', 'domain_result_file_name' 'key_by_index', 'result_key_by_index', 'path_by_index' and 'path_key_by_index' properties.

Key to look for. Must be set for 'file_path' and 'domain_file_path' properties.

@@ -14058,8 +14058,8 @@

Configurating operators

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

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

Outputs

Configurations

Scripting

Changelog

scoping: rescope custom type field

Description

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

-
Version 0.0.0

Inputs

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

-

Outputs

Configurations

Scripting

Changelog

result: nodal_to_global

Description

Rotates nodal elemental results to global coordinate system

+
Version 0.1.0

Inputs

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

+

Outputs

Configurations

Scripting

Changelog

result: nodal_to_global

Description

Rotates nodal elemental results to global coordinate system

Version 0.0.0

Inputs

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

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

Outputs

Rotated field

@@ -14192,8 +14192,8 @@

Configurating operators

Outputs

coordinates in the reference elements

Ids of the elements where each set of reduced coordinates is found

Configurations

Scripting

Changelog

scoping: rescope property field

Description

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

-
Version 0.0.0

Inputs

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

-

Outputs

Configurations

Scripting

Changelog

averaging: elemental nodal to nodal elemental (field)

Description

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

+
Version 0.1.0

Inputs

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

+

Outputs

Configurations

Scripting

Changelog

averaging: elemental nodal to nodal elemental (field)

Description

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

Version 0.0.0

Inputs

field or fields container with only one field is expected

Outputs

Configurations

Scripting

Changelog

scoping: adapt with scopings container

Description

Rescopes/splits a fields container to correspond to a scopings container.

Version 0.0.0

Inputs

Default false.

@@ -14606,21 +14606,20 @@

Configurating operators

Tolerance used in the iterative algorithm to locate coordinates inside the mesh. Default value: 5e-5.

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

If this pin is set to true, the element search for each coordinate is computed on the quadratic element if the element is quadratic (more precise but less performant). Default is false.

-

Outputs

Configurations

Scripting

Changelog

mapping: scoping on coordinates

Description

Finds the Elemental scoping of a set of coordinates.

+

Outputs

Configurations

Scripting

Changelog

mapping: scoping on coordinates

Description

Finds the Elemental scoping of a set of coordinates.

Version 0.0.0

Inputs

Outputs

Configurations

Scripting

Changelog

filter: abc weightings

Description

Computes ABC-weightings for the amplitude spectrum in dB units.

Version 0.0.0

Inputs

data to be weighted in dB units.

if this pin is set to 0, the A-weighting is computed, 1 the B-weigting is computed and 2 the C-weightings is computed.

if this pin is set to true, each field of the input fields container is defined by time freq scoping and not by ids. Default is false

Outputs

weighted data in dB units.

Configurations

Scripting

Changelog

mapping: solid to skin

Description

Maps a field defined on solid elements to a field defined on skin elements. Three cases are possible, based on the solid field data location; (i) Elemental: The values associated with the solid elements are copied according to those underlying the skin, (ii) Nodal: The solid field is rescoped with respect to the nodes of the skin mesh, (iii) ElementalNodal: The values are copied from the solid mesh to the skin mesh for each element face and the nodes associated with it.

-
Version 0.0.0

Inputs

field or fields container with only one field is expected

+
Version 0.1.0

Inputs

field or fields container with only one field is expected

skin mesh region expected

Solid mesh support (optional).

-

Outputs

Configurations

Scripting

Changelog

mapping: solid to skin (fields container)

Description

Maps a field defined on solid elements to a field defined on skin elements. Three cases are possible, based on the solid field data location; (i) Elemental: The values associated with the solid elements are copied according to those underlying the skin, (ii) Nodal: The solid field is rescoped with respect to the nodes of the skin mesh, (iii) ElementalNodal: The values are copied from the solid mesh to the skin mesh for each element face and the nodes associated with it.

-
Version 0.0.0

Inputs

field or fields container with only one field is expected

-

skin mesh region expected

+

Outputs

Configurations

Scripting

Changelog

mapping: solid to skin fc

Description

Maps a fields container defined on solid elements to a field defined on skin elements. Three cases are possible, based on the solid field data location; (i) Elemental: The values associated with the solid elements are copied according to those underlying the skin, (ii) Nodal: The solid field is rescoped with respect to the nodes of the skin mesh, (iii) ElementalNodal: The values are copied from the solid mesh to the skin mesh for each element face and the nodes associated with it.

+
Version 0.1.0

Inputs

skin mesh region expected

Solid mesh support (optional).

-

Outputs

Configurations

Scripting

Changelog

averaging: elemental difference (field)

Description

Transforms an Elemental Nodal or Nodal field into an Elemental field. Each elemental value is the maximum difference between the computed result for all nodes in this element. The result is computed on a given element scoping.

+

Outputs

Configurations

Scripting

Changelog

averaging: elemental difference (field)

Description

Transforms an Elemental Nodal or Nodal field into an Elemental field. Each elemental value is the maximum difference between the computed result for all nodes in this element. The result is computed on a given element scoping.

Version 0.0.0

Inputs

field or fields container with only one field is expected

average only on these entities

The maximum elemental difference is taken through the different shell layers if true (default is false).

@@ -14654,7 +14653,7 @@

Configurating operators

Version 0.1.2

Inputs

if nodal/face scoping, then the scoping is transposed respecting the inclusive pin

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

returns mesh with nodes only (without any elements or property fields). Default is false.

-

Outputs

Configurations

Scripting

Changelog

mesh: split field wrt mesh regions

Description

Split the input field or fields container based on the input mesh regions

+

Outputs

Configurations

Scripting

Changelog

mesh: split field wrt mesh regions

Description

Split the input field or fields container based on the input mesh regions

Version 0.0.0

Inputs

body meshes in the mesh controller cannot be mixed shell/solid

Outputs

Configurations

Scripting

Changelog

result: torque

Description

Compute torque of a force based on a 3D point.

Version 0.0.0

Inputs

fields_container

diff --git a/src/ansys/dpf/core/operators/mapping/solid_to_skin_fc.py b/src/ansys/dpf/core/operators/mapping/solid_to_skin_fc.py index 781663a9c6b..fd4963b6b00 100644 --- a/src/ansys/dpf/core/operators/mapping/solid_to_skin_fc.py +++ b/src/ansys/dpf/core/operators/mapping/solid_to_skin_fc.py @@ -16,8 +16,8 @@ class solid_to_skin_fc(Operator): - r"""Maps a field defined on solid elements to a field defined on skin - elements. Three cases are possible, based on the solid field data + r"""Maps a fields container defined on solid elements to a field defined on + skin elements. Three cases are possible, based on the solid field data location; (i) Elemental: The values associated with the solid elements are copied according to those underlying the skin, (ii) Nodal: The solid field is rescoped with respect to the nodes of the skin mesh, (iii) @@ -28,7 +28,6 @@ class solid_to_skin_fc(Operator): Parameters ---------- fields_container: FieldsContainer - field or fields container with only one field is expected mesh: MeshedRegion skin mesh region expected solid_mesh: MeshedRegion, optional @@ -84,8 +83,8 @@ def __init__( @staticmethod def _spec() -> Specification: - description = r"""Maps a field defined on solid elements to a field defined on skin -elements. Three cases are possible, based on the solid field data + description = r"""Maps a fields container defined on solid elements to a field defined on +skin elements. Three cases are possible, based on the solid field data location; (i) Elemental: The values associated with the solid elements are copied according to those underlying the skin, (ii) Nodal: The solid field is rescoped with respect to the nodes of the skin mesh, (iii) @@ -99,7 +98,7 @@ def _spec() -> Specification: name="fields_container", type_names=["fields_container"], optional=False, - document=r"""field or fields container with only one field is expected""", + document=r"""""", ), 1: PinSpecification( name="mesh", @@ -198,8 +197,6 @@ def __init__(self, op: Operator): def fields_container(self) -> Input: r"""Allows to connect fields_container input to the operator. - field or fields container with only one field is expected - Returns ------- input: diff --git a/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll b/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll index 3a82e46f03e..f9e0293f20a 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 f67b55e3234..b3b884ac502 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 6b8ab3eddfd..9bd8b10cf0a 100644 Binary files a/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so and b/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so differ