All Courses
All Courses
Courses by Software
Courses by Semester
Courses by Domain
Tool-focused Courses
Machine learning
POPULAR COURSES
Success Stories
Objective : To study the theory behind the various interpolation schemes and the flux limiters in case of the Finite Volume Method. Why the need for FVM? In advanced CFD approaches with highly unstructured grids, we tend to use a method called as the finite Volume Method ( FVM ). While in the normal discretization…
ARTH SOJITRA
updated on 18 Jun 2020
Objective :
To study the theory behind the various interpolation schemes and the flux limiters in case of the Finite Volume Method.
Why the need for FVM?
In advanced CFD approaches with highly unstructured grids, we tend to use a method called as the finite Volume Method ( FVM ). While in the normal discretization of the governing equations we tend to use the finite difference schemes the job becomes rather mundane while doing so for the unstructured grids because of the extra interpolations. For example, consider a 1-D mesh of non-uniform size as is shown below:
As is seen in the figure above, the mesh grid points are not uniformly spaced. This type of situation may arise if we want to capture some phenomenon that is predominant in one region and is very less important in the other. Likewise, we tend to create the mesh in accordance with our need for accuracy. For a physical intuition, one can think of an example of an aeroplane mesh. After long distances, the flow tends to normalize to the free stream flow and hence after long distances, one can create grids which are large in size hence saving unnecessary computation time.
Returning back to our unstructured 1-D grid, we need to apply the Taylor Series approximation at each point in general if we want to discretize the equation via the finite difference method. As the mesh is 1-D it is not so hard to do it, but just imagine doing it for highly unstructured 3-D grids like the ones wrapped around the airfoil or around a car to simulate the flow field. For such cases, the FDM method will not be the best choice. A better alternative is to use the FVM approach.
What is FVM?
FVM stands for the Finite Volume Method. As the name suggests we use the control volume integrated with the governing equation. Consider the following Unstructured mesh and the governing equation for the heat conduction in 1-D with the source term. The dotted line surrounding P represents the control volume and W, E represent the centres of the adjacent control volumes
Governing Equation: ∂∂x(k∂T∂x)+S=0
Now as the governing equation is valid for each and every point in the domain it is valid over an entire control volume too. So hence we can integrate the governing equation for a control volume as:
∫∫∫V[∂∂x(k∂T∂x)+S]dV=0
As our control volume is a 1-D mesh the volume integral reduces to a 1-D integral and we get:
∫ [∂∂x(k∂T∂x)+S]Adx=0
So if we integrate the equation from West to East as is shown in the control volume we get :
∫ew[∂∂x(k∂T∂x)+S]Adx=0
Splitting the integrands we get :
∫ew[∂∂x(k∂T∂x)]Adx+∫ewSAdx=
Solving the equation we get:
(Ak∂T∂x)ew+∫ewSAdx=0
Now the term S can be linearised in order to facilitate the easy solution of the equation. Picard's method is the most popular method used for the linearization. For a given control volume P, we start by writing the source term as:
S=SC+SPTP
This method of linearizing the source term has an added advantage that if at all the source term present is highly non-linear with several powers of T it can be easily represented in the linear form:
For example consider the case of a source term varying with the temperature as:
S=3-4T3 . To linearize it we consider the form as S=SC+SPTP.
it is up to us to choose the terms SCandSP. One way would be to choose
SC=3andSP=-(4T∗)2 where T∗ is the value from the previous iteration.
Returning back to our governing equation:
(Ak∂T∂x)ew+∫ewSAdx=0
(Ak∂T∂x)e-(Ak∂T∂x)w+∫ew(SC+SPTP)Adx=0
The advantage of writing the source term as a linearized form is that now we can capture the effect of the source term integrated with the Temperature at the control volume.
Simplifying the terms a bit we get:
Ake(∂T∂x)e-Akw(∂T∂x)w+∫ew(SC)Adx+∫ew(SPTP)Adx=0
We can write:
Ake(∂T∂x)e-Akw(∂T∂x)w+SCAΔx+(SPTP)AΔx=0
The main difficulty lies in the fact of the approximation of the derivative terms like (∂T∂x)e. It is imperative to use a robust discretization/interpolation scheme so as to capture the effects nicely.
There are several interpolation schemes available out of which we can choose anyone to work with.
1.) Finite Difference scheme:
This is a simple scheme using the finite difference approximation with the help of Taylor Series:
According to the control volume, the terms will become:
(∂T∂x)e=TE-TPΔx and
(∂T∂x)w=TP-TWΔx where E and W are the corresponding neighbours.
So we can write the final equation as:
ke(TE-TPΔx)-kw(TP-TWΔx)+SCΔx+(SPTP)Δx=0
Writing the terms as :
αeΔx=aE and αwΔx=aW. So then writing the equation in these terms we can write it as :
aETE-aETP-aWTP+aWTW+SCΔx+SPTPΔx=0
Simplifying the equation we get:
aETE+aWTW+SCΔx=aETP+aWTP+SPTPΔx
We can write it as:
aPTP=aETE+aWTW+b in the simpified form for a given control volume and hence this equation can then be solved algebraically to obtain the temperature at the grid point P.
However, this scheme has a downfall. It will not work if by chance aP becomes zero. So we need a more powerful scheme to account for this behaviour. Please note that the scheme was derived via the assumption that the grid sizes are uniform. It can also be derived for the non-uniform grids with the use of appropriate terms as is shown below:
Replacing the derivative terms with accurate enough discretized terms we can modify the equation for the unstructured grids.
2.) Upwind Scheme
This is a new type of scheme in which the value at the interface is taken according to the convection current:
If a given flow field is towards the right then we take the value of the interface as the previous grid point and if the flow field is towards left we take the value at the interface from the right. That is
ϕe=ϕP if positive convection and ϕe=ϕE if negative convection
This type of scheme is predominant in the fluid flow problems where there are large convection currents in one direction.
3.) Exponential Scheme:
It takes the behaviour inside the CV as an exponential as is obtained by the exact solution for the 1-D convection-diffusion problem and the idea is extended to the higher dimensions, i.e.
ϕ-ϕPϕE-ϕP=ekx-1ea-1 where ϕ is the value inside a control volume at a distance x and ϕpandϕE are the values of the variable at the adjacent grid points.
This scheme is also used for fluid flow problems involving convection and diffusion.
Similar to this there can be several other schemes like the hybrid, power-law schemes, quadratic interpolation schemes the details of which are out of the scope of this report but is attached in the report below for reference.
So to answer why do we need the interpolation schemes?
We need the interpolation schemes to approximate the property values located at the boundaries of the control volumes which appear in the equations after the integration over the control volume that the FVM can be applied.
Low-order schemes are commonly considered, due to their numerical stability whereas if we need more accuracy higher-order methods are preferred. The preference for the interpolation scheme is crucial in solving the complex coupled non-linear PDE's.
Now to answer the question why do we need Flux Limiters?
Flux limiters are used in the numerical schemes used to solve problems of fluid dynamics, described by highly coupled non-linear Partial Differential Equations. If we tend to use lower order numerical schemes for the solving of the governing equations then we might get a highly oscillatory and unstable solution near the discontinuity if present. Whereas if we tend to use higher-order numerical schemes to capture the phenomenon more accurately we tend to exploit the computational power unnecessarily. The main idea behind the use of the flux limiters is to limit the spatial derivative terms near the discontinuities to physical real values so as to maintain physical consistency. There are several types of flux/slope limiter functions. They come in handy when sharp wave-fronts/peaks are present. For smoothly changing waves/functions, the flux limiters do not operate and the spatial derivatives can be represented normally. It will be called a fool's method to use flux limiters when the user knows that the functions are smooth in the general space.
if put in a sophisticated way, in the implementation we tune the numerical flux of higher and lower order scheme using the flux limiter function in such a way that the resulting scheme gives a high order accuracy in the smooth region of flow and sticks with a lower order of accuracy in the vicinity of socks/discontinuities so as to get a physically consistent solution. These type of methods are predominant in the use of the Bluntnose problems in Aerodynamics where there are shock discontinuities.
It is imperative to note that flux limiters are also referred to as slope limiters because they both have the same mathematical form, and both have the effect of limiting the solution gradient near shocks or discontinuities.
Conclusion:
Finite Volume Method also abbreviated as FVM is a really powerful approach to solve the CFD problems. With the help of proper interpolation schemes and the accurate use of flux limiters in case of any discontinuities present if any, we can solve a wide range of CFD problems. Though it may be difficult to code and implement it in the computer it gives an added advantage of its robustness
Leave a comment
Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.
Other comments...
Genetic Algorithm
Aim: To understand the concept of the genetic algorithm and write code in MATLAB to optimize the stalagmite function and find the global maxima of the function. Theory: The stalagmite function is a function with 4 components : 2 sine components in each of the axis direction 2 normal…
30 Jun 2020 10:42 PM IST
Curve fitting in MATLAB:
Aim: Perform the linear and cubic fit for a given set of data and then gain insights on the several parameters that can be used to identify a good fit. Theory: Curve fitting is the process of constructing a mathematical curve to fit the data points according to some criteria to get a mathematical formula…
19 Jun 2020 09:02 PM IST
FVM Literature
Objective : To study the theory behind the various interpolation schemes and the flux limiters in case of the Finite Volume Method. Why the need for FVM? In advanced CFD approaches with highly unstructured grids, we tend to use a method called as the finite Volume Method ( FVM ). While in the normal discretization…
18 Jun 2020 07:40 AM IST
Air standard Cycle
Aim: To demonstrate the working of an otto cycle and write a MATLAB code to plot the graphs and calculate the thermal efficiency. Theory: The Air-Standard cycles work on the principle that the working medium is air. These cycles gained became more and more popular in the theoretical analysis of an Internal Combustion Engine.…
12 Jun 2020 01:27 PM IST
Related Courses
Skill-Lync offers industry relevant advanced engineering courses for engineering students by partnering with industry experts.
© 2025 Skill-Lync Inc. All Rights Reserved.