Commit a73adde6 authored by Santiago Ospina De Los Ríos's avatar Santiago Ospina De Los Ríos

Merge branch 'fix-gauss-equation-in-documentation' into 'master'

[Doc] Fix Gauss equation in initial condition documentation

See merge request !154
parents 99e71e5d ffb745d2
...@@ -59,9 +59,13 @@ They are controlled by the ``initial.type`` key and available for every model. ...@@ -59,9 +59,13 @@ They are controlled by the ``initial.type`` key and available for every model.
.. tip:: .. tip::
The expression for a gaussian pulse of solute concentration centered at The expression for a gaussian pulse of solute concentration centered at
:math:`\vec{p} = [0.5, 0.5]^T \, \mathrm{m}` is:: :math:`\vec{p} = [0.5, 0.5]^T \, \mathrm{m}` and variance of
:math:`\sigma^2 = \left( 0.1 \, \mathrm{m} \right)^2` is::
initial.equation = exp(-sqrt((x-0.5)^2+(y-0.5)^2)/(4.*0.002))/(4*pi*0.002)^(2/dim). initial.equation = <m> * exp(-((x-0.5)^2+(y-0.5)^2)/(2.*0.1^2)) / (2*pi*0.1^2)
where ``<m>`` is the total solute mass of the pulse
:math:`m_s \, [\text{kg}]`.
.. object:: Dataset .. object:: Dataset
...@@ -108,7 +112,8 @@ Initial condition tranformations for the Transport solver. ...@@ -108,7 +112,8 @@ Initial condition tranformations for the Transport solver.
* ``quantity = soluteConcentration`` * ``quantity = soluteConcentration``
The input data is directly interpreted as solute concentration, The input data is directly interpreted as solute concentration,
:math:`f = c_w [\mathrm{kg}/\mathrm{m}^3]`. :math:`f = c_w [\mathrm{kg}/\mathrm{m}^d]`, where :math:`d` indicates the
spatial dimensions of the grid.
.. _H5: https://www.h5py.org/ .. _H5: https://www.h5py.org/
.. _muparser: http://beltoforion.de/article.php?a=muparser&p=features .. _muparser: http://beltoforion.de/article.php?a=muparser&p=features
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment