|
[Sponsors] |
Multiphase 3 Phase Fraction - Any Help Appreciated! |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 18, 2020, 08:03 |
Multiphase 3 Phase Fraction - Any Help Appreciated!
|
#1 |
New Member
Bill
Join Date: Jun 2019
Posts: 29
Rep Power: 7 |
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. |
|
September 16, 2020, 11:10 |
OpenFoam icoReactingMultiphaseInterFoam v2006
|
#2 |
New Member
Bill
Join Date: Jun 2019
Posts: 29
Rep Power: 7 |
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? |
|
September 29, 2020, 07:43 |
|
#3 |
Senior Member
Join Date: Dec 2019
Location: Cologne, Germany
Posts: 367
Rep Power: 8 |
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]. |
|
Tags |
alpha, interfoam, multiphase, phase fraction |
|
|
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 |