CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   rhoCentralFoam structure and algorithm (http://www.cfd-online.com/Forums/openfoam-programming-development/117931-rhocentralfoam-structure-algorithm.html)

immortality May 17, 2013 09:24

rhoCentralFoam structure and algorithm
 
Hi everyone!
I wondering if whats the algorithm that rhoCentralFoam uses as a procedure?
the code in other solvers are more clear but rhoCentralFoam has a lot of reconstruction and interpolation that I don't understand the meaning of them to grasp its algorithm.
can anyone help me through finding its algorithm?
or guide to maybe a link of page?

startingWithCFD May 17, 2013 09:36

Google is your friend.

http://www.cscamm.umd.edu/centpack/p...9-centpack.pdf

immortality May 17, 2013 10:53

thank you.could you help me on how understand the procedures in a simple way so that i can show that stages in a "flow chart"( like rhoPimpleFoam by its loops that are clear for understanding and showing in flow charts)?
thanks.

ngj May 17, 2013 19:34

Hi Ehsan,

I believe you are interested in the pseudo-code presented on page 14 in the paper, which you find by following the link.

Kind regards

Niels

immortality May 18, 2013 08:00

Hi Niels
so is this summary algorithm based on the table true to create a flow chart?
time loop
1)predictor step for variables (lines 3,4,5,6 of the table)
2)solving continuity (line 7)
3)predictor step for momentum equation (lines 8 and 9)
4)solving momentum equation (line 10)
5)predictor step for Energy equation (lines 11,12 )
6)solving enery equation (line 13)
7)evaluating p (line 14)
increasing time and continue

is this list true and complete?
so there is not any other loop in the algorithm like PIMPLE loop and PISO,correct?
please let me know any thought to modify it better or if you verify my conclusion.
thanks.

ngj May 18, 2013 11:20

Hi Ehsan,

I merely took a quick look at the article, and found the mentioned table. Since it is a peer-reviewed journal article, I suppose it is correct at the point, where the article was written.

It will be up to you to understand the procedure and to verify that the method has not changed during the last 4 years, i.e. compare the source code with the journal article and identify potential discrepancies. If there are no discrepancies, then you have a nice reference for your work; otherwise you need to understand, why the code has been changed.

Kind regards

Niels


All times are GMT -4. The time now is 03:52.