The GRAV command is used to define the relationship of structure to water surface axes by specifying the value and direction of the gravitational acceleration relative to the structure axis system.

Parameters
Keyword
Gravitational acceleration component in the global X axis of the structure (Real).
Component in the global Y axis (Real).
Component in the global Y axis (Real).
Usage
Compulsory for all command data blocks examining hydrostatic pressure effects.
Notes
The GRAV command defines the direction of the gravitational vector (-Zwater) with respect to the structure (global) axis system.
If the components of gravitational acceleration are given as (0,0,-g) the structure and water axes are coincident with the Z-axis directed vertically upwards. This is always the case in a Mechanical APDL analysis.
Examples
GRAV 0.0 0.0 -9.81 GRAVITY 7.246 -2.473 6.133