Title: Scientific programming in Earth's Sciences Fortran90 and Matlab applications
1Scientific programming in Earth's
SciencesFortran90 and Matlab applications
J.W. Goethe University. Frankfurt
- Dr Guillaume RICHARD
- Institüt für Geowissenchaften 1.232
- richard_at_geophysik.uni-frankfurt.de
2Overview
- 12 x 45min Lectures / 45min training classes
(praktical) -
- Basics and introduction to the problem (Earth
Mantle Convection ). Historical Background, State
of the Art - Model (ODE, PDE)
- Finite differencing Finite volume (goudunov
formalism) - Finite elements
- )
- )
-
- )
- )
- e
- d
- D
3Conservation Laws
Definition Balance equation relating the rate of
change of some physical quantity to its flux
through the region boundary
The only way to change the amount of a quantity
A (unit of A/unit volume) within this volume with
time is to flux (FA) it through the boundary or
create it within the volume (QA).
4Ordinary Differential equations (O.D.E)
Note that all information about the spatial
variation of within the volume V, the fluxes or
the sources has been lost. If the volume is
large, we may call it a box model.
5Representative Volume Element
- If were interested in spatial variations as well
as time, we need to consider small volume of
reference. - This concept of the Representative Volume Element
(RVE) is the base of continuum mechanics. It has
to be large enough and small enough. - The RVE is defined by
- A is relatively constant on a scale comparable
to the RVE. - The average A of for each contiguous RVE varies
smoothly (differentiable)
Note It implies that we assume that any
variation smaller than this scale does not change
the gross behaviour of the problem.
6Partial Differential equations (P.D.E)
7Conservation equations
- Mass conservation (continuity equation)
- Momentum conservation (force balance)
- Energy conservation
8Continuity equation
Uncompressible fluid Velocity field V is said to
be solenoidal In 2D
9Force balance equation
Continuous form of Newtons second law (Law of
acceleration)
10Stress Tensor (Surficial Forces)
The stress tensor for an isotropic and
incompressible fluid (viscous fluid rheology)
P is the pressure (hydrostatic stress tensor)
Where h is the shear viscosity
11What are the effects of the viscous forces
(constant viscosity) ?
12Energy conservation (Heat)
Where k is the thermal conductivity
Boussinesq approximation The fluid densities are
effectively constant r0 except in the body force
terms where they drive most of the flow.
k constant and Boussinesq approximation
Where k is the thermal diffusivity (k k/rCp)
13Conservation equations
- Mass conservation (continuity equation)
- Momentum conservation (force balance)
- Energy conservation
14Equations of state
For thermal convection the density of the fluid
is temperature dependent
KS Module of uncompressibility (KS 0)
Anelastic approximation
Anelastic approximation The fluid is weakly
compressible. r depends on the hydrostatic
pressure Ph Sound waves are neglected
15Conservation equations (Boussinesq and anelastic
approximations)
16Scaling Dimensionless numbers
To determine the various magnitudes of each of
the terms for the problem and to compare
different experiments, it is useful to scale
everything to the caracteristics variables of the
problem. Length scale H Thickness of the
fluid layer Time scale r0CpH2/k Thermal
diffusive time scale Temperature
scale dT Temperature gradient
(Ts-Tb) Pressure Scale kh/ r0CpH2 Density r
0 Density of reference
17Scaling Dimensionless numbers
Ra is the Rayleigh Number Pr is the Prandtl
Number
18Dimensionless equations
19- Bibliography
- Landau Lifchitz, Fluid Mechanics, 2d Ed. Vol.
6 of Course of Theoretical Physics, Reed Educ.
Pro. Publishing, 1987 - Turcotte Schubert, Geodynamics, 2d Ed.,
Cambridge Univ. Press. 2002 - Furbish, Fluid physics in Geology, Oxford Univ.
Press, 1997 - Ranalli, Rheology of the Earth, Allen Unwin
inc., 1987