Changeset 3733 for trunk/LMDZ.MARS/libf/phymars/dyn1d/testphys1d.F90
- Timestamp:
- Apr 22, 2025, 6:08:46 PM (8 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/dyn1d/testphys1d.F90
r3726 r3733 150 150 time,psurf,u,v,temp,ndt,ptif,pks,dttestphys,zqsat,dq,dqdyn,day0,day,gru,grv,w, & 151 151 play,plev,latitude,longitude,cell_area,atm_wat_profile,atm_wat_tau) 152 152 print*, 'yooooooooooooooooooo', q(1,1,igcm_h2o_vap) 153 153 ! Write a "startfi" file 154 154 ! ---------------------- … … 163 163 totcloudfrac,wstar,watercap,perennial_co2ice) 164 164 endif !(.not. therestartfi) 165 print*, 'yooooooooooooooooooo', q(1,1,igcm_h2o_vap) 165 166 166 167 !======================================================================= … … 200 201 if (water) then 201 202 call watersat(nlayer,temp,play,zqsat) 202 if (0. <= atm_wat_profile .and. atm_wat_profile <= 1.) then 203 ! If atmospheric water is monitored 204 if (atm_wat_tau < 0.) then ! Prescribed atm_wat_profile: wet if >0, dry if =0 203 if (0. <= atm_wat_profile) then ! If atmospheric water is monitored 204 if (atm_wat_tau < 0.) then ! Case for prescribed atm_wat_profile: wet if >0, dry if =0 205 205 q(1,:,igcm_h2o_vap) = min(zqsat,atm_wat_profile*g/psurf) 206 206 q(1,:,igcm_h2o_ice) = 0. ! reset h2o ice 207 else ! Relaxation towards the value atm_wat_profile with relaxation time atm_wat_tau207 else ! Case for relaxation towards the value atm_wat_profile with relaxation time atm_wat_tau 208 208 q(1,:,igcm_h2o_vap) = atm_wat_profile*g/psurf + (q(1,:,igcm_h2o_vap) - atm_wat_profile*g/psurf)*dexp(-dttestphys/atm_wat_tau) 209 209 q(1,:,igcm_h2o_ice) = 0. ! reset h2o ice
Note: See TracChangeset
for help on using the changeset viewer.