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

SOFTWARE

"NAXTO" (Optional)

Indicates the software used to generate the file (NAXTO, NAXTOVIEW, NAXTOPY, etc.).

Description

Free text string (Optional)

General description of the HDF5 file content.

Creation_Date

"2024-11-29" (Optional)

File creation date.


Root file attributes

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

"2025R0.0" (Optional)

Version of the exported HDF5 schema.

Assembly

"3.0.25.1" (Optional)

Assembly version number.

NAXTO group attributes

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

Description

"LOAD CASE" (Optional)

Generic description of the load case.

ID

X (Optional)

Numerical identifier of the load case.

SOLUTION_TYPE

101 (Required)

Solution type (e.g., linear static, such as Nastran SOL101). int type.

Subtitle

"LC1" (Required)

Load case subtitle.

Load Case attributes

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

Description

"INCREMENT" (Optional)

Free text.

ID

1 (Optional)

Increment number.

Value

3.225 (Required)

Increment value (float, 32 bits).

Increment attributes

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

Description

Free text string (Optional)

Result description.

Type

"ELEMENTS", "ELEMENT_NODAL", "NODES", "INTEGRATION_POINT" (Required)

Type of result.

Result attributes

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

Description

Free text string (Optional)

Description of the result set in this section.

Section attributes

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

Dimension of the dataset

Fig. 7 Number of dimensions of the dataset.#

Attribute

Value

Description

Description

Free text string (Optional)

Description of the data stored in the dataset.

Part

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.

Dataset attributes

Fig. 8 Attrubutes of the dataset.#

Column

Type

Description

ID ENTITY

integer (4 bytes)

Element identification number.

ID NODE

vector of 4 integers (4 bytes each)

Associated node ID (only if Type = ELEMENT_NODAL).

XX

vector of 4 floats / scalar

XX result component.

XY

vector of 4 floats / scalar

XY component.

YY

vector of 4 floats / scalar

YY component.

VON_MISES

vector of 4 floats / scalar

Von Mises stresses.

MAX_PRINCIPAL

vector of 4 floats / scalar

Maximum principal stress.

MIN_PRINCIPAL

vector of 4 floats / scalar

Minimum principal stress.

Dataset example

Fig. 9 Example of dataset PART_NAME.#

Dataset example - Element Nodal

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