HMIN_dvprel_write()

Writes a design variable property (dvprel) to HyperMesh.

Syntax

void HMIN_dvprel_write(HM_entityidtype id,char *name,int property,HM_entityidtype propertyid,int fieldposition,unsigned int ishear,double pmin,double pmax,double c0, HM_entityidtype functionid,int desvarlistmax,HM_entityidtype *desvarlist, int tableentrylistmax,HM_entityidtype *tableentrylist,double *coeff);

Type

HyperMesh hminlib Function

Description

Writes a design variable property (dvprel) to HyperMesh.

Inputs

id
The id of the dvprel.
name
The name of the dvprel.
property
The possible values for property are listed below:
property value type of property
1 PSHELL
5 PBAR
6 PBEAM
7 PELAS
8 PROD
14 CONM2
propertyid
The id of the property.
fieldposition
Field position of the property. A detailed explanation of this field can be found in the OptiStruct on-line help.
ishear
Currently unused.
pmin
Minimum value allowed for the property.
pmax
Maximum value allowed for the property.
c0
Constant in relationship equation.
functionid
Equation id of DEQATN data (for DVPREL2 card).
desvarlistmax
The number of design variables referenced by the dvprel.
desvarlist
An array containing the ids of the design variables.
tableentrylistmax
The number of DTABLE entries referenced by the dvprel.
tableentrylist
An array containing the ids of the table entries.
coeff
An array containing the coefficients associated with each of the design variables.

Errors

None.