Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
exa
docs
Commits
654a3c8d
Commit
654a3c8d
authored
5 years ago
by
Ann Almgren
Browse files
Options
Downloads
Patches
Plain Diff
Update inputs page telling how the inputs are used to set the timestep.
parent
eac2c35a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/source/InputsTimeStepping.rst
+38
-2
38 additions, 2 deletions
docs/source/InputsTimeStepping.rst
with
38 additions
and
2 deletions
docs/source/InputsTimeStepping.rst
+
38
−
2
View file @
654a3c8d
...
...
@@ -3,7 +3,11 @@
Time Stepping
=============
The following inputs must be preceded by "amr."
The following inputs must be preceded by "amr." Note that if both are specified, both criteria
are used and the simulation still stop when the first criterion is hit. In the case of unsteady flow,
the simulation will stop when either the number of steps reaches max_step or time reaches stop_time.
In the case of unsteady flow, the simulation will stop when either the tolerance (difference between
subsequent steps) is reached or the number of iterations reaches the maximum number specified.
+------------------+-----------------------------------------------------------------------+-------------+-----------+
| | Description | Type | Default |
...
...
@@ -32,8 +36,40 @@ Currently, the criterion for setting "steady_state" to true is if "dt" is undefi
+-----------------------+-----------------------------------------------------------------------+-------------+------------+
| | Description | Type | Default |
+======================
-
+=======================================================================+=============+============+
+======================
=
+=======================================================================+=============+============+
| steady_state_tol | Tolerance for checking if we have reached steady state | Real | 1.e-5 |
+-----------------------+-----------------------------------------------------------------------+-------------+------------+
| steady_state_max_iter | Maximum number of allowed iterations to converge to steady state | Int | 100000000 |
+-----------------------+-----------------------------------------------------------------------+-------------+------------+
Setting the Time Step
=====================
There are several ways that the inputs are used to determine what time step
is used in the evolution of the fluid-particle system in MFiX-Exa.
1) In a pure particle case, the "mfix.fixed_dt", if specified, is only used to determine the frequency
of outputs, it has no effect on the dt used in the particle evaluation. [WHAT HAPPENS IF FIXED_DT
NOT SPECIFIED?]
That is determined by the following calculation:
2) In a pure fluid case, there are two options:
* If you want to fix the dt, simply set :cpp:`mfix.fixed_dt = XXX` and the fluid time
step will always be that number. [SHOULD WE ABORT IF YOU ALSO SET CFL? OR SPECIFY
THAT FIXED_DT OVERRIDES CFL?]
* If you want to let the code determine the appropriate time step using the advective CFL
condition, then set :cpp:`mfix.cfl = 0.5` for example, and the fluid time step will
be computed to be dt = 0.5 * dx / max(vel).
Note that these choices apply to steady state calculations as well as unsteady runs.
3) In a coupled particle-fluid case, dt is set as in the pure-fluid case. In this case
the particle time step is first computed as in the particle-only case, then is adjusted
so that an integral number of particle steps fit into a single fluid time step.
[HOW ARE DT_MIN AND DT_MAX USED???]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment