|
[Sponsors] |
1D advection-diffusion--need to benchmark my code; any suggestions? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 21, 2010, 06:40 |
1D advection-diffusion--need to benchmark my code; any suggestions?
|
#1 |
New Member
Join Date: Jan 2010
Posts: 28
Rep Power: 16 |
Hi everyone:
I am teaching myself transport/programming, and have created a simple program for 1-D advection-diffusion (constant velocity, diffusion coefficient, central differencing, Crank-Nicolson). I would like to check that my code is working properly and would appreciate any advice about how to go about this. I have not been successful on Google at finding code that others have written... If anyone can direct me or provide advice about getting an analytical solution, I would be very grateful. An EXCEL-based spreadsheet or a Matlab or a c++ implementation would be useful. |
|
March 23, 2010, 09:19 |
|
#2 |
New Member
Join Date: Mar 2009
Posts: 5
Rep Power: 17 |
Hello,
as a first step you can set diffusion coefficient zero-your initial condition should move the prescribed velocity unchanged. Lunak |
|
Tags |
advection-diffusion, benchmark, burgers |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
solid kinetic theory | wan xiaotao | Main CFD Forum | 6 | August 10, 1999 19:43 |
CFD of turbulent flows | raj calay | Main CFD Forum | 23 | April 23, 1999 06:03 |
Use of an hydrodynamic model integrated in the vertical by the PHOENICS code | Hafsia Zouhaier | Main CFD Forum | 2 | March 15, 1999 09:23 |
public CFD Code development | Heinz Wilkening | Main CFD Forum | 38 | March 5, 1999 12:44 |
What kind of Cmmercial CFD code you feel well? | Lans | Main CFD Forum | 13 | October 27, 1998 11:20 |