Changeset 2208 for trunk/MESOSCALE


Ignore:
Timestamp:
Jan 7, 2020, 10:32:52 PM (5 years ago)
Author:
aslmd
Message:

MESOSCALE: adapted what was proposed in r2123. created a mode mars=42 for water vapour used in dynamics (what was proposed in r2123). moved back the default behaviour for Mars that was removed in r2123.

Location:
trunk/MESOSCALE/LMD_MM_MARS/SRC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/LES/modif_mars/Registry.EM.newphys

    r2123 r2208  
    133133####
    134134state  real  -         ikjftb  scalar  1  -  -                         -
    135 state  real  QH2O      ikjftb  scalar  1  -  i01rusdf=(bdy_interp:dt) "QH2O"       "Water vapor mixing ratio"   "kg kg-1"
    136 state  real  QH2O_ICE  ikjftb  scalar  1  -  i01rusdf=(bdy_interp:dt) "QH2O_ICE"   "Water ice mixing ratio"     "kg kg-1"
     135state  real  QH2O      ikjftb  scalar  1  -  i01rhusdf=(bdy_interp:dt) "QH2O"       "Water vapor mixing ratio"   "kg kg-1"
     136state  real  QH2O_ICE  ikjftb  scalar  1  -  i01rhusdf=(bdy_interp:dt) "QH2O_ICE"   "Water ice mixing ratio"     "kg kg-1"
    137137state  real  qdust     ikjftb  scalar  1  -  i01rhusdf=(bdy_interp:dt) "QDUST"      "Dust mixing ratio"          "kg kg-1"
    138138state  real  qdustn    ikjftb  scalar  1  -  i01rhusdf=(bdy_interp:dt) "QDUSTN"     "Dust number density"        " m-3 "
     
    10471047state    real  CDA              ij      misc        1         -      r        "CDA"                   "DRAG COEFF AT LOWEST MODEL LVL"                      ""
    10481048state    real  UST              ij      misc        1         -      r        "UST"                   "U* IN SIMILARITY THEORY"                      "m s-1"   
    1049 state    real  USTM             ij      misc        1         -      r       "USTM"                  "U* IN SIMILARITY THEORY WITHOUT VCONV"        "m s-1"    #SAVEMARS2 ustar
     1049state    real  USTM             ij      misc        1         -      rh       "USTM"                  "U* IN SIMILARITY THEORY WITHOUT VCONV"        "m s-1"    #SAVEMARS2 ustar
    10501050i1       real  HOL              ij      misc        1         -      -        "HOL"                   "PBL HEIGHT OVER MONIN-OBUKHOV LENGTH"         ""
    10511051state    real  RMOL             ij      misc        1         -      r        "RMOL"                  "1./Monin Ob. Length"                      ""
     
    15441544##
    15451545package   default      mars==0                      -              -
    1546 package   water        mars==1                      -              scalar:qh2o,qh2o_ice;moist:qv,qc
     1546package   water        mars==1                      -              scalar:qh2o,qh2o_ice
    15471547package   dust1        mars==2                      -              scalar:qdust
    15481548package   dust2eq      mars==3                      -              scalar:qdust,qdustn
     
    15521552package   radioac      mars==20                     -              scalar:qtrac1
    15531553package   VenusPC      mars==34                     -              scalar:qco2,qco,qh2,qh2o,qo1d,qo,qo2,qo2dg,qo3,qh,qoh,qho2,qh2o2,qcl,qclo,qcl2,qhcl,qhocl,qclco,qclco3,qcocl2,qss,qso,qso2,qso3,qs2o2,qocs,qhso3,qh2so4,qs2,qclso2,qoscl,qh2oliq,qh2so4liq
     1554package   waterdyn     mars==42                     -              scalar:qh2o,qh2o_ice;moist:qv,qc
    15541555##### MARS OPTIONS
    15551556##### MARS OPTIONS
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/phys/module_lmd_driver.F.new

    r2123 r2208  
    495495IF (MARS_MODE .EQ. 0) THEN
    496496    q_prof(:,1)=0.95
    497 ELSE
     497ELSE IF (MARS_MODE .EQ. 42) THEN
    498498    q_prof(:,1) = moist(i,kps:kpe,j,P_QV) !! the names were set above !! one dummy tracer in WRF
    499499    q_prof(:,2) = SCALAR(i,kps:kpe,j,3) !! the names were set above !! one dummy tracer in WRF 
     500ELSE
     501    q_prof(:,1:nq) = SCALAR(i,kps:kpe,j,2:nq+1)  !! the names were set above !! one dummy tracer in WRF
    500502ENDIF
    501503
     
    512514  ENDIF
    513515ENDIF
    514 
    515516
    516517IF (firstcall .EQV. .true.) THEN
     
    805806      SCALAR(i,kps:kpe,j,2) = SCALAR(i,kps:kpe,j,2)*exp(-dt/tau_decay)
    806807      SCALAR(i,1,j,2) = SCALAR(i,1,j,2) + 1. !! this tracer is emitted in the surface layer
    807     CASE DEFAULT
     808    CASE(42)
    808809      moist(i,kps:kpe,j,P_QV)=moist(i,kps:kpe,j,P_QV)+zdqfi_omp(subs,kps:kpe,1)*dt  !!! here dt is needed
    809810      scalar(i,kps:kpe,j,3)=scalar(i,kps:kpe,j,3)+zdqfi_omp(subs,kps:kpe,2)*dt  !!! here dt is needed
     811    CASE DEFAULT
     812      SCALAR(i,kps:kpe,j,2:nq+1)=SCALAR(i,kps:kpe,j,2:nq+1)+zdqfi_omp(subs,kps:kpe,1:nq)*dt !!! here dt is needed
    810813  END SELECT
    811    
     814
    812815ENDDO
    813816ENDDO
Note: See TracChangeset for help on using the changeset viewer.