Skip to content

Commit

Permalink
Documentation: information about the algorithm used in the non-linear…
Browse files Browse the repository at this point in the history
… flow (#81)

* Documentation: information about the algorithm used in the non-linear flow

* Update docs/files/implementation.rst

* Update docs/files/refs.bib
  • Loading branch information
victorsacek authored Mar 17, 2022
1 parent fffb80f commit d855d5b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/files/implementation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,18 @@ Additionally, the rheology can also be considered to follow a power law, as a fu
where :math:`A` is a pre-exponential scale factor, :math:`n` is the power law exponent, :math:`\dot{\varepsilon}` is the square root of the second invariant of the strain rate tensor, :math:`Q` is the activation energy, and :math:`V` is the activation volume. The values of :math:`A`, :math:`n`, :math:`Q`, and :math:`V` are measured under laboratory conditions :cite:`karato1993,gleason1995`.


Non-linear iterations
*********************

When the non-linear option is chosen by the user, the effective viscosity is dependent on the velocity field, which is iteratively updated following the algorithm described by Thieulot (2014) :cite:`thieulot2014`. In this algorithm, the velocity and effective viscosity field are iteratively updated until the following convergence criterion is satisfied:

.. math::
:label: non-linear
\chi_f = 1 - \frac{\langle (f^i-\langle f^i\rangle) \cdot (f^{i+1}-\langle f^{i+1}\rangle) \rangle}{|f^i-\langle f^i\rangle| \ |f^{i+1}-\langle f^{i+1}\rangle|} \le tol
where :math:`f` represents an array with all the nodal values of the velocity components, :math:`tol` is a tolerance factor, and :math:`\langle f\rangle` is the mean value of :math:`f`. The superscript :math:`i` and :math:`i+1` indicate two consecutive iterations in the same time step. In each iteration, the momentum and mass equations are calculated with an updated effective viscosity field.




Expand Down
1 change: 1 addition & 0 deletions docs/files/refs.bib
Original file line number Diff line number Diff line change
Expand Up @@ -226,3 +226,4 @@ @article{gerya2003
year={2003},
publisher={Elsevier}
}

0 comments on commit d855d5b

Please sign in to comment.