ratio_of_spec_heat#

shock.ratio_of_spec_heat(args: Any) int#

Specify the ratio of specific heat constant value or variable name to use in creating/updating a shock part or the default attributes.

Args:
p0:

‘name’ scalar field variable name for the ratio of specific heats

p1:

‘value’ a constant value (default = 1.4) for the ratio of specific heats

Examples:
ensight.shock.select_default()
ensight.part.modify_begin()
ensight.shock.ratio_of_spec_heat(1.4)
ensight.part.modify_end()
Returns:

zero on success, non-zero on error