inputs.2d.cyl_in_cartcoords 1.72 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
# ------------------  INPUTS TO MAIN PROGRAM  -------------------
max_step = 20
stop_time = 0.1

# PROBLEM SIZE & GEOMETRY
geometry.is_periodic =  0 0
geometry.coord_sys   =  0       # 0 => cart
geometry.prob_lo     =  0    0
geometry.prob_hi     =  1    1
amr.n_cell           = 16   16

# >>>>>>>>>>>>>  BC FLAGS <<<<<<<<<<<<<<<<
# 0 = Interior           3 = Symmetry
# 1 = Inflow             4 = SlipWall
# 2 = Outflow            5 = NoSlipWall
# >>>>>>>>>>>>>  BC FLAGS <<<<<<<<<<<<<<<<
castro.lo_bc       =  2   2
castro.hi_bc       =  2   2

# WHICH PHYSICS
castro.do_hydro = 1
castro.do_react = 0

# TIME STEP CONTROL
castro.cfl            = 0.5     # cfl number for hyperbolic system Courant-Friedrichs-Lewy condition
castro.init_shrink    = 0.01    # scale back initial timestep
castro.change_max     = 1.1     # maximum increase in dt over successive steps

# DIAGNOSTICS & VERBOSITY
castro.sum_interval   = 1       # timesteps between computing mass
castro.v              = 1       # verbosity in Castro.cpp
amr.v                 = 1       # verbosity in Amr.cpp 
#amr.grid_log         = grdlog  # name of grid logging file

# REFINEMENT / REGRIDDING
amr.max_level       = 2       # maximum level number allowed
amr.ref_ratio       = 2 2 2 2 # refinement ratio
amr.regrid_int      = 2       # how often to regrid
amr.blocking_factor = 8       # block factor in grid generation
amr.max_grid_size   = 128

# CHECKPOINT FILES
amr.check_file      = sedov_2d_cyl_in_cart_chk   # root name of checkpoint file
amr.check_int       = 20       # number of timesteps between checkpoints

# PLOTFILES
amr.plot_file       = sedov_2d_cyl_in_cart_plt
amr.plot_int        = 20
amr.derive_plot_vars=ALL

# PROBIN FILENAME
amr.probin_file = probin.2d.cyl_in_cartcoords