HMIN_curve_writesources()
Writes a curve to HyperMesh.
Syntax
void HMIN_curve_writesources(int kind1, char *path1, char *type1, char *req1, char *comp1, int kind2, char *path2, char *type2, char *req2, char *comp2);
Type
HyperMesh hminlib Function
Description
Writes a curve to HyperMesh.
Inputs
- kind1
- Type of source for x data.
- path1
- File path and name, or math expression for x data.
- type1
- The type of the x component (may be set to "").
- req1
- The name of the x request (may be set to "").
- comp1
- The name of the x request component (may be set to "").
- kind2
- The type of source for y data.
- path2
- File path and name, or math expression for y data.
- type2
- The type of the y component (may be set to "").
- req2
- The name of the y request (may be set to "").
- comp2
- The name of the y request component (may be set to "").
Example
Curve sources are used to define x-y curves based upon data files that can be read by the HyperMesh curve reader or upon math expressions (see the Curve Mathematics book). The type, request, and component refer to the hierarchy used to describe data where type is at the uppermost level and the component is at the lowest level. A file that contains displacements for nodes may be described as:
Type = displacements.
Request = Node ID for the given type (displacements).
Component = x, y, or z displacement value for the request.
Errors
None.