CFD Online Logo CFD Online URL
Home > Forums > General Forums > Main CFD Forum

help for 2D numerical sol of diffusion equation

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   August 28, 2003, 03:40
Default help for 2D numerical sol of diffusion equation
Posts: n/a
I am trying to write a matlab code to get the solution (steady state solution (implicit and explicit)) for the 2D diffusion equation. the fact is I am not really familiar with matlab. I think I have an equation which could be ok:

for i=2:nh-1

for j=2:nh-1






my problem is to implement the boundary conditions, the initial condition...

I hope someone can help me thank you

  Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Constant velocity of the material Sas CFX 15 July 13, 2010 08:56
Gas diffusion equation!! Arun Siemens 1 April 23, 2004 05:48
Diffusion Equation izardy amiruddin Main CFD Forum 2 July 4, 2002 08:14
Source term for diffusion equation in FLUENT 4.5 Raja Banerjee FLUENT 1 August 30, 2000 23:00
Numerical diffusion error Z.Zeng Main CFD Forum 8 October 22, 1999 09:06

All times are GMT -4. The time now is 13:27.