temperature#
- shock.temperature(p0: Any) int #
Specify the temperature variable to use in creating/updating a shock part or the default attributes.
Although the specification of this variable is optional, if it exists, its specification will save the creation of a temporary variable.This variable is required for the creation of Density if Density does not exist. If Density exists, no need to create this variable, unless you would like to use this as the shock creation variable for the Surface method.- Args:
- p0:
‘variable_name’ name of the temperature variable (the default name <none> means to use nothing
- Examples:
ensight.variables.activate("Temperature") ensight.shock.select_default() ensight.part.modify_begin() ensight.shock.momentum("Temperature") ensight.part.modify_end()
- Returns:
zero on success, non-zero on error