Changes between Version 7 and Version 8 of WorkingGroups/TAM/ReferenceManual/directmodel
- Timestamp:
- 2010-06-01T18:27:51+02:00 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WorkingGroups/TAM/ReferenceManual/directmodel
v7 v8 2 2 = ''' Direct Model Changes ''' = 3 3 4 [[PageOutline]] 5 6 ---- 4 == Introduction == 7 5 Some modifications and additions are compulsory to integrate the Tangent and Adjoint Module to NEMO. They mainly consist in: 8 6 * changing subroutines or parameters declaration from Private to Public for: 9 10 7 * initialization 8 * re-use 11 9 * adding a subroutine to save the trajectory 12 10 * adding parameters … … 14 12 15 13 == 1 - Non-Linear Trajectory == 14 16 15 To evaluate the tangent and/or the adjoint at a time t, some actual parameters of the direct model are needed at the corresponding time t. To fulfill this purpose a subroutine, ''tamtrj_wri'' is added to write the trajectory. It is controlled with one logical parameter: ''ln_trjwri''. The trajectory is saved upon a given frequency "nittrjfrq" only if the logical parameter is set to TRUE. 17 16 18 17 === Subroutine: tam_trj_wri === 18 19 19 A new subdirectory is created into /OPA/ named '''TAM'''. The file is '''tamtrj.F90'''. 20 20 The purpose of this routine is to write to file the model state trajectory for use with 4DVar. It is called in ''opa_model'' routine to initialize tamtrj routine TAM and at in the ''stp'' routine. … … 45 45 ||hmlp || key_tradmp || 46 46 47 === = Specific management of the initial state ====47 === Specific management of the initial state === 48 48 For the initial state of the model, we call the tam_trj_wri in 'step' routine just before the tracer block. We,then, have access to some parameters (tke and sbc for instance) as they are not yet computed in opa (outside 'step'). 49 49 50 50 51 === = Linear Interpollation ====51 === Linear Interpollation === 52 52 For efficiency matters, the whole trajectory is of course not saved. Only a predefined steptime frequency is saved. The frequency ''nittrjfrq'' is controlled by namelist. The intermediate steptime will be estimated in TAM by linear interpollation. 53 53 54 === = Namelist ====54 === Namelist === 55 55 Parameters related to the model state saving is controlled by the namelist '''namtam''' with: 56 56