Ignore:
Timestamp:
Feb 14, 2019, 3:49:40 PM (6 years ago)
Author:
mvals
Message:

Mars GCM:

  • handling of a particular case in Van Leer advection in rocketduststorm_mod.F90: when the vertical velocity is very large at a particular layer and null below or above, mass fluxes must not entrain more tracers than available in the layer

MV

File:
1 edited

Legend:

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

    r2091 r2100  
    607607                wq(l+1) = -MQtot
    608608             end if
     609
     610             if ( masse(l)*q(l) .lt. -(wq(l+1)-wq(l)) ) then  ! particular case when the vertical velocity is very strong in the layer and null below (wq(l)=0)
     611               wq(l+1) = wq(l)-masse(l)*q(l)
     612             end if
     613
    609614          endif
    610615         endif  ! w<0 (up)
     
    657662                wq(l) = MQtot
    658663            end if
     664
     665             if ( masse(l)*q(l) .lt. -(wq(l+1)-wq(l)) ) then  ! particular case when the vertical velocity is very strong in the layer and null above (wq(l+1)=0)
     666               wq(l) = wq(l+1)+masse(l)*q(l)
     667             end if
     668
    659669          end if
    660670         end if ! w>0 (down)
Note: See TracChangeset for help on using the changeset viewer.