CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   access the source code for SIMPLE (http://www.cfd-online.com/Forums/openfoam-solving/114209-access-source-code-simple.html)

nikesh March 6, 2013 23:01

access the source code for SIMPLE
 
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!!

Bernhard March 7, 2013 03:37

I answered your question here: http://www.cfd-online.com/Forums/ope...14212-acc.html


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