Changeset 2123


Ignore:
Timestamp:
Apr 15, 2019, 4:11:11 PM (6 years ago)
Author:
jleconte
Message:

Changed the routing of the tracers so that the mean molecular weight of water vapor be taken into account in the dynamics.

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

Legend:

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

    r2021 r2123  
    113113state  real  FLUXSURF_SW ij misc  1  -  - "FLUXSURF_SW" "SW Surface flux" "W.m-2"
    114114state  real  FLUXSURF_LW ij misc  1  -  -  "FLUXSURF_LW" "LW Surface flux" "W.m-2"
    115 state  real  FLXGRD ij misc  1  -  - "FLXGRD" "heat flux from ground"  "W.m-2"
     115state  real  FLXGRD ij misc  1  -  h "FLXGRD" "heat flux from ground"  "W.m-2"
    116116state  real  LSCEZ ikj misc  1  -  - "LSCEZ" "heat from largescale" "W.m-2"
    117117state  real  H2OICE_REFF ikj misc  1  -  -  "H2OICE_REFF" "Radii of H2O ice" "m"
     
    133133####
    134134state  real  -         ikjftb  scalar  1  -  -                         -
    135 state  real  QH2O      ikjftb  scalar  1  -  i01rhusdf=(bdy_interp:dt) "QH2O"       "Water vapor mixing ratio"   "kg kg-1"
    136 state  real  QH2O_ICE  ikjftb  scalar  1  -  i01rhusdf=(bdy_interp:dt) "QH2O_ICE"   "Water ice mixing ratio"     "kg kg-1"
     135state  real  QH2O      ikjftb  scalar  1  -  i01rusdf=(bdy_interp:dt) "QH2O"       "Water vapor mixing ratio"   "kg kg-1"
     136state  real  QH2O_ICE  ikjftb  scalar  1  -  i01rusdf=(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         -      rh       "USTM"                  "U* IN SIMILARITY THEORY WITHOUT VCONV"        "m s-1"    #SAVEMARS2 ustar
     1049state    real  USTM             ij      misc        1         -      r       "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
     1546package   water        mars==1                      -              scalar:qh2o,qh2o_ice;moist:qv,qc
    15471547package   dust1        mars==2                      -              scalar:qdust
    15481548package   dust2eq      mars==3                      -              scalar:qdust,qdustn
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/LES/modif_mars/module_first_rk_step_part1.F

    r2088 r2123  
    613613           ! scalars
    614614!     &        ,NUM_3D_S=num_3d_s,SCALAR=grid%scalar                       &
    615      &        ,NUM_3D_S=num_scalar,SCALAR=grid%scalar                      &
     615     &        ,NUM_3D_S=num_scalar,SCALAR=grid%scalar                       &
     616     &        ,NUM_3D_M=num_moist,MOIST=grid%moist                      &
    616617           ! mode
    617618     &        ,MARS_MODE=config_flags%mars   &
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/phys/module_lmd_driver.F.new

    r2070 r2123  
    3030        RTHBLTEN,RUBLTEN,RVBLTEN, &
    3131        num_3d_s,SCALAR, &
     32        num_3d_m,moist, &
    3233        MARS_MODE, &
    3334        planet_type, &
     
    124125     M_GW
    125126! 4D arrays
    126 INTEGER, INTENT(IN ) :: num_3d_s
    127 REAL, DIMENSION( ims:ime, kms:kme, jms:jme, 1:num_3d_s ), INTENT(INOUT ) :: &
    128      scalar
     127INTEGER, INTENT(IN ) :: num_3d_s,num_3d_m
     128REAL, DIMENSION( ims:ime, kms:kme, jms:jme, 1:num_3d_s ), INTENT(INOUT ) :: scalar
     129REAL, DIMENSION( ims:ime, kms:kme, jms:jme, 1:num_3d_m ), INTENT(INOUT ) ::  moist
    129130! Logical
    130131LOGICAL, INTENT(IN ) :: restart
     
    495496    q_prof(:,1)=0.95
    496497ELSE
    497     q_prof(:,1:nq) = SCALAR(i,kps:kpe,j,2:nq+1)  !! the names were set above !! one dummy tracer in WRF
     498    q_prof(:,1) = moist(i,kps:kpe,j,P_QV) !! the names were set above !! one dummy tracer in WRF
     499    q_prof(:,2) = SCALAR(i,kps:kpe,j,3) !! the names were set above !! one dummy tracer in WRF 
    498500ENDIF
    499501
     
    804806      SCALAR(i,1,j,2) = SCALAR(i,1,j,2) + 1. !! this tracer is emitted in the surface layer
    805807    CASE DEFAULT
    806       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
     808      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
     809      scalar(i,kps:kpe,j,3)=scalar(i,kps:kpe,j,3)+zdqfi_omp(subs,kps:kpe,2)*dt  !!! here dt is needed
    807810  END SELECT
    808811   
Note: See TracChangeset for help on using the changeset viewer.