Skip to content

Commit

Permalink
Config for convergence off 256 with kstar~64
Browse files Browse the repository at this point in the history
  • Loading branch information
the-florist committed Nov 29, 2024
1 parent f88ec44 commit 8f96079
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Examples/ScalarField/params.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
verbosity = 0

# location / naming of output files
output_path = "/home/eaf49/rds/hpc-work/dump/" # Main path for all files. Must exist!
output_path = "/home/eaf49/rds/hpc-work/paper1-data-sets/convergence-tests/kstar-32/N64" # Main path for all files. Must exist!
chk_prefix = ScalarField_
plot_prefix = ScalarFieldp_
# restart_file = ScalarField_001000.3d.hdf5
Expand All @@ -16,9 +16,9 @@ plot_prefix = ScalarFieldp_
checkpoint_interval = 1000
# set to 0 to turn off plot files (except at t=0 and t=stop_time)
# set to -1 to never ever print plotfiles
plot_interval = 0
num_plot_vars = 6
plot_vars = h11 h12 h13 h22 h23 h33
plot_interval = 75
num_plot_vars = 7
plot_vars = h11 h12 h13 h22 h23 h33 Ham

# subpaths - specific directories for hdf5, pout, extraction data
# (these are created at runtime)
Expand All @@ -44,7 +44,7 @@ E = 1.0 # Energy scale (in units of Mp!)
scalar_amplitude = 4.0
scalar_velocity = -0.00001627328880468423
scalar_mass = 1.e-4
# N_fine = 128
N_fine = 256
tensor_amplitude = 1.

# Choose a number between 0 and 9
Expand Down
2 changes: 1 addition & 1 deletion Source/InitialConditions/ScalarFields/RandomField.impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
const double Mp = 1./m_bkgd_params.E;

// Setting physical and window fn parameters
kstar = M_PI*((double) m_params.Nf)/m_params.L * 1./2.;
kstar = M_PI*((double) 64.)/m_params.L * 3./4.;
epsilon = m_params.L/30.;
H0 = sqrt((8.0 * M_PI/3.0/pow(Mp, 2.))
* (0.5*m_bkgd_params.velocity*m_bkgd_params.velocity
Expand Down

0 comments on commit 8f96079

Please sign in to comment.