/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1606+ |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object phaseProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type heatAndMomentumTransferMultiphaseSystem;
/* List the phases that will interact, phases are read in the order given here
with first phase = dispersed phase, second phase as continuous phase. */
phases (air water);
//First phase is dispersed phase and a reacting phase -> reactingPhaseModel;
air {
type reactingPhaseModel; //purePhaseModel;
//to model change in diameter of the gas due to reactions
diameterModel isothermal;
isothermalCoeffs {
d0 3e-3; //Size of diameter of the gas bubbles
p0 1e5; //Initial pressure which is used as reference
} // pressure to calculate changes in diameter
Sc 0.7; //Schmidt number to calculate mass diffusivity
residualAlpha 1e-6;
}
//Second phase is continuous phase and a pure phase -> purePhaseModel;
water {
type purePhaseModel;
diameterModel constant;
constantCoeffs {
d 1e-4;
}
residualAlpha 1e-6;
}
/*Method to decide dispersed phase and continuous phase locally for each cell.
Parameter minPartlyContinuousAlpha.air specifies the minimum volume fraction of
the gas phase in a cell volume which can be considered as dispersed phase.
minFullyContinuousAlpha.air specifies the minimum volume fraction of the air to be
considered as continuous phase, the other phase will become the dispersed phase*/
//
blending {
default {
type linear;
minFullyContinuousAlpha.air 0.7;
minPartlyContinuousAlpha.air 0.5;
minFullyContinuousAlpha.water 0.7;
minPartlyContinuousAlpha.water 0.5;
}
}
surfaceTension
(
//Surface tension when air in dispersed phase.
(air and water) {
type constant;
sigma 0.07;
}
);
interfaceCompression
();
aspectRatio
(
// Shape of liquid drops moving in gas media and Shape of air bubbles moving in
// liquid media
(air in water) {
type constant;
E0 1.0; //Eotvos Number
}
(water in air) {
type constant;
E0 1.0;
}
);
drag
(
//Drag coefficient when air is in dispersed phase
(air in water) {
type SchillerNaumann;
residualRe 1e-3;
swarmCorrection {
type none;
}
}
//Drag coefficient when water is in dispersed phase
(water in air) {
type SchillerNaumann;
/* Options are Ergun, GidaspowErgunWenYu, GidaspowSchillerNaumann,
SyamlalOBrien, segregated, TomiyamaCorrelated, WenYu ... */
residualRe 1e-3;
swarmCorrection {
type none;
}
}
(air and water) {
type segregated;
//Segregated drag model for regions with no obvious dispersed phase.
//Ref: "Towards the Numerical Simulation of Multi-scale Two-phase Flows"
m 0.5;
n 8;
swarmCorrection {
type none;
}
}
);
virtualMass
(
(air in water) {
type constantCoefficient;
Cvm 0.5; //Constant virtual mass coefficient
}
(water in air) {
type constantCoefficient;
Cvm 0.5; //Constant virtual mass coefficient
}
);
heatTransfer
(
(air in water) {
type RanzMarshall;
residualAlpha 1e-4;
}
(water in air) {
type RanzMarshall;
residualAlpha 1e-4;
}
);
lift
();
wallLubrication
();
turbulentDispersion
();
// Minimum allowable pressure
pMin 10000;
// ************************************************************************* //