Skip to content

Commit

Permalink
TestRKAB: Added single grid gaussian evolution and shorter lived stan…
Browse files Browse the repository at this point in the history
…ding wave evolution
  • Loading branch information
lucass-carneiro committed Sep 24, 2024
1 parent 9fec4f8 commit 5c414e2
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 2 deletions.
63 changes: 63 additions & 0 deletions TestRKAB/par/gaussian_single_mesh.par
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
ActiveThorns = "
CarpetX
IOUtil
ODESolvers
TestRKAB
"

$ncells = 80
$cfl = 0.25

$itlast = 1
$out_every = 1

TestRKAB::initial_condition = "Gaussian"
TestRKAB::gaussian_width = 0.17677669529 # sqrt(2)*W = 0.25

CarpetX::poison_undefined_values = no
CarpetX::verbose = no

Cactus::cctk_show_schedule = yes
Cactus::presync_mode = "mixed-error"

CarpetX::xmin = -1.0
CarpetX::ymin = -1.0
CarpetX::zmin = -1.0

CarpetX::xmax = +1.0
CarpetX::ymax = +1.0
CarpetX::zmax = +1.0

CarpetX::ncells_x = $ncells
CarpetX::ncells_y = $ncells
CarpetX::ncells_z = $ncells

CarpetX::periodic_x = yes
CarpetX::periodic_y = yes
CarpetX::periodic_z = yes

CarpetX::ghost_size = 3
CarpetX::dtfac = $cfl

CarpetX::blocking_factor_x = 2
CarpetX::blocking_factor_y = 2
CarpetX::blocking_factor_z = 2

Cactus::terminate = "time"
Cactus::cctk_final_time = 4.0
#Cactus::terminate = "iteration"
#Cactus::cctk_itlast = $itlast

ODESolvers::method = "RKAB"
ODESolvers::verbose = yes

IO::out_dir = $parfile
IO::out_every = $out_every

CarpetX::out_norm_vars = ""
CarpetX::out_tsv_vars = ""

CarpetX::out_silo_vars = "
TestRKAB::state
TestRKAB::error
"
4 changes: 2 additions & 2 deletions TestRKAB/par/standing.par
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ActiveThorns = "
"

$ncells = 80
$cfl = 0.9
$cfl = 0.25

$itlast = 1
$out_every = 1
Expand Down Expand Up @@ -47,7 +47,7 @@ CarpetX::blocking_factor_y = 2
CarpetX::blocking_factor_z = 2

Cactus::terminate = "time"
Cactus::cctk_final_time = 100.0
Cactus::cctk_final_time = 4.0
#Cactus::terminate = "iteration"
#Cactus::cctk_itlast = $itlast

Expand Down

0 comments on commit 5c414e2

Please sign in to comment.