Ignore:
Timestamp:
Jan 22, 2019, 4:21:59 PM (6 years ago)
Author:
Laurent Fairhead
Message:

"Historic" :-) commit merging the physics branch used for DYNAMICO with the LMDZ trunk.
The same physics branch can now be used seamlessly with the traditional lon-lat LMDZ
dynamical core and DYNAMICO.
Testing consisted in running a lon-lat LMDZ bucket simulation with the NPv6.1 physics package
with the original trunk sources and the merged sources. Tests were succesful in the sense that
numeric continuity was preserved in the restart files from both simulation. Further tests
included running both versions of the physics codes for one year in a LMDZOR setting in which
the restart files also came out identical.

Caution:

  • as the physics package now manages unstructured grids, grid information needs to be transmitted

to the surface scheme ORCHIDEE. This means that the interface defined in surf_land_orchidee_mod.F90
is only compatible with ORCHIDEE version orchidee2.1 and later versions. If previous versions of
ORCHIDEE need to be used, the CPP key ORCHIDEE_NOUNSTRUCT needs to be set at compilation time.
This is done automatically if makelmdz/makelmdz_fcm are called with the veget orchidee2.0 switch

  • due to a limitation in XIOS, the time at which limit conditions will be read in by DYNAMICO will be

delayed by one physic timestep with respect to the time it is read in by the lon-lat model. This is caused
by the line

IF (MOD(itime-1, lmt_pas) == 0 .OR. (jour_lu /= jour .AND. grid_type /= unstructured)) THEN ! time to read

in limit_read_mod.F90

Work still needed on COSP integration and XML files for DYNAMICO

EM, YM, LF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/makelmdz_fcm

    r3358 r3435  
    9090[-v false/orchidee2.0/orchidee1.9/true] : version of the vegetation model to include (default: false)
    9191          false       : no vegetation model
    92           orchidee2.0 : compile using ORCHIDEE 2.0 (or more recent version)
     92          orchidee2.1 : compile using ORCHIDEE 2.1 (or more recent version)
     93          orchidee2.0 : compile using ORCHIDEE 2.0
    9394          orchidee1.9 : compile using ORCHIDEE up to the version including OpenMP in ORCHIDEE : tag 1.9-1.9.5(version AR5)-1.9.6
    9495          true        : (obsolete; for backward compatibility) use ORCHIDEE tag 1.9-1.9.6
     
    373374fi
    374375
    375 if [ "$veget" = "true" -o "$veget" = "orchidee1.9" -o "$veget" = "orchidee2.0" ]
     376if [ "$veget" = "true" -o "$veget" = "orchidee1.9" -o "$veget" = "orchidee2.0" -o "$veget" = "orchidee2.1" ]
    376377then
    377378#NB: option 'true': for backward compatibility. To be used with ORCHIDEE tag 1.9-1.9.6
     
    385386   fi
    386387   if [[ "$veget" == "orchidee2.0" ]] ; then
     388      orch_libs="sechiba parameters stomate parallel orglob orchidee"
     389      CPP_KEY="$CPP_KEY ORCHIDEE_NOUNSTRUCT"
     390   elif [[ "$veget" == "orchidee2.1" ]] ; then
    387391      orch_libs="sechiba parameters stomate parallel orglob orchidee"
    388392   else
Note: See TracChangeset for help on using the changeset viewer.