|
[Sponsors] |
QUICK Scheme in Matlab - 2D Convection-Diffusion equation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 9, 2023, 07:02 |
QUICK Scheme in Matlab - 2D Convection-Diffusion equation
|
#1 |
New Member
Carlo
Join Date: Jun 2016
Posts: 2
Rep Power: 0 |
Dear all,
I am opening this thread here since I did not find any solutions elsewhere. For teaching purposes I am trying to implement the QUICK discretization scheme in the convection-diffusion equation - which is then solved iteratively - in MATLAB. However, I have huge stability problems that I cannot identify. I am leaving the entire code here in the hope that someone can take a look at it. Thanks! |
|
May 9, 2023, 12:20 |
|
#2 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,865
Rep Power: 73 |
Quote:
Before I try to have a look to the code, I need more details. 1) is that a steady 1D problem with the known analytical solution? 2) did you try at low Peclet number? 3) what about your reference textbook for the scheme, the original paper of Leonard? |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding diffusion term to interFoam transport equation | Gearb0x | OpenFOAM Programming & Development | 3 | February 14, 2023 05:16 |
Problem with Diffusion Equation Implementation | raunakbardia | OpenFOAM Running, Solving & CFD | 1 | February 25, 2019 04:04 |
Implementation of QUICK scheme | Romuald Skoda | Main CFD Forum | 11 | November 6, 2017 22:20 |
Use advection step and Dispersion step to solve advection diffusion equation | cooljd | Main CFD Forum | 0 | October 15, 2012 16:44 |
error message | cuteapathy | CFX | 14 | March 20, 2012 07:45 |