source: LMDZ6/trunk/libf/phydev/inifis_mod.F90 @ 3766

Last change on this file since 3766 was 3435, checked in by Laurent Fairhead, 6 years ago

"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 size: 684 bytes
Line 
1! $Id$
2MODULE inifis_mod
3
4CONTAINS
5
6  SUBROUTINE inifis(prad, pg, pr, pcpp)
7  ! Initialize some physical constants and settings
8  USE init_print_control_mod, ONLY: init_print_control
9  USE comcstphy, ONLY: rradius, & ! planet radius (m)
10                       rr, & ! recuced gas constant: R/molar mass of atm
11                       rg, & ! gravity
12                       rcpp  ! specific heat of the atmosphere
13  IMPLICIT NONE
14
15  REAL,INTENT(IN) :: prad, pg, pr, pcpp
16
17  ! Initialize flags lunout, prt_level, debug
18  CALL init_print_control
19
20  ! copy some fundamental parameters to physics
21  rradius=prad
22  rg=pg
23  rr=pr
24  rcpp=pcpp
25
26  END SUBROUTINE inifis
27 
28END MODULE inifis_mod
Note: See TracBrowser for help on using the repository browser.