Commit f2449cee authored by Andy Nonaka's avatar Andy Nonaka
Browse files

point to simple tutorial, other minor fixes

parent 2ed47698
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ more than one grid per MPI rank, and different strategies for distributing the g
We use the phrase "load balancing" here to refer to the combined process
of grid creation (and re-creation when regridding) and distribution of grids to MPI ranks.

See :ref:`sec:grid_creation` for grids are created, i.e. how the :cpp:`BoxArray` on which
See :ref:`sec:grid_creation` for how grids are created, i.e. how the :cpp:`BoxArray` on which
:cpp:`MultiFabs` will be built is defined at each level.

See :ref:`sec:load_balancing` for the strategies AMReX supports for distributing
+4 −4
Original line number Diff line number Diff line
@@ -14,10 +14,10 @@ The CMake build process for MFiX-Exa is summarized as follows:

::

    mkdir /path/to/builddir
    cd    /path/to/builddir
    cmake [options] -DCMAKE_BUILD_TYPE=[Debug|Release|RelWithDebInfo|MinSizeRel] /path/to/mfix
    make
    >> mkdir /path/to/builddir
    >> cd    /path/to/builddir
    >> cmake [options] -DCMAKE_BUILD_TYPE=[Debug|Release|RelWithDebInfo|MinSizeRel] /path/to/mfix
    >> make

In the above snippet, ``[options]`` indicates one or more options for the
customization of the build, as described later in this section.
+17 −1
Original line number Diff line number Diff line
First Simulation
================

TODO: Develop simple tutorial.
Now that you have compiled the code and have an executable,
we will run a simple example that contains fluid, particles,
and embedded boundaries.  This particular example is
particles flowing down a cylinder.
First, edit ``path/to/mfix/benchmarks/05-cyl-fluidbed/Size0001/inputs``
so that ``mfix.write_eb_surface = true`` and ``amr.plot_int = 1``.
Then, run the example with:

.. highlight:: console

::

    >> <executable> path/to/mfix/benchmarks/05-cyl-fluidbed/Size0001/inputs

The code will generate plotfiles with prefix ``plt*`` and geometry files
with prefix ``eb*``.
See :ref:`Chap:Visualization` for how to view this dataset.