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

1D advection-diffusion--need to benchmark my code; any suggestions?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 21, 2010, 06:40
Default 1D advection-diffusion--need to benchmark my code; any suggestions?
  #1
New Member
 
Join Date: Jan 2010
Posts: 28
Rep Power: 16
bzz77 is on a distinguished road
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.
bzz77 is offline   Reply With Quote

Old   March 23, 2010, 09:19
Default
  #2
New Member
 
Join Date: Mar 2009
Posts: 5
Rep Power: 17
CfdLunak is on a distinguished road
Hello,

as a first step you can set diffusion coefficient zero-your initial condition should move the prescribed velocity unchanged.

Lunak
CfdLunak is offline   Reply With Quote

Reply

Tags
advection-diffusion, benchmark, burgers


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
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


All times are GMT -4. The time now is 10:20.