Changeset 5203 for LMDZ6/branches/cirrus/libf/phylmdiso
- Timestamp:
- Sep 20, 2024, 1:10:18 PM (5 months ago)
- Location:
- LMDZ6/branches/cirrus
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/cirrus
- Property svn:mergeinfo changed
/LMDZ6/trunk merged: 5181,5183-5184,5188-5191,5196-5201
- Property svn:mergeinfo changed
-
LMDZ6/branches/cirrus/libf/phylmdiso/isotopes_mod.F90
r5202 r5203 161 161 !=== Local variables: 162 162 INTEGER :: ixt 163 163 LOGICAL :: ltnat1 164 CHARACTER(LEN=maxlen) :: modname, sxt 164 165 165 166 !--- For H2[17]O … … 170 171 LOGICAL, PARAMETER :: ok_nocinsat = .FALSE. ! if T: no sursaturation effect for ice 171 172 LOGICAL, PARAMETER :: Rdefault_smow = .FALSE. ! if T: Rdefault=smow; if F: nul 172 LOGICAL, PARAMETER :: tnat1 = .TRUE. ! If T: all tnats are 1.173 173 174 174 !--- For [3]H 175 175 INTEGER :: iessai 176 177 CHARACTER(LEN=maxlen) :: modname, sxt178 176 179 177 modname = 'iso_init' … … 265 263 IF(ANY(isoName == 'HTO')) & 266 264 CALL get_in('ok_prod_nucl_tritium', ok_prod_nucl_tritium, .FALSE., .FALSE.) 265 CALL get_in('tnateq1', ltnat1, .TRUE.) 267 266 268 267 ! Ocean composition … … 295 294 tkcin1(ixt) = 0.0005016 296 295 tkcin2(ixt) = 0.0014432 297 if (tnat1) then 298 tnat(ixt)=1 299 else 300 tnat(ixt)=0. 301 endif 296 tnat(ixt) = 0.0; IF(ltnat1) tnat(ixt)=1 302 297 toce(ixt)=4.0E-19 ! rapport T/H = 0.2 TU Dreisigacker and Roether 1978 303 298 tcorr(ixt)=1. … … 318 313 tkcin1(ixt) = tkcin1_O18*fac_kcin 319 314 tkcin2(ixt) = tkcin2_O18*fac_kcin 320 if (tnat1) then 321 tnat(ixt)=1 322 else 323 tnat(ixt)=0.004/100. ! O17 représente 0.004% de l'oxygène 324 endif 315 tnat(ixt)=0.004/100. ! O17 représente 0.004% de l'oxygène 316 IF(ltnat1) tnat(ixt)=1 325 317 toce(ixt)=tnat(ixt)*(1.0+deltaO18_oce/1000.0)**pente_MWL 326 318 tcorr(ixt)=1.0+fac_enrichoce18*pente_MWL ! donné par Amaelle … … 338 330 tkcin1(ixt) = tkcin1_O18 339 331 tkcin2(ixt) = tkcin2_O18 340 if (tnat1) then 341 tnat(ixt)=1 342 else 343 tnat(ixt)=2005.2E-6 344 endif 332 tnat(ixt)=2005.2E-6; IF(ltnat1) tnat(ixt)=1 345 333 toce(ixt)=tnat(ixt)*(1.0+deltaO18_oce/1000.0) 346 334 tcorr(ixt)=1.0+fac_enrichoce18 … … 362 350 tkcin1(ixt) = tkcin1_O18*fac_kcin 363 351 tkcin2(ixt) = tkcin2_O18*fac_kcin 364 if (tnat1) then 365 tnat(ixt)=1 366 else 367 tnat(ixt)=155.76E-6 368 endif 352 tnat(ixt)=155.76E-6; IF(ltnat1) tnat(ixt)=1 369 353 toce(ixt)=tnat(ixt)*(1.0+pente_MWL*deltaO18_oce/1000.0) 370 354 tcorr(ixt)=1.0+fac_enrichoce18*pente_MWL -
LMDZ6/branches/cirrus/libf/phylmdiso/isotopes_routines_mod.F90
r5202 r5203 16419 16419 USE isotopes_mod, ONLY: isoName,iso_HDO,iso_eau 16420 16420 USE phyetat0_get_mod, ONLY: phyetat0_get, phyetat0_srf 16421 USE readTracFiles_mod,ONLY: new2oldH2O16422 USE strings_mod, ONLY: strIdx, str Tail, maxlen, msg, int2str16421 USE infotrac_phy, ONLY: new2oldH2O 16422 USE strings_mod, ONLY: strIdx, strHead, strTail, maxlen, msg, int2str 16423 16423 #ifdef ISOVERIF 16424 16424 USE isotopes_verif_mod … … 16459 16459 outiso = isoName(ixt) 16460 16460 oldIso = strTail(new2oldH2O(outiso), '_') !--- Remove "H2O_" from "H2O_<iso>[_<tag>]" 16461 i = INDEX(outiso, '_', .TRUE.) 16462 oldIso2 = outiso(1:i-1)//outiso(i+1:LEN_TRIM(outiso)) ! CR 2023: on ajoute cette possibilité aussi, elle correspond au cas le plus récent. 16461 oldIso2= TRIM(strHead(outiso,'_'))//strTail(outiso,'_') ! CR 2023: most recent possibility 16463 16462 ! write(*,*) 'tmp 16541:' 16464 16463 ! write(*,*) 'outiso=',outiso -
LMDZ6/branches/cirrus/libf/phylmdiso/isotrac_mod.F90
r4493 r5203 3 3 4 4 MODULE isotrac_mod 5 USE infotrac_phy, ONLY: niso, ntiso, nzone 6 USE readTracFiles_mod, ONLY: delPhase 7 USE isotopes_mod, ONLY: ridicule, get_in 5 USE infotrac_phy, ONLY: niso, ntiso, nzone, delPhase 6 USE isotopes_mod, ONLY: ridicule, get_in 8 7 9 8 IMPLICIT NONE -
LMDZ6/branches/cirrus/libf/phylmdiso/phyetat0_mod.F90
r5202 r5203 41 41 USE geometry_mod, ONLY: longitude_deg, latitude_deg 42 42 USE iostart, ONLY: close_startphy, get_field, get_var, open_startphy 43 USE infotrac_phy, ONLY: nqtot, nbtr, type_trac, tracers 44 USE readTracFiles_mod,ONLY: maxlen, new2oldH2O43 USE infotrac_phy, ONLY: nqtot, nbtr, type_trac, tracers, new2oldH2O 44 USE strings_mod, ONLY: maxlen 45 45 USE traclmdz_mod, ONLY: traclmdz_from_restart 46 46 USE carbon_cycle_mod, ONLY: carbon_cycle_init, carbon_cycle_cpl, carbon_cycle_tr, carbon_cycle_rad, co2_send, RCO2_glo -
LMDZ6/branches/cirrus/libf/phylmdiso/physiq_mod.F90
r5202 r5203 39 39 USE ioipsl_getin_p_mod, ONLY : getin_p 40 40 USE indice_sol_mod 41 USE infotrac_phy, ONLY: nqtot, nbtr, nqo, tracers, type_trac,ivap,iliq,isol 42 USE readTracFiles_mod, ONLY: addPhase 41 USE infotrac_phy, ONLY: nqtot, nbtr, nqo, tracers, type_trac,addPhase, ivap, iliq, isol 43 42 USE strings_mod, ONLY: strIdx 44 43 USE iophy … … 1375 1374 !$OMP THREADPRIVATE(SFRWL) 1376 1375 !albedo SB <<< 1376 1377 !--Lea Raillard qs_ini 1378 REAL, dimension(klon,klev) :: qs_ini 1377 1379 1378 1380 !--OB variables for mass fixer (hard coded for now) … … 5090 5092 5091 5093 CALL lscp(klon,klev,phys_tstep,missing_val,paprs,pplay, & 5092 t_seri, q_seri,qs_ ancien,ptconv,ratqs, &5094 t_seri, q_seri,qs_ini,ptconv,ratqs, & 5093 5095 d_t_lsc, d_q_lsc, d_ql_lsc, d_qi_lsc, rneb, rneblsvol, & 5094 5096 pfraclr, pfracld, cldfraliq, sigma2_icefracturb, mean_icefracturb, & … … 7172 7174 ENDDO 7173 7175 ENDDO 7176 7177 ! Lea Raillard qs_ini for cloud phase param. 7178 qs_ini(:,:)=qs_seri(:,:) 7174 7179 7175 7180 ! C Risi: dispatcher les isotopes dans les xt_seri
Note: See TracChangeset
for help on using the changeset viewer.