|
[Sponsors] |
March 6, 2013, 23:01 |
access the source code for SIMPLE
|
#1 |
Member
Nikesh Bhattarai
Join Date: Nov 2011
Location: Sacheon, South Korea
Posts: 82
Rep Power: 13 |
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!! |
|
March 7, 2013, 03:37 |
|
#2 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
I answered your question here: http://www.cfd-online.com/Forums/ope...14212-acc.html
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] problem on installing swak4Foam | navid2 | OpenFOAM Community Contributions | 2 | May 30, 2012 05:32 |
friction forces icoFoam | ofslcm | OpenFOAM | 3 | April 7, 2012 11:57 |
Access source code of OpenFOAM | nmansouri | OpenFOAM | 1 | October 14, 2010 03: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 16:56 |