Changeset 2696


Ignore:
Timestamp:
Jun 21, 2022, 11:05:33 AM (3 years ago)
Author:
aslmd
Message:

fixed dqevap=0 before iterative process

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/largescale_generic_mod.F90

    r2694 r2696  
    111111                     !      zt(i)=15.   ! check too low temperatures
    112112                endif
    113                 call Psat_generic(zt(i),local_p,metallicity,psat_tmp,zqs_temp)
    114                 zqs(i)=zqs_temp
     113                call Psat_generic(zt(i),local_p,metallicity,psat_tmp,zqs_temp) !useless ?
     114                zqs(i)=zqs_temp ! useless ?
    115115                zt(i)=pt(i,k)+pdt(i,k)*ptimestep
    116116                zx_q(i) = pq(i,k,igcm_generic_vap)+pdq(i,k,igcm_generic_vap)*ptimestep
    117                 dqevap(i,k)=0.
     117                ! dqevap(i,k)=0.
    118118        !           iterative process to stabilize the scheme when large water amounts JL12
    119119                zcond(i) = 0.0d0
     
    131131                End do ! niter
    132132                zcond(i)=MAX(zcond(i),-(pq(i,k,igcm_generic_ice)+pdq(i,k,igcm_generic_ice)*ptimestep))
     133                zcond(i) = zcond(i)/ptimestep
    133134            ENDDO ! i=1,ngrid
    134135
     
    139140
    140141        Enddo ! k= nlayer, 1, -1
    141 
     142        print*, "pdqvaplsc = ",pdqvaplsc(:,:)
     143        print*,"pdtlsc = ",pdtlsc(:,:)
    142144    end subroutine largescale_generic
    143145end module largescale_generic_mod
Note: See TracChangeset for help on using the changeset viewer.