|
[Sponsors] |
2-D convection-diffusion--finite difference method advice/reference please |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 15, 2010, 10:10 |
2-D convection-diffusion--finite difference method advice/reference please
|
#1 |
New Member
Join Date: Jan 2010
Posts: 28
Rep Power: 16 |
Hello everyone:
I would like to code a simple finite difference scheme for 2D convection-diffusion (I'm using C++). My goals are to learn C++, refresh/improve my linear algebra skills, and eventually use the code as a foundation to incorporate fluid flow considerations in other calculations. So far I am doing OK on 1D convection-diffusion. I have come up with code for two or three different implicit (involving matrices) and explicit schemes. But I've reached the limit of my mathematical abilities and need help on proceeding with 2D. I haven't had any success with Google at finding worked examples. I would be very grateful if someone could point me in the right direction... I would like to see a couple of detailed worked examples (e.g., that explain the matrix construction). I would be most interested in seeing an example of 2D convection-diffusion implicit in time/Crank Nicolson, with centered space. Also, while I am focusing on the simplest possible solution methods at this point (I used Gauss elimination in my 1D code), I would be interested in finding out more about any major advantages/disadvantages of common solution methods for 2D. Does anyone know of any good, detailed online resources for 2D convection-diffusion math? Thank you for any help or advice. Last edited by bzz77; March 15, 2010 at 10:30. |
|
March 15, 2010, 12:04 |
|
#2 |
New Member
Robin Koldeweij
Join Date: Nov 2009
Posts: 19
Rep Power: 17 |
Realize that convection is a dangerous term. It is used for both advection and diffusion.
If you search advection diffusion on google / google books, I think you should be able to find some stuff |
|
March 15, 2010, 12:24 |
|
#3 |
New Member
Join Date: Jan 2010
Posts: 28
Rep Power: 16 |
Thanks. I have tried searching both terms in various combinations, but no luck so far. If anyone has found any particular source useful, I'd really appreciate knowing about it. Thanks all.
|
|
Tags |
advection, convection, convection-diffusion, diffusion |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What is C.V. based finite element method | C-H Kuo | Main CFD Forum | 4 | September 19, 2022 15:06 |
Finite Difference Vs. Finite Volume | elankov | Main CFD Forum | 43 | December 18, 2010 17:30 |
convection diffusion problem | ali2108 | OpenFOAM | 1 | May 30, 2009 23:17 |
convection diffusion equation in 2d | ali2108 | ANSYS | 0 | May 24, 2009 14:56 |
Finite volume method vs finite difference method? | superfool | Main CFD Forum | 4 | October 21, 2006 15:37 |