-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #492 from PrincetonUniversity/rad_newtonian
Add non-relativistic radiation transport solvers (explicit and implicit) and cosmic ray transport
- Loading branch information
Showing
113 changed files
with
19,558 additions
and
247 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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
# Configured outputs | ||
Makefile | ||
src/defs.hpp | ||
configure.log | ||
|
||
# Object and binary directories | ||
obj/ | ||
|
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
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
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
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,54 @@ | ||
<comment> | ||
problem = cosmic ray diffusion | ||
reference = | ||
configure = --prob=cr_diffusion | ||
|
||
<job> | ||
problem_id = cr # problem ID: basename of output filenames | ||
|
||
|
||
<time> | ||
cfl_number = 0.3 # The Courant, Friedrichs, & Lewy (CFL) Number | ||
nlim = -1 # cycle limit | ||
tlim = 0.2 # time limit | ||
ncycle_out = 1 # interval for stdout summary info | ||
|
||
<mesh> | ||
nx1 = 16 # Number of zones in X1-direction | ||
x1min = -1.0 # minimum value of X1 | ||
x1max = 1.0 # maximum value of X1 | ||
ix1_bc = periodic # inner-X1 boundary flag | ||
ox1_bc = periodic # inner-X1 boundary flag | ||
|
||
nx2 = 256 # Number of zones in X2-direction | ||
x2min = -1.0 # minimum value of X2 | ||
x2max = 1.0 # maximum value of X2 | ||
ix2_bc = outflow # inner-X2 boundary flag | ||
ox2_bc = outflow # inner-X2 boundary flag | ||
|
||
nx3 = 1 # Number of zones in X3-direction | ||
x3min = -1.0 # minimum value of X3 | ||
x3max = 1.0 # maximum value of X3 | ||
ix3_bc = periodic # inner-X3 boundary flag | ||
ox3_bc = periodic # inner-X3 boundary flag | ||
|
||
|
||
<meshblock> | ||
nx1 = 16 | ||
nx2 = 256 | ||
nx3 = 1 | ||
|
||
|
||
<hydro> | ||
gamma = 1.6666666666667 # gamma = C_p/C_v | ||
dfloor = 1.e-8 | ||
pfloor = 1.e-7 | ||
|
||
<cr> | ||
vmax = 100 | ||
src_flag = 0 | ||
|
||
<problem> | ||
v0 = 0 | ||
sigma = 1.e3 | ||
direction = 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<comment> | ||
problem = Radiation linear wave test | ||
reference = | ||
configure = --prob=rad_linearwave -nr_radiation | ||
or | ||
configure = --prob=rad_linearwave -implicit_radiation | ||
|
||
<job> | ||
problem_id = radwave # problem ID: basename of output filenames | ||
|
||
<output1> | ||
file_type = hst # History data dump | ||
dt = 0.01 # time increment between outputs | ||
|
||
|
||
<time> | ||
cfl_number = 0.4 # The Courant, Friedrichs, & Lewy (CFL) Number | ||
nlim = 100000 # cycle limit | ||
tlim = 0.7745966144169111 # time limit | ||
ncycle_out = 1 # interval for stdout summary info | ||
|
||
<mesh> | ||
nx1 = 256 # Number of zones in X1-direction | ||
x1min = 0.0 # minimum value of X1 | ||
x1max = 1.0 # maximum value of X1 | ||
ix1_bc = periodic # inner-X1 boundary flag | ||
ox1_bc = periodic # inner-X1 boundary flag | ||
|
||
nx2 = 8 # Number of zones in X2-direction | ||
x2min = -0.5 # minimum value of X2 | ||
x2max = 0.5 # maximum value of X2 | ||
ix2_bc = periodic # inner-X2 boundary flag | ||
ox2_bc = periodic # inner-X2 boundary flag | ||
|
||
nx3 = 1 # Number of zones in X3-direction | ||
x3min = -0.5 # minimum value of X3 | ||
x3max = 0.5 # maximum value of X3 | ||
ix3_bc = periodic # inner-X3 boundary flag | ||
ox3_bc = periodic # inner-X3 boundary flag | ||
|
||
<meshblock> | ||
nx1 = 64 | ||
nx2 = 8 | ||
nx3 = 1 | ||
|
||
<hydro> | ||
gamma = 1.6666666666667 # gamma = C_p/C_v | ||
|
||
<radiation> | ||
nmu = 1 | ||
prat = 0.01 | ||
crat = 10 | ||
error_limit = 1.e-12 | ||
taucell = 5 | ||
|
||
<problem> | ||
regime = 1 | ||
compute_error = true |
Oops, something went wrong.