Changeset 1649 for LMDZ5/trunk/libf


Ignore:
Timestamp:
Aug 22, 2012, 5:32:25 PM (12 years ago)
Author:
Ehouarn Millour
Message:

Corrections pour que les cas a flux de surface imposes marchent.
MPL & JYG

Location:
LMDZ5/trunk/libf
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phy1d/lmdz1d.F

    r1608 r1649  
    273273      elseif (forcing_type .eq.61) THEN
    274274       forcing_armcu = .true.
     275       IF(llm.NE.19.AND.llm.NE.40) stop 'Erreur nombre de niveaux !!'
    275276      else
    276277       write (*,*) 'ERROR : unknown forcing_type ', forcing_type
     
    399400      rho(1)=psurf/(rd*tsurf*(1.+(rv/rd-1.)*qsurf))
    400401
    401       ok_flux_surf=.false.
    402       fsens=-wtsurf*rcpd*rho(1)
    403       flat=-wqsurf*rlvtt*rho(1)
     402!
     403!! mpl et jyg le 22/08/2012 :
     404!!  pour que les cas a flux de surface imposes marchent
     405      IF(.NOT.ok_flux_surf) THEN
     406       fsens=-wtsurf*rcpd*rho(1)
     407       flat=-wqsurf*rlvtt*rho(1)
     408       print *,'Flux: ok_flux wtsurf wqsurf',ok_flux_surf,wtsurf,wqsurf
     409      ENDIF
     410!!      ok_flux_surf=.false.
     411!!      fsens=-wtsurf*rcpd*rho(1)
     412!!      flat=-wqsurf*rlvtt*rho(1)
     413!!!!
    404414
    405415! Vertical discretization and pressure levels at half and mid levels:
  • LMDZ5/trunk/libf/phylmd/wake.F

    r1403 r1649  
    561561      ENDDO
    562562
    563 c      On evite kupper = 1
     563c      On evite kupper = 1 et kupper = klev
    564564      DO i=1,klon
    565565        kupper(i) = max(kupper(i),2)
     566        kupper(i) = min(kupper(i),klev-1)
    566567      ENDDO
    567568
Note: See TracChangeset for help on using the changeset viewer.