- Timestamp:
- Jun 21, 2022, 11:05:43 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/generic_cloud_common_h.F90
r2715 r2718 22 22 real,save :: RLVTT !Latent heat of vaporization (J/kg) 23 23 real,save :: metallicity_coeff ! Coefficient to take into account the metallicity 24 25 24 26 contains 25 27 … … 244 246 end subroutine Lcpdqsat_generic 245 247 248 !================================================================== 249 subroutine Tsat_generic(p,Tsat) 250 251 implicit none 252 253 !================================================================== 254 ! Purpose 255 ! ------- 256 ! Compute the saturation temperature 257 ! for a given pressure (Pa) 258 ! 259 ! Authors 260 ! ------- 261 ! Noé Clément (2022) 262 ! 263 !================================================================== 264 265 ! input 266 real p 267 268 ! output 269 real Tsat 270 271 272 Tsat = 1/(1/Tref - (r*mugaz/1000.)/delta_vapH*Log(p/Pref)) 273 274 end subroutine Tsat_generic 275 !================================================================== 276 246 277 end module generic_cloud_common_h
Note: See TracChangeset
for help on using the changeset viewer.