Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
67 lines (58 sloc) 1.66 KB
#
# PROBLEM DEFINITION FILE:
#
# "123" Problem
#
# This is Problem #2 from Chapter 10.8 in Toro's "Riemann Solvers and
# Numerical Methods for Fluid Dynamics" (2nd edition).
#
# The solution to this test consists of two symmetric strong
# rarefaction waves and a trivial contact discontinuity. The region
# between the two non-linear waves is close to vacuum, thus
# testing the numerical performance for low density flows.
#
#
# define problem
#
ProblemType = 1
TopGridRank = 1
TopGridDimensions = 100
# Use this for the original PPM-DirectEulerian method
#
HydroMethod = 0
# Use this for the newer Runge-Kutta solvers (supporting PLM or PPM
# reconstruction, and several different Riemann solvers)
#
# HydroMethod = 3
# RiemannSolver = 1
# ReconstructionMethod = 1
# Theta_Limiter = 1.5
#
# set I/O and stop/start parameters
#
StopTime = 0.15
dtDataDump = 1.0
DataDumpName = data
#
# Boundary conditions are typically set to be transmissive for shock tubes
#
LeftFaceBoundaryCondition = 1 1 1
RightFaceBoundaryCondition = 1 1 1
# set hydro parameters
#
Gamma = 1.4
CourantSafetyNumber = 0.9
#
# set grid refinement parameters
#
StaticHierarchy = 1 // static hierarchy
#
# The following parameters define the shock tube problem
#
HydroShockTubesInitialDiscontinuity = 0.5
HydroShockTubesLeftDensity = 1.0
HydroShockTubesLeftVelocityX = -2.0
HydroShockTubesLeftPressure = 0.4
HydroShockTubesRightDensity = 1.0
HydroShockTubesRightVelocityX = 2.0
HydroShockTubesRightPressure = 0.4
You can’t perform that action at this time.