CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

method solve() of class multiphasesystem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 14, 2013, 06:31
Default method solve() of class multiphasesystem
  #1
Senior Member
 
Join Date: Jan 2012
Posts: 166
Rep Power: 14
maybee is on a distinguished road
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
maybee is offline   Reply With Quote

Old   December 14, 2013, 07:50
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
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
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   December 14, 2013, 11:55
Default
  #3
Senior Member
 
Join Date: Jan 2012
Posts: 166
Rep Power: 14
maybee is on a distinguished road
Thx a lot, I totally forgot about the possibility to look in the solver files .
maybee is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lattice Boltzmann method vs Finite Element Method and Finite Volume Method solemnpriest Main CFD Forum 3 August 12, 2013 11:00
Turbulence inflow generation - recycling method panda60 OpenFOAM Running, Solving & CFD 15 April 25, 2013 01:34
Reversed Time Marching Method (RTMM) paillou FLUENT 0 July 12, 2011 06:45
Always crash when solve a C-D nozzle flow field using rhoCentralFoam hawklion OpenFOAM Running, Solving & CFD 0 March 9, 2011 06:13
use of MAC method to solve sloshing problem. S.R.SAHI Main CFD Forum 1 April 15, 1999 22:28


All times are GMT -4. The time now is 12:04.