gp.mass.gravity

Syntax

f := gp.mass.gravity(gp)

Note

  • In the description below, the following correspondence is assumed between 3D and 2D analysis:
    • 3D volumes <-> 2D areas

Get the gravitational mass. This is determined by the density and volume of the zones to which the gridpoint is connected. The gravitational mass is used to determine forces due to gravity. In dynamic mode, it is used in the equations of motion calculation. See also gp.mass.inertial.

Returns:

f - the gridpoint gravitational mass

Arguments:

gp - a zone gridpoint pointer