Ignore:
Timestamp:
Jan 6, 2025, 5:34:43 PM (4 days ago)
Author:
aborella
Message:

Modification to the shearing process

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/contrails/libf/phylmd/lmdz_aviation.f90

    r5456 r5466  
    108108! Local
    109109!
    110 ! for Schmidt-Applemant criteria
     110! for Schmidt-Appleman criteria
    111111REAL, DIMENSION(1) :: ztemp, zpplay, qzero, zqsatl, zdqsatl
    112112REAL :: Gcont, qsatl_crit, psatl_crit, pcrit
     
    343343
    344344!--The clouds are then sheared. We keep the shape and number
    345 !--assumptions from before. The clouds are sheared along their
    346 !--semi-major axis (a_mix), on the entire cell heigh dz.
    347 !--The increase in size is
     345!--assumptions from before. The clouds are sheared with a random orientation
     346!--of the wind, on average we assume that the wind and the semi-major axis
     347!--make a 45 degrees angle. Moreover, the contrails only mix
     348!--along their semi-minor axis (b), because it is easier to compute.
     349!--With this, the clouds increase in size along b only, by a factor
     350!--L_shear * SQRT(2.) / 2. (to account for the 45 degrees orientation of the wind)
    348351L_shear = coef_shear_contrails * shear * dz * dtime
    349352!--therefore, the fraction of clear sky mixed is
    350 !-- N_cld_mix * ( (a + L_shear) * b - a * b ) * RPI / 2. / cell_area
     353!-- N_cld_mix * ( a * (b + L_shear * SQRT(2.) / 2.) - a * b ) * RPI / 2. / cell_area
    351354!--and the fraction of cloud mixed is
    352 !-- N_cld_mix * ( (a * b) - (a - L_shear) * b ) * RPI / 2. / cell_area
     355!-- N_cld_mix * ( a * b - a * (b - L_shear * SQRT(2.) / 2.) ) * RPI / 2. / cell_area
    353356!--(note that they are equal)
    354 shear_fra = RPI * L_shear * a_mix * bovera / 2. * N_cld_mix / cell_area
     357shear_fra = RPI * SQRT(2.) / 2. * L_shear * a_mix / 2. * N_cld_mix / cell_area
    355358!--and the environment and cloud mixed fractions are the same,
    356359!--which we add to the previous calculated mixed fractions.
Note: See TracChangeset for help on using the changeset viewer.