shock#

class ansys.api.pyensight.ensight_api.shock(session: Session)#

Class wrapper for EnSight shock module

This class acts as a proxy for the EnSight Python module ensight.shock

Methods

shock.begin()

Delimit the modifications for shock part attributes.

shock.create()

Create a shock part with the currently defined attributes using the currently selected 3D part(s).

shock.density(p0)

Specify the density variable to use in creating/updating a shock part or the default attributes.

shock.end()

Delimit the modifications for shock part attributes.

shock.enthalpy(p0)

Specify the enthalpy variable to use in creating/updating a shock part or the default attributes.

shock.gas_constant(args)

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

shock.mach(p0)

Specify the mach variable to use in creating/updating a shock part or the default attributes.

shock.method(p0)

Specify the algorithm to use for the computation of the shock part.

shock.momentum(p0)

Specify the momentum variable to use in creating/updating a shock part or the default attributes.

shock.pressure(p0)

Specify the pressure variable to use in creating/updating a shock part or the default attributes.

shock.ratio_of_spec_heat(args)

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

shock.region_threshold_max(p0)

Shock: region_threshold_max

shock.region_threshold_min(p0)

Shock: region_threshold_min

shock.region_threshold_value(p0)

Shock: region_threshold_value

shock.select_default()

Specify that the default attributes of the shock part are to be set for all subsequent shock attribute updates.

shock.specific_gas(args)

Shock: specific_gas

shock.surface_threshold_max(p0)

Shock: surface_threshold_max

shock.surface_threshold_min(p0)

Shock: surface_threshold_min

shock.surface_threshold_value(p0)

Shock: surface_threshold_value

shock.temperature(p0)

Specify the temperature variable to use in creating/updating a shock part or the default attributes.

shock.threshold(p0)

Specify the threshold variable description by which to filter the segments of the selected shock part.

shock.threshold_filter(p0)

Specify how to filter out segments of the specified shock part, according to the specified threshold variable and value.

shock.threshold_max(p0)

Specify the maximum/minimum threshold limit under which to filter the threshold value of the selected shock part(s).

shock.threshold_min(p0)

Specify the maximum/minimum threshold limit under which to filter the threshold value of the selected shock part(s).

shock.threshold_value(p0)

Specify the threshold value by which to filter the elements from the selected shock part(s).

shock.total_energy(p0)

Specify the total energy variable to use in creating/updating a shock part or the default attributes.

shock.variable(p0)

Specify the variable (i.e Density, Energy, Pressure, or Temperature) in which to create the Surface method shock part(s).

shock.velocity(p0)

Specify the velocity variable to use in creating/updating a shock part or the default attributes.