Finite volume refers to the small volume surrounding each node point on a mesh. The finite volume method (FVM) is a numerical method that converts partial differential equations into algebraic equations. FVM involves (1) grid generation by dividing the domain into control volumes, (2) discretizing the governing equations by integrating over each control volume, and (3) solving the algebraic equations. FVM follows the conservation law by ensuring flux entering and leaving each control volume is identical. The document provides an example of using FVM to solve the 1D steady state heat equation.
Numerical Methods in Mechanical Engineering - Final ProjectStasik Nemirovsky
Final Project for the class of "Numerical Methods in Mechanical Engineering" - MECH 309.
In this project, various engineering problems were analyzed and solved using advanced numerical approximation methods and MATLAB software.
FORTRAN is used as a numerical and scientific computing language. The main objective of the lab work is to understand FORTRAN language using which we solve simple numerical problems and compare different methodologies. Through this project we make use of various functions of FORTRAN and solve a FDM simple heat equation problem applying different conditions viz. Dirichlet and Von Neumann. The given problems are solved analytically then built and compiled using a free integrated development environment called CODE::BLOCKS [1] which is an open source platform for FORTRAN and C.
Numerical Methods in Mechanical Engineering - Final ProjectStasik Nemirovsky
Final Project for the class of "Numerical Methods in Mechanical Engineering" - MECH 309.
In this project, various engineering problems were analyzed and solved using advanced numerical approximation methods and MATLAB software.
FORTRAN is used as a numerical and scientific computing language. The main objective of the lab work is to understand FORTRAN language using which we solve simple numerical problems and compare different methodologies. Through this project we make use of various functions of FORTRAN and solve a FDM simple heat equation problem applying different conditions viz. Dirichlet and Von Neumann. The given problems are solved analytically then built and compiled using a free integrated development environment called CODE::BLOCKS [1] which is an open source platform for FORTRAN and C.
MA 243 Calculus III Fall 2015 Dr. E. JacobsAssignmentsTh.docxinfantsuk
MA 243 Calculus III Fall 2015 Dr. E. Jacobs
Assignments
These assignments are keyed to Edition 7E of James Stewart’s “Calculus” (Early Transcendentals)
Assignment 1. Spheres and Other Surfaces
Read 12.1 - 12.2 and 12.6
You should be able to do the following problems:
Section 12.1/Problems 11 - 18, 20 - 22 Section 12.6/Problems 1 - 48
Hand in the following problems:
1. The following equation describes a sphere. Find the radius and the coordinates of the center.
x2 + y2 + z2 = 2(x + y + z) + 1
2. A particular sphere with center (−3, 2, 2) is tangent to both the xy-plane and the xz-plane.
It intersects the xy-plane at the point (−3, 2, 0). Find the equation of this sphere.
3. Suppose (0, 0, 0) and (0, 0, −4) are the endpoints of the diameter of a sphere. Find the
equation of this sphere.
4. Find the equation of the sphere centered around (0, 0, 4) if the sphere passes through the
origin.
5. Describe the graph of the given equation in geometric terms, using plain, clear language:
z =
√
1 − x2 − y2
Sketch each of the following surfaces
6. z = 2 − 2
√
x2 + y2
7. z = 1 − y2
8. z = 4 − x − y
9. z = 4 − x2 − y2
10. x2 + z2 = 16
Assignment 2. Dot and Cross Products
Read 12.3 and 12.4
You should be able to do the following problems:
Section 12.3/Problems 1 - 28 Section 12.4/Problems 1 - 32
Hand in the following problems:
1. Let u⃗ =
⟨
0, 1
2
,
√
3
2
⟩
and v⃗ =
⟨√
2,
√
3
2
, 1
2
⟩
a) Find the dot product b) Find the cross product
2. Let u⃗ = j⃗ + k⃗ and v⃗ = i⃗ +
√
2 j⃗.
a) Calculate the length of the projection of v⃗ in the u⃗ direction.
b) Calculate the cosine of the angle between u⃗ and v⃗
3. Consider the parallelogram with the following vertices:
(0, 0, 0) (0, 1, 1) (1, 0, 2) (1, 1, 3)
a) Find a vector perpendicular to this parallelogram.
b) Use vector methods to find the area of this parallelogram.
4. Use the dot product to find the cosine of the angle between the diagonal of a cube and one of
its edges.
5. Let L be the line that passes through the points (0, −
√
3 , −1) and (0,
√
3 , 1). Let θ be the
angle between L and the vector u⃗ = 1√
2
⟨0, 1, 1⟩. Calculate θ (to the nearest degree).
Assignment 3. Lines and Planes
Read 12.5
You should be able to do the following problems:
Section 12.5/Problems 1 - 58
Hand in the following problems:
1a. Find the equation of the line that passes through (0, 0, 1) and (1, 0, 2).
b. Find the equation of the plane that passes through (1, 0, 0) and is perpendicular to the line in
part (a).
2. The following equation describes a straight line:
r⃗(t) = ⟨1, 1, 0⟩ + t⟨0, 2, 1⟩
a. Find the angle between the given line and the vector u⃗ = ⟨1, −1, 2⟩.
b. Find the equation of the plane that passes through the point (0, 0, 4) and is perpendicular to
the given line.
3. The following two lines intersect at the point (1, 4, 4)
r⃗ = ⟨1, 4, 4⟩ + t⟨0, 1, 0⟩ r⃗ = ⟨1, 4, 4⟩ + t⟨3, 5, 4⟩
a. Find the angle between the two lines.
b. Find the equation of the plane that contains every point o ...
I am Grey Nolan. Currently associated with matlabassignmentexperts.com as an assignment helper. After completing my master's from the University of British Columbia, I was in search for an opportunity that expands my area of knowledge hence I decided to help students with their Signals and Systems assignments. I have written several assignments till date to help students overcome numerous difficulties they face in Signals and Systems Assignments.
I am Andy K. I am a Calculus Homework Solver at mathhomeworksolver.com. I hold a Master's in Mathematics From Sydney, Australia. I have been helping students with their homework for the past 9 years. I solve homework related to Calculus.
Visit mathhomeworksolver.com or email support@mathhomeworksolver.com. You can also call on +1 678 648 4277 for any assistance with Calculus Homework.
APLICACIONES DE LA DERIVADA EN LA CARRERA DE (Mecánica, Electrónica, Telecomu...WILIAMMAURICIOCAHUAT1
El cálculo diferencial proporciona información sobre el comportamiento de las funciones
matemáticas. Todos estos problemas están incluidos en el alcance de la optimización de funciones y pueden resolverse aplicando cálculo
Q1Perform the two basic operations of multiplication and divisio.docxamrit47
Q1
Perform the two basic operations of multiplication and division to a complex number in both rectangular and polar form, to demonstrate the different techniques.
· Dividing complex numbers in rectangular and polar forms.
· Converting complex numbers between polar and rectangular forms and vice versa.
Q2
Calculate the mean, standard deviation and variance for a set of ungrouped data
· Completing a tabular approach to processing ungrouped data.
Q3
Calculate the mean, standard deviation and variance for a set of grouped data
· Completing a tabular approach to processing grouped data having selected an appropriate group size.
Q4
Sketch the graph of a sinusoidal trig function and use it to explain and describe amplitude, period and frequency.
· Calculate various features and coordinates of a waveform and sketch a plot accordingly.
· Explain basic elements of a waveform.
Q5
Use two of the compound angle formulae and verify their results.
· Simplify trigonometric terms and calculate complete values using compound formulae.
Q6
Find the differential coefficient for three different functions to demonstrate the use of function of a function and the product and quotient rules
· Use the chain, product and quotient rule to solve given differentiation tasks.
Q7
Use integral calculus to solve two simple engineering problems involving the definite and indefinite integral.
· Complete 3 tasks; one to practise integration with no definite integrals, the second to use definite integrals, the third to plot a graph and identify the area that relates to the definite integrals with a calculated answer for the area within such.
Q8
Use the laws of logarithms to reduce an engineering law of the type y = axn to a straight line form, then using logarithmic graph paper, plot the graph and obtain the values for the constants a and n.
· See Task.
Q9
Use complex numbers to solve a parallel arrangement of impedances giving the answer in both Cartesian and polar form
· See Task.
Q10
Use differential calculus to find the maximum/minimum for an engineering problem.
· See Task.
Q11
Using a graphical technique determine the single wave resulting from a combination of two waves of the same frequency and then verify the result using trig formulae.
· See Task.
Q12
Use numerical integration and integral calculus to analyse the results of a complex engineering problem
· See Task.
Level of Detail in
Solution
s: Need to show work leading to final answer
Need
Question 1
(a) Find:
(4 + i2)
(1 + i3)
Use the rules for multiplication and division of complex numbers in rectangular form.
(b) Convert the answer in rectangular form to polar form
(c) Repeat Q1a by first converting the complex numbers to polar form and then using the rules for multiplication and division of complex numbers in polar form.
(d) Convert the answer in polar form to rectangular form.
Question 2
The following data within the working area consists of measurements of resistor values from a producti ...
Numerical Solution of Diffusion Equation by Finite Difference Methodiosrjce
IOSR Journal of Mathematics(IOSR-JM) is a double blind peer reviewed International Journal that provides rapid publication (within a month) of articles in all areas of mathemetics and its applications. The journal welcomes publications of high quality papers on theoretical developments and practical applications in mathematics. Original research papers, state-of-the-art reviews, and high quality technical notes are invited for publications.
Published in association with the Utilitas Mathematica Academy. Offers selected original research in Pure and Applied Mathematics and Statistics. It enjoys a good reputation and popularity at the international level in terms of research papers and distribution worldwide.
https://utilitasmathematica.com/index.php/Index
Our Journal We believe that by embracing a wide range of backgrounds and viewpoints, we enrich the statistical discourse and enhance the quality and relevance of our research. Our commitment to inclusivity extends beyond the content of our publications.
https://utilitasmathematica.com/index.php/Index
Our Journal has a profession of statistics can only thrive when justice, equity, diversity, and inclusion are not just ideals but integral components of our ethos. We recognize that a diverse and inclusive community sparks creativity, innovation, and a richness of perspectives that is indispensable for advancing statistical knowledge.
This document presents the calculation of the electric field and electric potential in a coaxial cable using Maxwell's equations in the electrostatic case in an analytical and simulated manner using COMSOL Multiphysics.
MA 243 Calculus III Fall 2015 Dr. E. JacobsAssignmentsTh.docxinfantsuk
MA 243 Calculus III Fall 2015 Dr. E. Jacobs
Assignments
These assignments are keyed to Edition 7E of James Stewart’s “Calculus” (Early Transcendentals)
Assignment 1. Spheres and Other Surfaces
Read 12.1 - 12.2 and 12.6
You should be able to do the following problems:
Section 12.1/Problems 11 - 18, 20 - 22 Section 12.6/Problems 1 - 48
Hand in the following problems:
1. The following equation describes a sphere. Find the radius and the coordinates of the center.
x2 + y2 + z2 = 2(x + y + z) + 1
2. A particular sphere with center (−3, 2, 2) is tangent to both the xy-plane and the xz-plane.
It intersects the xy-plane at the point (−3, 2, 0). Find the equation of this sphere.
3. Suppose (0, 0, 0) and (0, 0, −4) are the endpoints of the diameter of a sphere. Find the
equation of this sphere.
4. Find the equation of the sphere centered around (0, 0, 4) if the sphere passes through the
origin.
5. Describe the graph of the given equation in geometric terms, using plain, clear language:
z =
√
1 − x2 − y2
Sketch each of the following surfaces
6. z = 2 − 2
√
x2 + y2
7. z = 1 − y2
8. z = 4 − x − y
9. z = 4 − x2 − y2
10. x2 + z2 = 16
Assignment 2. Dot and Cross Products
Read 12.3 and 12.4
You should be able to do the following problems:
Section 12.3/Problems 1 - 28 Section 12.4/Problems 1 - 32
Hand in the following problems:
1. Let u⃗ =
⟨
0, 1
2
,
√
3
2
⟩
and v⃗ =
⟨√
2,
√
3
2
, 1
2
⟩
a) Find the dot product b) Find the cross product
2. Let u⃗ = j⃗ + k⃗ and v⃗ = i⃗ +
√
2 j⃗.
a) Calculate the length of the projection of v⃗ in the u⃗ direction.
b) Calculate the cosine of the angle between u⃗ and v⃗
3. Consider the parallelogram with the following vertices:
(0, 0, 0) (0, 1, 1) (1, 0, 2) (1, 1, 3)
a) Find a vector perpendicular to this parallelogram.
b) Use vector methods to find the area of this parallelogram.
4. Use the dot product to find the cosine of the angle between the diagonal of a cube and one of
its edges.
5. Let L be the line that passes through the points (0, −
√
3 , −1) and (0,
√
3 , 1). Let θ be the
angle between L and the vector u⃗ = 1√
2
⟨0, 1, 1⟩. Calculate θ (to the nearest degree).
Assignment 3. Lines and Planes
Read 12.5
You should be able to do the following problems:
Section 12.5/Problems 1 - 58
Hand in the following problems:
1a. Find the equation of the line that passes through (0, 0, 1) and (1, 0, 2).
b. Find the equation of the plane that passes through (1, 0, 0) and is perpendicular to the line in
part (a).
2. The following equation describes a straight line:
r⃗(t) = ⟨1, 1, 0⟩ + t⟨0, 2, 1⟩
a. Find the angle between the given line and the vector u⃗ = ⟨1, −1, 2⟩.
b. Find the equation of the plane that passes through the point (0, 0, 4) and is perpendicular to
the given line.
3. The following two lines intersect at the point (1, 4, 4)
r⃗ = ⟨1, 4, 4⟩ + t⟨0, 1, 0⟩ r⃗ = ⟨1, 4, 4⟩ + t⟨3, 5, 4⟩
a. Find the angle between the two lines.
b. Find the equation of the plane that contains every point o ...
I am Grey Nolan. Currently associated with matlabassignmentexperts.com as an assignment helper. After completing my master's from the University of British Columbia, I was in search for an opportunity that expands my area of knowledge hence I decided to help students with their Signals and Systems assignments. I have written several assignments till date to help students overcome numerous difficulties they face in Signals and Systems Assignments.
I am Andy K. I am a Calculus Homework Solver at mathhomeworksolver.com. I hold a Master's in Mathematics From Sydney, Australia. I have been helping students with their homework for the past 9 years. I solve homework related to Calculus.
Visit mathhomeworksolver.com or email support@mathhomeworksolver.com. You can also call on +1 678 648 4277 for any assistance with Calculus Homework.
APLICACIONES DE LA DERIVADA EN LA CARRERA DE (Mecánica, Electrónica, Telecomu...WILIAMMAURICIOCAHUAT1
El cálculo diferencial proporciona información sobre el comportamiento de las funciones
matemáticas. Todos estos problemas están incluidos en el alcance de la optimización de funciones y pueden resolverse aplicando cálculo
Q1Perform the two basic operations of multiplication and divisio.docxamrit47
Q1
Perform the two basic operations of multiplication and division to a complex number in both rectangular and polar form, to demonstrate the different techniques.
· Dividing complex numbers in rectangular and polar forms.
· Converting complex numbers between polar and rectangular forms and vice versa.
Q2
Calculate the mean, standard deviation and variance for a set of ungrouped data
· Completing a tabular approach to processing ungrouped data.
Q3
Calculate the mean, standard deviation and variance for a set of grouped data
· Completing a tabular approach to processing grouped data having selected an appropriate group size.
Q4
Sketch the graph of a sinusoidal trig function and use it to explain and describe amplitude, period and frequency.
· Calculate various features and coordinates of a waveform and sketch a plot accordingly.
· Explain basic elements of a waveform.
Q5
Use two of the compound angle formulae and verify their results.
· Simplify trigonometric terms and calculate complete values using compound formulae.
Q6
Find the differential coefficient for three different functions to demonstrate the use of function of a function and the product and quotient rules
· Use the chain, product and quotient rule to solve given differentiation tasks.
Q7
Use integral calculus to solve two simple engineering problems involving the definite and indefinite integral.
· Complete 3 tasks; one to practise integration with no definite integrals, the second to use definite integrals, the third to plot a graph and identify the area that relates to the definite integrals with a calculated answer for the area within such.
Q8
Use the laws of logarithms to reduce an engineering law of the type y = axn to a straight line form, then using logarithmic graph paper, plot the graph and obtain the values for the constants a and n.
· See Task.
Q9
Use complex numbers to solve a parallel arrangement of impedances giving the answer in both Cartesian and polar form
· See Task.
Q10
Use differential calculus to find the maximum/minimum for an engineering problem.
· See Task.
Q11
Using a graphical technique determine the single wave resulting from a combination of two waves of the same frequency and then verify the result using trig formulae.
· See Task.
Q12
Use numerical integration and integral calculus to analyse the results of a complex engineering problem
· See Task.
Level of Detail in
Solution
s: Need to show work leading to final answer
Need
Question 1
(a) Find:
(4 + i2)
(1 + i3)
Use the rules for multiplication and division of complex numbers in rectangular form.
(b) Convert the answer in rectangular form to polar form
(c) Repeat Q1a by first converting the complex numbers to polar form and then using the rules for multiplication and division of complex numbers in polar form.
(d) Convert the answer in polar form to rectangular form.
Question 2
The following data within the working area consists of measurements of resistor values from a producti ...
Numerical Solution of Diffusion Equation by Finite Difference Methodiosrjce
IOSR Journal of Mathematics(IOSR-JM) is a double blind peer reviewed International Journal that provides rapid publication (within a month) of articles in all areas of mathemetics and its applications. The journal welcomes publications of high quality papers on theoretical developments and practical applications in mathematics. Original research papers, state-of-the-art reviews, and high quality technical notes are invited for publications.
Published in association with the Utilitas Mathematica Academy. Offers selected original research in Pure and Applied Mathematics and Statistics. It enjoys a good reputation and popularity at the international level in terms of research papers and distribution worldwide.
https://utilitasmathematica.com/index.php/Index
Our Journal We believe that by embracing a wide range of backgrounds and viewpoints, we enrich the statistical discourse and enhance the quality and relevance of our research. Our commitment to inclusivity extends beyond the content of our publications.
https://utilitasmathematica.com/index.php/Index
Our Journal has a profession of statistics can only thrive when justice, equity, diversity, and inclusion are not just ideals but integral components of our ethos. We recognize that a diverse and inclusive community sparks creativity, innovation, and a richness of perspectives that is indispensable for advancing statistical knowledge.
This document presents the calculation of the electric field and electric potential in a coaxial cable using Maxwell's equations in the electrostatic case in an analytical and simulated manner using COMSOL Multiphysics.
This presentation, created by Syed Faiz ul Hassan, explores the profound influence of media on public perception and behavior. It delves into the evolution of media from oral traditions to modern digital and social media platforms. Key topics include the role of media in information propagation, socialization, crisis awareness, globalization, and education. The presentation also examines media influence through agenda setting, propaganda, and manipulative techniques used by advertisers and marketers. Furthermore, it highlights the impact of surveillance enabled by media technologies on personal behavior and preferences. Through this comprehensive overview, the presentation aims to shed light on how media shapes collective consciousness and public opinion.
Mastering the Concepts Tested in the Databricks Certified Data Engineer Assoc...SkillCertProExams
• For a full set of 760+ questions. Go to
https://skillcertpro.com/product/databricks-certified-data-engineer-associate-exam-questions/
• SkillCertPro offers detailed explanations to each question which helps to understand the concepts better.
• It is recommended to score above 85% in SkillCertPro exams before attempting a real exam.
• SkillCertPro updates exam questions every 2 weeks.
• You will get life time access and life time free updates
• SkillCertPro assures 100% pass guarantee in first attempt.
Collapsing Narratives: Exploring Non-Linearity • a micro report by Rosie WellsRosie Wells
Insight: In a landscape where traditional narrative structures are giving way to fragmented and non-linear forms of storytelling, there lies immense potential for creativity and exploration.
'Collapsing Narratives: Exploring Non-Linearity' is a micro report from Rosie Wells.
Rosie Wells is an Arts & Cultural Strategist uniquely positioned at the intersection of grassroots and mainstream storytelling.
Their work is focused on developing meaningful and lasting connections that can drive social change.
Please download this presentation to enjoy the hyperlinks!
4. We get solution
for specific grid
points
Basic concept
Finite difference
method
Finite Element
method
Finite Volume
method
We get solution for any
points in the interval. Profile
assumptions needed to
complete analysis
Profile assumptions
just need to evaluate
the integrals. It follows
conservation law.
4
8/31/2023 Mathematics Discipline
5. 5
.
❖ Discretization
The process of converting a continuous problem or equation into a discrete one that can be solved
using numerical methods. The process of discretization involves dividing the domain of the continuous
function into a set of smaller regions or intervals, called discretization cells or element.
▪ Discretization of the domain: Dividing the slab into ‘n’ number of domain
▪ Element: Each domain is called as element
▪ Finite Element Mesh: The collection of element
▪ Nodes: The elements are connected at points called as nodes
▪ Uniform mesh: When elements are of same dimension
8/31/2023 Mathematics Discipline
6. Finite volume refers to the small
volume surrounding each node point on
a mesh. FVM is a numerical method
or an approximate method for
representing and evaluating ordinary or
partial differential equations in the form
of algebraic equations.
.
Similar to FDM or FEM values are
calculated at discrete places on a
meshed geometry.
In FVM volume integrals in a
partial differential equation that
contains a divergence term
converted to surface integral
using the Gauss’s divergence
theorem.
FVM follows conservation law:
The flux entering and leaving is
identical.
FINITE VOLUME METHOD (FVM)
7. STEP 01
Grid generation: Divide the domain
into a number of finite sized sub
domain (control volumes)
represented by finite number of grid
points.
STEP 02
Discretization: Integrating the
governing equation over control
volume to yield a discretized
equation at its nodal point.
STEP 03
Solution of equations: consider
profile assumptions for the
dependent variable to express the
result in terms of algebraic
equations which are now easier
to solve.
Important steps involving FVM for solving a differential equation are as follows:
8. 8
.
Problem 01: Explain finite volume method to solve the one dimensional steady state diffusion equation for the
property T:
8/31/2023 Mathematics Discipline
𝑑
𝑑𝑥
(𝐾
𝑑𝑇
𝑑𝑥
)+S=0, where K is the diffusion coefficient and S is the source term.
Boundary value of T at points A and B are prescribed.
For one-dimensional heat conduction in a rod, K is the thermal conductivity of the material, T is temperature and S is
the heat generation due to an electrical current passing through the rod.
Solution:
Given the governing differential equation
𝑑
𝑑𝑥
(𝐾
𝑑𝑇
𝑑𝑥
)+S=0
STEP 01
Grid generation: Divide the domain into a number of finite sized sub domain (control volumes) represented by
finite number of grid points.
9. 9
.
8/31/2023 Mathematics Discipline
Step 1: Grid generation:
Using the universal nomenclature procedure:
Divide the domain into 5 co domain(control volume) using nodal points
Center of control volume for the respective grid points
Boundary of the control volume because we have to implement the boundary conditions
Isolated part of any control volume from the domain and try to describe its features
10. 10
8/31/2023 Mathematics Discipline
Disappearing isolated part’s indication
P
Central nodal point is denoted as P
E
Immediate next east neighbor denoted as E
W
Immediate next west neighbor denoted as W
𝑑
𝑑𝑥
(𝐾
𝑑𝑇
𝑑𝑥
)+S=0 1 Dimensional Diffusion equation
so we just need W and E
𝜕
𝜕𝑥
𝐾
𝜕𝑇
𝜕𝑥
+
𝜕
𝜕𝑦
𝐾
𝜕𝑇
𝜕𝑦
+ S = 0 2 Dimensional Diffusion equation
so we need W, E, N and S
Δ𝑥 = 𝛿𝑥𝑤𝑒
West face is w and east face is e
𝛿𝑥𝑃𝑒
𝛿𝑥𝑃𝐸
𝛿𝑥𝑊𝑃
𝛿𝑥𝑤𝑃
w e
Particular length of control volume
So, here phases of the control volume are
denoted as lower case alphabets and
grid points are denoted by upper case
alphabets.
Here, our 1st step to generate grid is
completed.
11. 11
8/31/2023 Mathematics Discipline
Given the governing differential equation 𝑑
𝑑𝑥
(𝐾
𝑑𝑇
𝑑𝑥
)+S=0
Step 2: Discretization:
STEP 02
Discretization: Integrating the
governing equation over control
volume to yield a discretized
equation at its nodal point.
So, we have,
𝑤
𝑒 𝑑
𝑑𝑥
(𝐾
𝑑𝑇
𝑑𝑥
)dV+ 𝑤
𝑒
𝑆 𝑑𝑉 = 0
or, 𝐴𝐾
𝑑𝑇
𝑑𝑥 𝑒
− 𝐴𝐾
𝑑𝑇
𝑑𝑥 𝑤
+𝑆∆𝑉 = 0
Here we have got a corresponding equation but this is still differential equation. To get corresponding
algebraic expression we must have a profile variation for T as a function of x. So that we can
calculate dT/dx.
So, the problem arising to some assumptions on how T varies with x.
12. 12
8/31/2023 Mathematics Discipline
P E
W w e
So, we have to make a choice
I. So, we have no other constraints; it could have been piece wise constant profiles of T
P E
W w e
For, constant profiles of T. The result of dT/dx =0
So, this is not a valid choice.
So, what could be the next possible choice?
II. Piece wise linear non constant profile between control volume phases.
Constant is linear but here consider non constant.
This is just a sketch to understand the concept don’t bother with the arbitrary value.
We need to calculate dT/dx at e and w. At e and w dT/dx is
discontinuous.
We will get left hand derivative for deep blue line and right
hand derivative for blue line. These two derivatives are
different as these are different lines. This implies, K dT/dx is
discontinuous. Physically means heat flux is not continuous.
But at a phase heat flux must be continuous. So, this is
also not a acceptable profile assumption.
13. 13
8/31/2023 Mathematics Discipline
P E
W w e
III. Piece wise linear constant profile between the grid points.
We need to calculate dT/dx at e and w. At e and w dT/dx is
continuous. So, this is the valid profile assumption.
Will it work?
So, as T is a linear function of x
𝐴𝐾
𝑑𝑇
𝑑𝑥 𝑒
− 𝐴𝐾
𝑑𝑇
𝑑𝑥 𝑤
+𝑆∆𝑉 = 0
or, 𝐴𝑒𝐾𝑒
𝑇𝐸−𝑇𝑃
𝛿𝑥𝑃𝐸
− 𝐴𝑤𝐾𝑤
𝑇𝑃−𝑇𝑊
𝛿𝑥𝑊𝑃
+𝑆∆𝑉 = 0
The source term S maybe a function of the
dependent variable. In such case the FVM
approximates the source term by means of
a linear form: 𝑆∆𝑉 = 𝑆𝑢 + 𝑆𝑝𝑇𝑝
or, 𝐴𝑒𝐾𝑒
𝑇𝐸−𝑇𝑃
𝛿𝑥𝑃𝐸
− 𝐴𝑤𝐾𝑤
𝑇𝑃−𝑇𝑊
𝛿𝑥𝑊𝑃
𝐴𝑒𝐾𝑒
𝛿𝑥𝑃𝐸
+ 𝑆𝑢 + 𝑆𝑝𝑇𝑝 =0
𝑜𝑟,
𝐴𝑒𝐾𝑒
𝛿𝑥𝑃𝐸
+
𝐴𝑤𝐾𝑤
𝛿𝑥𝑊𝑃
− 𝑆𝑝 𝑇𝑃 =
𝐾𝑒𝐴𝑒
𝛿𝑥𝑃𝐸
𝑇𝐸 +
𝐾𝑤𝐴𝑤
𝛿𝑥𝑊𝑃
𝑇𝑊 + 𝑆𝑢
Now, we can symbolically write this as
𝑜𝑟, 𝑎𝑃𝑇𝑃 = 𝑎𝐸𝑇𝐸 + 𝑎𝑊𝑇𝑊 + 𝑆𝑢
Step 3: Solution of the equation:
Now the discretized equations of the above form will
modified to incorporate boundary conditions. The
resulting system of algebraic equations are now easier
to solve.
14. 14
.
Problem 02:
8/31/2023 Mathematics Discipline
Solution:
Consider the problem of source-free heat conduction in an insulated rod of length 𝑳 = 𝟎. 𝟓 𝒎 and
whose ends are maintained at constant temperatures of 1000C and 5000C respectively. Then using
the finite volume method to find the steady state temperature distribution in the rod. Given that the
thermal conductivity 𝒌 = 𝟏𝟎𝟎𝟎
𝑾
𝒎.𝑲
and the cross-sectional area 𝑨 = 𝟏𝟎 × 𝟏𝟎−𝟑
𝒎𝟐
. Also
compare your numerical results with the analytical solution.
The steady state heat conduction equation with no heat source is given by
𝑑
𝑑𝑥
𝑘
𝑑𝑇
𝑑𝑥
= 0 ………………………………………… (1)
Also given one dimensional problem is sketched in the following figure (1)
.
A B
TA=1000C TB=5000C
𝑳 = 𝟎. 𝟓 𝒎
Fig. 1: Given rod with boundary condition
15. 15
.
8/31/2023 Mathematics Discipline
.
𝑳 = 𝟎. 𝟓 𝒎
Fig. 2: Grid generation
Let us divide the length of the rod into five equal control volumes as shown in figure (2)
.
TA=1000C TB=5000C
P E
W
Δ𝑥 = 𝛿𝑥𝑤𝑒
𝛿𝑥𝑃𝑒
𝛿𝑥𝑤𝑃
w e
Since the length of the rod 𝑳 = 𝟎. 𝟓 𝒎 , so the node spacing 𝛿𝑥 =
0.5
5
= 0.1𝑚
The grid consists of five nodes. For each one of the nodes 2, 3 and 4 temperature values to the east and west are
available as nodal values. Consequently, discretized equation (1) can be readily written for the control volumes
surrounding these nodes:
𝐾𝑒
𝛿𝑥𝑃𝐸
𝐴𝑒 +
𝐾𝑤
𝛿𝑥𝑊𝑃
𝐴𝑤 𝑇𝑝 = (
𝐾𝑤
𝛿𝑥𝑊𝑃
𝐴𝑤 +
𝐾𝑒
𝛿𝑥𝑃𝐸
𝐴𝑒)𝑇𝑒 ……………………………… (2)
16. 16
8/31/2023 Mathematics Discipline
.
Here the thermal conductivity (𝑲𝒆 = 𝑲𝒘 = 𝑲 = 𝟏𝟎𝟎𝟎), node spacing (𝛿𝑥 = 𝛿𝑥𝑊𝑝 = 𝛿𝑥𝑃𝑒 = 0.1 𝑚) and
cross-sectional area (𝑨𝒆 = 𝑨𝒘 = 𝑨 = 𝟏𝟎 × 𝟏𝟎−𝟑) are constants.
Therefore the discretized equation for nodal points 2, 3 and 4 is
𝑎𝑤𝑇𝑝 = 𝑎𝑤𝑇𝑤 + 𝑎𝑒𝑇𝑒 …………………………. (3)
Where 𝑎𝑊 =
𝐾𝑤
𝛿𝑥𝑊𝑃
𝐴𝑤 =
1000
0.1
× 10 × 10−3= 100
𝑎𝐸 =
𝐾𝑒
𝛿𝑥𝑃𝐸
𝐴𝑒 =
1000
0.1
× 10 × 10−3
= 100
And 𝑎𝑃 = 𝑎𝑊 + 𝑎𝐸 = 100 + 100 = 200
Here 𝑆𝑢 and 𝑆𝑝 are zero in this case
since there is no sourse term in the
governing equation (1)
Nodes 1 and 5 are boundary nodes, and therefore requires special attention. Then for node 1, we have the
discretized equation as
𝑎𝑃𝑇𝑃 = 𝑎𝐴𝑇𝐴 + 𝑎𝐸𝑇𝐸 …………………………. (4)
Where 𝑎𝐴 =
𝐾𝐴
𝛿𝑥/2
=
1000×10×10−3
0.1/2
= 200
And 𝑎𝐸 = 100 so that 𝑎𝑃 = 𝑎𝐴 + 𝑎𝐸 = 200 + 100 = 300
17. 17
8/31/2023 Mathematics Discipline
.
Similarly for node 5, the discretized equation is
𝑎𝑃𝑇𝑝 = 𝑎𝑊𝑇𝑊 + 𝑎𝐵𝑇𝐵 ………………………….. (5)
Where 𝑎𝑊 = 100 as before
𝑎𝐵 =
𝐾𝐴
𝛿𝑥/2
=
1000×10×10−3
0.1/2
= 200
So that 𝑎𝑃 = 𝑎𝐵 + 𝑎𝑊 = 200 + 100 = 300
Using (3), (4), and (5), the system can be written as follows
From equation (1)
For node 1:
300𝑇𝑃 = 200𝑇𝐴 + 100𝑇𝐸 Here 𝑇𝑝 = 𝑇1
Or, 300𝑇1 = 200 × 100 + 100 × 𝑇2
Or 300𝑇1 − 100𝑇2 = 20000 …………………. (6)
From equation (3)
For node 2:
200𝑇𝑃 = 100𝑇𝑊 + 100𝑇𝐸
Or, 200𝑇2 = 100𝑇1 + 100𝑇3
Or, −100𝑇1 + 200𝑇2 − 100𝑇3 = 0 …………….…. (7)
Similarly for nodes 3 and 4, we can write
−100𝑇2 + 200𝑇3 − 100𝑇4 = 0 …………...………. (8)
−100𝑇3 + 200𝑇4 − 100𝑇5 = 0 ……………………. (9)
And finally for node 5:
300𝑇𝑃 = 100𝑇𝑊 + 200𝑇𝐵
Or, 300𝑇5 = 200𝑇4 + 100 × 500
Or, −100𝑇4 + 300𝑇5 = 1000 … … … .……………… (10)
18. 18
8/31/2023 Mathematics Discipline
Then the system using equation (6) to (10) can be written
as
3𝑇1 − 𝑇2 = 200 ……………..……………… (11)
−𝑇1 + 2𝑇2 = 𝑇3 = 0 …………..…………… (12)
−𝑇2 + 2𝑇3 − 𝑇4 = 0 .…………………….. (13)
−𝑇3 + 2𝑇4 − 𝑇5 = 0 …………………….. (14)
−𝑇4 + 3𝑇5 = 1000 ………………………. (15)
Now (11) + (12)*3 ⟹ 5𝑇1 − 3𝑇3 = 200 ….. (16)
(13)*5 + (16) ⟹ 7𝑇3 − 5𝑇4 = 20.…….. (17)
(14)*7 + (17) ⟹ 7𝑇4 − 7𝑇5 = 200 … (18)
(15)*9 + (18) ⟹ 20𝑇5 = 9200
⟹ 𝑇5 = 460
∴ 18 ⟹ 𝑇4 = 380
17 ⟹ 𝑇3 = 300
16 ⟹ 𝑇2 = 220
Finally , 11 ⟹ 𝑇1 = 140
Then the steady state temperature at the nodal points are
𝑇1 = 140, 𝑇2 = 220, 𝑇3 = 300, 𝑇4 = 380,
𝑇5 = 460
19. 19
8/31/2023 Mathematics Discipline
Analytical Solution:
Since 𝑘 = 1000, the given equation becomes
𝑑
𝑑𝑥
𝑘
𝑑𝑇
𝑑𝑥
= 0
⟹ 1000
𝑑2
𝑇
𝑑𝑥2 = 0
⟹
𝑑2𝑇
𝑑𝑥2 = 0
Which gives after twice time integration as
𝑇 𝑥 = 𝐶1𝑥 + 𝐶2 …………………… (19)
Where 𝐶1 and 𝐶2 are arbitrary constants
Applying the boundary condition 𝑇 0 =100
And 𝑇 0.5 = 500 in (19), we set
𝑇 0 = 100 = 𝐶1 ∗ 0 + 𝐶2 ⟹ 𝐶1 = 800
i.e. 𝑇 𝑥 = 800𝑥 + 100 ……………………. (20)
which is the exact solution
The comparison between the finite volume solution and the exact
solution is given below:
Table-1
The above table shows that the exact solution and numerical results
coincides.
Node no. Distance,
x(m)
FVS ES Percentage of
error
1 0.05 140 140 0
2 0.15 220 220 0
3 0.25 300 300 0
4 0.35 380 380 0
5 0.45 460 460 0
20. 20
.
Problem 03:
8/31/2023 Mathematics Discipline
Solution:
Fig. 1: Given plate with boundary condition
Consider a large plate of thickness L=2 cm=0.02m with constant thermal conductivity k=0.5 w/m.k and uniform
heat generative q = 1000 kw/m3. The faces A and B of the plate are kept at temperature 1000C and 2000C
respectively. Assume that the dimensions in the y-axis z-direction are so large that temperature gradients are
significant in the x-direction on y. Then using the finite volume method to calculate the steady state temperature
distribution. Also compare the numerical results with the analytical solution.
For the present problem the heat conduction equation (with heat source) is
𝑑
𝑑𝑢
𝑘
𝑑𝑇
𝑑𝑢
+ 𝑞 = 0 … … … … … … … … … … (1)
All the given problem is sketched in the figure(1):
L
A B
TA
TB
Here,
𝑻𝑨 = 𝟏𝟎𝟎°𝑪
𝑻𝑩 = 𝟐𝟎𝟎°𝑪
L = 0.02 m
The domain is divided into 5 control volume giving 𝛿𝑥 =
.02
5
= 0.004𝑚
21. 21
8/31/2023 Mathematics Discipline
Fig. 2: Grid generation
.
𝑳 = 𝟎. 𝟎𝟐 𝒎
.
TA=1000C TB=2000C
P E
W
Δ𝑥 = 𝛿𝑥𝑤𝑒
𝛿𝑥𝑃𝑒
𝛿𝑥𝑤𝑃
w e
𝐶𝑜𝑛𝑠𝑖𝑑𝑒𝑟, 𝐴𝑤 = 𝐴𝑒 = 𝐴 = 1
𝐻𝑒𝑟𝑒, 𝐾𝑒 = 𝐾𝑤 = 𝐾 = .5 Τ
𝑤 𝑚. 𝑘
𝑎𝑛𝑑, 𝑞 = 1000 Τ
𝑘𝑤 𝑚3
Now using finite volume method, the discretized equation which is valid for
nodes 2, 3, and 4. is
𝑎𝑝𝑇𝑝 = 𝑎𝑤𝑇𝑤 + 𝑎𝐸𝑇𝐸 + 𝑆𝑈……………………………..(2)
Where,
𝑎𝑤 =
𝐾𝐴
𝛿𝑥
=
0.5 × 1
.004
= 125
𝑎𝐸 =
𝐾𝐴
𝛿𝑥
=
0.5 × 1
.004
= 125
𝑆𝑢 = 𝑞𝐴𝛿𝑥 = 1000 × 103
× .004 × 1 = 4000
And 𝑎𝑃 = 𝑎𝑊 + 𝑎𝐸 = 125 + 125 = 250
23. 23
8/31/2023 Mathematics Discipline
Now using these equation as
375 𝑇1 − 125 𝑇2 = 25000 + 4000 = 29,000
−125 𝑇1 + 250 𝑇2 − 125 𝑇3 = 4,000
−125 𝑇2 + 250𝑇3 − 125𝑇4 = 4,000
−125𝑇3 + 250𝑇4 − 125𝑇5 = 4,000
−125𝑇4 + 375𝑇5 = 50000 + 4000 = 54,000
⇒ 3𝑇1 − 𝑇2 = 232
−𝑇1 + 2𝑇2 − 𝑇3 = 32
−𝑇2 + 2𝑇3 − 𝑇4 = 32
−𝑇3 + 2𝑇4 − 𝑇5 = 32
−𝑇4 + 3𝑇5 = 432
Applying the Gaussian elimination method,
We get
3𝑇1 − 𝑇2 = 232
5𝑇2 − 3𝑇3 = 32
7𝑇3 − 5𝑇4 = 32
9𝑇4 − 7𝑇5 = 32
20𝑇5 = 432
Then using backward substitution, we get
𝑇5 = 230, 𝑇4 = 258, 𝑇3 = 254, 𝑇2 = 218, 𝑇1 = 150
Which are required steady state temperature
distribution at noded point.
24. 24
8/31/2023 Mathematics Discipline
Analytical solution:
The analytical solution to this problem ray be obtained by integrating
equation twice with repeat to x and by subsequent application of the
boundary conditions given
𝑇 𝑥 =
𝑇𝐵 − 𝑇𝐴
𝐿
+
𝑞
2𝑘
𝐿 − 𝑥 𝑥 + 𝑇𝐴 … … … … … … … … … … 5
The comparison between the finite volume solution and the exact
solution is shown in table given below
Node
No.
Distance, x(m) FVS ES Percentage
error
1 0.02 150 146 2.73
2 0.006 218 214 1.86
3 0.01 254 250 1.60
4 0.014 258 254 1.57
5 0.018 230 226 1.76
0.0 0.4 0.8 1.2 1.6 2.0
50
100
150
200
250
300
exact
Numerical
Distance(cm)
Temperature(℃)
Fig 3: comparison of the numerical result with the analytical solution
From table and fig it can be seen that the agreement is very
good.
Here,𝑻𝑨 = 𝟏𝟎𝟎°𝑪, 𝑻𝑩 = 𝟐𝟎𝟎°𝑪, L = 0.02 m, k=0.5 w/m, q = 1000 kw/m3 = 1000 *1000 w/m3
25. 25
.
Problem on one dimensional convection-diffusion equation :
8/31/2023 Mathematics Discipline
Solution:
Finite Volume Method for
Convection-Diffusion Problem
In problems, where fluid flow plays a significant role. We must account for the effects of Convection. Diffusion
always occurs alongside convection in nature. So here we explain the finite volume method to predict combined
convection and diffusion.
Describe the finite volume method to solve the steady convection-diffusion equation
𝑑
𝑑𝑥
𝑃 𝑢 𝑄 =
𝑑
𝑑𝑥
(⎾
𝑑𝑄
𝑑𝑥
) for a property 𝑄,
Where the one-dimensional flow field 𝑢 satisfy the continuity equation
𝑑(𝑃𝑢)
𝑑𝑥
= 0
Given that,
𝑑
𝑑𝑥
𝑃 𝑢 𝑄 =
𝑑
𝑑𝑥
(⎾
𝑑𝑄
𝑑𝑥
) … … … 1
and
𝑑(𝑃𝑢)
𝑑𝑥
= 0 … … … (2)
We consider the one-dimensional control volume as shown in fig-1. A general nodal point is identified by 𝑷 and its
west and east node are identified by 𝑾 and E. The west side and east side is referred to by 𝒘 and 𝒆 respectively. The
control volume width is ∆𝒙 = 𝜹𝒙𝒘𝒆. Also the distance between 𝑤 and 𝑃, 𝑃 and 𝑒 are shown in fig-1.
26. 26
.
8/31/2023 Mathematics Discipline
.
.
P E
W
Δ𝑥 = 𝛿𝑥𝑤𝑒
𝛿𝑥𝑃𝑒
𝛿𝑥𝑤𝑃
w e
Fig 1: A control volume around node 𝑃
Now integration over the control volume of the equation (1) gives
𝑐𝑣
𝑑
𝑑𝑥
𝑃 𝑢 𝑄 𝑑𝑣 =
𝑑
𝑑𝑥
𝑐𝑣
𝑑
𝑑𝑥
(⎾
𝑑𝑄
𝑑𝑥
)𝑑𝑣 … … … (3)
For a vector Ԧ
𝑎 the Gauss’s divergence theorem states that 𝑐𝑣
𝑑𝑖𝑣 Ԧ
𝑎 𝑑𝑣 = 𝐴
ෝ
𝑛. Ԧ
𝑎 𝑑𝐴 … … … (4)
Where ො
𝑛 is the unit outward normal vector to the surface element 𝑑𝐴.
Thus, applying the Gauss’s divergence theorem (4), the equation (3) can be written as follows:
න
𝐴
ො
𝑛. 𝑃 𝑢 𝑄 𝑑𝐴 = න
𝐴
ො
𝑛. (⎾
𝑑𝑄
𝑑𝑥
)𝑑𝐴
or, (𝑃 𝑢 𝐴𝑄)𝑒− 𝑃 𝑢 𝐴𝑄 𝑤 = ⎾𝐴
𝑑𝑄
𝑑𝑥 𝑒
− ⎾𝐴
𝑑𝑄
𝑑𝑥 𝑤
… … … 5
27. 8/31/2023 Mathematics Discipline
27
And integration of continuity equation (2) yields
න
𝑐𝑣
𝑑(𝑝𝑢)
𝑑𝑥
dv = 0
or, 𝐴
ො
𝑛. 𝑃 𝑢 𝑑𝐴 = 0
or, (𝑃 𝑢 𝐴)𝑒−(𝑃 𝑢 𝐴)𝑤= 0 … … … (6)
or, 𝐹𝑒𝐴𝑒 − 𝐹𝑤𝐴𝑤 = 0
or, 𝐹𝑒𝐴 − 𝐹𝑤𝐴 = 0
or, 𝐹𝑒 − 𝐹𝑤 = 0
To obtain discretized equation for convection-diffusion problem we must approximate terms in equation (5). It
is convenient to define two variables F and D to represent the convective mass flux per unit area and diffusion-
conductance at cell faces:
𝐹 = 𝑃𝑢 and 𝐷 =
⎾𝑒
𝛿𝑥
… … … (7)
The cell face values of the variables F and D can be written as
𝐹𝑤 = (𝑃𝑢)𝑤 , 𝐹𝑒 = (𝑃𝑢)𝑒 … … … 8𝑎
and 𝐷𝑤=
⎾𝑤
𝛿𝑥𝑊𝑃
, 𝐷𝑒 =
⎾𝑒
𝛿𝑥𝐸𝑃
… … … (8b)
Now assume that 𝐴𝑤 = 𝐴𝑒 = A,
28. 8/31/2023 Mathematics Discipline
28
so, we can divide the left and right sides of equation (5) by area A. Also the diffusive flux terms are evaluated as
(⎾𝐴
𝑑𝑄
𝑑𝑥
) 𝑒= 𝐹𝑒𝐴𝑒
𝑄𝐸 − 𝑄𝑃
𝛿𝑥𝑃𝐸
… … … 9𝑎
And (⎾𝐴
𝑑𝑄
𝑑𝑥
) 𝑒= 𝐹𝑤𝐴𝑤
𝑄𝑃−𝑄𝑊
𝛿𝑥𝑊𝑃
… … … 9𝑏
Using (8) and (9), the integral convection-diffusion equation (5) can now be written as
𝐹𝑒𝑄𝑒 − 𝐹𝑤𝑄𝑤 = 𝐷𝑒 𝑄𝐸 − 𝑄𝑝 − 𝐷𝑤 𝑄𝑝 − 𝑄𝑊 … … … 10
and the integral continuity equation (6) can be written as
𝐹𝑒 − 𝐹𝑤 = 0 … … … (11)
We also assume that the velocity field is ‘somehow known’ which takes care of the values of 𝐹𝑒 and 𝐹𝑤. In order to solve
the equation (10) we need to calculate the hand post property Q at the e and w faces. Using the central differencing
scheme and for a uniform grid, we can write the cell faces values of property Q as 𝑄𝑒 =
𝑄𝑃+𝑄𝐸
2
… … … 12𝑎
And 𝑄𝑤 =
𝑄𝑊+𝑄𝑃
2
… … … 12𝑏
Now substituting the above expression (12a) and (12b) into equation (10) we obtain
𝐹𝑒
2
𝑄𝑝 + 𝑄𝑒 −
𝐹𝑤
2
𝑄𝑤 + 𝑄𝑝
= 𝐷𝐸 𝑄𝑒 − 𝑄𝑃 − 𝐷𝑤 𝑄𝑃 − 𝑄𝑤 … … … (13)
29. 8/31/2023 Mathematics Discipline
29
This can be rearranged to give
[(𝐷𝑊 −
𝐹𝑊
2
) + (𝐷𝑒 +
𝐹𝑒
2
)]𝑄𝑃 =(𝐷𝑊 +
𝐹𝑊
2
)𝑄𝑊 + (𝐷𝑒 −
𝐹𝑒
2
)𝑄𝐸
Or, [(𝐷𝑊 +
𝐹𝑊
2
) + 𝐷𝑒 −
𝐹𝑒
2
+ (𝐹𝑒 − 𝐹𝑤)]𝑄𝑃 =(𝐷𝑊 +
𝐹𝑊
2
)𝑄𝑊 + (𝐷𝑒 −
𝐹𝑒
2
)𝑄𝐸 … … … (14)
Now identifying the coefficient 𝜑𝑊 and 𝜑𝐸 as 𝑎𝑊 and 𝑎𝐸 , the central differencing expressions for the
discretized convection diffusion equations are
𝑎𝑃𝜑𝑃 = 𝑎𝑊𝜑𝑊 + 𝑎𝐸𝜑𝐸 (15)
Where
𝑎𝑊 = 𝐷𝑊 +
𝐹𝑤
2
,
𝑎𝐸 = 𝐷𝑒 +
𝐹𝑒
2
and 𝑎𝑃 = 𝑎𝑊 + 𝑎𝐸 + (𝐹𝑒 − 𝐹𝑤) (16)
Then to solve a one-dimensional convection diffusion problem we write discretized equations of the form
(15) for all grid nodes. This yields a set of algebraic equations that is solved to obtain the distribution of the
transport property 𝜑 .
30. 30
.
Problem 02:
8/31/2023 Mathematics Discipline
Solution:
Fig. 1: Grid generation for discretization
A property 𝜑 is transported by means of convection and diffusion through one-dimensional domain. The governing
equation is
𝑑
𝑑𝑥
ρ𝑢𝜑 =
𝑑
𝑑𝑥
(Γ
𝑑𝜑
𝑑𝑥
) with the boundary conditions are 𝜑0 = 1 at 𝑥 = 0 and 𝜑𝐿 = 0 at 𝑥 = 𝐿 .
Then using the finite volume method with five equally spaced cells and central differencing scheme for convection
and diffusion to calculate the distribution of 𝜑 as a function of x when 𝑢 = 0.1 𝑚/𝑠, length 𝑳 = 𝟎. 𝟏 𝒎, 𝜌 =
1.0 𝑘𝑔/𝑚3
and Γ = 0.1𝑘𝑔/𝑚𝑠. Also compare the results with the analytical solution
𝜑 − 𝜑0
𝜑𝐿 − 𝜑0
=
𝑒− 𝜌𝑢𝑥/Γ −1
𝑒− 𝜌𝑢𝐿/Γ −1
The method of solution is demonstrated using the simple grid in Fig. 1 . The domain is divided into five control
volumes giving 𝛿𝑥 =
1.0
5
= 0.2m . Here 𝐹 = 𝜌𝑢, 𝐹𝑒 = 𝐹𝑤 = 𝐹 and 𝐷𝑒 = 𝐷𝑤 = 𝐷 everywhere. The boundaries are
denoted by A and B.
.
.
x=0, 𝝋=1
P E
W
Δ𝑥 = 𝛿𝑥𝑤𝑒
𝛿𝑥𝑃𝑒
𝛿𝑥𝑤𝑃
w e
x=L, 𝝋=0
31. 8/31/2023 Mathematics Discipline
31
Here 𝐹 = 𝜌𝑢 = 1 × 0.1 = 0.1 = 𝐹𝑒 = 𝐹𝑤
𝐷𝑒 = 𝐷𝑤 = 𝐷 =
Γ
𝛿𝑥
=
0.1
0.2
= 0.5
Now the discretized problem is
𝑎𝑃𝜑𝑃 = 𝑎𝑊𝜑𝑊 + 𝑎𝐸𝜑𝐸 (1)
Which is applied only for the internal nodal points 2, 3, and 4, but control volume 1 and 5 needs special
treatment since they are adjacent to the domain boundaries.
Now the coefficients are:
𝑎𝑊 = 𝐷 +
𝐹
2
= 0.5 +
0.1
2
= 0.55
𝑎𝐸 = 𝐷 −
𝐹
2
= 0.5 −
0.1
2
= 0.45
𝑎𝑃 = 𝑎𝑊 + 𝑎𝐸 = 0.55 + 0.45 = 1.0
From equation (1)
𝜑𝑃 = 0.55𝜑𝑊 + 0.45𝜑𝐸 (2)
For the boundary node,
𝐷𝐴 = 𝐷𝐵 =
Γ
𝛿𝑥2
= 2D = 1.0
For node1 the equation (1) becomes,
𝑎𝑃𝜑𝑃 = 𝑎𝐴𝜑𝐴 + 𝑎𝐸𝜑𝐸 (3)
𝑎𝐴 = 𝐷𝐴 + 𝐹𝐴 = 1.1, 𝑎𝐸 = 0.45, 𝑎𝑃 = 1.55 so that (3) reduces
for node 1:
1.55𝜑𝑃 = 1.1 + 0.45𝜑𝐸 (4)
Also for node 5, the equation (1) becomes,
𝑎𝑃𝜑𝑃 = 𝑎𝐵𝜑𝐵 + 𝑎𝑊𝜑𝑊 (5)
𝑎𝑊 = 0.55, 𝑎𝐵 = 𝐷𝐵 = 𝐹 = 0.9
So, 𝑎𝑃 = 0.9 + 0.55 = 1.45 so that equation (5) reduces to
1.45𝜑5 = 0.55𝜑4 + 0
𝑜𝑟, 1.45𝜑5 − 0.55𝜑4 = 0 (6)
32. 8/31/2023 Mathematics Discipline
32
Then the system (2), (4), and (6) can be written as,
1.55𝜑1 − 0.45𝜑2 = 1.1
−0.55𝜑1 + 𝜑2 − 0.45𝜑3 = 0
−0.55𝜑2 + 𝜑3 − 0.45𝜑4 = 0
−0.55𝜑3 + 𝜑4 − 0.45𝜑5 = 0
−0.55𝜑4 + 1.45𝜑5 = 0
Using the Gaussian elimination method, the above system can
be written as,
1.55𝜑1 − 0.45𝜑2 = 1.1
1.3025𝜑2 − 0.6975𝜑3 = 0.605
0.9189𝜑3 − 0.5861𝜑4 = 0.3328
0.5965𝜑4 − 0.4135𝜑5 = 0.1830
0.6375𝜑5 = 0.10065
Using backward substitution we get,
𝜑5 = 0.1578, 𝜑4 = 0.4162, 𝜑3 = 0.6276, 𝜑2 = 0.8006, 𝜑1
= 0.9421
Comparison with the analytical solution:
Substitution of the given data we get the exact
solution of the problem:
𝜑 𝑥 =
2.7183 − 𝑒𝑥
1.7183
Comparison of numerical and analytical solution are
given in the Table-1 which shows reasonable
agreement.
Node Distanc
e
FVS ES Differe
nce
Percen
tage
error
1 0.1 0.9421 0.9387 -0.003 -0.36
2 0.3 0.8006 0.7963 -0.004 -0.53
3 0.5 0.6276 0.6224 -0.005 -0.83
4 0.7 0.4163 0.4100 -0.006 -1.53
5 0.9 0.1579 0.1505 -0.007 -4.91
33. STE
P
02
STE
P
03
STE
P
01
STE
P
05
STE
P
06
STE
P
04
Grid-dependence: The accuracy of the
FVM solution depends on the quality of
the grid used to discretize the domain.
In general, the smaller the grid size,
the more accurate the solution.
Limited accuracy: The FVM is generally
less accurate than other numerical
techniques, such as the finite element
method (FEM) or the spectral method.
This is especially true for complex
geometries or problems with high
gradients.
Difficulty with high-order derivatives:
The FVM is typically less accurate when
approximating high-order derivatives,
such as the Laplacian. This can lead to
errors in the solution, particularly in
regions of high curvature or high
gradients.
Limitations of FVM
Difficulty with unstructured grids: The
FVM is generally more suited to structured
grids, where the grid points are arranged
in a regular pattern. Unstructured grids,
where the grid points are irregularly
spaced, can be more difficult to handle with
the FVM.
Limited adaptivity: The FVM is typically
less adaptable than other numerical
methods, such as the adaptive FEM,
which can adjust the grid size and shape
to improve the accuracy of the solution in
regions of interest.
Difficulty handling nonlinear equations: The
FVM is often less effective in handling
nonlinear equations than other numerical
methods, such as the finite difference
method (FDM) or FEM.