Thread Subject: 1-D advection-diffusion: how to benchmark.

Subject: 1-D advection-diffusion: how to benchmark.

From: Ann St

Date: 21 Mar, 2010 09:46:03

Message: 1 of 2

Hello everyone:

I am learning Matlab and have written a program for solving the 1-D advection-diffusion equation by finite differences. I would like to check it.

If anyone has/knows of any existing code I could use to do this, I would very much appreciate knowing about it. I don't know much about the existence of analytical solutions to this problem; if anyone can advise me about this/provide a solution and relevant conditions, that would be very welcome.

I have used central differencing, with Crank-Nicholson in time, but I can change my scheme if necessary.

Thank you for any help/suggestions.

Subject: 1-D advection-diffusion: how to benchmark.

From: Torsten Hennig

Date: 22 Mar, 2010 07:50:29

Message: 2 of 2

> Hello everyone:
>
> I am learning Matlab and have written a program for
> solving the 1-D advection-diffusion equation by
> finite differences. I would like to check it.
>
> If anyone has/knows of any existing code I could use
> to do this, I would very much appreciate knowing
> about it. I don't know much about the existence of
> analytical solutions to this problem; if anyone can
> advise me about this/provide a solution and relevant
> conditions, that would be very welcome.
>
> I have used central differencing, with
> Crank-Nicholson in time, but I can change my scheme
> if necessary.
>
> Thank you for any help/suggestions.

Take a look at MATLAB's pdepe if it can be used to check
the correctness of your coding.

Best wishes
Torsten.

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
1d Ann St 21 Mar, 2010 05:49:05
advectiondiffusion Ann St 21 Mar, 2010 05:49:05
onedimensional Ann St 21 Mar, 2010 05:49:05
burgers Ann St 21 Mar, 2010 05:49:05
transport equat... Ann St 21 Mar, 2010 05:49:04
rssFeed for this Thread

Contact us at files@mathworks.com