*controlvols()

Starts a control volume block.

Syntax

*controlvols (card_image_name,?idpool_name?)

Type

HyperMesh Template Command

Description

Starts a control volume block. Control volumes with a card image matching the specified card image name are considered for the block.

This command must be accompanied by a *output() command at the end of the block.

Inputs

card_image_name
A 32-character string enclosed in double quotes that defines the card image name of the control volume. If specified as double quotes "", all control volumes are considered for the block.
idpool_name
An optional 32-character string enclosed in double quotes that defines the name of the ID pool that the control volume belongs to. If not needed, use double quotes "" or omit the argument.
The ID pool must be defined using the *defineidpool() command.

Example

To write out all control volumes with the format:

*controlvol(id,"name",entityid,type,elemidsmax,refnodesmax)

*controlvols("","")
*format()
*string("*controlvol(")
*field(integer,id,0)
*string(",")
*field(quotedstring,name,0)
*string(",")
*field(integer,entityid,0)
*string(",")
*field(integer,type,0)
*string(",")
*field(integer,elemidsmax,0)
*string(",")
*field(integer,refnodesmax,0)
*string(")")
*end()
*output()