Finite Difference Method
Finite Difference Method
• Finite Difference Method (FDM) is one of the methods used to solve differential
• The finite difference method (FDM) is an approximate method for solving partial
differential equations. It has been used to solve a wide range of problems. These
discretization methods.
FEM vs Finite difference method :-
FDM FEM
1. It makes pointwise approximation to It makes piecewise approximation
the governing equation
2.It ensures continuity only at the node It ensure continuity at node point as well
points ,continuity along the side of grid as along the sides of the element
lines are not ensure
3.It do not give value at any point except It give value at any point
at node point
4.It makes stair type approximation to FEM can consider the slopping
slope and curve boundaries boundaries exactly
5.It need larger no of nodes to get good FEM needs fewer nodes
result
6. Fairly Complicated problems can be It can handle all complicated problems
handled
Finite difference approximations:-
General principle :-
Forward difference
method
Central difference
method
Backward difference
method
approximations
FINITE DIFFERENCE FORMULATION OF DIFFERENTIAL
EQUATIONS:-
• The numerical methods for solving differential equations are based on replacing the
differential equations by algebraic equations. In the case of the popular finite difference
method, this is done by replacing the derivatives by differences. Below we demonstrate
this with both first- and second-order derivatives.
• Applying the finite-difference method to a differential equation involves replacing all
derivatives with difference formulas. In the heat equation there are derivatives with
respect to time, and derivatives with respect to space. Using different combinations of
mesh points in the difference formulas results in different schemes.
• we develop the finite difference formulation of heat conduction problems by replacing
the derivatives in the differential equations by differences. In the following section we
do it using the energy balance method, which does not require any knowledge of
differential equations
• The first derivative of f(x) at a point is equivalent to the slope of
a line tangent to the curve at that point and is defined as,
Where,
èm ,is the rate of heat generation per unit volume at node m.
If the surface temperatures T0 and TM are specified,
M-1, unknown temperatures at the interior nodes
• The finite difference formulation above can easily be
extended to two- or three-dimensional heat transfer problems
by replacing each second derivative by a difference equation
in that direction
• For example, the finite difference formulation for steady
two-dimensional heat conduction in a region with heat
generation and constant thermal conductivity can be
expressed in rectangular coordinates as shown in fig
Finite difference mesh for two
dimensional conduction in
rectangular coordinates.
• The finite difference formulation is given above to demonstrate how difference
equations are obtained from differential equations.
• However, we use the energy balance approach in the following sections to obtain
the numerical formulation because it is more intuitive and can handle boundary
conditions more easily.
How to apply FEM to HEAT TRANSFER:-
• Temperature of a Heated Plate with Fixed Boundary Conditions
T11 = 18.75
|(εa)1,1|= 100%=13.5%
Because this value is above the stopping criterion of 1%, the computation is
continued. The ninth iteration gives the result,
T11 = 43.00061 T21 = 33.29755 T31 = 33.88506
T12 = 63.21152 T22 = 56.11238 T32 = 52.33999
T13 = 78.58718 T23 = 76.06402 T33 = 69.71050
where the maximum error is 0.71%.
Figure 29.5 shows the results. As expected, a gradient is established as heat flows
from high to low temperature