*equations()

Starts an equation output block. The equations in the HyperMesh database with a type equal to the type argument are output according to the user-defined format in this block.

Syntax

*equations (type, user name)

Type

HyperMesh Template Command

Inputs

type
The user-defined type that is output.
user name
The user-defined name for type.

Example

The following example outputs equations in a format similar to Abaqus:

*equations(0,"EQUATION")
*format()
  *string("*EQUATION") *end()
  *counterset(counter1,[independentnodesmax+1])
  *field(integer,counter1,0)
  *end()
  *field(integer,dependentnode.id,0)
  *string(",")
  *field(integer,dependentdof,0)
  *string(",")
  *field(real,dependentcoeff,0)
  *string(",")
  *counterset(counter1,0)
  *loopif([counter1 < independentnodesmax])
    *pointerset(pointer1,independentnodes,counter1)
    *field(integer,pointer1.pointervalue,0)
    *string(",")
    *pointerset(pointer1,independentdofs,counter1)
    *field(integer,pointer1.pointervalue,0)
    *string(",")
    *pointerset(pointer1,independentcoeffs,counter1)
    *field(real,pointer1.pointervalue,0)
    *counterinc(counter1)
  *endloop()
  *end()
*output()