The FluidVelocity object stores the data for fluid velocity Predefined fields.
The FluidVelocity object is derived from the PredefinedField object.
import load mdb.models[name].predefinedFields[name]
This method creates a FluidVelocity object.
mdb.models[name].FluidVelocity
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 velocity. Use 'None' to specify the whole model.
Optional arguments
A Float specifying the fluid velocity in the 1 direction. The default value is 0.0.
A Float specifying the fluid velocity in the 2 direction. The default value is 0.0.
A Float specifying the fluid velocity in the 3 direction. The default value is 0.0.
Return value
A FluidVelocity object.
Exceptions
This method modifies the FluidVelocity object.
Required arguments
Optional arguments
The optional arguments to setValues are the same as the arguments to the FluidVelocity method, except for the name and createStepName arguments.
Return value
Exceptions
The FluidVelocity object can have the following members:
A String specifying the repository key.
A Float specifying the fluid velocity in the 1 direction. The default value is 0.0.
A Float specifying the fluid velocity in the 2 direction. The default value is 0.0.
A Float specifying the fluid velocity in the 3 direction. The default value is 0.0.
A Region object specifying the region to which the predefined field is applied.