Ignore:
Timestamp:
Apr 13, 2012, 3:15:09 PM (13 years ago)
Author:
acolaitis
Message:

THERMALS: corrected improper tracer conservation that would appear in sharp tracer gradient cases. Tracer conservation is now identical to convective adjustment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/thermcell_main_mars.F90

    r616 r619  
    271271
    272272      do l=2,nlayermx
    273          rhobarz(:,l)=0.5*(rho(:,l)+rho(:,l-1))
     273!         rhobarz(:,l)=0.5*(rho(:,l)+rho(:,l-1))
     274          rhobarz(:,l)=pplev(:,l)/(r*0.5*(pt(:,l)+pt(:,l-1)))
    274275      enddo
    275276
     
    15331534      modname='tracer'
    15341535      call thermcell_dqup(ngridmx,nlayermx,ptimestep     &
    1535      &     ,fm,entr,detr,  &
     1536     &     ,fm,entr,fraca,  &
    15361537     &    masse,pq(:,:,ico2),pdqadj(:,:,ico2),modname,zdzfull)
    15371538!      endif
Note: See TracChangeset for help on using the changeset viewer.