-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Orszag Tang pgen (and add intput file) (#72)
* Fix OT pgen * Add comment to OT pgen
- Loading branch information
Showing
2 changed files
with
68 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# AthenaPK - a performance portable block structured AMR MHD code | ||
# Copyright (c) 2023, Athena Parthenon Collaboration. All rights reserved. | ||
# Licensed under the BSD 3-Clause License (the "LICENSE"); | ||
|
||
<comment> | ||
problem = Orszag-Tang vortex # Orszag,S. & Tang,W., J. Fluid Mech., 90, 129 (1998) | ||
|
||
<job> | ||
problem_id = orszag_tang | ||
|
||
<parthenon/mesh> | ||
refinement = none | ||
nghost = 3 | ||
|
||
nx1 = 256 | ||
x1min = -0.5 | ||
x1max = 0.5 | ||
ix1_bc = periodic | ||
ox1_bc = periodic | ||
|
||
nx2 = 256 | ||
x2min = -0.5 | ||
x2max = 0.5 | ||
ix2_bc = periodic | ||
ox2_bc = periodic | ||
|
||
nx3 = 1 | ||
x3min = -0.5 | ||
x3max = 0.5 | ||
ix3_bc = periodic | ||
ox3_bc = periodic | ||
|
||
<parthenon/meshblock> | ||
nx1 = 64 | ||
nx2 = 256 | ||
nx3 = 1 | ||
|
||
<parthenon/time> | ||
integrator = vl2 | ||
cfl = 0.4 | ||
tlim = 1.0 | ||
nlim = -1 | ||
perf_cycle_offset = 2 # number of inital cycles not to be included in perf calc | ||
|
||
<hydro> | ||
fluid = glmmhd | ||
eos = adiabatic | ||
riemann = hlld | ||
reconstruction = ppm | ||
gamma = 1.666666666666667 # gamma = C_p/C_v | ||
first_order_flux_correct = true | ||
|
||
<parthenon/output0> | ||
file_type = hdf5 | ||
dt = 0.01 | ||
id = prim | ||
variables = prim | ||
|
||
<parthenon/output1> | ||
file_type = hst | ||
dt = 0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters