|
Next: About this document ... Up: Main page Previous: 5. Incremental form for Subsections 6. Code aspects for ECMWF's LFULLIMP incremental form of the PC schemeThis section describes the code of the LFULLIMP option in the CY25 version.
6.1 General principles
6.2 Data flow for incremental formSUBROUTINE LATTEX :
Hence, at the end of LATTEX, we have in PxL9 and in PxT1. We are thus ready to compute the RHS of ( 3) and (6 ) equations, except for the XF term in the first RHS parenthesis of these equations.
SUBROUTINE LAPINEB :
In this subroutine, the RHS quantities of (3) and ( 6) computed at the final point and interpolated at the origin point are aggregated. Hence, they almost form the RHS of the linear equation inversion in its final form for the incremental variables Y* and Y+ (as seen above, the XF term is missing). Following the definition in the introduction, we use the notation tilde for the RHS of a linear inversion equation. Hence, after the LAPINEB aggregation we have for the predictor-step, and for the corrector-step.
Direct Spectral Transform The method adopted to implement the incremental form is to transmit from GP to SP space only the agregated RHS of the linear model inversion equations. The "background" variables are needed in the spectral space to compute incremental variables from the full variables and vice-versa. The "background" variables are thus saved in the spectral space from one step or sub-step to the next one. With this method, no additional transforms are thus needed. SUBROUTINE SPCSIX : At the begining of spectral-space computations, we compute the definitive form of the linear inversion equation RHS from the provisional form and the "background" variable which has been saved at the previous step or sub-step (see below): Then the linear equation is inversed, giving the new variables in incremental form: Then the full variables are restored from the background variables: The new full variables are stored for the next step or sub-step: End of predictor step: X* is saved for next sub-step. End of corrector step: X+ is saved for next step. These new full variables are spectrally-transformed back to the G.P space for next step or sub-step. The variable X * becomes X0 in G.P space for the corrector step GP computations, and the variable X+ becomes X 0 in G.P space for the next time-step GP computations.
6.3 Some details on DecenteringProvision is made in the code for more flexibility on the amount of decentering between the various terms to which it is applied. In SUDYN : three values are defined:
In LATTEX, (computation of explicit model RHS) both and are used:
In LAVENT , (trajectory research) only is used, but is applied only to the vertical component of the wind.
For the predictor step we thus have: And for the corrector step we have: where V is the horizontal wind vector, and w the vertical wind vector. In SPCSIX , (inversion of linear model) only is used.
Next: About this document ... Up: Main page Previous: 5. Incremental form for Pierre BENARD 2002-06-17
|