Changeset 3844
- Timestamp:
- Jul 13, 2025, 10:11:41 PM (4 days ago)
- Location:
- trunk/LMDZ.PLUTO/libf/phypluto
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.PLUTO/libf/phypluto/callcorrk.F90
r3805 r3844 1100 1100 dtlw_nu(l,nw)=dtlw_nu(l,nw)*eps_nlte_lw(ig,l) 1101 1101 else 1102 !dtlw_nu(l,nw)=1.*dtlw_nu(l,nw) ! no CO correction (Strobbel 1996)1103 dtlw_nu(l,nw)=0.33*dtlw_nu(l,nw) ! CO correction (Strobbel 1996)1104 !dtlw_co(ig,l)=dtlw_co(ig,l)+ dtlw_nu(l,nw) ! diagnostic1102 dtlw_nu(l,nw)=1.*dtlw_nu(l,nw) ! no CO correction (Strobbel 1996) 1103 !dtlw_nu(l,nw)=0.33*dtlw_nu(l,nw) ! CO correction (Strobbel 1996) 1104 !dtlw_co(ig,l)=dtlw_co(ig,l)+ dtlw_nu(l,nw) ! diagnostic 1105 1105 end if 1106 1106 dtlw(ig,l)=dtlw(ig,l)+ dtlw_nu(l,nw) !average now on each wavelength -
trunk/LMDZ.PLUTO/libf/phypluto/cocloud.F90
r3585 r3844 159 159 ! enddo 160 160 161 call cosat(ngrid*nlay,zt,pplay,zqsat,vecnull ,vecnull)161 call cosat(ngrid*nlay,zt,pplay,zqsat,vecnull) 162 162 ! TEMPORAIRE : 163 163 ! test sans condensation atmospherique -
trunk/LMDZ.PLUTO/libf/phypluto/cosat.F90
r3247 r3844 1 subroutine cosat(nsize,t,p,qsat,qsurf_n2 ,qsurf_ch4)1 subroutine cosat(nsize,t,p,qsat,qsurf_n2) 2 2 3 3 IMPLICIT NONE … … 15 15 real t(nsize) , p(nsize) 16 16 ! OUTPUT 17 real qsat(nsize),qsurf_n2(nsize) ,qsurf_ch4(nsize)17 real qsat(nsize),qsurf_n2(nsize) 18 18 INTEGER i 19 19 … … 21 21 do i=1,nsize 22 22 23 ! from Fray and schmitt fit by formulation L = 2.74e5 J/kg 24 qsat(i)=0.1537*exp((28*274./8.314)*(1/68.1-1/t(i)))*100000*28.0/(28.0*p(i)) 25 26 ! Raoult law if mixte in N2 ice and CH4 ice : assume 0.3% CO in N2 27 ! (Merlin) and 0.3% in CH4 28 ! if ((qsurf_n2(i).gt.0.001).or.(qsurf_ch4(i).gt.0.001)) then 23 ! from Fray and schmitt fit by formulation L = 2.74e5 J/kg 24 qsat(i)=0.1537*exp((28*274./8.314)*(1/68.1-1/t(i)))*100000*28.0/(28.0*p(i)) 29 25 30 26 ! Raoult law if mixte in N2 ice : assume 0.3% CO in N2 -
trunk/LMDZ.PLUTO/libf/phypluto/cosurf.F
r3539 r3844 74 74 ENDDO 75 75 76 call cosat(ngrid,tsurf,zpsrf,qsat,pqsurf(:,igcm_n2), 77 & pqsurf(:,igcm_ch4_ice)) 76 call cosat(ngrid,tsurf,zpsrf,qsat,pqsurf(:,igcm_n2)) 78 77 79 78 DO ig=1,ngrid -
trunk/LMDZ.PLUTO/libf/phypluto/inifis_mod.F90
r3812 r3844 1364 1364 call abort_physic(rname, 'for now, haze/rad_proffix only works with optichaze=T', 1) 1365 1365 endif 1366 if (carbox.and.condcosurf.and.no_n2frost) then1367 call abort_physic(rname, "CO surface condensation and no_n2frost are both active which may not be relevant", 1)1368 end if1366 ! if (carbox.and.condcosurf.and.no_n2frost) then 1367 ! call abort_physic(rname, "CO surface condensation and no_n2frost are both active which may not be relevant", 1) 1368 ! end if 1369 1369 1370 1370 if ((cpp_mugaz_mode >= 1).and.(is_master).and.(ngrid>1)) then -
trunk/LMDZ.PLUTO/libf/phypluto/physiq_mod.F90
r3816 r3844 2110 2110 endif ! end of 'lastcall' 2111 2111 2112 if(mod(icount,diagfi_output_rate).eq.0) then 2113 write_restartfi = .true. 2114 endif 2112 2115 if(startfi_output_rate.ne.0)then 2113 2116 if (mod(icount,startfi_output_rate).eq.0) then -
trunk/LMDZ.PLUTO/libf/phypluto/vdifc_pluto_mod.F90
r3627 r3844 15 15 use comgeomfi_h 16 16 use callkeys_mod, only: carbox, methane, condcosurf, condensn2, condmetsurf,& 17 kmix_proffix, vertdiff, tracer, kmixmin 17 kmix_proffix, vertdiff, tracer, kmixmin, no_n2frost 18 18 use datafile_mod, only: datadir 19 19 use surfdat_h, only: phisfi … … 100 100 REAL zcst1 101 101 REAL zu2 102 102 REAL qsat_co_factor(ngrid) ! factor to prevent co frost formation if no n2 frost 103 103 EXTERNAL SSUM,SCOPY 104 104 REAL SSUM … … 159 159 close(114) 160 160 ENDIF 161 162 ! If fixed distribution of N2, then no CO frost either 163 qsat_co_factor(:)=1. 164 IF (no_n2frost) then 165 DO ig=1,ngrid 166 if (pqsurf(ig,igcm_n2).eq.0.) then 167 qsat_co_factor(ig) = 1.e6 168 endif 169 ENDDO 170 ENDIF 171 161 172 ENDIF 162 173 … … 645 656 ELSE IF (carbox.and.(iq.eq.igcm_co_gas)) then 646 657 647 ! calcul de la valeur de q a la surface :658 !! Calculating saturation mixing ratio at surface 648 659 call cosat(ngrid,ptsrf,pplev(1,1),qsat_co, & 649 pqsurf(:,igcm_n2) ,pqsurf(:,igcm_ch4_ice))660 pqsurf(:,igcm_n2)) 650 661 651 662 !! Prevent CO condensation at the surface 652 663 if (.not.condcosurf) then 653 664 qsat_co=qsat_co*1.e6 665 endif 666 if (no_n2frost) then 667 qsat_co=qsat_co*qsat_co_factor 654 668 endif 655 669
Note: See TracChangeset
for help on using the changeset viewer.