Skip to main content

serialization:hdf5dpf generate result file

Version: 0.0.0

Description

Generate a dpf result file from provided information.

Inputs

InputNameExpected type(s)Description
Pin -7h5_chunk_sizeint32Size of each HDF5 chunk in kilobytes (KB). Default: 1 MB when compression is enabled; for uncompressed datasets, the default is the full dataset size x dimension.
Pin -6append_modeboolExperimental: Allow appending chunked data to the file. This disables fields container content deduplication.
Pin -5dataset_size_compression_thresholdint32Integer value that defines the minimum dataset size (in bytes) to use h5 native compression Applicable for arrays of floats, doubles and integers.
Pin -2h5_native_compressionint32, abstract_data_treeInteger 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)}
Pin -1export_floatsboolconverts double to float to reduce file size (default is true)
Pin 0
Required
filenamestringname of the output file that will be generated (utf8).
Pin 1mesh_provider_outabstract_meshed_regiondefines the MeshedRegion that is exported and provided by MeshProvider.
Pin 2time_freq_support_outtime_freq_supportdefines the TimeFreqSupport that is exported and provided by TimeFreqSupportProvider.
Pin 3ansys_unit_system_idint32, result_infodefines the unit system the results are exported with. A Result info can be input to also export Physics Type and Analysis Type.
Pin 4input_namestring, anySet of even and odd pins to serialize results. Odd pins (4, 6, 8...) are strings, and they represent the names of the results to be serialized. Even pins (5, 7, 9...) are DPF types, and they represent the results to be serialized. They should go in pairs (for each result name, there should be a result) and connected sequentially.

Outputs

OutputNameExpected type(s)Description
Pin 0data_sourcesdata_sourcesdata_sources filled with the H5 generated file path.

Configurations

NameExpected type(s)Default valueDescription
evaluate_inputs_before_runboolfalseIf this option is set to true, all input pins of the operator will be evaluated before entering the run method to maintain a correct Operator status.
mutexboolfalseIf this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads.

Scripting

Category: serialization

Plugin: core

Scripting name: hdf5dpf_generate_result_file

Full name: serialization.hdf5dpf_generate_result_file

Internal name: hdf5::h5dpf::make_result_file

License: None

Changelog

  • Version 0.0.0: Initial release.