CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

access the source code for SIMPLE

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

LinkBack Thread Tools Display Modes
Old   March 6, 2013, 23:01
Default access the source code for SIMPLE
Nikesh Bhattarai
Join Date: Nov 2011
Location: Sacheon, South Korea
Posts: 79
Rep Power: 5
nikesh is an unknown quantity at this point
Hi all,
i need to access the source code of SIMPLE algorithm in OpenFOAM. Where do I look?
Secondly, after going into the source code, I'll need to understand one of the functions used there. For eg, there's a piece of code that reads as::
eqnResidual = solve ( UEqn() == -fvc::grad(p) ).initialResidual();

Now, I need to find out how initialResidual is determined/calculated in openFOAM,
how and where
do I look for it??
Is there any command that I can use in the terminal that'll direct me where that particular function is located?

nikesh is offline   Reply With Quote

Old   March 7, 2013, 03:37
Senior Member
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 13
Bernhard is on a distinguished road
I answered your question here: acc
Bernhard 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
problem on installing swak4Foam navid2 OpenFOAM Installation 2 May 30, 2012 04:32
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 10:57
Access source code of OpenFOAM nmansouri OpenFOAM 1 October 14, 2010 02:17
Fast Polygon Triangulation with source code. Liang, Wu Main CFD Forum 0 November 2, 2005 20:42
Design Integration with CFD? John C. Chien Main CFD Forum 19 May 17, 2001 15:56

All times are GMT -4. The time now is 07:37.