Compute the isentropic Mach number on a blade

Description

Compute the 3D isentropic Mach number field on a blade’s skin.

Construction

import antares

myt = antares.Treatment('MisOnBlade')

Parameters

  • base: antares.api.Base

    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.

  • TreatmentPtris: antares.treatment.turbomachine.ptris.TreatmentPtris

    Call a TreatmentPtris defined upstream with at least convention, in_vars and out_vars options. For more details, please refer to the corresponding treatment.

  • h_H_name: str, default = ‘CoordinateReducedHeight’

    The coordinate reduced height’s name. Basically, ‘CoordinateReducedHeight’from the TreatmenthH.

  • h_H_range: 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].

  • number_of_heights: 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.

  • d_D_range: str, default = ‘0_1’

    Defines the curvilinear reduced coordinates’ range of value. Either ranged from -1 to 1 or from 0 to 1.

  • begin_unwrap: 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.

Preconditions

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 antares.api.Zone and one antares.api.Instant. 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.

Postconditions

The input base is returned, extended with the variables:

  • Mis

    The isentropic Mach number with a reference pressure based on the given TreatmentPtris.

  • d

    The curvilinear coordinate around each profil discretizing the 3D blade.

  • d_D

    More precisely, out_vars[0] 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.

Example

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()

Main functions

class antares.treatment.turbomachine.TreatmentMisOnBlade.TreatmentMisOnBlade
execute()

Compute Mis on a 3D blade.

Returns

The 3D blade with Mis computed

Return type

antares.api.Base