CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   access the source code for SIMPLE (

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?


Bernhard March 7, 2013 03:37

I answered your question here:

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