diff --git a/doc/source/_static/dpf_operators.html b/doc/source/_static/dpf_operators.html index d7fb0ca047..b8471cd45c 100644 --- a/doc/source/_static/dpf_operators.html +++ b/doc/source/_static/dpf_operators.html @@ -2117,7 +2117,7 @@

Configurating operators

All coordinates are global coordinates. Euler Angles need to be included in the database. Get the XZ shear component (02 component).">

Inputs

Outputs

Configurations

Scripting

result: cms dst table provider

Inputs

Outputs

Configurations

Scripting

result: spectrum data

Inputs

Outputs

Configurations

Scripting

invariant: eigen vectors (on field)

Inputs

Outputs

Configurations

Scripting

result: mapdl material properties

Inputs

Outputs

Configurations

Scripting

result: mapdl_section

Inputs

Outputs

Configurations

Scripting

result: rom data provider

Inputs

Outputs

Configurations

Scripting

result: compute invariant terms motion

Inputs

Outputs

Configurations

Scripting

result: write motion dfmf file

Inputs

Outputs

Configurations

Scripting

result: split to acmo facet indices

Inputs

Outputs

Configurations

Scripting

math: qr solve

Inputs

Outputs

Configurations

Scripting

serialization: migrate to vtk

Inputs

Outputs

Configurations

Scripting

result: cyclic expanded element heat flux

Inputs

Outputs

Configurations

Scripting

mesh: external layer

Inputs

Outputs

Configurations

Scripting

mesh: mesh cutter

Inputs

Outputs

Configurations

Scripting

mesh: mesh plan clipper

Inputs

Outputs

Configurations

Scripting

mesh: mesh_to_graphics

Inputs

Outputs

Configurations

Scripting

mesh: mesh_to_graphics_edges

Inputs

Outputs

Configurations

Scripting

geo: scoping normals

Inputs

Outputs

Configurations

Scripting

mesh: combine levelset

Inputs

Outputs

Configurations

Scripting

mesh: exclude levelset

Inputs

Outputs

Configurations

Scripting

mesh: make plane levelset

Inputs

Outputs

Configurations

Scripting

mesh: make sphere levelset

Inputs

Outputs

Configurations

Scripting

mesh: mesh extraction

Inputs

Outputs

Configurations

Scripting

mesh: wireframe

Inputs

Outputs

Configurations

Scripting

mesh: mesh to tetra

Inputs

Outputs

Configurations

Scripting

mapping: fft

Inputs

Outputs

Configurations

Scripting

math: fft gradient evaluation

Inputs

Outputs

Configurations

Scripting

math: fft multi harmonic solution minmax

Inputs

Outputs

Configurations

Scripting

math: svd

Inputs

Outputs

Configurations

Scripting

mapping: prep sampling fft

Inputs

Outputs

Configurations

Scripting

math: fft filtering and cubic fitting

Inputs

Outputs

Configurations

Scripting

math: window triangular

Inputs

Outputs

Configurations

Scripting

math: window hanning

Inputs

Outputs

Configurations

Scripting

math: window hamming

Inputs

Outputs

Configurations

Scripting

math: window welch

Inputs

Outputs

Configurations

Scripting

math: window blackman

Inputs

Outputs

Configurations

Scripting

math: window triangular (fields container)

Inputs

Outputs

Configurations

Scripting

math: window hanning (fields container)

Inputs

Outputs

Configurations

Scripting

math: window hamming (fields container)

Inputs

Outputs

Configurations

Scripting

math: window welch (fields container)

Inputs

Outputs

Configurations

Scripting

math: window blackman (fields container)

Inputs

Outputs

Configurations

Scripting

serialization: hdf5dpf generate result file

Inputs

Outputs

Configurations

Scripting

result: migrate to h5dpf

Inputs

Outputs

Configurations

Scripting

result: cgns result provider

Inputs

Outputs

Configurations

Scripting

utility: hdf5dpf workflow provider

Inputs

Outputs

Configurations

Scripting

other: hdf5dpf mesh property provider

Inputs

Outputs

Configurations

Scripting

serialization: migrate to vtu

Inputs

Outputs

Configurations

Scripting

serialization: vtu export

Inputs

Outputs

Configurations

Scripting

result: compute total strain Y

Inputs

Outputs

Configurations

Scripting

math: window triangular

Inputs

Outputs

Configurations

Scripting

math: window hanning

Inputs

Outputs

Configurations

Scripting

math: window hamming

Inputs

Outputs

Configurations

Scripting

math: window welch

Inputs

Outputs

Configurations

Scripting

math: window blackman

Inputs

Outputs

Configurations

Scripting

math: window triangular (fields container)

Inputs

Outputs

Configurations

Scripting

math: window hanning (fields container)

Inputs

Outputs

Configurations

Scripting

math: window hamming (fields container)

Inputs

Outputs

Configurations

Scripting

math: window welch (fields container)

Inputs

Outputs

Configurations

Scripting

math: window blackman (fields container)

Inputs

Outputs

Configurations

Scripting

serialization: hdf5dpf generate result file

Inputs

Outputs

Configurations

Scripting

result: migrate to h5dpf

Inputs

Outputs

Configurations

Scripting

result: cgns result provider

Inputs

Outputs

Configurations

Scripting

utility: hdf5dpf workflow provider

Inputs

Outputs

Configurations

Scripting

other: hdf5dpf mesh property provider

Inputs

Outputs

Configurations

Scripting

serialization: migrate to vtu

Inputs

Outputs

Configurations

Scripting

serialization: vtu export

Inputs

Outputs

Configurations

Scripting

result: compute total strain Y

0)}""", ), -1: PinSpecification( name="export_floats", @@ -386,15 +394,19 @@ def dataset_size_compression_threshold(self): def h5_native_compression(self): """Allows to connect h5_native_compression input to the operator. - Integer value that defines the h5 native - compression used 0: no compression - (default)1-9: gzip level compression - : 9 gives us maximum compression but - at the slowest speed. + Integer value / datatree that defines the h5 + native compression used for integer + input {0: no compression (default); + 1-9: gzip compression : 9 provides + maximum compression but at the + slowest speed.}for datatree input + {type: none / gzip / zstd; level: + gzip (1-9) / zstd (1-20); + num_threads: zstd (>0)} Parameters ---------- - my_h5_native_compression : int + my_h5_native_compression : int or DataTree Examples -------- diff --git a/src/ansys/dpf/core/operators/serialization/hdf5dpf_generate_result_file.py b/src/ansys/dpf/core/operators/serialization/hdf5dpf_generate_result_file.py index 6dd8a060d4..7002814d19 100644 --- a/src/ansys/dpf/core/operators/serialization/hdf5dpf_generate_result_file.py +++ b/src/ansys/dpf/core/operators/serialization/hdf5dpf_generate_result_file.py @@ -22,12 +22,16 @@ class hdf5dpf_generate_result_file(Operator): native compression applicable for arrays of floats, doubles and integers. - h5_native_compression : int, optional - Integer value that defines the h5 native - compression used 0: no compression - (default)1-9: gzip level compression - : 9 gives us maximum compression but - at the slowest speed. + h5_native_compression : int or DataTree, optional + Integer value / datatree that defines the h5 + native compression used for integer + input {0: no compression (default); + 1-9: gzip compression : 9 provides + maximum compression but at the + slowest speed.}for datatree input + {type: none / gzip / zstd; level: + gzip (1-9) / zstd (1-20); + num_threads: zstd (>0)} export_floats : bool, optional Converts double to float to reduce file size (default is true) @@ -172,13 +176,17 @@ def _spec(): ), -2: PinSpecification( name="h5_native_compression", - type_names=["int32"], + type_names=["int32", "abstract_data_tree"], optional=True, - document="""Integer value that defines the h5 native - compression used 0: no compression - (default)1-9: gzip level compression - : 9 gives us maximum compression but - at the slowest speed.""", + document="""Integer value / datatree that defines the h5 + native compression used for integer + input {0: no compression (default); + 1-9: gzip compression : 9 provides + maximum compression but at the + slowest speed.}for datatree input + {type: none / gzip / zstd; level: + gzip (1-9) / zstd (1-20); + num_threads: zstd (>0)}""", ), -1: PinSpecification( name="export_floats", @@ -395,15 +403,19 @@ def dataset_size_compression_threshold(self): def h5_native_compression(self): """Allows to connect h5_native_compression input to the operator. - Integer value that defines the h5 native - compression used 0: no compression - (default)1-9: gzip level compression - : 9 gives us maximum compression but - at the slowest speed. + Integer value / datatree that defines the h5 + native compression used for integer + input {0: no compression (default); + 1-9: gzip compression : 9 provides + maximum compression but at the + slowest speed.}for datatree input + {type: none / gzip / zstd; level: + gzip (1-9) / zstd (1-20); + num_threads: zstd (>0)} Parameters ---------- - my_h5_native_compression : int + my_h5_native_compression : int or DataTree Examples -------- diff --git a/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll b/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll index 12d0beae6d..b91d08d40c 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 47d33991bb..c390355ab2 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 09bb5e911d..04e8d95026 100644 Binary files a/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so and b/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so differ diff --git a/src/ansys/dpf/gatebin/libDPFClientAPI.so b/src/ansys/dpf/gatebin/libDPFClientAPI.so index e17a8c3ab2..361e8ed7b5 100644 Binary files a/src/ansys/dpf/gatebin/libDPFClientAPI.so and b/src/ansys/dpf/gatebin/libDPFClientAPI.so differ