zone.fluid.prop

Syntax

a := zone.fluid.prop(z,s)
zone.fluid.prop(z,s) := a

Get/set the value for fluid property s in zone z. Note that the string s must match a property name in the current fluid constitutive model. Keyword matching rules are used. If the string does not match any property in the model, an error occurs. See the list of property names listed in the zone fluid cmodel assign command.

For efficiency, a property index may be given instead of a string name. See the zone.fluid.prop.index function.

Returns:

a - the value of the fluid constitutive model property that matches to s

Accepts:

a - the new value of the fluid constitutive model property that matches to s

Arguments:

z - a zone pointer

s - the name of the fluid constitutive model property