Changeset 2112


Ignore:
Timestamp:
Mar 6, 2019, 4:43:27 PM (6 years ago)
Author:
mvals
Message:

Mars GCM:

  • correction of the Van Leer scheme in vlz_fi.F, used by the sedimentation routine (particular case evoked previously)

MV

Location:
trunk/LMDZ.MARS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/README

    r2100 r2112  
    27032703== 14/02/2019 == MV
    27042704- 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
     2705
     2706== 06/03/2019 == MV
     2707- correction of the Van Leer scheme in vlz_fi.F, used by the sedimentation routine (particular case evoked previously)
  • trunk/LMDZ.MARS/libf/phymars/vlz_fi.F

    r2077 r2112  
    122122                wq(ij,l) = Mqtot
    123123            end if
     124
     125c            it cannot entrain more than available mass !
     126             if ( masse(ij,l)*q(ij,l) .lt. -(wq(ij,l+1)-wq(ij,l)) ) then
     127               wq(ij,l) = wq(ij,l+1)+masse(ij,l)*q(ij,l)
     128             end if
     129
    124130          end if
    125131         end if
     
    169175                stop
    170176             end if
     177
     178c            it cannot entrain more than available mass !
     179             if ( masse(ij,l)*q(ij,l) .lt. -(wq(ij,l+1)-wq(ij,l)) ) then
     180               wq(ij,l+1) = wq(ij,l)-masse(ij,l)*q(ij,l)
     181             end if
     182
    171183          endif
    172184         endif
Note: See TracChangeset for help on using the changeset viewer.