Ignore:
Timestamp:
Mar 11, 2011, 10:44:05 AM (14 years ago)
Author:
Laurent Fairhead
Message:

Modified closure for the new physics package, new values for the iflag_coupl parameter
FH


Fermeture modifiée pour la nouvelle physique, nouvelles valeurs définies pour
le paramètre iflag_coupl
FH

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/physiq.F

    r1493 r1496  
    12341234     .     flag_aerosol, new_aod,
    12351235     .     bl95_b0, bl95_b1,
    1236      .     iflag_thermals,nsplit_thermals,tau_thermals,
    1237      .     iflag_thermals_ed,iflag_thermals_optflux,
    12381236c     nv flags pour la convection et les poches froides
    1239      .     iflag_coupl,iflag_clos,iflag_wake, read_climoz,
     1237     .     read_climoz,
    12401238     &     alp_offset)
    12411239      call phys_state_var_init(read_climoz)
     
    28462844      if (iflag_cldcon>=5) then
    28472845
     2846         ptconvth(:,:)=fm_therm(:,:)>0.
     2847
     2848       if (iflag_coupl==4) then
     2849
     2850! Dans le cas iflag_coupl==4, on prend la somme des convertures
     2851! convectives et lsc dans la partie des thermiques
     2852! Le controle par iflag_coupl est peut etre provisoire.
     2853         do k=1,klev
     2854            do i=1,klon
     2855               if (ptconv(i,k).and.ptconvth(i,k)) then
     2856                   cldliq(i,k)=cldliq(i,k)+rnebcon(i,k)*clwcon(i,k)
     2857                   cldfra(i,k)=min(cldfra(i,k)+rnebcon(i,k),1.)
     2858               else if (ptconv(i,k)) then
     2859                   cldfra(i,k)=rnebcon(i,k)
     2860                   cldliq(i,k)=rnebcon(i,k)*clwcon(i,k)
     2861               endif
     2862            enddo
     2863         enddo
     2864
     2865         else
    28482866! Si on est sur un point touche par la convection profonde et pas
    28492867! par les thermiques, on prend la couverture nuageuse et l'eau nuageuse
     
    28522870!IM/FH: 2011/02/23
    28532871! definition des points sur lesquels ls thermiques sont actifs
    2854          if (prt_level>9)write(*,*)'TEST SCHEMA DE NUAGES '
    2855          ptconvth(:,:)=fm_therm(:,:)>0.
     2872
    28562873         do k=1,klev
    28572874            do i=1,klon
     
    28622879            enddo
    28632880         enddo
     2881
     2882        endif
     2883
    28642884      else
     2885
    28652886! Ancienne version
    28662887      cldfra(:,:)=min(max(cldfra(:,:),rnebcon(:,:)),1.)
Note: See TracChangeset for help on using the changeset viewer.