CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

QUICK Scheme in Matlab - 2D Convection-Diffusion equation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 9, 2023, 07:02
Default QUICK Scheme in Matlab - 2D Convection-Diffusion equation
  #1
New Member
 
Carlo
Join Date: Jun 2016
Posts: 2
Rep Power: 0
carlocal is on a distinguished road
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!
Attached Files
File Type: txt quick_2D_convdiff.txt (3.1 KB, 14 views)
carlocal is offline   Reply With Quote

Old   May 9, 2023, 12:20
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,865
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by carlocal View Post
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!



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?
FMDenaro is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 00:36.