The FluidTurbulence object stores the data for fluid turbulence predefined fields. This predefined field is applicable only when a turbulence model has been selected in a flow step.
The FluidTurbulence object is derived from the PredefinedField object.
import load mdb.models[name].predefinedFields[name]
This method creates aFluidTurbulence object.
mdb.models[name].FluidTurbulence
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 turbulence. Use 'None' to specify the whole model.
Optional arguments
A Float specifying the eddy viscosity for the fluid turbulence. This parameter is applicable only when the Spalart-Allmaras turbulence model has been selected in a flow step. The default value is 0.0.
A Float specifying the dissipation rate for the fluid turbulence. This parameter is applicable only when the k-epsilon renormalization group (RNG) turbulence model has been selected in a flow step. The default value is 0.0.
A Float specifying the kinetic energy for the fluid turbulence. This parameter is applicable only when the k-epsilon renormalization group (RNG) turbulence model has been selected in a flow step. The default value is 0.0.
Return value
A FluidTurbulence object.
Exceptions
This method modifies the FluidTurbulence object.
Required arguments
Optional arguments
The optional arguments to setValues are the same as the arguments to the FluidTurbulence method, except for the name and createStepName arguments.
Return value
Exceptions
The FluidTurbulence object can have the following members:
A String specifying the repository key.
A Float specifying the eddy viscosity for the fluid turbulence. This parameter is applicable only when the Spalart-Allmaras turbulence model has been selected in a flow step. The default value is 0.0.
A Float specifying the dissipation rate for the fluid turbulence. This parameter is applicable only when the k-epsilon renormalization group (RNG) turbulence model has been selected in a flow step. The default value is 0.0.
A Float specifying the kinetic energy for the fluid turbulence. This parameter is applicable only when the k-epsilon renormalization group (RNG) turbulence model has been selected in a flow step. The default value is 0.0.
A Region object specifying the region to which the predefined field is applied.
*INITIAL CONDITIONS, TYPE=TURBNU, TYPE=TURBKE, TYPE= TURBEPS, ELEMENT AVERAGE |