Download presentation
Presentation is loading. Please wait.
Published byKeyla Skiver Modified over 9 years ago
1
Finite Volume II Philip Mocz
2
Goals Construct a robust, 2nd order FV method for the Euler equation (Navier-Stokes without the viscous term, compressible) Simulate some shocks!
3
FV formulation State vector (conservative variables) Equation of state:
4
Conservative Form State vector Flux
5
Integrate Integrated state vector Now a surface integral, by Gauss’ Theorem
6
Discretize Flux across face ij F ij
7
Conservative Property Flux is anti-symmetric Question: what are the fluid variables that are conserved?
8
Conservative Property Flux is anti-symmetric Question: what are the fluid variables that are conserved?
9
Computing the Flux Don’t just average the flux of 2 sides, use Upwind Flux (i.e., add an advective term, which creates some numerical diffusion for stability) We will use the local Rusanov Flux Can also solve this exactly, called the Riemann Problem (see Mathematica demo) Fastest propagation speed in the system
10
Conservative Primitive forms Primitive state vector: W = (rho, vx, vy, P)’; Qustion: why is this not conservative form? Euler equations in primitive form
11
Making the scheme 2 nd order Gradient estimation
12
Slope limiting Detect local minima and flatten them! Question: are there negative side effects?
13
2 nd order flux computation Extrapolate primitive variables in space and ½ time step before calculating the flux facecell center LR Left and right states at the interface
14
That’s it! Now let’s look at some code, the implementation details will take a while to digest
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.