167 lines
2.9 KiB
C++
167 lines
2.9 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: v2112 |
|
|
| \\ / A nd | Website: www.openfoam.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object phaseProperties;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
type basicTwoPhaseSystem;
|
|
|
|
phases (air water);
|
|
|
|
air
|
|
{
|
|
type purePhaseModel;
|
|
diameterModel isothermal;
|
|
isothermalCoeffs
|
|
{
|
|
d0 3e-3;
|
|
p0 1e5;
|
|
}
|
|
|
|
residualAlpha 1e-6;
|
|
}
|
|
|
|
water
|
|
{
|
|
type purePhaseModel;
|
|
diameterModel constant;
|
|
constantCoeffs
|
|
{
|
|
d 1e-4;
|
|
}
|
|
|
|
residualAlpha 1e-6;
|
|
}
|
|
|
|
blending
|
|
{
|
|
default
|
|
{
|
|
type linear;
|
|
minFullyContinuousAlpha.air 0.7;
|
|
minPartlyContinuousAlpha.air 0.5;
|
|
minFullyContinuousAlpha.water 0.7;
|
|
minPartlyContinuousAlpha.water 0.5;
|
|
}
|
|
}
|
|
|
|
surfaceTension
|
|
(
|
|
(air and water)
|
|
{
|
|
type constant;
|
|
sigma 0.07;
|
|
}
|
|
);
|
|
|
|
aspectRatio
|
|
(
|
|
(air in water)
|
|
{
|
|
type constant;
|
|
E0 1.0;
|
|
}
|
|
|
|
(water in air)
|
|
{
|
|
type constant;
|
|
E0 1.0;
|
|
}
|
|
);
|
|
|
|
drag
|
|
(
|
|
(air in water)
|
|
{
|
|
type SchillerNaumann;
|
|
residualRe 1e-3;
|
|
swarmCorrection
|
|
{
|
|
type none;
|
|
}
|
|
}
|
|
|
|
(water in air)
|
|
{
|
|
type SchillerNaumann;
|
|
residualRe 1e-3;
|
|
swarmCorrection
|
|
{
|
|
type none;
|
|
}
|
|
}
|
|
|
|
(air and water)
|
|
{
|
|
type segregated;
|
|
m 0.5;
|
|
n 8;
|
|
swarmCorrection
|
|
{
|
|
type none;
|
|
}
|
|
}
|
|
);
|
|
|
|
virtualMass
|
|
(
|
|
(air in water)
|
|
{
|
|
type constantCoefficient;
|
|
Cvm 0.5;
|
|
}
|
|
|
|
(water in air)
|
|
{
|
|
type constantCoefficient;
|
|
Cvm 0.5;
|
|
}
|
|
);
|
|
|
|
heatTransfer
|
|
(
|
|
(air in water)
|
|
{
|
|
type RanzMarshall;
|
|
residualAlpha 1e-4;
|
|
}
|
|
|
|
(water in air)
|
|
{
|
|
type RanzMarshall;
|
|
residualAlpha 1e-4;
|
|
}
|
|
);
|
|
|
|
lift
|
|
(
|
|
);
|
|
|
|
phaseTransfer
|
|
(
|
|
);
|
|
|
|
wallLubrication
|
|
(
|
|
);
|
|
|
|
turbulentDispersion
|
|
(
|
|
);
|
|
|
|
// Minimum allowable pressure
|
|
pMin 10000;
|
|
|
|
|
|
// ************************************************************************* //
|