Skip to content

Commit

Permalink
build based on 91a4e61
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Mar 4, 2024
1 parent 0c26a8e commit a9dcbb4
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion dev/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.10.2","generation_timestamp":"2024-03-04T13:55:42","documenter_version":"1.3.0"}}
{"documenter":{"julia_version":"1.10.2","generation_timestamp":"2024-03-04T13:56:29","documenter_version":"1.3.0"}}
2 changes: 1 addition & 1 deletion dev/background/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
\end{equation}\]</p><p>with <span>$D_i^*$</span> the tracer diffusion coefficient of the <span>$i^{th}$</span> component, <span>$\delta_{ij}$</span> the Kronecker delta, <span>$z$</span> the charge of the species, and <span>$D_n^*$</span> the tracer diffusion coefficient of the dependent molar fraction (here Ca).</p><p>The tracer diffusion coefficient <span>$D_i^*$</span> can be calculated from an Arrhenius relationship:</p><p class="math-container">\[\begin{equation}
\label{arrhenius}
D_i^* = D_{0,i} \exp \left( -\frac{E_{a,i} - (P-1)\Delta V^+_i}{RT} \right),
\end{equation}\]</p><p>with <span>$D_{0,i}$</span> the pre-exponential constant, <span>$E_{a,i}$</span> the activation energy of diffusion, <span>$\Delta V^+_i$</span> the activation volume of diffusion at 1 bar, <span>$R$</span> the universal gas constant, <span>$T$</span> the temperature, and <span>$P$</span> the pressure.</p><p>In DiffusionGarnet.jl, <span>$D_{0,i}$</span>, <span>$E_{a,i}$</span>, and <span>$\Delta V^+_i$</span> are those of Chakraborty &amp; Ganguly (1992) <a href="#refs">[2]</a>. The tracer diffusion coefficient of Ca is defined as <span>$0.5D_{Fe}$</span>, following the approach of Loomis et al. (1985) <a href="#refs">[3]</a>.</p><h3 id="Numerical-approach"><a class="docs-heading-anchor" href="#Numerical-approach">Numerical approach</a><a id="Numerical-approach-1"></a><a class="docs-heading-anchor-permalink" href="#Numerical-approach" title="Permalink"></a></h3><p>By defining the PT conditions of the metamorphic event of interest, (3) can be solved for each component, and the diffusion coefficient tensor can be calculated using (2) from the initial major composition data. In DiffusionGarnet.jl, (1) is then discretised in space using finite differences, and the resulting system of ordinary differential equations is solved with ROCK2, a stabilised explicit method (Abdulle &amp; Medovikov (2001) <a href="#refs">[4]</a>) using the <a href="https://github.com/SciML/DifferentialEquations.jl">DifferentialEquations.jl</a> ecosystem.</p><h2 id="refs"><a class="docs-heading-anchor" href="#refs">References</a><a id="refs-1"></a><a class="docs-heading-anchor-permalink" href="#refs" title="Permalink"></a></h2><p>[1] Lasaga, A. C. (1979). Multicomponent exchange and diffusion in silicates. Geochimica et Cosmochimica Acta, 43(4), 455-469.</p><p>[2] Chakraborty, S., &amp; Ganguly, J. (1992). Cation diffusion in aluminosilicate garnets: experimental determination in spessartine-almandine diffusion couples, evaluation of effective binary diffusion coefficients, and applications. Contributions to Mineralogy and petrology, 111(1), 74-86.</p><p>[3] Loomis, T. P., Ganguly, J., Elphick, S. C., 1985. Experimental determinations of cation diffusitivities in aluminosilicate garnets. II. Multicomponent simulation and tracer diffusion coefficients. Contributions to Mineralogy and Petrology 90, 45–51.</p><p>[4] Abdulle, A., &amp; Medovikov, A. A. (2001). Second order Chebyshev methods based on orthogonal polynomials. Numerische Mathematik, 90, 1-18.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../">« Home</a><a class="docs-footer-nextpage" href="../diffusion_1D/">Diffusion in 1D Cartesian coordinates »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.3.0 on <span class="colophon-date" title="Monday 4 March 2024 13:55">Monday 4 March 2024</span>. Using Julia version 1.10.2.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
\end{equation}\]</p><p>with <span>$D_{0,i}$</span> the pre-exponential constant, <span>$E_{a,i}$</span> the activation energy of diffusion, <span>$\Delta V^+_i$</span> the activation volume of diffusion at 1 bar, <span>$R$</span> the universal gas constant, <span>$T$</span> the temperature, and <span>$P$</span> the pressure.</p><p>In DiffusionGarnet.jl, <span>$D_{0,i}$</span>, <span>$E_{a,i}$</span>, and <span>$\Delta V^+_i$</span> are those of Chakraborty &amp; Ganguly (1992) <a href="#refs">[2]</a>. The tracer diffusion coefficient of Ca is defined as <span>$0.5D_{Fe}$</span>, following the approach of Loomis et al. (1985) <a href="#refs">[3]</a>.</p><h3 id="Numerical-approach"><a class="docs-heading-anchor" href="#Numerical-approach">Numerical approach</a><a id="Numerical-approach-1"></a><a class="docs-heading-anchor-permalink" href="#Numerical-approach" title="Permalink"></a></h3><p>By defining the PT conditions of the metamorphic event of interest, (3) can be solved for each component, and the diffusion coefficient tensor can be calculated using (2) from the initial major composition data. In DiffusionGarnet.jl, (1) is then discretised in space using finite differences, and the resulting system of ordinary differential equations is solved with ROCK2, a stabilised explicit method (Abdulle &amp; Medovikov (2001) <a href="#refs">[4]</a>) using the <a href="https://github.com/SciML/DifferentialEquations.jl">DifferentialEquations.jl</a> ecosystem.</p><h2 id="refs"><a class="docs-heading-anchor" href="#refs">References</a><a id="refs-1"></a><a class="docs-heading-anchor-permalink" href="#refs" title="Permalink"></a></h2><p>[1] Lasaga, A. C. (1979). Multicomponent exchange and diffusion in silicates. Geochimica et Cosmochimica Acta, 43(4), 455-469.</p><p>[2] Chakraborty, S., &amp; Ganguly, J. (1992). Cation diffusion in aluminosilicate garnets: experimental determination in spessartine-almandine diffusion couples, evaluation of effective binary diffusion coefficients, and applications. Contributions to Mineralogy and petrology, 111(1), 74-86.</p><p>[3] Loomis, T. P., Ganguly, J., Elphick, S. C., 1985. Experimental determinations of cation diffusitivities in aluminosilicate garnets. II. Multicomponent simulation and tracer diffusion coefficients. Contributions to Mineralogy and Petrology 90, 45–51.</p><p>[4] Abdulle, A., &amp; Medovikov, A. A. (2001). Second order Chebyshev methods based on orthogonal polynomials. Numerische Mathematik, 90, 1-18.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../">« Home</a><a class="docs-footer-nextpage" href="../diffusion_1D/">Diffusion in 1D Cartesian coordinates »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.3.0 on <span class="colophon-date" title="Monday 4 March 2024 13:56">Monday 4 March 2024</span>. Using Julia version 1.10.2.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/diffusion_1D/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@

println(&quot;Now, generating the gif...&quot;)
gif(anim, &quot;Grt_1D_test.gif&quot;, fps = 7)
println(&quot;...Done!&quot;)</code></pre><p>Here is the resulting gif obtained:</p><p><img src="../assets/img/Grt_1D.gif" alt="1D diffusion profil of a garnet"/></p><p>It shows the compositional evolution of a 1D profile through a garnet grain with homogeneous Dirichlet boundaries on both sides.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../background/">« Background</a><a class="docs-footer-nextpage" href="../diffusion_spherical/">Diffusion in spherical coordinates »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.3.0 on <span class="colophon-date" title="Monday 4 March 2024 13:55">Monday 4 March 2024</span>. Using Julia version 1.10.2.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
println(&quot;...Done!&quot;)</code></pre><p>Here is the resulting gif obtained:</p><p><img src="../assets/img/Grt_1D.gif" alt="1D diffusion profil of a garnet"/></p><p>It shows the compositional evolution of a 1D profile through a garnet grain with homogeneous Dirichlet boundaries on both sides.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../background/">« Background</a><a class="docs-footer-nextpage" href="../diffusion_spherical/">Diffusion in spherical coordinates »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.3.0 on <span class="colophon-date" title="Monday 4 March 2024 13:56">Monday 4 March 2024</span>. Using Julia version 1.10.2.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/diffusion_2D/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@
println(&quot;Now, generating the gif...&quot;)
gif(anim, &quot;Grt_2D_900.gif&quot;, fps = 3)
println(&quot;...Done!&quot;)
</code></pre><p>Here is the resulting gif:</p><p><img src="../assets/img/Grt_2D.gif" alt="2D diffusion of a garnet"/></p><div class="admonition is-info"><header class="admonition-header">Note</header><div class="admonition-body"><p>2D modelling ignores the effect of the third dimension on diffusion and is equivalent to considering the garnet grain to be cylindrical rather than spherical.</p></div></div></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../diffusion_spherical/">« Diffusion in spherical coordinates</a><a class="docs-footer-nextpage" href="../updating_PT/">Updating pressure and temperature conditions »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.3.0 on <span class="colophon-date" title="Monday 4 March 2024 13:55">Monday 4 March 2024</span>. Using Julia version 1.10.2.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
</code></pre><p>Here is the resulting gif:</p><p><img src="../assets/img/Grt_2D.gif" alt="2D diffusion of a garnet"/></p><div class="admonition is-info"><header class="admonition-header">Note</header><div class="admonition-body"><p>2D modelling ignores the effect of the third dimension on diffusion and is equivalent to considering the garnet grain to be cylindrical rather than spherical.</p></div></div></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../diffusion_spherical/">« Diffusion in spherical coordinates</a><a class="docs-footer-nextpage" href="../updating_PT/">Updating pressure and temperature conditions »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.3.0 on <span class="colophon-date" title="Monday 4 March 2024 13:56">Monday 4 March 2024</span>. Using Julia version 1.10.2.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit a9dcbb4

Please sign in to comment.