#= dcpam_main プログラム用 NAMELIST ファイル (T21L36 用)
#
#= NAMELIST file for "dcpam_main"
#
# Copyright (C) GFD Dennou Club, 2008-2009. All rights reserved.
#
# Note that Japanese and English are described in parallel.
#

&dynamics_physicsonly_nml
  UGeo = 30.0d0,
  VGeo =  0.0d0
/

&set_dust_flux_nml
  DustFlux = 1.0d-10
/
!&rad_Mars_V1_nml
!  FlagRadActiveDust = .true.
!/

&dry_conv_adjust_nml
  FlagAdjustMom = .true.,
  FlagAdjustMR  = .true.
/
&dcpam_main_nml
!    DynMode                 = 'HSPLVAS83',
    DynMode                 = 'NoHorAdv',
    PhysMode                = 'FullPhysics',
!!$    PhysMode                = 'HS94',
!!$    PhysMode                = 'VenusSimple',
!!$    PhysMode                = 'JupiterSimple',
!!$    PhysMode                = 'NoPhysics',
!!$    RadModel                = 'DennouAGCM',
!!$    RadModel                = 'Earth',
    RadModel                = 'Mars',
!!$    RadModel                = 'SL09',
!!$    PhysImpMode             = '1LayModel',
    VDiffMethod             = 'MY2.5',
    SfcFluxMethod           = 'BH91B94',
    PhysImpMode             = 'SoilModel',
!!$    PhysImpMode             = 'SoilModelSO',
!!$    PhysImpMode             = 'AtmOnly',
    MCMethod                = 'None',
!!$    MCMethod                = 'MCA',
!!$    MCMethod                = 'RAS',
    LSCMethod               = 'None',
!!$    LSCMethod               = 'M65',
!!$    LSCMethod               = 'LL91',
!    LSCMethod               = 'SatAdjM65',
    CloudMethod             = 'None',
!!$    CloudMethod             = 'Simple',
!    CloudMethod             = 'MarsH2OCloud',
!!$    SfcMoistMethod          = 'None'
    SfcMoistMethod          = 'Bucket'
!!$    DCMethod                = 'None',
    DCMethod                = 'DCA',
    FlagSnow                = .true.,
    FlagMajCompPhaseChange  = .true.,
    CondMajCompName         = 'CO2'
/
&fileset_nml
  FileTitle = 'Simulation of an atmosphere of Mars', 
                              ! 出力データファイルの表題.
                              ! Title of output data files
  FileSource = 'dcpam5 $Name:  $ (http://www.gfd-dennou.org/library/dcpam)', 
                              ! データファイル作成の手段. 
                              ! Source of data file
  FileInstitution = 'GFD Dennou Club (http://www.gfd-dennou.org)'
                              ! データファイルを最終的に変更した組織/個人. 
                              ! Institution or person that changes data files for the last time
/
&gridset_nml
  nmax   =  21,                 ! 最大全波数. 
                                ! Maximum truncated wavenumber
  imax   =   1,                 ! 経度格子点数. 
                                ! Number of grid points in longitude
  jmax   =   1,                 ! 緯度格子点数. 
                                ! Number of grid points in latitude
  kmax   =  36,                 ! 鉛直層数. 
                                ! Number of vertical level
  kslmax =  18                  ! 地下の鉛直層数. 
                                ! Number of subsurface vertical level
/
&composition_nml
  ncmax       = 3,
  Names       = 'QH2OVap' 'QDust' 'TKE',
  FlagAdv     = .true.,   .true., .true.,
  FlagMassFix = .true.,   .true., .false.
/
&timeset_nml
  cal_type          = 'user_defined',
!  month_in_year     =    1,
!  day_in_month      =  669,
  month_in_year     =   12,
  day_in_month      =  62, 65, 67, 64, 60, 55, 49, 47, 46, 48, 51, 55,
  hour_in_day       =   24,
  min_in_hour       =    1,
!  sec_in_min        = 3699.0d0,
  sec_in_min        = 3700.0d0,
  InitialYear       =     1,
  InitialMonth      =     3,
  InitialDay        =     1,
  InitialHour       =     0,
  InitialMin        =     0,
  InitialSec        =     0.0d0,
  EndYear           =     1,
  EndMonth          =     4,
  EndDay            =     1,
  EndHour           =     0,
  EndMin            =     0,
  EndSec            =     0.0d0,
  RestartTimeValue =      0.0d0,
  RestartTimeUnit  = 'sec',
!  DelTimeValue    = 925.0, ! abort
!  DelTimeValue    = 888.0, ! abort
!  DelTimeValue    = 800.0, ! abort
!  DelTimeValue    = 740.0, 
!  DelTimeValue    = 600.0, ! abort
!  DelTimeValue    = 555.0, ! oscillation 
!  DelTimeValue    = 480.0, ! oscillation 
  DelTimeValue    = 370.0, 
!  DelTimeValue    = 360.0, 
!  DelTimeValue    = 300.0, 
!
  ! may run
!  DelTimeValue    = 288.0, 
!
!  DelTimeValue    = 240.0, 
                              ! $ \Delta t $ .  単位は DelTimeUnit にて指定.
                              ! Unit is specified by "DelTimeUnit". 
  DelTimeUnit     = 'sec', 
                              ! $ \Delta t $ の単位. 
                              ! Unit of $ \Delta t $ 
  PredictIntValue = 1.0, 
                              ! 終了予測日時表示間隔. 
                              ! Interval of predicted end time output
  PredictIntUnit  = 'day', 
                              ! 終了予測日時表示間隔 (単位). 
                              ! Unit for interval of predicted end time output
  CpuTimeMoniter  = .true.
                              ! CPU 時間計測のオンオフ
                              ! On/off of CPU time monitoring
/
&restart_surftemp_io_nml
  InputFile = 'surface_1D.nc'
/
&restart_file_io_nml
  InputFile = 'init_1D_L36.nc', 
                              ! 入力する初期値/リスタートデータのファイル名
                              ! filename of input initial/restart data
  OutputFile = 'rst.nc', 
                              ! 出力するリスタートデータのファイル名
                              ! filename of output restart data
  IntValue = 200.0, 
                              ! リスタートデータの出力間隔. 
                              ! Interval of restart data output
  IntUnit = 'day' 
                              ! リスタートデータの出力間隔の単位. 
                              ! Unit for interval of restart data output
/
&constants_nml
  RPlanet  = 3396.0d3
  Omega    =    7.08821812717832e-05  ! calculated with a rotation period of 88642.663 s
  Grav     =    3.72d0
  MolWtDry =  43.5d-3, 
  CpDry    = 843.9d0
/
&surface_properties_nml
  SurfTempSetting    = 'generate_internally', 
                              ! 地表面温度の設定方法
                              ! Setting of surface temperature
  SurfTempFile       = '',
                              ! 地表面温度のファイル名. 
                              ! File name of surface temperature
  SurfTempName       = '',
                              ! 地表面温度の変数名. 
                              ! Variable name of surface temperature
  SeaIceSetting      = 'generate_internally', 
                              ! 海氷面密度の設定方法
                              ! Setting of sea ice
  SeaIceFile         = '',
                              ! 海氷面密度のファイル名. 
                              ! File name of sea ice
  SeaIceName         = '',
                              ! 海氷面密度の変数名. 
                              ! Variable name of sea ice
  SurfTypeSetting    = 'generate_internally',
  SurfTypeFile       = '',
  SurfTypeName       = '',
  SurfCondSetting    = 'generate_from_SurfType',
                              ! 地表状態の設定方法
                              ! Setting of surface condition
  SurfCondFile       = '',
                              ! 地表状態 (0: 固定, 1: 可変) のファイル名.
                              ! File name of surface condition (0: fixed, 1: variable)
  SurfCondName       = '',
                              ! 地表状態 (0: 固定, 1: 可変) の変数名.
                              ! Variable name of surface condition (0: fixed, 1: variable)
  SurfHeightSetting  = 'generate_internally', 
                              ! 地表面高度の設定方法
                              ! Setting of surface height
  SurfHeightFile     = '',
                              ! 地表面高度のファイル名.
                              ! File name of surface height
  SurfHeightName     = '',
                              ! 地表面高度の変数名.
                              ! Variable name of surface height
  AlbedoSetting      = 'generate_internally',
                              ! アルベドの設定方法
                              ! Setting of surface albedo
  AlbedoFile         = '', 
  AlbedoName         = '',
  SoilHeatDiffCoefSetting = 'generate_internally',
  SoilHeatDiffCoefFile    = '', 
  SoilHeatDiffCoefName    = '',
  RoughLengthSetting = 'generate_internally'
                              ! 粗度長の設定方法
                              ! Setting of surface roughness length
/
&surface_data_nml
  Pattern          = 'homogeneous', 
  HeatCapacity     = 0.0,
                              ! 地表熱容量.
                              ! Surface heat capacity
  SurfType         = 1,
  SurfCond         = 1,
                              ! 地表状態 (0: 固定, 1: 可変).
                              ! Surface condition (0: fixed, 1: variable)
  Albedo           = 0.2d0,
  RoughLength      = 0.01d0,
  SurfTemp         = 200.0d0,
  SoilHeatCap      = 0.97d6,
  SoilHeatDiffCoef = 0.076d0
/
&rad_Mars_15m_nml
  Rad15mInt = 11100.0,
  rad15mkg_fn = './lnactbl15m_2006-07-13.nc'
/
&rad_short_income_nml
  FlagAnnualMean       = .false.,
  FlagDiurnalMean      = .false.,
  EpsOrb               =   25.19d0,
  PerLonFromVE         =  250.98d0,
!  LonFromVEAtEpoch     =  280.0d0,
  LonFromVEAtEpoch     =  -10.340d0,
  Eccentricity         =    0.0934d0,
  TimeAtEpoch          =   -1,
  EpochYear            =    1,
  EpochMonth           =    1,
  EpochDay             =    1,
  EpochHour            =    0,
  EpochMin             =    0,
  EpochSec             =    0.0d0
/
&axesset_nml
  LonInDeg =  0.0d0,
  LatInDeg = 30.0d0,
  Depth = 0.0d0, -4.0d-3, -8.0d-3, -14.0d-3, -20.0d-3, -30.0d-3, -40.0d-3, -80.0d-3, -140.0d-3, -200.0d-3, -300.0d-3, -400.0d-3, -800.0d-3, -1400.0d-3, -2000.0d-3, -3000.0d-3, -4000.0d-3, -8000.0d-3, -14000.0d-3
  Sigma = 1.00000000 0.999400198 0.998201609 0.995808780 0.991040349 0.983930469 0.973361194 0.957719803 0.934727669 0.901270270 0.865930974 0.831977367 0.799355090 0.761892319 0.719247282 0.671212137 0.617785454 0.559256613 0.481694043 0.385045052 0.275906026 0.197701886 0.141664311 0.101510294 7.27377236E-02 5.21205924E-02 3.73472795E-02 2.67613865E-02 1.62324142E-02 9.84545704E-03 5.97157143E-03 3.62194120E-03 2.19681836E-03 1.03770348E-03 3.81749793E-04 1.90874896E-04 0.00000000E+00
                              ! $ \sigma $ レベル (半整数). 
                              ! Half $ \sigma $ level
/
!  Depth = 0.0d0, -4.0d-2, -12.0d-2, -28.0d-2, -40.0d-2, -64.0d-2, -112.0d-2, -208.0d-2, -400.0d-2, -784.0d-2
&dynamics_hspl_vas83_nml
  FlagSLTT        = .true.,
  HDOrder = 8,
                              ! 超粘性の次数.  Order of hyper-viscosity
  HDEFoldTimeValue = 1.0, 
                              ! 最大波数に対する e-folding time. 
                              ! 負の値を与えると, 水平拡散係数をゼロにします. 
                              ! 
                              ! E-folding time for maximum wavenumber. 
                              ! If negative value is given, 
                              ! coefficients of horizontal diffusion become zero.
  HDEFoldTimeUnit = 'day'
                              ! 最大波数に対する e-folding time の単位. 
                              ! Unit of e-folding time for maximum wavenumber
  FlagSpongeLayer             = .true.,
  FlagSpongeLayerforZonalMean = .false.,
  FlagSpongeLayerforHeat      = .false.,
  SLEFoldTimeValue            = 0.1,
  SLEFoldTimeUnit             = 'day',
  SLOrder                     = 2, 
  FlagDivDamp                 = .true.
/
&set_Mars_dust_nml
  DOD067 = 0.2d0,
  DustScenario = "Const",
!  DustScenario = "MGS",
!  DustScenario = "VikingNoDS",
!  DustScenario = 'Viking'
/
&constants_snowseaice_nml
  CO2IceAlbedoS = 0.49d0,
  CO2IceAlbedoN = 0.60d0,
  CO2IceEmisS   = 0.69d0,
  CO2IceEmisN   = 0.65d0
/
&check_prog_vars_nml
  VelMin = -400.0d0,
  VelMax =  400.0d0
/
!
! ヒストリデータ出力の全体設定
! Global settings about history data output
!
&gtool_historyauto_nml
  IntValue = 1.0,
                              ! ヒストリデータの出力間隔の数値. 
                              ! 負の値を与えると, 出力を抑止します. 
                              !
                              ! Numerical value for interval of history data output
                              ! Negative values suppress output.
  IntUnit = 'hrs',
!!$  IntUnit = 'day',
!!$  IntUnit = 'min',
!!$  IntUnit = 'sec',
                              ! ヒストリデータの出力間隔の単位. 
                              ! Unit for interval of history data output
  Precision = 'float',
!!$  Precision = 'double',
                              ! ヒストリデータの精度. 
                              ! Precision of history data
  FilePrefix = '',
!!$  FilePrefix = 'data01/',
                              ! ヒストリデータのファイル名の接頭詞. 
                              ! Prefixes of history data filenames
/
!
! ヒストリデータ出力の個別設定
! Individual settings about history data output
!
&gtool_historyauto_nml
  Name = 'U, V, Temp, Ps, QVap',
/
&gtool_historyauto_nml
  Name = 'PotTemp'
/
&gtool_historyauto_nml
  Name = 'Dust'
/
&gtool_historyauto_nml
  Name = 'SurfDustGravSedFlux'
/
&gtool_historyauto_nml
  Name = 'SigDot, OMG'
/
!n&gtool_historyauto_nml
!  Name = 'Vor, Div, SigDot, DPiDt'
!/
&gtool_historyauto_nml
  Name = 'SurfTemp'
/
&gtool_historyauto_nml
  Name = 'SurfMajCompIce'
/
&gtool_historyauto_nml
  Name = 'SoilMoist'
/
&gtool_historyauto_nml
  Name = 'SurfSnow'
/
&gtool_historyauto_nml
  Name = 'SoilTemp'
/
&gtool_historyauto_nml
  Name = 'Rain',
  TimeAverage = .true.
/
!&gtool_historyauto_nml
!  Name = 'Evap, Sens, OLR, SLR, OSR, SSR'
!  TimeAverage = .true.
!/
&gtool_historyauto_nml
  Name = 'EvapB, SensA, OLRA, SLRA, OSRA, SSRA'
  TimeAverage = .true.
/
&gtool_historyauto_nml
  Name = 'EvapU, SurfH2OVapFluxU'
  TimeAverage = .true.
/
&gtool_historyauto_nml
  Name = 'SurfAlbedo'
/
&gtool_historyauto_nml
  Name = 'SeaIceConc'
/
!&gtool_historyauto_nml
!  Name = 'Mass, KinEngy, IntEngy, PotEngy, LatEngy, TotEngy, Enstro'
!  SpaceAverage = .true., .true., .true.,
!  Precision = 'double',
!/
!!$&gtool_historyauto_nml
!!$  Name = 'RainCumulus, RainLsc',
!!$  TimeAverage = .true.
!!$/
!!$&gtool_historyauto_nml
!!$  Name = 'DTempDtCumulus, DQVapDtCumulus, DTempDtLsc, DQVapDtLsc'
!!$/
!!$&gtool_historyauto_nml
!!$  Name = 'DTempDtDryConv'
&gtool_historyauto_nml
  Name = 'Decl'
/
&gtool_historyauto_nml
  Name = 'DistFromStarScld'
/
&gtool_historyauto_nml
  Name = 'PlanetLonFromVE'
/
&gtool_historyauto_nml
  Name = 'DTempDtMNIR'
/
&gtool_historyauto_nml
  Name = 'DOD067, DustDensScledOptDep'
/
&gtool_historyauto_nml
  Name = 'Height, DustMaxHeight, DustPresc'
/
&gtool_historyauto_nml
  Name = 'TKE'
!  Name = 'TKE, TempDiffCoef, VelDiffCoef'
/
&gtool_historyauto_nml
  Name = 'SurfDustGravSedFlux'
/
&gtool_historyauto_nml
  Name = 'PotTemp, HeatFlux'
/
