MS Research PhD Research Curriculum Vitae
On-line Stores Cycling Medicine & Health LaTeX OOP & C++ Sony PCM-R500 DAT |
![]() |
Next: Truncation error Up: Core flow numerics Previous: Core flow numerics   Contents   Index Introduction
In order to solve the core flow model given in section
6.8 on a computer we have to discretize the governing
equations.
We can take at least two courses to discretize the equations.
We could either apply the standard finite difference technique or rearrange the
equations in such a way that they resemble a system of 1st order ordinary
differential equations. The latter is at first glance attractive since several
program packages exist which solve systems of 1st order ODEs.
For this reason we will dwell a little on the possibilities of rearranging the
equations such that they resemble a system of 1st order ODEs.
Our task is to convert the four equations
where fa, fb and fc are given functions into a form similar to where
and
which means that we for instance have to calculate the derivative Apart from being a very cumbersome task it is impractical in the users view to require derivatives of the external constitutive relations since it is likely that a user would like to install his or her own constitutive relations7.2. However, with the inconvenience of the method just described in mind it is plausible to pursue the other course in order to discretize the model--that is we will apply a finite difference technique. Considering two points in a computational grid, zi and zi+1, which are a distance ki apart we can derive the following finite difference approximations for the four equations (6.100)-(6.103) given in section 6.8. For the momentum equation7.3 we obtain
and for the last three discretized equation read where indices i and i+1 refer to points zi and zi+1 respectively. In this finite difference scheme we have discretized the two ordinary differential equations about the point
As stated previously the three first equations
(7.8)-(7.10) can be solved independently of
the fourth (7.11). If we concentrate on the three coupled
equations these can be cast in the following form
where We conclude that in order to obtain the state at the next z-level by applying the finite difference scheme requires that we solve a system of non-linear equations. This task is discussed in section 7.3. The finite difference method cannot attain particularly high order when compared to standard methods for systems of 1st order ODEs. However as demonstrated by practical calculations the problem we are concerned with can be solved accurately even by the use of very coarse computational grids. In other words we have no need for high order in our case which again supports our choice of finite differences as discretization.
Next: Truncation error Up: Core flow numerics Previous: Core flow numerics   Contents   Index Revision 2.0, Copyright © 1999-2004 Jakob Christensen http://www.JakobCHR.com E-Mail: webmaster@JakobCHR.com
|