# Runtime parameters for the test shock-tube problem. # left is bottom, right is top # Parameters for initial model # Density, pressure, and velocity on either side of interface sim_rhoAtm = 1.0 sim_rhoTarg = 2650. sim_pAtm = 0. sim_pTarg = 0. sim_uTarg = 0. sim_uAtm = 0. sim_rhoObj = 3315. sim_radiusObj = 0.1 sim_uObj = 0.01 sim_xangle = 0 sim_yangle = 90. sim_posSurf = 0.5 # Gas ratio of specific heats gamma = 1.4 # Computational volume parameters # Grid dimensionality and geometry geometry = cartesian # Size of computational volume xmin = 0. xmax = 1. ymin = 0. ymax = 1. # Position of impactor #sim_xObj = (xmax - xmin)/2. #sim_yObj = sim_posSurf + sim_radiusObj sim_xObj = 0.5 sim_yObj = 0.6 # Boundary conditions xl_boundary_type = "outflow" xr_boundary_type = "outflow" yl_boundary_type = "outflow" yr_boundary_type = "outflow" # Simulation (grid, time, I/O) parameters cfl = 0.8 basenm = "test_" restart = .false. # checkpoint file output parameters checkpointFileIntervalTime = 0.2 checkpointFileIntervalStep = 0 checkpointFileNumber = 0 # plotfile output parameters plotfileIntervalTime = 0. plotfileIntervalStep = 10 plotfileNumber = 0 nend = 500 tmax = 100.0 run_comment = "Sod problem, diagonal direction" log_file = "test.log" eintSwitch = 1.e-4 plot_var_1 = "dens" plot_var_2 = "pres" plot_var_3 = "temp" # AMR refinement parameters lrefine_max = 6 refine_var_1 = "dens" # These parameters are used only for the uniform grid #iGridSize = 8 #defined as nxb * iprocs #jGridSize = 8 #kGridSize = 1 iProcs = 1 #number or procs in the i direction jProcs = 1 kProcs = 1 # When using UG, iProcs, jProcs and kProcs must be specified. # These are the processors along each of the dimensions #FIXEDBLOCKSIZE mode :: # When using fixed blocksize, iGridSize etc are redundant in # runtime parameters. These quantities are calculated as # iGridSize = NXB*iprocs # jGridSize = NYB*jprocs # kGridSize = NZB*kprocs #NONFIXEDBLOCKSIZE mode :: # iGridSize etc must be specified. They constitute the global # number of grid points in the physical domain without taking # the guard cell into account. The local blocksize is calculated # as iGridSize/iprocs etc. ## -------------------------------------------------------------## ## SWITCHES SPECIFIC TO THE UNSPLIT HYDRO SOLVER ## # I. INTERPOLATION SCHEME: order = 2 # Interpolation order (first/second/third/fifth order) slopeLimiter = "mc" # Slope limiters (minmod, mc, vanLeer, hybrid, limited) LimitedSlopeBeta= 1. # Slope parameter for the "limited" slope by Toro charLimiting = .true. # Characteristic limiting vs. Primitive limiting use_avisc = .false. # use artificial viscosity (originally for PPM) cvisc = 0.1 # coefficient for artificial viscosity use_flattening = .false. # use flattening (dissipative) (originally for PPM) use_steepening = .false. # use contact steepening (originally for PPM) use_upwindTVD = .false. # use upwind biased TVD slope for PPM (need nguard=6) # II. RIEMANN SOLVERS: RiemannSolver = "Roe" # Roe, HLL, HLLC, LLF, Marquina entropy = .false. # Entropy fix for the Roe solver hy_fPresInMomFlux = 1.0 # Part of pressure gradient term in momentum equation to include in momentum fluxes # III. STRONG SHOCK HANDELING SCHEME: shockDetect = .false. # Shock Detect for numerical stability ## -------------------------------------------------------------## ## ---------------------------------------------------------------## ## SWITCHES SPECIFIC TO THE SUPER-TIME-STEPPING (STS) ALGORITHM ## ## NOTE: For details on using STS runtime parameters, please ## ## refer to user's guide (Driver chapter). ## useSTS = .false. nstepTotalSTS = 5 nuSTS = 0.2 ## ---------------------------------------------------------------##