Project 1
Project 1
acknowledgements
Firstly, we acknowledgements to God for helping us during our whole study at university of
Nizwa.
.
It is our great pleasure to express our profound sense of gratitude and veneration to Dr.
Dhananjay Yadav, Department of Mathematical and physical Sciences, University of Nizwa, for
his indispensable guidance and enthusiastic attitude throughout the period of project work.
We are privileged to have worked under his expert supervision and it is keen interest, which
has enabled us to present the work in this form. We are highly indebted to him for his gentle
behavior and selfless support during my whole project work.
We cannot miss to sincere thanks to faculty of DMPS for his precious suggestions and support
during my study in Mathematics section.
Sciences and & Also, we want to give special thanks to the University of Nizwa, College of Arts
.to all staff members for their assistance and support during our study
Content
Chapter 1: Introduction……………………………………………………………………………..……... 5
.2.2Example 1……………………………………………………………………………….………….…….….12
.2.3Example 1………………………………………………………………………………………..….……….15
Chapter 4: Conclusions……………………………………………………………………..…….…...……34
References…………………………………………………………………………….……………………………35
CHAPTER 1: INTRODUCTION
Introduction:
The finite difference method (FDM) is a widely used numerical method for solving
systems of differential equations. In this article, we'll dig deeper into the concept of
FDM and explore its applications in solving systems of differential equations.
Describes the basic principles, differentiation process, and solution steps used in
FDM.
1. Basic principle of finite difference method:
To understand the finite difference method, you need to understand the concept of
using finite differences to approximate derivatives. FDM divides a continuous field
into a discrete grid of points and replaces the derivatives of differential equations with
difference approximations. This transformation converts differential equations into a
system of algebraic equations that can be solved numerically. To understand the basic
principles of FDM, refer to the following resources.
2. Discretization Process:
The discretization process is a crucial step in applying FDM to systems of differential
equations. It involves dividing the spatial and temporal domains into discrete
intervals. The spatial domain is typically divided into a set of equally spaced nodes or
grid points, while the temporal domain is divided into a sequence of time steps. The
derivatives in the original equations are then approximated using finite difference
formulas, such as forward, backward, or central differences. For a detailed
understanding of the discretization process, the following resource can be helpful.
5. Application:
Difference methods are used in various fields of science and technology. It is
commonly used in computational fluid dynamics, heat transfer analysis, structural
analysis, and many other fields where systems of differential equations occur. FDM
allows researchers and engineers to model and analyze complex physical phenomena
that are difficult to solve analytically. To further explore the applications of FDM, see
the following resources.
Conclusion:
The finite difference method is a powerful numerical method for solving systems of
differential equations. FDM provides a means to obtain numerical solutions to
complex problems by differentiating fields, approximating derivatives, and solving
the resulting systems of algebraic equations. There are many resources available to
learn more about FDM, but the recommended resources provide a solid foundation
and detailed understanding of FDM principles, techniques, and applications in solving
systems of differential equations.
C. Computational efficiency:
Analytical solutions for systems of differential equations are often unavailable or very
difficult to obtain. Finite difference methods provide a computationally efficient
alternative by converting continuous problems into discrete problems. The resulting
system of algebraic equations can be solved using powerful numerical algorithms
such as matrix factorization.
One of the earliest and most straightforward techniques for solving differential
equations is the use of finite difference approximations for derivatives.
Around 1768, L. Euler (1707–1783) discovered it in one dimension of space,
and C. Runge (1856–1927) most likely expanded it to a second dimension
around 1908. Finite difference approaches were first used in numerical
applications in the early 1950s, and the development of these techniques was
aided by the introduction of computers, which provided a practical framework
for addressing complicated scientific and technological issues. For partial
differential equations, theoretical results about the finite difference method's
accuracy, stability, and convergence have been obtained over the past fifty
years. The numerical approaches used to solve ordinary differential equations
are similar to the principle of finite difference methods (cf. Appendix C). It
entails employing differential quotients to replace the derivatives in the
equation in order to approximate the differential operator. The domain is
divided into time and space segments, and for each time or space segment,
approximations of the solution are computed. The mistake made when
switching from a differential operator to a difference operator determines the
discrepancy between the numerical solution and the exact solution. The term
"truncation error" or "discretization error" describes this error. The
approximation uses a finite section of a Taylor series, which is reflected in the
term truncation error. To keep things simple, we will
The quotient on the right-hand side provides a "good" approximation of the derivative
when h tends to 0 without vanishing. A good approximation is when the error
committed tends towards zero when h tends to zero, quantified using a Taylor
expansion.
(6.1)
it is convenient to retain only the first two terms of the previous expression:
where the term O(h2) indicates that the error of
the approximation is proportional to h2. From the equation (6.1), we deduce that there
exists a constant C > 0, such that for h > 0 sufficiently small we
have:
for h ≤ h0 (h0 > 0 given). The error committed by replacing the derivative u′(x) by the
Proof. We use Taylor expansions up to the fourth order to achieve the result:
where ξ+ ∈]x, x + h[ and ξ− ∈]x − h, x[. Like previously, the intermediate value
theorem allows us to write:
where ξ ∈]x − h, x + h[. Hence, we deduce the relation (6.2) with the constant |
Remark 6.2 Likewise, the error estimate depends on the regularity of the function u. If
Since Chapter 4, we know that if c ∈ L∞(Ω) and f ∈ L2(Ω), then the solution u to this
problem exists. Furthermore, if c = 0, we have the explicit formulation of u as:
⬚
The first step in deriving a finite difference approximation of the equation (6.3) is to
partition the unit interval into a finite number of subintervals. Here, is a fundamental
concept of the finite difference approximations: the numerical solution is not defined
on the whole domain Ω but at a finite number of points in Ω only.
The unknowns of the discrete problem are all the values 𝑢(𝑥1), . . . , 𝑢(𝑥𝑁 ) and we
introduce the vector 𝑢ℎ ∈ 𝑅𝑁 of components uj, for 𝑗 ∈ {1, . . . , 𝑁}.
𝜕𝑢 𝜕2𝑢
(𝑡, 𝑥) − 𝑣 2 (𝑡, 𝑥) = 𝑓(𝑡, 𝑥), ∀𝑡𝜖 ]0, 𝑇[ , ∀𝑥𝜖 ]0, 1[
𝜕𝑥 𝜕𝑥
𝑢(0, 𝑥) = 𝑢0 (𝑥), ∀𝑋𝜖 ]0, 1[
{ 𝑢(𝑡, 0) = 𝑢(𝑡, 1) = 0 , ∀𝑡𝜖 ]0, 𝑇[
where 𝑓(𝑡, 𝑥) is a given source term and 𝜈 ≥ 0. This equation is the well-know heat
equation that describes the distribution of heat in a given domain over time. It is the
prototypical parabolic partial differential equation. The function 𝑢(·,·), solution to this
equation, describes the temperature at a given location x in time. The analysis of this
equation has been pioneered by the French physicist J. Fourier (1768-1830) who
invented influential methods for solving partial differential equations.
The finite difference method (FDM) is an approximate method for solving partial
differential equations. It has been used to solve a variety of problems. They include
linear and non-linear, independent and time-dependent problems. This method can be
applied to problems with different boundary shapes, different types of boundary
conditions, and to a region containing a number of different materials. Although this
method was known to researchers such as Gauss and Boltzmann, it was not widely
used to solve engineering problems until the 1940s. The mathematical basis of this
method was known to Richardson in 1910
and many mathematical works such as references
have been published related to the finite difference method. Specific references
related to the treatment of electric and magnetic field problems .Applying FDM is not
difficult because it only involves simple arithmetic operations in deriving
discretization equations and writing corresponding programs. Between the 1950s and
1970s, FDM was the most important numerical method used to solve practical
problems .With the development of high-speed computers with large-scale storage
capabilities, many numerical solution techniques have emerged to solve partial
differential equations. However, because of the ease of application of the finite
difference method
Similar to other methods In others, the purpose of the finite difference method is to
replace a continuous field. The problem has infinite degrees of freedom because of a
discrete field with finite regular nodes. The partial derivative of the unknown function
is approximated by the difference quotient in a finite set of discrete points. The
original partial differential equation is then transformed into a set of algebraic
equations. The solutions of these simultaneous equations are approximate solutions of
the original limit value problem. In this chapter, the equations that discretize the
Poisson problem into translationally symmetric coordinates and axisymmetric
coordinates will be discussed. Solving the diffusion equation with linear and nonlinear
parameters is presented. Several specific discretization formulas for different types of
boundary conditions and interface conditions are developed. Introducing iterative
methods to solve matrix equations derived from FDM. Examples are given for solving
electrostatics and diffusion problems. Finally, the relationship between finite
difference equations and the variational principle, as well as weighted residual
approaches, will be discussed in the final section.
Finite Difference Method in Electromagnetism
The use of numerical finite difference method in electromagnetism became
widespread with the advent of fast digital computers equipped with high memory
space and the This method is now widely used. The finite difference method in
electromagnetism is a numerical procedure based on approximations for solving
partial differential equations. This method can be applied when solving linear,
nonlinear, time-independent, and time-independent problems. One of the main
application areas is electromagnetism, where the method can be used to solve
problems involving different shapes, boundary conditions, initial conditions and
regions related to matter. Is it inconsistent?
1- Discrete solution area – This is the process of converting the solution area into a
mesh of nodes. The solution area is divided into meshes with mesh points or nodes.
The nodes in the boundary region are called fixed nodes and the nodes in the interior
region are called free points.