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
Delimit the modifications for shock part attributes.
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.
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
Shock: region_threshold_min
Shock: region_threshold_value
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
Shock: surface_threshold_min
Shock: surface_threshold_value
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.
Specify how to filter out segments of the specified shock part, according to the specified threshold variable and value.
Specify the maximum/minimum threshold limit under which to filter the threshold value of the selected shock part(s).
Specify the maximum/minimum threshold limit under which to filter the threshold value of the selected shock part(s).
Specify the threshold value by which to filter the elements from the selected shock part(s).
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.