Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding parameters.rst to docs #432

Merged
merged 5 commits into from
Dec 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ run with high performance on either CPUs or GPUs.
equations
flowchart
tests/index
parameters
api
bibliography

Expand Down
72 changes: 72 additions & 0 deletions docs/parameters.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
.. Runtime parameters

Runtime parameters
==========================

This document lists all of the runtime parameters in Quokka.
Using the AMReX ParmParse object, these parameters are read in the `readParameters()` function in `simulation.hpp` from an input file or from command line arguments.

.. list-table:: Table of runtime parameters.
:widths: 25 25 50
:header-rows: 1

* - Parameter Name
- Type
- Description
* - max_timesteps
- Integer
- The maximum number of time steps for the simulation.
* - cfl
- Float
- Sets the CFL number for the simulation.
* - amr_interpolation_method
- Integer
- Selects the method (piecewise constant or piecewise linear with limiters) used to interpolate from coarse to fine AMR levels. Except for debugging, this should not be changed.
* - stop_time
- Float
- The simulation time at which to stop evolving the simulation.
* - ascent_interval
- Integer
- The number of coarse timesteps between Ascent outputs.
* - plotfile_interval
- Integer
- The number of coarse timesteps between plotfile outputs.
* - plottime_interval
- Float
- The time interval (in simulated time) between plotfile outputs.
* - projection_interval
- Integer
- The number of coarse timesteps between 2D projection outputs.
* - statistics_interval
- Integer
- The number of coarse timesteps between statistics outputs.
* - checkpoint_interval
- Float
- The number of coarse timesteps between checkpoint outputs.
* - checkpointtime_interval
- Float
- The time interval (in simulated time) between checkpoint outputs.
* - do_reflux
- Integer
- this turns on refluxing at coarse-fine boundaries (1) or turns it off (0). Except for debugging, this should always be on when AMR is used.
* - suppress_output
- Integer
- If set to 1, this disables output to stdout while the simulation is running.
* - derived_vars
- String
- A list of the names of derived variables that should be included in the plotfile and Ascent outputs.
* - regrid_interval
- Integer
- The number of timesteps between AMR regridding.
* - density_floor
- Float
- The minimum density value allowed in the simulation. Enforced through EnforceLimits.
* - temperature_ceiling
- Float
- The ceiling on temperature values in the simulation. Enforced through EnforceLimits.
* - speed_ceiling
- Float
- The ceiling on the absolute value of the fluid velocity in the simulation. Enforced through EnforceLimits.
* - max_walltime
- String
- The maximum walltime for the simulation in the format DD:HH:SS (days/hours/seconds). After 90% of this walltime elapses, the simulation will automatically stop and exit.