Skip to content

Commit 2d7e621

Browse files
author
lucass-carneiro
committed
Z4c: Updated robust stability test parameter file
1 parent 2fb7330 commit 2d7e621

File tree

1 file changed

+47
-18
lines changed

1 file changed

+47
-18
lines changed

Z4c/par/robust-stability.par

Lines changed: 47 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,38 @@
1+
# Settings
2+
#################################
3+
$rho = 1 # Refinement factor. Should be 1, 2, 4
4+
5+
$base_cells = 64 # (unrefined) nnumber of cells to use on the x direction
6+
$thin_cells = 4 # Number of cells to use on the y and z directions
7+
8+
$final_time = 1000
9+
$time_stepper = "RK4"
10+
$dtfac = 0.25
11+
12+
$out_every_time = 1.0
13+
#################################
14+
15+
$num_cells = $base_cells * $rho
16+
$dxyz = 1.0 / $num_cells
17+
18+
$dt = $dtfac * $dxyz
19+
$out_every = ceil($out_every_time / $dt)
20+
121
ActiveThorns = "
222
ADMBaseX
323
CarpetX
424
Formaline
525
IOUtil
626
ODESolvers
27+
TmunuBaseX
728
Z4c
829
"
930

10-
$rho = 1
11-
$ncells = 64 * $rho
12-
31+
Cactus::presync_mode = "mixed-error"
1332
Cactus::cctk_show_schedule = no
1433

1534
Cactus::terminate = "time"
16-
Cactus::cctk_final_time = 100.0
35+
Cactus::cctk_final_time = $final_time
1736

1837
CarpetX::verbose = no
1938

@@ -22,31 +41,41 @@ CarpetX::ymin = 0.0
2241
CarpetX::zmin = 0.0
2342

2443
CarpetX::xmax = 1.0
25-
CarpetX::ymax = 2.0 / $ncells
26-
CarpetX::zmax = 2.0 / $ncells
44+
CarpetX::ymax = $thin_cells * $dxyz
45+
CarpetX::zmax = $thin_cells * $dxyz
2746

28-
CarpetX::ncells_x = $ncells
29-
CarpetX::ncells_y = 2
30-
CarpetX::ncells_z = 2
47+
CarpetX::ncells_x = $num_cells
48+
CarpetX::ncells_y = $thin_cells
49+
CarpetX::ncells_z = $thin_cells
3150

32-
CarpetX::blocking_factor_x = 64
33-
CarpetX::blocking_factor_y = 2
34-
CarpetX::blocking_factor_z = 2
51+
CarpetX::blocking_factor_x = $base_cells
52+
CarpetX::blocking_factor_y = $thin_cells
53+
CarpetX::blocking_factor_z = $thin_cells
3554

36-
CarpetX::ghost_size = 2
55+
CarpetX::ghost_size = 3
3756

38-
ODESolvers::method = "RK2"
39-
CarpetX::dtfac = 1.0 / 4
57+
ODESolvers::method = $time_stepper
58+
CarpetX::dtfac = $dtfac
4059

4160
ADMBaseX::initial_data = "Cartesian Minkowski"
4261
ADMBaseX::initial_lapse = "one"
4362
ADMBaseX::initial_shift = "zero"
44-
ADMBaseX::noise_amplitude = 1.0e-10 / ($rho*$rho)
63+
ADMBaseX::noise_amplitude = 1.0e-10 / ($rho * $rho)
64+
65+
CarpetX::periodic = yes
66+
Carpetx::periodic_x = yes
67+
Carpetx::periodic_y = yes
68+
Carpetx::periodic_z = yes
4569

4670
Z4c::epsdiss = 0.32
4771

4872
IO::out_dir = $parfile
49-
IO::out_every = 4 * $ncells
73+
IO::out_every = $out_every
5074

5175
CarpetX::out_plotfile_groups = ""
52-
CarpetX::out_tsv = yes
76+
77+
CarpetX::out_tsv = no
78+
CarpetX::out_tsv_vars = ""
79+
80+
CarpetX::out_norm_vars = "all"
81+
CarpetX::out_norm_omit_unstable = no

0 commit comments

Comments
 (0)