zone.fluid.density

Syntax

f = zone.fluid.density(z)
zone.fluid.density(z) = fs

Get/set the fluid density for the zone.

Note that the some effects of this change will not occur until the next global update. Among them will be the gravitational force on connected grid points and the change in inertial mass in dynamic mode. Please see the zone.force.update intrinsic.

Returns:f - the fluid density to use for the zone
Accepts:f - the fluid density to use for the zone
Arguments:z - a pointer to a zone