Solving 1D Linear Advection Equation and Burgers’ equation using Finite Volume Method
Submitted By: Ajit Nepal
Reg.No:22UMPY01
Under The Supervision of
Dr. Rupak Mukherjee
Department of Physics
School of Physical Sciences
Sikkim University
Analytical Solution of Advection Equation
1D Linear Advection Equation (Wave Equation)
Described by: Here, u(x,t) is a scalar (wave)
Velocity c during time t and f=f(u).
For f=cu
Exact Solution
Given the initial condition
c=1
After time t:
Numerical Methods for the Linear Advection Equation
Two popular methods for performing discretization:
For some problems, the resulting discretizations look identical, but they are distinct approaches.
We begin using finite-difference as it will allow us to quickly learn some important idea
Finite Difference Method
FTCS Method (Forward in Time, Centered in Space)
Plots Of FD and understanding the results
Highly unstable Amplitude
Solution is Dissipative in Nature
Under Multiple Revolution around the Domain
-Amplitude is Decaying
Finite Volume Method
Working of Finite Volume Method
Governing Equation
Take volume average of the governing equation at t=t2 and apply Divergence theorem to get Semi-Discrete Numerical Scheme
Control Volume
Constant Rule:
Trapezoidal Rule:
Midpoint Rule:
Simpson's Rule:
Numerical Integration: For calculating Cell Average
Upwind Method�
With the approximation on the right, We modify the iteration equation as
Positive Flow Direction (c>0)
Now that we have calculated cell average next step is to find Determine the values of u at the faces of the control volume.
Negative Flow Direction(c<0)
Plot showing advection of sine wave using upwind Method
-Amplitude starts decaying as the simulation time increases
Plots and Discussion
Plot of U vs X for Linear Upwind Scheme with Finite volume. Initial condition sin(2πx) and Square�wave respectively�
-Stable for few rounds
-Dissipative in Sharp Edges
Lax-Wendroff Method
Achieves second-order accuracy in both space and time
Algorithm:
Key Features:
Cons:
RK4 Method :
Plots and Discussions:
Flux Limiters
Working of Van Leer Limiter Function
Numerical Flux with Van Leer Limiter
Ratio of Successive Gradients r:
Unconditionally Stable Plot
Applying our High-Resolution scheme to inviscid Burgers’ Equation
Analytical Solution
Numerical Solution
Governing Equation
Breaking time
Is The moment when the solution develops a shock or discontinuity
Conclusions
High Resolution Schemes
Precision: Excellently captures discontinuities and steep gradients.
Challenges:
Costly: Demands significant computational resources.
Applications:
Aerospace: Simulating shock waves and airflow around aircraft.
Thank You