Compute the isentropic Mach number on a blade¶
Compute the 3D isentropic Mach number field on a blade’s skin.
import antares myt = antares.Treatment('MisOnBlade')
The input base on which is performed the treatment. The base correspond to the blade’s skin. In addition, the variable CoordinateReducedHeight from the TreatmenthH has to be stored in the base.
Call a TreatmentPtris defined upstream with at least convention, in_vars and out_vars options. For more details, please refer to the corresponding treatment.
str, default = ‘CoordinateReducedHeight’
The coordinate reduced height’s name. Basically, ‘CoordinateReducedHeight’from the TreatmenthH.
list(float, float), default = None
Allows to clip the h_H_name’s range of values. Might be useful to avoid technological effects. Either let it unfilled then the geometry bounds the variable h_H_name. Or a list of float clip it : [minimum_h_H_name, maximum _h_H_name].
int, default = 101
Spatial discretisation of the height, based on the h_H_name. In other words, number of profiles the blade will be composed of.
str, default = ‘0_1’
Defines the curvilinear reduced coordinates’ range of value. Either ranged from -1 to 1 or from 0 to 1.
str, default = ‘LE’
Convention : ‘LE’ (leading edge) or ‘TE’ (trailing edge). In other words, either sorted the blade from the LE to the TE or vice versa. Therefore, if begin_unwrap is set to ‘LE’, the curvilinear coordinate’s zero is at the leading edge.
The treatment must be applied on a 3D
antares.api.Zone corresponding to a blade
skin and its fillet. The
antares.api.Base must have only one
Moreover, the treatment recquieres a coordinates reduced height in his
antares.api.Instant, for instance, computed through TreatmenthH.
Last but not least, a
antares.treatment.turbomachine.ptris.TreatmentPtris has to be
called upstream with options ‘convention’, ‘in_vars’ and ‘out_vars’ filled.
The input base is returned, extended with the variables:
The isentropic Mach number with a reference pressure based on the given TreatmentPtris.
The curvilinear coordinate around each profil discretizing the 3D blade.
More precisely, out_vars variable’s name defined in the TreatmentPtris: d_D by default but might be changed by the user. This variable corresponds to the reduced form of the previous one.
import antares # Fill Ptris information. For more details, # refer to the corresponding treatment. myt_Ptris = antares.Treatment('Ptris') myt_Ptris['convention'] = 'convention_name' myt_Ptris['in_vars'] = ['x', 'y', 'z', 'r', 'CoordinateReducedMeridional', 'gamma', 'Cp', 'omega', 'Psta', 'Tsta'] myt_Ptris['out_vars] = ['d_D','Ptris'] # Parameters the Mis calculation on the blade myt = antares.Treatment('MisOnBlade') myt['base'] = blade_skin myt['number_of_heights'] = 101 myt['d_D_range'] = '0_1' myt['TreatmentPtris'] = myt_Ptris # call the TreatmentPtris set up upstream blade_skin_result = myt.execute()