Numerical methods in fluid mechanics: Difference between revisions

Content deleted Content added
Line 33:
 
==Computational cost==
The [[CPU]] time to solve the system of equations differs substantially from method to method. Finite differences are usually the cheapest on a per grid point basis followed by the finite element method and spectral method. However, a per grid point basis comparison is a little like comparing apple and oranges. Spectral methods deliver more accuracy on a per grid point basis than either [[Finite element method|FEM]] or [[Finite difference method|FDM]]. The comparison is more meaningful if the question is recast as ”what is the computational cost to achieve a given error tolerance?”. The problem becomes one of defining the error measure which is a complicated task in general situations.
 
==Application of finite differences to [[ordinary differential equation]]s==