CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

How to write an simple diffusion equation.

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

LinkBack Thread Tools Display Modes
Old   January 25, 2011, 12:47
Default How to write an simple diffusion equation.
New Member
Jimmy Hill
Join Date: Jan 2011
Posts: 1
Rep Power: 0
Jimmy-Hill is on a distinguished road
Hi Foamers,

I am new to OpenFOAM and I need to write a diffusion equation , I have read the examples and I can't identify my case

d[ nu (dT/dx) ] /dx + d[ nu (dT/dy) ] /dy + d[ nu (dT/dz) ] /dz = 0 ;

nu and T are scalar Fields , nu can be a constant to

Thanks for your help

Jimmy-Hill is offline   Reply With Quote

Old   January 25, 2011, 16:06
Senior Member
Steven van Haren
Join Date: Aug 2010
Location: The Netherlands
Posts: 149
Rep Power: 9
stevenvanharen is on a distinguished road
This is written as:


Take a look at laplacianFoam, this solver solves the diffusion equation.
stevenvanharen is offline   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
Diffusion equation solved using Parallel Computing Sachin Paramane Main CFD Forum 0 June 11, 2007 23:48
SIMPLE and energy equation convergence Fabio Main CFD Forum 0 June 1, 2007 06:06
Open Boundary Condition for Diffusion Equation wen long Main CFD Forum 0 January 21, 2007 11:43
SIMPLE EQUATION YOUSEF EL HASSADI Main CFD Forum 1 July 14, 2003 20:14
Diffusion Equation izardy amiruddin Main CFD Forum 2 July 4, 2002 08:14

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