HMRES_simulationcreate()

Creates a simulation in the results database.

Syntax

int HMRES_simulationcreate(char * simulationname, int simulationid);

Type

HyperMesh hmreslib Function

Description

Creates a simulation in the results database.

Inputs

simulationname
The name of the simulation to be created. If left blank, HyperMesh creates the simulation for you from the simulation ID.
simulationid
The ID of the simulation to be created.

Example

Zero, if successful; otherwise, nonzero.

This function must be called before any data can be sent to the database.

The simulation name is presented when a simulation is selected.

The ID is ignored unless the name passed is zero length. In this case, HyperMesh creates a simulation name based on the ID, which must be nonzero. A simulation must be created before it can be opened.

Errors

None.