Changeset 3154 for trunk/LMDZ.MARS
- Timestamp:
- Dec 10, 2023, 6:32:46 PM (12 months ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/changelog.txt
r3153 r3154 4395 4395 Add the possibility to compute Cd; Ch based on the virtual potential temperature to account for water flotability. 4396 4396 To do so, a boolean "virtual", set to false by default, must be set to true (for now hard coded as future modifications will follow). 4397 Small change following previous commit: when computing the virtual surface temperature, if frost is at the surface, qvap_surf = qsat. else; it is qvap in the first layer -
trunk/LMDZ.MARS/libf/phymars/vdif_cd_mod.F90
r3153 r3154 140 140 tol_iter = 0.01 141 141 mu_h2o = 18e-3 142 142 tol_frost = 1e-4 143 143 reynolds(:) = 0. 144 144 pz0t = 0. … … 162 162 DO ig = 1,ngrid 163 163 temp_v(ig) = ph(ig,1)*(1.+pqvap(ig,1)/(mu_h2o/mumean(ig)))/(1.+pqvap(ig,1)) 164 call watersat(1,pts(ig),pp(ig,1),qsat(ig)) 165 tsurf_v(ig) = pts(ig)*(1.+qsat(ig)/(mu_h2o/mumean(ig)))/(1.+qsat(ig)) 164 IF(pqsurf(ig).gt.tol_frost) then 165 call watersat(1,pts(ig),pp(ig,1),qsat(ig)) 166 tsurf_v(ig) = pts(ig)*(1.+qsat(ig)/(mu_h2o/mumean(ig)))/(1.+qsat(ig)) 167 ELSE 168 tsurf_v(ig) = pts(ig)*(1.+pqvap(ig,1)/(mu_h2o/mumean(ig)))/(1.+pqvap(ig,1)) 169 ENDIF 166 170 ENDDO 167 171 ELSE
Note: See TracChangeset
for help on using the changeset viewer.