Advection equation stability for explicit scheme

2 replies · 2K views · last reply
pomekrank
Messages
13
Reaction score
0
Hello,

I have a typical 1D advection problem where a cold fluid flows over a flat plate. I did an energy balance to include conduction, convection and friction loss and I got the PDE's for the fluid and the solid. I used finite differences to solve the system as T(x, t) for both fluid and solid. After simplification, I have this kind of matrix in explicit scheme.
(see attached matrix.png)

The problem is that I want to optimise the number of nodes (time step) in my simulation to decrease time of calculation and ensure stability and convergence. I read about CFL criteria but it doesn't seem to always work in my case even if CFL < 1. Here (advection.png) is an image of the temperature distribution at a specific node for 2 different cases. By trial and error, I determined that the lowest minimum of nodes would be around 20 to get the full phenomen. However, is there a analytical way to figure out this value ?

Thank you,

Steven
 
Attachments
  • Block matrix equation for explicit time stepping: column vector of T_i^(k+1) equals a block matrix with alpha and beta diagonal entries, times column vector of T_i^k, plus a source column with gamma and zero entries.
    matrix.png
    23 KB · Views: 665
  • Line graph of Temperature (290 to 297) against time (0 to 1.4) for fluid and plate, smooth curves plus oscillating 12-node curves.
    advection.png
    3.4 KB · Views: 563
The only way I know to do this is to perform a grid resolution study. You would start with a coarse grid, run the simulation, and keep refining the grid until the changes in the computed solution fall below a certain tolerance. You might consider automating this procedure. That is known as dynamic grid adaptation.
 
Von Neumann stability analysis is the standard technique for accessing the stability of a finite difference scheme.

However, some stable finite difference schemes will have spurious oscillating modes if the time step is too large. An example of this is the Crank-Nicolson method applied to the heat equation. While these mode eventually decay to zero, they can still negatively impact a calculation. Your plot of the temperature is indicative of such behavior.