Ignore:
Timestamp:
Jul 5, 2022, 11:56:27 PM (2 years ago)
Author:
aslmd
Message:

made the vertical discretization for Titan LES similar to that of Mars (simple linear law for znw and refinement close to the surface). no more need to prepare a file levels, just put ztop and number of levels in namelist. a file levels is saved at the end of the znw computation so that it can be read in update_inputs_physiq_mod in the case of Titan.

added MESOSCALE precompiling flags in call_profilgases to set constant methane abundance. therefore no need for profile.def file and the number of vertical levels is set by namelist -- no need to set the same number in both levels and profile.def

outputing ustar from vdifc

ending hardcoding of ptop in update_inputs_physiq_mod for Titan and generic LES/mesoscale. streamlining grod%ptop through module_lmd_driver as ptopwrf within variables_mod module.

adding flux outputs to check surface and atmosphere energy budgets

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

Legend:

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

    r2208 r2743  
    108108state  real  GSNOW  ikj  misc  1  -  -  "SNOW"     "SNOW kg/kg.s-1"           ""
    109109state  real  ALBEQ  ij misc  1  -  -  "ALBEQ"    "ALBEDO EQUIVALENT"   ""
    110 state  real  FLUXTOP_DN ij misc  1  -  - "FLUXTOP_DN"   "Incoming SW radiation at the TOA" "W.m-2"
    111 state  real  FLUXABS_SW ij misc  1  -  - "FLUXABS_SW"  "Absorbed SW flux" "W.m-2"
    112 state  real  FLUXTOP_LW ij misc  1  -  - "FLUXTOP_LW"  "Outgoing LW flux TOA" "W.m-2"
    113 state  real  FLUXSURF_SW ij misc  1  -  - "FLUXSURF_SW" "SW Surface flux" "W.m-2"
    114 state  real  FLUXSURF_LW ij misc  1  -  -  "FLUXSURF_LW" "LW Surface flux" "W.m-2"
     110state  real  FLUXTOP_DN ij misc  1  -  h "FLUXTOP_DN"   "Incoming SW radiation at the TOA" "W.m-2"
     111state  real  FLUXABS_SW ij misc  1  -  h "FLUXABS_SW"  "Absorbed SW flux" "W.m-2"
     112state  real  FLUXTOP_LW ij misc  1  -  h "FLUXTOP_LW"  "Outgoing LW flux TOA" "W.m-2"
     113state  real  FLUXSURF_SW ij misc  1  -  h "FLUXSURF_SW" "SW Surface flux" "W.m-2"
     114state  real  FLUXSURF_LW ij misc  1  -  h  "FLUXSURF_LW" "LW Surface flux" "W.m-2"
    115115state  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"
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/LES/modif_mars/module_initialize_les.F

    r2021 r2743  
    176176   END SELECT
    177177
    178    IF (planet == "mars") THEN
     178   IF (planet == "mars" .or. planet == "titan") THEN
    179179     stretch_grid = .false.
    180180     !! FOR LES, set stretch to false
     
    259259     !!MARS
    260260     !!MARS
    261      IF (planet .ne. "mars") THEN
     261     IF (planet .ne. "mars" .and. planet .ne. "titan") THEN
    262262       open(unit=12,file='levels',form='formatted',status='old')
    263263       rewind(12)
     
    276276
    277277   !! SPECIFIC FOR LES PBL MARS
    278    IF (planet == "mars") THEN
     278   IF (planet == "mars" .or. planet == "titan") THEN
    279279     !!!MARS
    280280     grid%znw(1)=1.000
     
    286286     ENDDO
    287287   ENDIF
     288
     289   open(unit=12,file='levels',form='formatted',status='old')
     290   rewind(12)
     291   DO k=1, kde
     292     write(12,*) grid%znw(k)
     293     write(6,*) 'for update_inputs_physiq_mod (e.g. Titan, generic)',k,grid%znw(k)
     294   ENDDO
     295   close(12)
     296
    288297
    289298
Note: See TracChangeset for help on using the changeset viewer.