The FluidDensity object stores the data for fluid density predefined fields.
The FluidDensity object is derived from the PredefinedField object.
import load mdb.models[name].predefinedFields[name]
This method creates a FluidDensity object.
mdb.models[name].FluidDensity
Required arguments
A String specifying the repository key.
A String specifying the name of the step in which the predefined field is created.
A Region specifying the domain of the fluid density. Use 'None' to specify the whole model.
Optional argument
A Float specifying the fluid density. The default value is 0.0.
Return value
A FluidDensity object.
Exceptions
This method modifies the FluidDensity object.
Required arguments
Optional arguments
The optional arguments to setValues are the same as the arguments to the FluidDensity method, except for the name and createStepName arguments.
Return value
Exceptions
The FluidDensity object can have the following members:
A String specifying the repository key.
A Float specifying the fluid density. The default value is 0.0.
A Region object specifying the region to which the predefined field is applied.