velocity#

boundarylayer.velocity(p0: Any) int#

Specify the velocity variable to use in creating/updating the boundary-layer variables.

This variable gets assigned automatically if the variable name <Velocity> exists. Since the computation of boundary-layer variables depend on velocity, either the velocity variable must be defined or both the density and momentum variables must be defined to obtain the velocity variable.
Args:
p0:

‘variable_name’ name of the velocity variable (the default name <none> means to use nothing)

Examples:
ensight.boundarylayer.modify_begin()
ensight.boundarylayer.velocity("Velocity")
ensight.boundarylayer.modify_end()
Returns:

zero on success, non-zero on error