knitr::opts_chunk$set(echo = TRUE)

Introduction

Silica is a common material in the natural environment, and its dissolution or precipitation is of significant interest. You will make a model of the dissolution and precipitation of silica. Using the model, you will then investigate the conditions under which dissolution or precipitation occurs.

As explained in class, dissolution of silica, $SiO_2(s)$, in water results in the formation of silicic acid, $Si(OH)_4(aq)$. This process can be written as the following reversible reaction: $$ Reaction~1:\quad SiO_2(s) + 2 H_2O \leftrightarrow Si(OH)_4(aq)$$

This reaction is governed by the differential equation $$ \frac{dC_s}{dt} = -\frac{dC}{dt} = k_p \cdot \frac{A}{V} \cdot (C-C_{eq}), \qquad (1) $$ where $C$ is the concentration of silicic acid (i.e., dissolved silica), and $C_s$ is the concentration of solid silica (both in $mol~Si~m^{-3}$). $A$ is the area of the reactive silica surface in a volume of water $V$, $k_p$ is the rate constant of the precipitation reaction, and $C_{eq}$ is the silica solubility.

Problem formulation

Diatoms are microscopic algae whose cell wall is made of silica. After the cell dies, diatom frustules sink from the surface waters towards the sea bottom. As the silica frustules encounter waters that are undersaturated in silicic acid, they will start to dissolve. You will develop a model to mimic this dissolution process, approximating the frustules as small spherical particles.

Our model system contains $N$ spherical silica particles suspended in a volume $V$. We assume that the particles are identical (radius $r$) and that the particle density ($N/V$) remains constant. You may recall that the volume of a sphere with radius $r$ is $(4/3) \pi r^3$, while its surface area is $4 \pi r^2$.

Because the solid silica is in the form of many small spherical particles, the total concentration of solid silica, $C_s$, and the radius of each particle, $r$, are related according to:
$$ C_{s} = \frac{N}{V}\cdot \frac{4\pi\cdot r^3}{3}\cdot \frac{\rho}{MW}, \qquad (2) $$ where $MW$ and $\rho$ is, respectively, the molar weight (60.08 $g~mol^{-1}$) and the density (2196 $kg~m^{-3}$) of amorphous silica.

Tasks

Task 1. Model development

Write a model for predicting the dissolution (or precipitation) of silica particles in water.

Task 2. Model implementation

Note: in your R-code you will need to calculate $x^n$, where $n$ is a non-integer value. This may cause numerical problems if $x<0$, as many programming languages, including R, then return a NaN, i.e., "not a number". In an ideal world, and when dealing with concentrations, the value of $x$ should not be negative. But, due to finite precision of the integration methods, very small negative numbers may arise. It is therefore prudent to set any negative values representing concentrations to 0. That is, rather than writing x^n, write max(0,x)^n.

Task 3. Model application

Task 4. Explore the model dynamics

Make a number of runs where you vary the initial concentrations of the silica particles or of the silicic acid.



dynamic-R/RTM documentation built on Feb. 28, 2025, 1:23 p.m.