# NODAL SHAPES

Specifies the morph shapes and associated design optimization variables.

## Type

AcuSolve Command

## Syntax

NODAL_SHAPES (“name”) {parameters}

## Qualifier

This command has no qualifier.

## Parameters

- mesh_motion_precedence (integer) >=0 <=3 [=1]
- Mesh motion precedence.

- design_variables (list) [={}]
- User given name of the design optimization variable.

- nodal_morphs (file) [=Read("unknown")]
- User provided nodal morphs shapes. The nodal morph shapes are always read a file, where the nodal displacement data is given for the coordinate directions x, y and z.

## Description

The shape mesh displacement may be defined using the NODAL_SHAPES
command where the nodal shape file contains the displacements of all three
coordinate directions for each design optimization variable. The shape file, such as
shapes.xyzsp, has a simple file structure where the first
column is the node identification number, and the remaining columns are the
displacements corresponding to this node for all design optimization variables. For
example, if there are 10 design optimization variables, the file
shapes.xyzsp has 11 columns, one node column and an
x-displacement for each of the 10 design optimization variables. There is one row
for each node in the shape; assume there are N rows. The y-displacements and
z-displacements are also listed concatenated to the bottom of the file. For
example:

Where the subscripts for each
$\delta {x}_{i}{}^{j}$
,
$\delta {y}_{i}{}^{j}$
and
$\delta {z}_{i}{}^{j}$
are associated with the nodal identification number
${n}_{i}$
and the superscript is associated with the shape, or
more precisely the design optimization
variable.

```
NODAL_SHAPES( "NODAL_SHAPES.1" ) {
mesh_motion_precedence = 1
design_variables = { "DV1", "DV2", "DV3", "DV4", "DV5", "DV6", "DV7" }
nodal_morphs = Read( "shapes.NODAL_SHAPES.1.xyzsp" )
}
```