Skip to content

Export to AnyCasting

Purpose

Saves simulation results as an HDF5 file (*.h5) that can be read by the casting simulation program AnyCasting. Following the node numbering of the original HDF5 file imported from AnyCasting, the temperature, displacement, and stress for each step are written with reference to the casting (Cast) or the mold (Mold).

How to open

  • Ribbon menu > Export tab > click AnyCasting in the Raw data group.
  • Enabled when a simulation result (post-processing) project is open.

Dialog layout

Export to AnyCasting

Input information

Base HDF5 file

Specifies the AnyCasting HDF5 file used as the base. It cannot be entered directly; click the ... button on the right to select the file. The file selection window opens in the folder containing the current simulation result file.

The entity (casting/mold) information and node numbers in the base file are used to order the output data.

Export type

Selects what to export.

  • Cast - Exports the casting (workpiece) results. This is the default. The temperature, displacement relative to the initial position, and stress components of the workpiece are written.
  • Mold - Exports the mold results. The temperature, displacement, and stress components of the mold are written.

Output file format

  • Under the step group, all steps of the simulation result are saved as datasets named with the step number (6 digits), and the analysis time (time) is written to each dataset as an attribute.
  • For each node, each dataset contains the entity ID, node ID, temperature, displacement (x, y, z), and stress (xx, yy, zz, xy, yz, zx).
  • In Cast, nodes of entities not included in the analysis are written as empty values (NaN).

Button description

  • ... - Selects the base HDF5 file.
  • Export - Opens the file save window, saves the HDF5 file with the specified name, and closes the dialog.
  • Close - Closes the dialog without saving.

Cautions

Warning

If Base HDF5 file is not specified, or if the base file was not created by AnyCasting and lacks the required information (such as entity information), a message explaining the cause (e.g. The base HDF5 file has no 'json_setting' dataset.) is displayed and the file is not saved. The dialog stays open, so you can select another base file and export again.

If the number of nodes in the base file does not match the simulation result, the export stops partway and a message is displayed. In this case an incomplete file with only part of the results written may remain.