CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   method solve() of class multiphasesystem (https://www.cfd-online.com/Forums/openfoam-programming-development/127561-method-solve-class-multiphasesystem.html)

maybee December 14, 2013 06:31

method solve() of class multiphasesystem
 
hi,

in the while loop "while (pimple.loop())" of the multiphaseEulerFoam solver is called method solve() on the object "multiphasesystem fluid" like

Code:

while (pimple.loop())     
{                                         
sgsModel->correct();   
fluid.solve();    //HERE
.
.
.

where object fluid was defined before as

Code:

multiphaseSystem fluid(U, phi);
When looking up the definition of method solve() you only get

Quote:

Solve for the mixture phase-fractions.
Source code for solve() also is not provided. It is very important for me to know what is happening in method solve, since I urgently need to know where the mixture phase fractions are stored, what exactly und how it is calculated in method solve.

greetings
maybee

ngj December 14, 2013 07:50

Hi Maybee

I looked it up in a random OF version (2.2.0), and if you are looking in the file:

Code:

./applications/solvers/multiphase/multiphaseEulerFoam/multiphaseSystem/multiphaseSystem.C
you will find the implementation of the solution method in the multiphaseSystem.

Kind regards,

Niels

maybee December 14, 2013 11:55

Thx a lot, I totally forgot about the possibility to look in the solver files :D.


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