CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

access the source code for SIMPLE

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 6, 2013, 22:01
Default access the source code for SIMPLE
  #1
Member
 
Nikesh Bhattarai
Join Date: Nov 2011
Location: Sacheon, South Korea
Posts: 82
Rep Power: 13
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?

Thnx!!
nikesh is offline   Reply With Quote

Old   March 7, 2013, 02:37
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21
Bernhard is on a distinguished road
I answered your question here: http://www.cfd-online.com/Forums/ope...14212-acc.html
Bernhard is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] problem on installing swak4Foam navid2 OpenFOAM Community Contributions 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 19: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 05:19.