TMP2 is the corresponding variable for second-phase temperature.
It acts in one of four ways:-
Note that GRND9 and GRND10 are reserved for the use of GXSCRI.
The PIL variables:
TMP1A, TMP1B, TMP1C, TMP2A, TMP2B and TMP2C
are constants which may appear in the formulae, all but the first of which have the
form :
T = (H - H_base) / Cp
where:
The possible settings of TMP1 are as follows, with the number on the left corresponding to x in the GRNDx to which TMP1 has been set in the Q1 file. Those for TMP2 are identical, with 2 in place of 1. In the following, F(L0H12+I) represents the current cell phase enthalpy, and F(L0CP12+I) represents the current cell phase specific heat.
H_base is set via the PIL variable TMP1A, which is evidently equal to minus H_base/ Cp .
Here it is:
TMP1A + TMPCG*F(L0CB+I),
which represents - H_base / Cp.
This allows H_base to vary linearly in accordance with some scalar, for example the mass-fraction of some component of the fluid mixture.
The scalar represented by L0CB is C3 for Phase 1 ,and C4 for Phase 2.
This allows H_base to depend in a more complex way on the scalar value, as when:
The scalar represented by L0CA is C1 for Phase 1 ,and C2 for Phase 2.
This option is useful for adiabatic high-speed flows, in
conjunction with the setting:
RHO1=GRND5, which selects the ideal-gas law.
This option is used when the SCRS (i.e. Simple Chemical Reaction System) model of combustion is controlled by mixing (see COMBUSTION).
The mass fractions of fuel, product and oxidant are calculated from algebraic formulae involving the fuel- oxidant mixture fraction (which is solved as a dependent variable). The specific heat, CP1, should be set to GRND10, to activate the calculation of the specific heat of the fuel-oxidant-product mixture.
In GROUND, the integer index TEMP1 for phase 1 or TEMP2 for phase 2 should be used in calls to FN routines or as the argument of L0F.
The relevant command in the Q1 file begins:
(PROPERTY TMP1 is .....
and what follows the dots can be as complex as any PHOENICS user is likely to desire.
In-Form can of course be used to specify values of, or formulae for, H0_1 and H0_2; but for these (because these properties are late-comers on the scene), the commands happen to be:
(STORED var H0_1 is ....
and
(STORED var H0_2 is ....
----- PIL real; default= 0.0; group 9, -
TMP1A....parameter used in formulae for calculating phase-1 temperature. Further parameters of the same kind are: TMP1B, TMP1C.
----- PIL real; default= 0.0; group 9, -
TMP1B....parameter used in formulae for calculating phase-1 temperature. Further parameters of the same kind are: TMP1A, TMP1C.
----- PIL real; default= 0.0; group 9, -
TMP1C....parameter used in formulae for calculating phase-1 temperature. Further parameters of the same kind are: TMP1A, TMP1B.
------ PIL real; default= 0.0; group 9, -
TMP2....is the temperature of the second phase, used similarly to TMP1. See TMP1 for further information, changing 1's to 2's.
For TMP2 = GRND4, the concentration variable is C4
----- PIL real; default= 0.0; group 9, -
TMP2A....parameter used in formulae for calculating phase-2 temperature. Further parameters of the same kind are: TMP2B, TMP2C.
----- PIL real; default= 0.0; group 9, -
TMP2B....parameter used in formulae for calculating phase-2 temperature. Further parameters of the same kind are: TMP2A, TMP2C.
----- PIL real; default= 0.0; group 9, -
TMP2C....parameter used in formulae for calculating phase-2 temperature. Further parameters of the same kind are: TMP2A, TMP2B.
wbs