COSMOS
|
Main Simulation Parameters.
This file controls the core simulation setup, grid dimensions, evolution parameters, initial data settings, and output intervals.
The parameters must be listed in this specific order, as the code reads them sequentially using fscanf
. Lines starting with #
are ignored as comments.
Maximum number of time steps for the simulation. The simulation will stop if this step count is reached, even if tmax
is not.
long int
) ld
. Corresponds roughly to mstep
in main
.Maximum physical time to evolve the simulation. The simulation will stop if the current time t
exceeds tmax
.
double
) lf
. Corresponds to Fmv0::tmax
.Number of buffer/ghost zones on each side of the physical domain boundary.
int
) d
. Defines the thickness of the boundary region used for finite differencing stencils. Corresponds to Fmv0::tab
.Amplitude parameter for the inhomogeneous grid mapping function funcf
. Controls the degree of grid stretching/compression. amp=0
corresponds to a uniform Cartesian grid.
double
) lf
. Used in Fmv0::funcf
, Fmv0::df
, Fmv0::ddf
, Fmv0::dddf
. Corresponds to Fmv0::amp
.Minimum grid index in the x-direction for the physical domain (excluding buffers).
int
) d
. Often 0 for quadrant symmetry. Corresponds to jlower
in the Fmv0
constructor.Maximum grid index in the x-direction for the physical domain (excluding buffers).
int
) d
. Corresponds to jupper
in the Fmv0
constructor. The number of physical points in x is nxmax - nxmin + 1
.Minimum grid index in the y-direction for the physical domain.
int
) d
. Corresponds to klower
in the Fmv0
constructor.Maximum grid index in the y-direction for the physical domain.
int
) d
. Corresponds to kupper
in the Fmv0
constructor.Minimum grid index in the z-direction for the physical domain.
int
) d
. Corresponds to llower
in the Fmv0
constructor.Maximum grid index in the z-direction for the physical domain.
int
) d
. Corresponds to lupper
in the Fmv0
constructor.Minimum coordinate value in the x-direction corresponding to nxmin
.
double
) lf
. Corresponds to xlower
in the Fmv0
constructor.Maximum coordinate value in the x-direction corresponding to nxmax
.
double
) lf
. Corresponds to xupper
in the Fmv0
constructor.Minimum coordinate value in the y-direction corresponding to nymin
.
double
) lf
. Corresponds to ylower
in the Fmv0
constructor.Maximum coordinate value in the y-direction corresponding to nymax
.
double
) lf
. Corresponds to yupper
in the Fmv0
constructor.Minimum coordinate value in the z-direction corresponding to nzmin
.
double
) lf
. Corresponds to zlower
in the Fmv0
constructor.Maximum coordinate value in the z-direction corresponding to nzmax
.
double
) lf
. Corresponds to zupper
in the Fmv0
constructor.Courant-Friedrichs-Lewy (CFL) factor. Used to determine the time step dt
based on the grid spacing (dt = cfl * dx
).
double
) lf
. Typical values are less than 0.5 for stability. Corresponds to Fmv0::cfl
.Factor for cosmological time scale adjustment of dt
. dt
is set to min(cfl*dx, cdt*cfl/|trK|)
.
double
) lf
. Allows dt
to adapt to the Hubble expansion rate. Corresponds to cdt
in main
.Gauge parameter eta
for the 1+log lapse evolution condition. Controls the damping/driving of the lapse.
double
) lf
. Corresponds to Fmv0::etaa
.Gauge parameter eta
for the Gamma-driver shift evolution condition. Controls the damping of the shift auxiliary variable B^i
.
double
) lf
. Corresponds to Fmv0::etab
.Gauge parameter eta_b
(or similar) for the Gamma-driver shift evolution condition. Multiplies B^i
in the evolution equation for beta^i
.
double
) lf
. Corresponds to Fmv0::etabb
.Coefficient epsilon
for Kreiss-Oliger numerical dissipation. Controls the strength of artificial dissipation added to suppress high-frequency noise.
double
) lf
. Corresponds to Fmv0::KOep
.Grid size (radius in grid points) for the square excision region around the origin. Used if excision is enabled.
int
) d
. Corresponds to Fmv0::exg
.Flag to indicate whether to continue from a previous simulation. 0 = start new simulation, 1 = continue from file.
int
) d
. Corresponds to contn
in main
.Name of the file to read data from if contn
is set to 1.
char[]
) s
. Ensure the filename doesn't contain spaces. Corresponds to file_continue
in main
.Amplitude parameter for the initial geometric perturbation (e.g., related to conformal factor Psi
).
double
) lf
. Used in Fmv::initial_nonsph
.Scale or wave number parameter for the initial geometric perturbation.
double
) lf
. Used in Fmv::initial_nonsph
.Non-spherical deformation parameter (likely quadrupole-like) for the initial geometric perturbation.
double
) lf
. Used in Fmv::initial_nonsph
.Non-spherical deformation parameter for the initial geometric perturbation.
double
) lf
. Used in Fmv::initial_nonsph
.Additional non-spherical parameter, possibly related to time dependence or frequency, for the initial geometric perturbation.
double
) lf
. Used in Fmv::initial_nonsph
.Amplitude parameter for the initial scalar field perturbation.
double
) lf
. Used in Fmv::set_initial_scalar
.Scale or wave number parameter for the initial scalar field perturbation.
double
) lf
. Used in Fmv::set_initial_scalar
.Non-spherical deformation parameter for the initial scalar field perturbation.
double
) lf
. Used in Fmv::set_initial_scalar
.Non-spherical deformation parameter for the initial scalar field perturbation.
double
) lf
. Used in Fmv::set_initial_scalar
.Initial Hubble parameter value. Used for setting up cosmological initial data.
double
) lf
. Corresponds to Fmv0::Hb
.Equation of state parameter w
for the fluid (assuming P = w * rho
or similar).
double
) lf
. Corresponds to Fmv0::fluidw
. E.g., 0 for dust, 1/3 for radiation.Parameter kappa
for MUSCL (Monotonic Upstream-centered Scheme for Conservation Laws) reconstruction used in fluid evolution. Controls the order/type of interpolation.
double
) lf
. Corresponds to Fmv0::kap_MUSCL
.Parameter b
for the minmod slope limiter function used in fluid evolution reconstruction. Controls the limiter's behavior.
double
) lf
. Corresponds to Fmv0::b_minmod
.Time interval for printing output during the first phase of the simulation (before changept
).
double
) lf
. Corresponds to ptintval1
in main
.Time interval for printing output during the second phase of the simulation (after changept
).
double
) lf
. Corresponds to ptintval2
in main
.Time at which the printing interval switches from ptintval1
to ptintval2
.
double
) lf
. Corresponds to changept
in main
.