Commit 7ac6e826 authored by Justin Weber's avatar Justin Weber
Browse files

re-org docs, add info

parent 4233147d
Loading
Loading
Loading
Loading
+34 −9
Changes for README.md: 34 added lines, 9 removed lines.
Original line number Diff line number Diff line
# MFIX-Exa
This is the public face of the MFiX-Exa project.
This is the public face of the MFiX-Exa project, hosting the documentation,
gallery of results, etc. The website is: https://amrex-codes.github.io/MFIX-Exa/

The code for now lives at NETL; instructions for how to get access to the code
will be given below.
## Editing

This repo is designed to host the documentation, gallery of results, etc.
The documentation source is in `docs/source/` and the html source for the cover
page is in `docs/webroot/`.

## Editing
:warning: **Do not push any edits to the `gh-pages` branch** as these will be
overwritten. Instead, commit your changes to the `master` branch, and the
`gh-pages` branch will be updated automatically a few minutes later.

### Documentation

The documentation is built using
[sphinx](https://www.sphinx-doc.org/en/master/). The `docs/source/config.py`
file contains the settings for building this documentation. The documentation
can be built locally by:

1. Install sphinx:

```shell
> pip install sphinx sphinx_rtd_theme
```

2. Build the documentation:

```shell
> mkdir build
> sphinx-build -b html docs/source/ build
```

The HTML pages will now be located in the `build` directory. Open the
`index.html` with your favorite browser:

Do not push any edits to the `gh-pages` branch as these will be overwritten.
Instead, commit your changes to the `master` branch, and the `gh-pages` branch
will be updated automatially a few minutes later. The documentation source is
in `docs/source/` and the html source for the cover page is in `docs/webroot/`.
```shell
> firefox build/index.html
```

### Doxygen

+1 −1
Changes for docs/source/EB_Chapter.rst: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -13,4 +13,4 @@ refining the computational meshes near walls.
   :maxdepth: 1
   :caption: Contents:

   EBWalls
   eb/EBWalls
+2 −2
Changes for docs/source/Fluids_Chapter.rst: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -8,5 +8,5 @@ Solving the Fluid Equations

.. toctree::

   FluidEquations
   FluidTimeDiscretization
   fluids/FluidEquations
   fluids/FluidTimeDiscretization
+3 −5
Changes for docs/source/GettingStarted_Chapter.rst: 3 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -6,8 +6,6 @@ Getting Started
.. toctree::
   :maxdepth: 1

   Structure
   BuildingCMake
   BuildingGMake
   RunningTestSuite
   RegressionTesting
   getting_started/Structure
   getting_started/BuildingCMake
   getting_started/BuildingGMake
+42 −10
Changes for docs/source/Inputs_Chapter.rst: 42 added lines, 10 removed lines.
Original line number Diff line number Diff line
@@ -3,16 +3,48 @@
Run-time Inputs
===============

Run-time inputs are used to control the simulation setup such as the grid,
solver settings, geometry, boundary conditions etc. These ``<key> = <value(s)>``
pairs are saved in a text file, with any file name, that is passed to the
MFiX-Exa executable at run time:

.. code-block:: shell

   ./mfix my_project.inputs

.. note::
   Traditionally, input files have been named ``inputs``. However, it is
   recommended that you provide a descriptive name with an extension of
   ``.inputs`` such as ``fluid_bed.inputs``

The input text file looks something like this:

.. code-block::

   # Run settings
   mfix.stop_time = 10.0 # inline comment

   # Solver settings
   nodal_proj.verbose = 0
   nodal_proj.maxiter = 1000

where comments are denoted with a ``#``. If a value is not specified for a key,
the default value will be used.

The following sections contain information addressing the input keywords and
values for setting up a problem. Pay special attention to any prefixes for the
keywords such as ``mfix``, ``amr``, ``geometry``, ``nodal_proj`` etc.

.. toctree::
   :maxdepth: 1

   InputsProblemDefinition
   InputsDrag
   InputsTimeStepping 
   InputsInitialization 
   InputsLoadBalancing 
   InputsMultigrid
   InputsPlotFiles 
   InputsCheckpoint
   InputsMonitors
   InputsVerbosity
   Units, mesh, geometry, species, fluid, DEM, regions, inital and boundary conditions <inputs/InputsProblemDefinition>
   Particle drag <inputs/InputsDrag>
   inputs/InputsTimeStepping
   inputs/InputsInitialization
   inputs/InputsLoadBalancing
   inputs/InputsMultigrid
   inputs/InputsPlotFiles
   inputs/InputsCheckpoint
   inputs/InputsMonitors
   inputs/InputsVerbosity
Loading