FInite Difference Method
FInite Difference Method
• The governing equation like mass, momentum and energy are expressed in terms of
partial differential equations (PDEs). These equations are space and time-dependent. We
can not solve PDEs like ordinary differential equations. However, partial differential
equations are boundary value problems. After discrediting with a numerical method, we
can compute values based on initial and boundary conditions.
• Discretization converts the transport equation (mass, momentum, and energy) in the
partial differential form to a set of algebraic equations. Three numerical methods are
widely used to discretize the partial differential equations namely:
• The discretization methods approximate the PDEs of fluid flows with numerical model
equations, which are solved using different numerical methods.
Finite difference method (FDM)
• The computational domain is usually divided into hexahedral elements (grids) and
the numerical solution is obtained at each node
• The finite difference method (FDM) is simple to understand when the physical
elements are defined in the Cartesian coordinate system, but the use of curvilinear
transforms the method can be extended to domains that can not be easily
represented using brick-shaped elements
• The discretization results in a system of equations of the variable for grid points,
and once a solution is obtained then a discrete representation of the solution is
obtained.
Note the following points for FDM:
Backward Difference :
Order of Accuracy
For the term In mass,momentum,energy equations
5.Rearrange the equation with derivative terms in R.H.S side other terms in L.H.S
6.Take ∆x
common
from R.H.S
all
derivative
terms
7.Rearrange the eqn
1. Split the domain into “n” number of grid points.
2. consider one grid point i,j .
3. Forward Difference method take right side grid point (i.e i+1,j)
4. apply Taylor series
Order of
accuracy