10. Specification of the HDF5 File Format#
10.1. General Conditions#
Data must be provided through an HDF5 file, structured as detailed below. When exporting an HDF5 file from NaxToPy, it will follow this same structure.
The HDF5 file distinguishes between two types of information: result data and metadata. Metadata can be either mandatory or optional. Although NaxToPy automatically fills them in during export, it is not required to include all of them when importing.
10.2. Root File Attributes /
#
Attribute |
Value |
Description |
---|---|---|
|
|
Indicates the software used to generate the file (NAXTO, NAXTOVIEW, NAXTOPY, etc.). |
|
Free text string (Optional) |
General description of the HDF5 file content. |
|
|
File creation date. |

Fig. 1 Attributes of the root file /
#
10.3. Hierarchical Group Structure#
The HDF5 file follows a hierarchical structure composed of several groups:
10.3.1. Root Group /
#
10.3.1.1. NAXTO
Group#
Main data container. This group must exist and must be named exactly as shown.
Attribute |
Value |
Description |
---|---|---|
|
|
Version of the exported HDF5 schema. |
|
|
Assembly version number. |

Fig. 2 Attributes of the NAXTO
group.#
10.3.2. RESULTS
Group#
This group must exist with this exact name. It contains the load cases.
10.3.2.1. Load Case Group X
#
This group represents the results corresponding to load case X.
Attribute |
Value |
Description |
---|---|---|
|
|
Generic description of the load case. |
|
X (Optional) |
Numerical identifier of the load case. |
|
|
Solution type (e.g., linear static, such as Nastran SOL101). |
|
|
Load case subtitle. |

Fig. 3 Attributes of the load case group X
.#
10.3.2.2. Increments Y
#
This group represents increment Y within the load case.
Attribute |
Value |
Description |
---|---|---|
|
|
Free text. |
|
|
Increment number. |
|
|
Increment value (float, 32 bits). |

Fig. 4 Attributes of increment Y
#
10.3.2.3. Results RESULT_NAME
#
This group represents a type of result within an increment.
Attribute |
Value |
Description |
---|---|---|
|
Free text string (Optional) |
Result description. |
|
|
Type of result. |

Fig. 5 Attributes of result RESULT_NAME
.#
10.3.2.4. SECCION1
Group#
This group represents a specific result section. There will be as many groups SECCION1
, SECCION2
, … as there are result sections.
Attribute |
Value |
Description |
---|---|---|
|
Free text string (Optional) |
Description of the result set in this section. |

Fig. 6 Attributes of the SECCION1
group.#
10.4. Dataset: Name "PART_NAME"
#
Inside each section group (e.g., SECCION1
), there is a dataset with an arbitrary name, such as PART_NAME
.
When creating the dataset, it’s important to ensure that the correct value for the number of dimensions is set to 1. If it is defined as 2, the reading code may fail or misinterpret the structure

Fig. 7 Number of dimensions of the dataset.#
Attribute |
Value |
Description |
---|---|---|
|
Free text string (Optional) |
Description of the data stored in the dataset. |
|
Free text string (Mandatory) |
The value must be provided exactly in the following format: a tuple with two elements enclosed in parentheses, where the first element is an integer and the second is a string that must be enclosed in single quotes. For example: (0, ‘Part_1_1’). It is essential to use the parentheses and single quotes exactly as indicated. Alternative formats, such as using square brackets, double quotes, or omitting the quotes, are not valid. |

Fig. 8 Attrubutes of the dataset.#
Column |
Type |
Description |
---|---|---|
|
integer (4 bytes) |
Element identification number. |
|
vector of 4 integers (4 bytes each) |
Associated node ID (only if |
|
vector of 4 floats / scalar |
XX result component. |
|
vector of 4 floats / scalar |
XY component. |
|
vector of 4 floats / scalar |
YY component. |
|
vector of 4 floats / scalar |
Von Mises stresses. |
|
vector of 4 floats / scalar |
Maximum principal stress. |
|
vector of 4 floats / scalar |
Minimum principal stress. |

Fig. 9 Example of dataset PART_NAME
.#

Fig. 10 Example of dataset PART_NAME
- Element Nodal.#