Last change
on this file since 3203 was
3149,
checked in by jbclement, 12 months ago
|
PEM:
- Simplification of the algorithm managing the stopping criteria;
- Complete rework of the ice management in the PEM (H2O & CO2);
Subroutines to evolve the H2O and CO2 ice are now in the same module "evol_ice_mod.F90".
Tendencies are computed from the variation of "ice + frost" between the 2 PCM runs.
Evolving ice in the PEM is now called 'h2o_ice' or 'co2_ice' (not anymore in 'qsurf' and free of 'water_reservoir').
Default value 'ini_h2o_bigreservoir' (= 10 m) initializes the H2O ice of the first PEM run where there is 'watercap'. For the next PEM runs, initialization is done with the value kept in "startpem.nc". CO2 ice is taken from 'perennial_co2ice' of the PCM (paleoclimate flag must be true).
Simplification of the condition to compute the surface ice cover needed for the stopping criteria.
Frost ('qsurf') is not evolved by the PEM and given back to the PCM.
New default threshold value 'inf_h2oice_threshold' (= 2 m) to decide at the end of the PEM run if the H2O ice should be 'watercap' or not for the next PCM runs. If H2O ice cannot be 'watercap', then the remaining H2O ice is transferred to the frost ('qsurf').
- Renaming of variables/subroutines for clarity;
- Some cleanings throughout the code;
- Small updates in files of the deftank.
JBC
|
File size:
1.4 KB
|
Rev | Line | |
---|
[3149] | 1 | MODULE interpol_TI_PEM2PCM_mod |
---|
[2794] | 2 | |
---|
[3076] | 3 | implicit none |
---|
| 4 | |
---|
| 5 | !======================================================================= |
---|
| 6 | contains |
---|
| 7 | !======================================================================= |
---|
| 8 | |
---|
[3149] | 9 | SUBROUTINE interpol_TI_PEM2PCM(ngrid,nslope,nsoil_PEM,nsoil_PCM,TI_PEM,TI_PCM) |
---|
[3076] | 10 | |
---|
[2855] | 11 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
| 12 | !!! |
---|
[3149] | 13 | !!! Purpose: Transfer the thermal inertia from the PEM vertical grid to the PCM vertical grid |
---|
[3076] | 14 | !!! |
---|
| 15 | !!! |
---|
[2855] | 16 | !!! Author: LL |
---|
| 17 | !!! |
---|
| 18 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
[2794] | 19 | |
---|
[3076] | 20 | implicit none |
---|
[2794] | 21 | |
---|
| 22 | !====================================================================== |
---|
| 23 | ! arguments |
---|
| 24 | ! --------- |
---|
| 25 | ! inputs: |
---|
[3076] | 26 | integer, intent(in) :: ngrid ! # of horizontal grid points |
---|
| 27 | integer, intent(in) :: nslope ! # of subslope wihtin the mesh |
---|
| 28 | integer, intent(in) :: nsoil_PEM ! # of soil layers in the PEM |
---|
[3149] | 29 | integer, intent(in) :: nsoil_PCM ! # of soil layers in the GCM |
---|
[3076] | 30 | real, dimension(ngrid,nsoil_PEM,nslope), intent(in) :: TI_PEM ! Thermal inertia in the PEM vertical grid [J/m^2/K/s^{1/2}] |
---|
[2794] | 31 | |
---|
[3149] | 32 | real, dimension(ngrid,nsoil_PCM,nslope), intent(inout) :: TI_PCM ! Thermal inertia in the PCM vertical grid [J/m^2/K/s^{1/2}] |
---|
[2794] | 33 | |
---|
[3076] | 34 | !----- Code |
---|
[3149] | 35 | TI_PCM = TI_PEM(:,:nsoil_PCM,:) |
---|
[2794] | 36 | |
---|
[3149] | 37 | END SUBROUTINE interpol_TI_PEM2PCM |
---|
[3076] | 38 | |
---|
[3149] | 39 | END MODULE interpol_TI_PEM2PCM_mod |
---|
Note: See
TracBrowser
for help on using the repository browser.