gas_constant#

shock.gas_constant(args: Any) int#

Specify the gas constant as a constant value or a variable name to use in creating/updating a shock part or the default attributes.

Args:
p0:

‘name’ scalar field variable name for the gas constant

p1:

‘value’ a constant value (default =1.) for the gas constant

Examples:
ensight.shock.select_default()
ensight.part.modify_begin()
ensight.shock.gas_constant(1.)
ensight.part.modify_end()
Returns:

zero on success, non-zero on error