<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/153917</link>
    <title>MATLAB Central Newsreader - Convective diffusion equation in 2D</title>
    <description>Feed for thread: Convective diffusion equation in 2D</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Fri, 03 Aug 2007 14:57:53 -0400</pubDate>
      <title>Convective diffusion equation in 2D</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/153917#386189</link>
      <author> dantimatter</author>
      <description>&lt;br&gt;
Hello all,&lt;br&gt;
&lt;br&gt;
I'm trying to find a nice and neat way to numerically solve the&lt;br&gt;
convective diffusion equation&lt;br&gt;
&lt;br&gt;
da/dt = D (d^2/dx^2 + d^2/dy^2) a - v da/dx&lt;br&gt;
&lt;br&gt;
where a is the concentration of my solute, D is the diffusion&lt;br&gt;
constant, and v is the surrounding fluid velocity in the x direction.&lt;br&gt;
I thought that there was a small chance that maybe someone else here&lt;br&gt;
has attempted something similar.&lt;br&gt;
Is it even possible to solve this equation? As always, any suggestions&lt;br&gt;
would be much appreciated.&lt;br&gt;
&lt;br&gt;
Cheers,&lt;br&gt;
Dan</description>
    </item>
    <item>
      <pubDate>Fri, 14 Dec 2007 16:52:00 -0500</pubDate>
      <title>Re: Convective diffusion equation in 2D</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/153917#406231</link>
      <author>Mukesh V</author>
      <description>&amp;nbsp;dantimatter &amp;lt;dantimatter@gmail.com&amp;gt; wrote in message &lt;br&gt;
&amp;lt;1186153073.038814.223160@d30g2000prg.googlegroups.com&amp;gt;...&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Hello all,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I'm trying to find a nice and neat way to numerically &lt;br&gt;
solve the&lt;br&gt;
&amp;gt; convective diffusion equation&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; da/dt = D (d^2/dx^2 + d^2/dy^2) a - v da/dx&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; where a is the concentration of my solute, D is the &lt;br&gt;
diffusion&lt;br&gt;
&amp;gt; constant, and v is the surrounding fluid velocity in the &lt;br&gt;
x direction.&lt;br&gt;
&amp;gt; I thought that there was a small chance that maybe &lt;br&gt;
someone else here&lt;br&gt;
&amp;gt; has attempted something similar.&lt;br&gt;
&amp;gt; Is it even possible to solve this equation? As always, &lt;br&gt;
any suggestions&lt;br&gt;
&amp;gt; would be much appreciated.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Cheers,&lt;br&gt;
&amp;gt; Dan&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
hi Dan,&lt;br&gt;
yaa U can solve &lt;br&gt;
actually I am also working on the same equations.. &lt;br&gt;
(convection &amp; advection)&lt;br&gt;
initially I solve the 1D by matlab, now engaged to solve &lt;br&gt;
2D ... if u want to share some thing more plz feel free... &lt;br&gt;
coz u engaged since long time</description>
    </item>
    <item>
      <pubDate>Fri, 14 Dec 2007 17:47:35 -0500</pubDate>
      <title>Re: Convective diffusion equation in 2D</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/153917#406236</link>
      <author>Bruno Luong</author>
      <description>I just want to share few knowledge on solving this type of&lt;br&gt;
equation:&lt;br&gt;
&lt;br&gt;
- It's preferable to discretize time by implicite scheme for&lt;br&gt;
stability, at least for the laplacian (diffusion) term.&lt;br&gt;
&lt;br&gt;
- The convection term needs to be discretized by &quot;up-wind&quot;&lt;br&gt;
scheme, that warrants also the stability and ensures the&lt;br&gt;
solution to satisfy entropy condition. The up-wind is more&lt;br&gt;
tricky to implement in 2D than in 1D.&lt;br&gt;
&lt;br&gt;
Good luck,&lt;br&gt;
&lt;br&gt;
Bruno</description>
    </item>
    <item>
      <pubDate>Mon, 17 Dec 2007 23:50:34 -0500</pubDate>
      <title>Re: Convective diffusion equation in 2D</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/153917#406553</link>
      <author>Thomas Clark</author>
      <description>&amp;nbsp;dantimatter &amp;lt;dantimatter@gmail.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;1186153073.038814.223160@d30g2000prg.googlegroups.com&amp;gt;...&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Hello all,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I'm trying to find a nice and neat way to numerically&lt;br&gt;
solve the&lt;br&gt;
&amp;gt; convective diffusion equation&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; da/dt = D (d^2/dx^2 + d^2/dy^2) a - v da/dx&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; where a is the concentration of my solute, D is the diffusion&lt;br&gt;
&amp;gt; constant, and v is the surrounding fluid velocity in the x&lt;br&gt;
direction.&lt;br&gt;
&amp;gt; I thought that there was a small chance that maybe someone&lt;br&gt;
else here&lt;br&gt;
&amp;gt; has attempted something similar.&lt;br&gt;
&amp;gt; Is it even possible to solve this equation? As always, any&lt;br&gt;
suggestions&lt;br&gt;
&amp;gt; would be much appreciated.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Cheers,&lt;br&gt;
&amp;gt; Dan&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
My friend, you have just opened the third biggest can of&lt;br&gt;
worms in classical physics (IMHO!).&lt;br&gt;
&lt;br&gt;
Check the following link out. It's not matlab per-se, but&lt;br&gt;
there are matlab import-export routines for the files. If&lt;br&gt;
you know C++ (or are relatively fearless / have a bit of&lt;br&gt;
time on your hands), it's a very efficient solver for pretty&lt;br&gt;
much any PD Equation... I think one of the examples might&lt;br&gt;
include a convection-diffusion setup. To give you an idea, I&lt;br&gt;
didn't know C++, and it took me about a week to get up to&lt;br&gt;
speed with this solver, using a C++ textbook as a guide.&lt;br&gt;
&lt;br&gt;
Please note that it's a pretty specialised solver (spectral&lt;br&gt;
domain, for efficiency) and there are a lot of similar&lt;br&gt;
things out there on the web. Many of them will be simpler to&lt;br&gt;
implement, although beware there is a minefield of badly&lt;br&gt;
written code, too!&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://wissrech.ins.uni-bonn.de/research/projects/AWFD/&quot;&gt;http://wissrech.ins.uni-bonn.de/research/projects/AWFD/&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
If you need some help setting it up, I may be able to offer&lt;br&gt;
advice (or at least some really heavily commented code that&lt;br&gt;
I've developed). Fire off an email to the address shown&lt;br&gt;
(removing spam labels, of course)&lt;br&gt;
&lt;br&gt;
Good luck!&lt;br&gt;
&lt;br&gt;
Tom Clark</description>
    </item>
    <item>
      <pubDate>Mon, 17 Dec 2007 23:50:40 -0500</pubDate>
      <title>Re: Convective diffusion equation in 2D</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/153917#406554</link>
      <author>Thomas Clark</author>
      <description>&amp;nbsp;dantimatter &amp;lt;dantimatter@gmail.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;1186153073.038814.223160@d30g2000prg.googlegroups.com&amp;gt;...&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Hello all,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I'm trying to find a nice and neat way to numerically&lt;br&gt;
solve the&lt;br&gt;
&amp;gt; convective diffusion equation&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; da/dt = D (d^2/dx^2 + d^2/dy^2) a - v da/dx&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; where a is the concentration of my solute, D is the diffusion&lt;br&gt;
&amp;gt; constant, and v is the surrounding fluid velocity in the x&lt;br&gt;
direction.&lt;br&gt;
&amp;gt; I thought that there was a small chance that maybe someone&lt;br&gt;
else here&lt;br&gt;
&amp;gt; has attempted something similar.&lt;br&gt;
&amp;gt; Is it even possible to solve this equation? As always, any&lt;br&gt;
suggestions&lt;br&gt;
&amp;gt; would be much appreciated.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Cheers,&lt;br&gt;
&amp;gt; Dan&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
My friend, you have just opened the third biggest can of&lt;br&gt;
worms in classical physics (IMHO!).&lt;br&gt;
&lt;br&gt;
Check the following link out. It's not matlab per-se, but&lt;br&gt;
there are matlab import-export routines for the files. If&lt;br&gt;
you know C++ (or are relatively fearless / have a bit of&lt;br&gt;
time on your hands), it's a very efficient solver for pretty&lt;br&gt;
much any PD Equation... I think one of the examples might&lt;br&gt;
include a convection-diffusion setup. To give you an idea, I&lt;br&gt;
didn't know C++, and it took me about a week to get up to&lt;br&gt;
speed with this solver, using a C++ textbook as a guide.&lt;br&gt;
&lt;br&gt;
Please note that it's a pretty specialised solver (spectral&lt;br&gt;
domain, for efficiency) and there are a lot of similar&lt;br&gt;
things out there on the web. Many of them will be simpler to&lt;br&gt;
implement, although beware there is a minefield of badly&lt;br&gt;
written code, too!&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://wissrech.ins.uni-bonn.de/research/projects/AWFD/&quot;&gt;http://wissrech.ins.uni-bonn.de/research/projects/AWFD/&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
If you need some help setting it up, I may be able to offer&lt;br&gt;
advice (or at least some really heavily commented code that&lt;br&gt;
I've developed). Fire off an email to the address shown&lt;br&gt;
(removing spam labels, of course)&lt;br&gt;
&lt;br&gt;
Good luck!&lt;br&gt;
&lt;br&gt;
Tom Clark</description>
    </item>
    <item>
      <pubDate>Mon, 17 Dec 2007 23:55:16 -0500</pubDate>
      <title>Re: Convective diffusion equation in 2D</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/153917#406556</link>
      <author>Thomas Clark</author>
      <description>&amp;nbsp;dantimatter &amp;lt;dantimatter@gmail.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;1186153073.038814.223160@d30g2000prg.googlegroups.com&amp;gt;...&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Hello all,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I'm trying to find a nice and neat way to numerically&lt;br&gt;
solve the&lt;br&gt;
&amp;gt; convective diffusion equation&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; da/dt = D (d^2/dx^2 + d^2/dy^2) a - v da/dx&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; where a is the concentration of my solute, D is the diffusion&lt;br&gt;
&amp;gt; constant, and v is the surrounding fluid velocity in the x&lt;br&gt;
direction.&lt;br&gt;
&amp;gt; I thought that there was a small chance that maybe someone&lt;br&gt;
else here&lt;br&gt;
&amp;gt; has attempted something similar.&lt;br&gt;
&amp;gt; Is it even possible to solve this equation? As always, any&lt;br&gt;
suggestions&lt;br&gt;
&amp;gt; would be much appreciated.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Cheers,&lt;br&gt;
&amp;gt; Dan&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
My friend, you have just opened the fourth biggest can of&lt;br&gt;
worms in classical physics (IMHO!).&lt;br&gt;
&lt;br&gt;
Check the following link out. It's not matlab per-se, but&lt;br&gt;
there are matlab import-export routines for the files. If&lt;br&gt;
you know C++ (or are relatively fearless / have a bit of&lt;br&gt;
time on your hands), it's a very efficient solver for pretty&lt;br&gt;
much any PD Equation... I think one of the examples might&lt;br&gt;
include a convection-diffusion setup. To give you an idea, I&lt;br&gt;
didn't know C++, and it took me about a week to get up to&lt;br&gt;
speed with this solver, using a C++ textbook as a guide.&lt;br&gt;
&lt;br&gt;
Please note that it's a pretty specialised solver (spectral&lt;br&gt;
domain, for efficiency) and there are a lot of similar&lt;br&gt;
things out there on the web. Many of them will be simpler to&lt;br&gt;
implement, although beware there is a minefield of badly&lt;br&gt;
written code, too!&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://wissrech.ins.uni-bonn.de/research/projects/AWFD/&quot;&gt;http://wissrech.ins.uni-bonn.de/research/projects/AWFD/&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
If you need some help setting it up, I may be able to offer&lt;br&gt;
advice (or at least some really heavily commented code that&lt;br&gt;
I've developed). Fire off an email to the address shown&lt;br&gt;
(removing spam labels, of course)&lt;br&gt;
&lt;br&gt;
Good luck!&lt;br&gt;
&lt;br&gt;
Tom Clark</description>
    </item>
    <item>
      <pubDate>Tue, 18 Dec 2007 01:34:25 -0500</pubDate>
      <title>Re: Convective diffusion equation in 2D</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/153917#406559</link>
      <author>sumayyah </author>
      <description>&amp;nbsp;Hi dan&lt;br&gt;
&lt;br&gt;
im just see this forum. &lt;br&gt;
im also will use this equation. Someone advice me to use &lt;br&gt;
Fortran to run this kind of equation. Now im still trying &lt;br&gt;
to solve this equation. &lt;br&gt;
have u solve this equation? now, im still use 1D equation, &lt;br&gt;
after this i will use 2D. may i share experience with u?&lt;br&gt;
&lt;br&gt;
thank you&lt;br&gt;
Regards</description>
    </item>
    <item>
      <pubDate>Sun, 28 Sep 2008 22:36:02 -0400</pubDate>
      <title>Re: Convective diffusion equation in 2D</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/153917#602684</link>
      <author>Vishal Nandigana</author>
      <description>Hi&lt;br&gt;
&lt;br&gt;
I am solving a 2D convection diffusion equation using Finite Volume method by writing my own codes. Further may I know whether there are any source codes available to solve these equations. I saw this link&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://wissrech.ins.uni-bonn.de/research/projects/AWFD/UsersGuide/AWFD/index.html&quot;&gt;http://wissrech.ins.uni-bonn.de/research/projects/AWFD/UsersGuide/AWFD/index.html&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
and found that its only for finite difference schemes. May I know where we can get source codes for these equations using Finite volume methods. (Either C, C++ or Matlab language codes(Matlab will have memory problem though)).&lt;br&gt;
&lt;br&gt;
&amp;nbsp;Kindly do the needful help.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
With Regards&lt;br&gt;
&lt;br&gt;
Vishal</description>
    </item>
  </channel>
</rss>

