# ------------------  INPUTS TO MAIN PROGRAM  -------------------
erf.prob_name = "WPS"

max_step = 1

fabarray.mfiter_tile_size = 1024 1024 1024

# PROBLEM SIZE & GEOMETRY
geometry.prob_extent = 3750000. 	3750000. 	16500.
amr.n_cell           = 200   		200   		176
#amr.blocking_factor  = 1

geometry.is_periodic = 0 0 0

xlo.type = "Outflow"
xhi.type = "Outflow"
ylo.type = "Outflow"
yhi.type = "Outflow"

zhi.type = "SlipWall"

zlo.type = "surface_layer"
erf.most.average_policy = 1
erf.most.radius     = 0
erf.most.zref       = 10.0
erf.most.z0         = 0.1
erf.most.surf_temp  = 300.0
erf.most.surf_moist = 0.0

# TIME STEP CONTROL
erf.fixed_dt           = 0.5  # fixed time step depending on grid resolution
    
# DIAGNOSTICS & VERBOSITY
erf.sum_interval   = 1       # timesteps between computing mass
erf.v              = 1       # verbosity in ERF.cpp
amr.v              = 1       # verbosity in Amr.cpp

# REFINEMENT / REGRIDDING
amr.max_level       = 0       # maximum level number allowed

# CHECKPOINT FILES
erf.check_file      = chk     # root name of checkpoint file
erf.check_int       = -1      # number of timesteps between checkpoints

# PLOTFILES
erf.plot_file_1     = plt     # prefix of plotfile name
erf.plot_int_1      = 1       # number of timesteps between plotfiles
erf.plot_vars_1     = density rhoQ1 x_velocity y_velocity z_velocity pressure temp theta pres_hse z_phys qt qp qv qc

# SOLVER CHOICE
erf.use_gravity = true

erf.terrain_type = StaticFittedMesh

erf.moisture_model = "Kessler"

erf.molec_diff_type = "None"
erf.les_type        = "Smagorinsky"
erf.Cs              = 0.005
    
erf.use_coriolis = true
erf.abl_driver_type = "GeostrophicWind"
erf.latitude = 90.
erf.abl_geo_wind = 15.0 0.0 0.0
erf.rotational_time_period = 86164.0900027328

# PROBLEM PARAMETERS (optional)
prob.rho_0 = 1.0
prob.T_0   = 300.0

# INITIALIZATION WITH ATM DATA
erf.real_width     = 1
erf.real_set_width = 1
erf.init_type      = "WRFInput"
erf.nc_init_file_0 = "wrfinput_chisholmview_d01"
erf.nc_bdy_file    = "wrfbdy_chisholmview_d01_width1"
