Commit 386595fc authored by Ann Almgren's avatar Ann Almgren
Browse files

more updates

parent aaaff7db
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -13,6 +13,6 @@ The following inputs must be preceded by "amr" and control checkpoint/restart.
| check_int        | Frequency of checkpoint output;                                       |    Int      | -1        |
|                  | if -1 then no checkpoints will be written                             |             |           |
+------------------+-----------------------------------------------------------------------+-------------+-----------+
| chk_file         | Prefix to use for checkpoint output                                   |  String     | chk       |
| check_file       | Prefix to use for checkpoint output                                   |  String     | chk       |
+------------------+-----------------------------------------------------------------------+-------------+-----------+
+17 −0
Original line number Diff line number Diff line
@@ -3,6 +3,23 @@
Initialization
==============

The following inputs must be preceded by "amr" and determine how we initialize a calculation:

+----------------------+-----------------------------------------------------------------------+-------------+--------------+
|                      | Description                                                           |   Type      | Default      |
+======================+=======================================================================+=============+==============+
| input_deck           | Read physical data from this file                                     |  String     |  mfix.dat    |
+----------------------+-----------------------------------------------------------------------+-------------+--------------+
| restart              | If set, then restart from this file rather than from scratch          |  String     |   None       |
+----------------------+-----------------------------------------------------------------------+-------------+--------------+
| repl_x               | Replicate initial data by this factor in the x-direction              |   Int       |    1         |
+----------------------+-----------------------------------------------------------------------+-------------+--------------+
| repl_y               | Replicate initial data by this factor in the y-direction              |   Int       |    1         |
+----------------------+-----------------------------------------------------------------------+-------------+--------------+
| repl_z               | Replicate initial data by this factor in the z-direction              |   Int       |    1         |
+----------------------+-----------------------------------------------------------------------+-------------+--------------+


The following inputs must be preceded by "mfix" and determine how we initialize a calculation:

+----------------------+-----------------------------------------------------------------------+-------------+--------------+
+3 −0
Original line number Diff line number Diff line
@@ -8,6 +8,9 @@ The following inputs must be preceded by "amr" and determine whether we use the
+----------------------+-----------------------------------------------------------------------+-------------+--------------+
|                      | Description                                                           |   Type      | Default      |
+======================+=======================================================================+=============+==============+
| regrid_int           | How often to regrid (in number of steps at level 0)                   |   Int       |    -1        |
|                      |  if regrid_int = -1 then no regridding will occur                     |             |              |
+----------------------+-----------------------------------------------------------------------+-------------+--------------+
| dual_grid            | If true then use the "dual_grid" approach for load balancing          |   Bool      | False        |
+----------------------+-----------------------------------------------------------------------+-------------+--------------+

+76 −0
Original line number Diff line number Diff line
.. _Chap:InputsMultigrid:

Multigrid Inputs
================

The following inputs can be set directly in the AMReX solver classes but we 
set them via the MFiX-Exa routines because we may want different inputs for the 
differnt solvers called by MFiX-Exa.

These control the nodal projection and must be preceded by "mfix":

+-------------------------+-----------------------------------------------------------------------+-------------+--------------+
|                         | Description                                                           |   Type      | Default      |
+-------------------------+-----------------------------------------------------------------------+-------------+--------------+
| mg_verbose              |  Verbosity of multigrid solver in nodal projection                    |    Int      |   0          |
+-------------------------+-----------------------------------------------------------------------+-------------+--------------+
| mg_cg_verbose           |  Verbosity of BiCGStab solver in nodal projection                     |    Int      |   0          |
+-------------------------+-----------------------------------------------------------------------+-------------+--------------+
| mg_rtol                 |  Relative tolerance in nodal projection                               |    Real     |   1.e-11     | 
+-------------------------+-----------------------------------------------------------------------+-------------+--------------+
| mg_atol                 |  Absolute tolerance in nodal projection                               |    Real     |   1.e-14     | 
+-------------------------+-----------------------------------------------------------------------+-------------+--------------+
| mg_maxiter              |  Maximum number of iterations in the nodal projection                 |    Int      |              | 
+-------------------------+-----------------------------------------------------------------------+-------------+--------------+
| mg_cg_maxiter           |  Maximum number of iterations in the nodal projection                 |    Int      |              | 
|                         |    bottom solver if using bicg, cg, bicgcg or cgbicg                  |             |              |
+-------------------------+-----------------------------------------------------------------------+-------------+--------------+
| mg_max_coarsening_level |  Maximum number of coarser levels to allowin the nodal projection     |    Int      |              | 
|                         |  If set to 0, the bottom solver will be called at the current level   |             |              |
+-------------------------+-----------------------------------------------------------------------+-------------+--------------+
| bottom_solver_type      |  Which bottom solver to use in the nodal projection                   |  String     |   bicgcg     |
|                         |  Options are bicgstab, cg, cgbicg, smoother or hypre                  |             |              | 
+-------------------------+-----------------------------------------------------------------------+-------------+--------------+

These control the MAC projection and must be preceded by "mac":

+-------------------------+-----------------------------------------------------------------------+-------------+--------------+
|                         | Description                                                           |   Type      | Default      |
+======================+=======================================================================+=============+=================+
| mg_verbose              |  Verbosity of multigrid solver in MAC projection                      |    Int      |   0          |
+-------------------------+-----------------------------------------------------------------------+-------------+--------------+
| mg_cg_verbose           |  Verbosity of BiCGStab solver in MAC projection                       |    Int      |   0          |
+-------------------------+-----------------------------------------------------------------------+-------------+--------------+
| mg_rtol                 |  Relative tolerance in MAC projection                                 |    Real     |   1.e-11     | 
+-------------------------+-----------------------------------------------------------------------+-------------+--------------+
| mg_atol                 |  Absolute tolerance in MAC projection                                 |    Real     |   1.e-14     | 
+-------------------------+-----------------------------------------------------------------------+-------------+--------------+
| mg_maxiter              |  Maximum number of iterations in the MAC projection                   |    Int      |              | 
+-------------------------+-----------------------------------------------------------------------+-------------+--------------+
| mg_cg_maxiter           |  Maximum number of iterations in the MAC projection                   |    Int      |              | 
|                         |    bottom solver if using bicg, cg, bicgcg or cgbicg                  |             |              |
+-------------------------+-----------------------------------------------------------------------+-------------+--------------+
| mg_max_coarsening_level |  Maximum number of coarser levels to allowin the nodal projection     |    Int      |              | 
|                         |  If set to 0, the bottom solver will be called at the current level   |             |              |
+-------------------------+-----------------------------------------------------------------------+-------------+--------------+
| bottom_solver_type      |  Which bottom solver to use in the MAC projection                     |  String     |   bicgcg     |
|                         |  Options are bicgstab, cg, cgbicg, smoother or hypre                  |             |              | 
+-------------------------+-----------------------------------------------------------------------+-------------+--------------+

These control the diffusion solver and must be preceded by "diff":
The following inputs must be preceded by "diff" 

+----------------------+-----------------------------------------------------------------------+-------------+--------------+
|                      | Description                                                           |   Type      | Default      |
+======================+=======================================================================+=============+==============+
| mg_verbose           |  Verbosity of linear solver for diffusion solve                       |    Int      |   0          |
+----------------------+-----------------------------------------------------------------------+-------------+--------------+
| mg_cg_verbose        |  Verbosity of BiCGStab solver in diffusion solve                      |    Int      |   0          |
+----------------------+-----------------------------------------------------------------------+-------------+--------------+
| mg_rtol              |  Relative tolerance in diffusion solve                                |    Real     |   1.e-11     | 
+----------------------+-----------------------------------------------------------------------+-------------+--------------+
| mg_atol              |  Absolute tolerance in diffusion solve                                |    Real     |   1.e-14     | 
+----------------------+-----------------------------------------------------------------------+-------------+--------------+
| bottom_solver_type   |  Which bottom solver to use in the diffusion solve                    |  String     |   bicgcg     |
|                      |  Options are bicgstab, cg, cgbicg, smoother or hypre                  |             |              | 
+----------------------+-----------------------------------------------------------------------+-------------+--------------+
+29 −26
Original line number Diff line number Diff line
@@ -6,53 +6,56 @@ Plotfiles
The following inputs must be preceded by "amr" and control frequency and naming of plotfile generation as well
as which variables will be written out.

+------------------+-----------------------------------------------------------------------+-------------+-----------+
+---------------------+-----------------------------------------------------------------------+-------------+-----------+
|                     | Description                                                           |   Type      | Default   |
+==================+=======================================================================+=============+===========+
+=====================+=======================================================================+=============+===========+
| plot_int            | Frequency of plotfile output;                                         |    Int      |  -1       |
|                     | if -1 then no plotfiles will be written                               |             |           |
+------------------+-----------------------------------------------------------------------+-------------+-----------+
+------------------+--------------------------------------------------------------------------+-------------+-----------+
| plotfile_on_restart | Should we write a plotfile when we restart (only used if plot_int>0)  |   Bool      |  False    |
+---------------------+-----------------------------------------------------------------------+-------------+-----------+
| plot_file           | Prefix to use for plotfile output                                     |  String     | plt       |
+------------------+-----------------------------------------------------------------------+-------------+-----------+
+---------------------+-----------------------------------------------------------------------+-------------+-----------+
| plt_regtest         | Save all variables to plot file (overrides all other IO flags)        |    Int      | 0         |
+------------------+-----------------------------------------------------------------------+-------------+-----------+
+---------------------+-----------------------------------------------------------------------+-------------+-----------+
| plt_vel_g           | Save fluid velocity data to plot file                                 |    Int      | 1         |
+------------------+-----------------------------------------------------------------------+-------------+-----------+
+---------------------+-----------------------------------------------------------------------+-------------+-----------+
| plt_ep_g            | Save fluid volume fraction to plot file                               |    Int      | 1         |
+------------------+-----------------------------------------------------------------------+-------------+-----------+
+---------------------+-----------------------------------------------------------------------+-------------+-----------+
| plt_p_g             | Save fluid pressure to plot file                                      |    Int      | 0         |
+------------------+-----------------------------------------------------------------------+-------------+-----------+
+---------------------+-----------------------------------------------------------------------+-------------+-----------+
| plt_ro_g            | Save fluid density to plot file                                       |    Int      | 0         |
+------------------+-----------------------------------------------------------------------+-------------+-----------+
+---------------------+-----------------------------------------------------------------------+-------------+-----------+
| plt_mu_g            | Save fluid viscosity to plot file                                     |    Int      | 0         |
+------------------+-----------------------------------------------------------------------+-------------+-----------+
+---------------------+-----------------------------------------------------------------------+-------------+-----------+
| plt_diveu           | Save div(ep_g . u) to plot file                                       |    Int      | 0         |
+------------------+-----------------------------------------------------------------------+-------------+-----------+
+---------------------+-----------------------------------------------------------------------+-------------+-----------+
| plt_volfrac         | Save Eulerian grid volume fraction (from cut cells) to plot file      |    Int      | 0         |
+------------------+-----------------------------------------------------------------------+-------------+-----------+
+---------------------+-----------------------------------------------------------------------+-------------+-----------+
| plt_gradp_g         | Save gradient of pressure filed to plot file                          |    Int      | 0         |
+------------------+-----------------------------------------------------------------------+-------------+-----------+
+---------------------+-----------------------------------------------------------------------+-------------+-----------+
| plt_vort            | Save vorticity to plot file                                           |    Int      | 0         |
+------------------+-----------------------------------------------------------------------+-------------+-----------+
+---------------------+-----------------------------------------------------------------------+-------------+-----------+
| plt_vel_p           | Save particle velocity to plot file                                   |    Int      | 1         |
+------------------+-----------------------------------------------------------------------+-------------+-----------+
+---------------------+-----------------------------------------------------------------------+-------------+-----------+
| plt_radius          | Save particle radius to plot file                                     |    Int      | 0         |
+------------------+-----------------------------------------------------------------------+-------------+-----------+
+---------------------+-----------------------------------------------------------------------+-------------+-----------+
| plt_volume          | Save particle volume to plot file                                     |    Int      | 0         |
+------------------+-----------------------------------------------------------------------+-------------+-----------+
+---------------------+-----------------------------------------------------------------------+-------------+-----------+
| plt_volume          | Save particle volume to plot file                                     |    Int      | 0         |
+---------------------+-----------------------------------------------------------------------+-------------+-----------+
| plt_mass            | Save particle mass to plot file                                       |    Int      | 0         |
+------------------+-----------------------------------------------------------------------+-------------+-----------+
+---------------------+-----------------------------------------------------------------------+-------------+-----------+
| plt_ro_p            | Save particle density to plot file                                    |    Int      | 0         |
+------------------+-----------------------------------------------------------------------+-------------+-----------+
+---------------------+-----------------------------------------------------------------------+-------------+-----------+
| plt_omoi            | Save (one divided by the) particle momentum of inertia to plot file   |    Int      | 0         |
+------------------+-----------------------------------------------------------------------+-------------+-----------+
+---------------------+-----------------------------------------------------------------------+-------------+-----------+
| plt_mass            | Save particle mass to plot file                                       |    Int      | 0         |
+------------------+-----------------------------------------------------------------------+-------------+-----------+
+---------------------+-----------------------------------------------------------------------+-------------+-----------+
| plt_omega_p         | Save particle angular velocity to plot file                           |    Int      | 0         |
+------------------+-----------------------------------------------------------------------+-------------+-----------+
+---------------------+-----------------------------------------------------------------------+-------------+-----------+
| plt_drag_p          | Save particle drag force to plot file                                 |    Int      | 0         |
+------------------+-----------------------------------------------------------------------+-------------+-----------+
+---------------------+-----------------------------------------------------------------------+-------------+-----------+
| plt_phase           | Save particle type to plot file                                       |    Int      | 0         |
+------------------+-----------------------------------------------------------------------+-------------+-----------+
| plt_state        | Save particle state to plot file                                      |    Int      | 0         |
+------------------+-----------------------------------------------------------------------+-------------+-----------+
+---------------------+-----------------------------------------------------------------------+-------------+-----------+
+---------------------+-----------------------------------------------------------------------+-------------+-----------+
Loading