New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
WorkingGroups/TAM/ReferenceManual/directmodel (diff) – NEMO

Changes between Version 7 and Version 8 of WorkingGroups/TAM/ReferenceManual/directmodel


Ignore:
Timestamp:
2010-06-01T18:27:51+02:00 (14 years ago)
Author:
cdlod
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WorkingGroups/TAM/ReferenceManual/directmodel

    v7 v8  
    22= ''' Direct Model Changes ''' = 
    33 
    4 [[PageOutline]] 
    5  
    6 ---- 
     4== Introduction == 
    75Some modifications and additions are compulsory to integrate the Tangent and Adjoint Module to NEMO. They mainly consist in: 
    86 * changing subroutines or parameters declaration from Private to Public for: 
    9    * initialization 
    10    * re-use 
     7 * initialization 
     8 * re-use 
    119 * adding a subroutine to save the trajectory 
    1210 * adding parameters 
     
    1412 
    1513== 1 - Non-Linear Trajectory == 
     14 
    1615To 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. 
    1716 
    1817=== Subroutine: tam_trj_wri === 
     18 
    1919A new subdirectory is created into /OPA/ named '''TAM'''. The file is '''tamtrj.F90'''. 
    2020The 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.  
     
    4545||hmlp || key_tradmp || 
    4646 
    47 ==== Specific management of the initial state ==== 
     47=== Specific management of the initial state === 
    4848For 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'). 
    4949 
    5050 
    51 ==== Linear Interpollation ==== 
     51=== Linear Interpollation === 
    5252For 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. 
    5353 
    54 ==== Namelist ==== 
     54=== Namelist === 
    5555Parameters related to the model state saving is controlled by the namelist '''namtam''' with: 
    5656