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

Multiphase 3 Phase Fraction - Any Help Appreciated!

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By geth03

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 18, 2020, 08:03
Default Multiphase 3 Phase Fraction - Any Help Appreciated!
  #1
New Member
 
Bill
Join Date: Jun 2019
Posts: 29
Rep Power: 7
OPFO is on a distinguished road
For multiphase systems with 3 phases (gas, liquid, solid), how in the world can I access the phase fraction for each phase?

For interfoam, it's simple - alpha1 and alpha2. What is it for multiphase systems? alpha1, alpha2, alpha3 do not work.

I'm looking through the phaseModel and multiphaseSystem codes, but it's not as clear with my limited CPP knowledge.
OPFO is offline   Reply With Quote

Old   September 16, 2020, 11:10
Default OpenFoam icoReactingMultiphaseInterFoam v2006
  #2
New Member
 
Bill
Join Date: Jun 2019
Posts: 29
Rep Power: 7
OPFO is on a distinguished road
I haven't found anything on the forums and online so perhaps no one knows?

How can I explicitly reference the alpha.solid volume fraction?

From MulitphaseSystem.C: this prints out the various volume fractions for each phase.

for (phaseModel& phase : phases_)
{
volScalarField& alpha = phase;
alpha += alpha*sumCorr;

Info<< alpha.name() << " volume fraction = "
<< alpha.weightedAverage(mesh_.V()).value()
<< " Min(alpha) = " << min(alpha).value()
<< " Max(alpha) = " << max(alpha).value()
<< endl;
}

again, everything is always referenced in terms of the list of phases or phase pairs. Can anyone shed light on how I can determine the volume fraction of the solid phase only?
OPFO is offline   Reply With Quote

Old   September 29, 2020, 07:43
Default
  #3
Senior Member
 
Join Date: Dec 2019
Location: Cologne, Germany
Posts: 369
Rep Power: 8
geth03 is on a distinguished road
in multiphase euler foam you can access the alpha of the solid by

phases[index_Solid]. phases is the void fraction and because you have

multiple phases you need to know your index of the solid phase.

remember that in c++ you begin counting by zero. so if your solid is

in 3rd position you type phases[2].
OPFO likes this.
geth03 is offline   Reply With Quote

Reply

Tags
alpha, interfoam, multiphase, phase fraction


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
multiphase alpha.solid phase fraction OPFO OpenFOAM Running, Solving & CFD 1 March 4, 2021 07:00
alphaEqn.H in twoPhaseEulerFoam cheng1988sjtu OpenFOAM Bugs 15 May 1, 2016 17:12
[swak4Foam] mass conservation of solid phase violated when using groovyBC with twoPhaseEulerFoam xpqiu OpenFOAM Community Contributions 8 June 17, 2015 03:08
Multiphase Turbulence: K-E per phase meangreen FLUENT 0 August 20, 2009 19:34
interDyMFoam - change in volume fraction gopala OpenFOAM Running, Solving & CFD 0 April 27, 2009 11:46


All times are GMT -4. The time now is 16:44.