14 Finite Volume Method
In this course we provide a Finite Volume Method relecture to the famous The 12 steps to Navier-Stokes equations, by Lorena A. Barba and Gilbert F. Forsyth. It is not a bare translation, but a different approach to the problems with the addition of new elements, some sort of Twelve-steps to Navier Stokes rewind.
Also the final goal has been changed and now it is not only as reaching the implementation of Navier-Stokes equations, but learning the key ideas of finite volumes applied to other fields of interest in Materials Science. Students who are undergoing Calculus training should already meet the minimum requirements to follow this course.
Focus will be given not only on the numerical methods, but also how a computer implementation should look like. This last point is the most distinctive point from the work upon which it is based. A vast amount of learning resources is available for scientific computing, but rare sources really provide guidance for conceiving quality and maintainable code. Here we try to contribute for better coding practices through a think-before-coding approach.
14.1 Diffusion equation
This part describes the implementation of diffusion using finite volume method. It is intended mainly to treat topics of interest in Materials Science, thus composition and spatial dependencies of diffusivity are a pre-requisite for any practical use case. A progressive level of complexity in the described physics will be considered. It assumes the reader is already familiar with basic concepts of diffusion in solids, much of which will be exposed in the text without further explanations.
The following lists the goals and status of current text:
The interested reader may wish to consult the work by Mehrer (2007) for more details; any Materials Scientist is also recommended at some point to check the classic works of (Onsager 1931a, 1931b).
14.2 Convection equation
Upcoming here 16!