Numerical methods in fluid mechanics: Difference between revisions

Content deleted Content added
Finite difference method: Derivative is at x, not at n
Line 11:
==Finite difference method==
Finite difference replace the infinitesimal limiting process of derivative calculation:
:<math> \lim_{\Delta x \to 0}f'(nx) = \frac {f(x+\Delta x)-f(x)}{\Delta x} </math>
 
with a finite limiting process,i.e.
Line 17:
:<math> f'(x) =\frac {f(x+\Delta x) - f(x)}{\Delta x} + O(\Delta x) </math>
 
The term <math>O(_x\Delta x)</math> gives an indication of the magnitude of the error as a function of the mesh spacing. In this instance, the error is halfed if the grid spacing, _x is halved, and we say that this is a first order method. Most FDM used in practice are at least second order accurate except in very special circumstances. Finite Difference method is still the most popular numerical method for solution of PDEs because of their simplicity, efficiency and low computational cost. Their major drawback is in their geometric inflexibility which complicates their applications to general complex domains. These can be alleviated by the use of either mapping techniques and/or masking to fit the computational mesh to the computational ___domain.
 
==Finite element method==