Example 3: Periodic variations in seafloor temperature¶
Flux boundary conditions¶
So far, we have always assumed that the boundary condition for the temperature equation was a fixed temperature. This condition is also called a Dirichlet boundary condition. We can, however, also assume a case where the boundary has a constant gradient (e.g. heat flux). This is called a Neumann boundary conditions and an example would be a given conductive heat flux from below. A flux boundary condition at the bottom could be written like this:
where \(c_1\) is the specified gradient. We could also write it as a heat flow boundary conditions
We can program these conditions by using a forward or a backward finite difference expression. However, this is not so good, since these finite difference approximations are only first order accurate in space. Moreover they would yield the first derivative at the location \(T_{\frac{1}{2}}\) or at \(T_{ny-\frac{1}{2}}\), and not at \(T_1\) and \(T_y\). A better way to incorporate a flux boundary conditions is therefore to use a central finite difference approximation, which is given (at \(i = 1\)) by:
The problem is that the expression above involves a point that is not part of the numerical grid (\(T_0\)). A way around this can be found by noting that the equation for the center nodes is given by:
Writing this expression for the first node gives
An explicit expression for \(T_0\) can be obtained from equation (44):
Substituting equation (47) into equation (46) gives:
Again we can rearrange this equation to bring known terms to the right-hand side:
This equation only involves grid points that are part of the computational grid and equation equation (49) can be incorporated into the matrix \(A\) and the right-hand side \(b\).
Example: seafloor temperature variations¶
Oceanic heat flow measurements provide important insights into cooling and alteration processes of oceanic plates. Such measurements are usually done with devices that measure heat flow within the first few meters of sediment. A natural question to ask is to which degree such measurements may be perturbed by seasonal variations in bottom water temperatures. Let’s set up a simple model for this.
Assume a vertical modeling domain of \(30m\). At the top of the domain a sinusoidal change in surface temperature (\(\pm 2°C\) around \(4°C\)) over a one year period is applied and at the bottom a constant heat flow of \(60 \frac{mW}{m^2}\) is assumed. The sediments have a constant diffusivity of \(1e^{-6} m^2/s\) and a thermal conductivity of \(1.5 W/m/K\).
FDM notebook¶
Excercise - periodic changes in seafloor temperature¶
Explore the solution and understand what controls the depth to which periodic varations in seafloor temperature are “felt” inside the sediments
To which depth to seasonal, annual, and decadal variations propagate into the sediments?
Is there a phase shift between surface heat flow and temperature variations?