Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Using PDE Toolbox to solve 2D advection equation
Replies: 5   Last Post: Feb 25, 2017 8:50 AM

 Messages: [ Previous | Next ]
 Alan Weiss Posts: 1,430 Registered: 11/27/08
Re: Using PDE Toolbox to solve 2D advection equation
Posted: Mar 13, 2013 8:04 AM

On 3/13/2013 6:54 AM, Nanna wrote:
> Hi all,
> I've been looking into the PDE Toolbox for teaching purposes. I've
> trawled through the Matlab Newsgroup but haven't been able to find a
> clear answer to this: I'm trying to find a simple way to use the
> toolbox to solve the advection equation in 2D:
> dT/dt=u*dT/dx+v*dT/dy
> where u and v are the (x,y)-components of a velocity field. There is
> no diffusion in the system so it's a first order problem. I have my
> own solution using finite differences, but I would really like to use
> the PDE Toolbox for comparison because of the finite element
> approach. All the examples I have found have been second order PDEs -
> does any one have a suggestion how to proceed? Preferably in a way
> that is suitable for demonstration to 2nd year physics students.
> Best,
> Nanna

I don't know how to map your problem into the form required by PDE Toolbox:
http://www.mathworks.com/help/pde/ug/types-of-pde-problems-you-can-solve.html

Sorry.

Alan Weiss
MATLAB mathematical toolbox documentation

Date Subject Author
3/13/13 Alan Weiss
3/13/13 Torsten
3/13/13 Bill Greene
10/21/16 canz
2/25/17 FEATool Multiphysics and Matlab CFD Toolbox