# 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 f - the fluid density to use for the zone z - a pointer to a zone