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 and understand 1. The difference between FDM and FVM. 2. Interpolation schemes in FVM …
KURUVA GUDISE KRISHNA MURHTY
updated on 22 Aug 2022
Objective: To study and understand
1. The difference between FDM and FVM.
2. Interpolation schemes in FVM
3. Flux limiters in FVM
Description:
There are total 4 Numerical Methods:
Efficient technology for CFD with the finite-difference and finite-volume method has become increasingly popular and have been using from much longer periods.
FDM
Boundary conditions are needed to truncate the computational domain. They represent communication with the surrounding world, which is the part that we do not want included in our simulation. With the finite-difference method, we may easily run into problems handling boundaries for the purpose of defining the boundary conditions.
The finite-difference method is the most direct approach to discretizing based upon the differential form of the PDE to be solved. We consider a point in space where we take the continuum representation of the equations and replace it with a set of discrete equations, called finite-difference equations.
The finite-difference method is typically defined on a regular/structured grid (i.e. the computational domain is usually divided into hexahedral cells (the grid), and the solution will be obtained at each nodal point.) and this fact can be used for very efficient solution methods. Regular grids are useful for very-large-scale simulations on supercomputers.
The method is therefore not usually used for irregular CAD geometries, but more often for rectangular or block-shaped models.
Examples include Formula 1 car computational-fluid-dynamic (CFD) simulations and space-shuttle CFD simulations. The finite-difference method is more difficult to use for handling material discontinuities. In addition, it does not lend itself for local grid refinement or anything similar to “adaptive mesh refinement.” This may be needed to resolve local rapid variations in solutions such as around a corner of a complex shape, as described earlier.
But, if we can fit the simulation in a rectangular or box-shaped geometry using a regular grid, efficient implementations are much easier than for finite-volume methods.
If one can overcome the boundary-condition problem on curved boundaries, the method gives very efficient and high-quality results.
The finite-difference method is defined dimension per dimension; this makes it easy to increase the “element order” to get higher-order accuracy.
FVM
The finite-volume method is similar to the finite-differencing method in that the CAD model is first divided into very small but finite-sized elements of geometrically simple shapes. Apart from this, the finite-volume method is very different from the finite-differencing method, beginning with the concept of elements, which are instead referred to as cells.
A finite volume method (FVM) discretization is based upon an integral form of the PDE to be solved (e.g. conservation of mass, momentum, or energy) and can handle discontinuities in solutions. The PDE is written in a form which can be solved for a given finite volume (or cell). The computational domain is discretized into finite volumes and then for every volume the governing equations are solved. The resulting system of equations usually involves fluxes of the conserved variable, and thus the calculation of fluxes is very important in FVM.
The finite-volume method’s strength is that it only needs to do flux evaluation for the cell boundaries. This also holds for nonlinear problems, which makes it extra powerful for robust handling of (nonlinear) conservation laws appearing in transport problems.
The local accuracy of the finite-volume method, such as close to a corner of interest, can be increased by refining the mesh around that corner. However, the functions that approximate the solution when using the finite-volume method cannot be easily made of higher order. This is a disadvantage of the finite-volume method compared to the finite-difference method.
The basic advantage of this method over FDM is it does not require the use of structured grids, and the effort to convert the given mesh in to structured numerical grid internally is completely avoided. As with FDM, the resulting approximate solution is a discrete, but the variables are typically placed at cell centre’s rather than at nodal points. This is not always true, as there are also face-centered finite volume methods. In any case, the values of field variables at non-storage locations (e.g. vertices) are obtained using interpolation.
FVM can guarantee the local and global conservation of the system.
Interpolation schemes:
The approximations of surface and volume integrals require values of the variable at location other than the computational nodes of the control volume. Values at these locations are obtained using interpolation formulae.
Interpolation methods:
Upwind interpolation
Linear interpolation
Quadratic upwind interpolation
Hybrid, TVD and ENO interpolation schemes
As the name indicates that we use the node in the upwind or upstreame of the given node.
It is used in case of convection dominated problems.
The upwind interpolation for approximating the value of a variable f at the east face of a control volume is given by
fe={(fp)if(v.n)e>0(fp)if(v.n)e<0
This interpolation scheme is equivalent to using Forward difference method or backward difference method depending on the flow direction.
If the flow is along −X direction, then the values for this at the interface is given by
for v>0;ui-(12)≈ui-(1)≈;ui+(12)≈ui
Ic≈v(ui-ui-1Δx) which is equivalent to Backward Difference aScheme
If the flow is along +X direction, then the values for this at the interface is given by
for v>0;ui-(12)≈ui-(1)≈;ui+(12)≈ui
Ic≈v(ui+1-uiΔx)which is equivalent to Forward Difference Scheme
It is said to be equivalent because all these three methods are of order of accuracy 1.
Advantages:
Disadvantages:
Numerical diffusion is magnified in multi-dimensional problems if flow is oblique to the grid.
Peaks or rapid variations in the variables will be smeared out.
Approximate values of the variable at the control volume face centre by the linear interpolation of the values at the two nearest computational nodes.
fe=fEλe+fp(1-λe)
where λe=xe-xpxE-xP
It is simple and most widely used.
The linear interpolation is equivalent to the use of central difference formula of the firs order derivative and hence this scheme is aslo termed as Central Differencing Scheme(CDS).
Average interface values are given by
ui-(12)≈ui-1+ui2and ui-(12)≈ui+ui+12
Ic≈v.(ui+1-ui-12Δx)which is equivalent to CDS
It is said to be equivalent because both these methods are of order of accuracy 2.
Advantages:
Disadvantages:
It is the blend of UDS and CDS. The hybrid difference scheme exploits the favourable properties of the
upwind and central differencing schemes. It switches to upwind differencing when central differencing produces inaccurate results at high Pe numbers.
The scheme is fully conservative and since the coefficients are always positive it is unconditionally bounded. It satisfies the transportiveness requirement by using an upwind formulation for large values of Peclet number.
fe=γfCDS+(1-γ)fUDS
Advantages:
Disadvantages:
It approximates the values of the variable at the CV face centre by Quadratic Interpolation of the values at three nearest computational nodes (1 Down stream node D & 2 Up stream nodes U , UU).
Quadratic - As it uses 3 nodes
Upwind - As it uses two upstreams
Convective Kinematics - As it is used for convective domain problems
fe=fE+g1(fD-fU)+g2(fUU-fU)
Where,
g1=(xe-xU)(xe-xUU)(xUU-xU)(xUU-xD)
g2=(xe-xU)(xe-xD)(xUU-xU)(xUU-xD)
Advantages:
Disadvantages:
The fact that the QUICK scheme and other higher-order schemes can give undershoots and overshoots has led to the development of second-order schemes that avoid these problems. The class of TVD (total variation diminishing) schemes has been specially formulated to achieve oscillation-free solutions and has proved to be useful in CFD calculations.
TVD schemes are designed to address this undesirable oscillatory behaviour of higher-order schemes. In TVD schemes the tendency towards oscillation is counteracted by adding an artificial diffusion fragment or by adding a weighting towards upstream contribution.
It is 2nd order accurate.
fe=fp+12ψ(r)(fE-fp)
where,
ψ(r) is called a flux limiter function
where,
r=ui-ui-1ui+1-ui
Flux limiter:
For convective fluid flow, it is ovservedthat low order schemes are usually stable but quite dissipative in nature around the points of discontinuity or shocks while the higher order schemes are unstable in nature and show oscillations in the vicinity of dinscontinuity or shocks. Highly accurate and oscillation free schemes are known as High Resolution Schemes.
In order to make the scheme TVD, we must constrain or limit the range of possible values of the additional convective flux fe=fp+12ψ(r)(fE-fp) , which was originally introduced to make the scheme higher-order. Hence, the function ψ(r) is called a flux limiter function.
Flux Limiter functions are used to fine tune the higher order and lower order schemes in such a way that the resulting scheme gives a higher order accuracy in the smooth region of the flow and maintains first order accuracy in the vicinity of shocks and discontinuities. For such a scheme TVD scheme is employed.
F(ui+12)=flow(i+12)-ψ(ri)(flow(i+12)-fhigh(i+12))
F(ui-12)=flow(i-12)-ψ(ri-1)(flow(i-12)-fhigh(i-12))
where,
flow is low precision flux (first order)
fhigh is high precision flux (higher order)
Conlusion:
Finite Volume Method (FVM) is really a 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, 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...
Project 1 : CFD Meshing for Tesla Cyber Truck
CFD Meshing for Tesla Cyber Truck Initial Model First of all…
09 Nov 2022 05:46 PM IST
Week 10 - Simulating Combustion of Natural Gas.
COMBUSTION Combustion is defined as a chemical reaction in which a hydrocarbon reacts with an oxidant to form products, accompanied by the release of energy in the form of heat. Combustion manifests as awode domain during the design, analysis, and performance characteristics stage by being an integral part of various…
08 Nov 2022 07:38 PM IST
Week 9 - Parametric study on Gate valve.
Theory: Introduction: Gate valves are designed for fully open or fully closed service. They are installed in pipelines as isolating valves and should not be used as control or regulating valves. Operation of a gate valve is performed doing an either clockwise to close (CTC) or clockwise…
07 Nov 2022 05:07 PM IST
Week 12 - Validation studies of Symmetry BC vs Wedge BC in OpenFOAM vs Analytical H.P equation
Angles to test: θ=100 θ=250 θ=450 Expected Results Validate Hydro-dynamic length with the numerical result Validate the fully developed flow velocity profile with its analytical profile Validate maximum velocity and pressured drop for fully developed flow Post-process Shear stress and validate…
06 Nov 2022 06:53 AM 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.