-
Notifications
You must be signed in to change notification settings - Fork 0
/
sod.in
66 lines (53 loc) · 943 Bytes
/
sod.in
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
53
54
55
56
57
58
59
60
61
62
63
64
65
# AthenaPK - a performance portable block structured AMR MHD code
# Copyright (c) 2020, Athena Parthenon Collaboration. All rights reserved.
# Licensed under the BSD 3-Clause License (the "LICENSE");
<comment>
problem = Sod's shock tube
<job>
problem_id = sod
<problem/sod>
rho_l = 1.0
pres_l = 1.0
u_l = 0.0
rho_r = 0.125
pres_r = 0.1
u_r = 0.0
x_discont = 0.5
<parthenon/mesh>
refinement = none
nghost = 2
nx1 = 128
x1min = 0.0
x1max = 1.0
ix1_bc = outflow
ox1_bc = outflow
nx2 = 1
x2min = -0.5
x2max = 0.5
ix2_bc = periodic
ox2_bc = periodic
nx3 = 1
x3min = -0.5
x3max = 0.5
ix2_bc = periodic
ox2_bc = periodic
<partheon/meshblock>
nx1 = 32
nx2 = 1
nx3 = 1
<parthenon/output1>
file_type = hdf5
dt = 0.025
variables = prim
<parthenon/time>
integrator = rk1
cfl = 0.5
tlim = 0.4
nlim = 10000
<hydro>
eos = adiabatic
riemann = hlle
reconstruction = plm
gamma = 1.4
<parthenon/Graphics>
variables = cons