239 lines
4.1 KiB
C++
239 lines
4.1 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: plus |
|
|
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "constant";
|
|
object phaseProperties;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
type interfaceCompositionPhaseChangeTwoPhaseSystem;
|
|
|
|
phases (gas liquid);
|
|
|
|
gas
|
|
{
|
|
type multiComponentPhaseModel;
|
|
diameterModel isothermal;
|
|
isothermalCoeffs
|
|
{
|
|
d0 3e-3;
|
|
p0 1e5;
|
|
}
|
|
Sc 0.7;
|
|
|
|
residualAlpha 1e-6;
|
|
}
|
|
|
|
liquid
|
|
{
|
|
type multiComponentPhaseModel;
|
|
diameterModel constant;
|
|
constantCoeffs
|
|
{
|
|
d 1e-4;
|
|
}
|
|
Sc 0.7;
|
|
|
|
residualAlpha 1e-6;
|
|
}
|
|
|
|
blending
|
|
{
|
|
default
|
|
{
|
|
type linear;
|
|
minFullyContinuousAlpha.gas 0.7;
|
|
minPartlyContinuousAlpha.gas 0.5;
|
|
minFullyContinuousAlpha.liquid 0.7;
|
|
minPartlyContinuousAlpha.liquid 0.5;
|
|
}
|
|
|
|
heatTransferModel
|
|
{
|
|
type linear;
|
|
minFullyContinuousAlpha.gas 1;
|
|
minPartlyContinuousAlpha.gas 0;
|
|
minFullyContinuousAlpha.liquid 1;
|
|
minPartlyContinuousAlpha.liquid 0;
|
|
}
|
|
|
|
massTransferModel
|
|
{
|
|
type linear;
|
|
minFullyContinuousAlpha.gas 1;
|
|
minPartlyContinuousAlpha.gas 0;
|
|
minFullyContinuousAlpha.liquid 1;
|
|
minPartlyContinuousAlpha.liquid 0;
|
|
}
|
|
}
|
|
|
|
surfaceTension
|
|
(
|
|
(gas and liquid)
|
|
{
|
|
type constant;
|
|
sigma 0.07;
|
|
}
|
|
);
|
|
|
|
aspectRatio
|
|
(
|
|
(gas in liquid)
|
|
{
|
|
type constant;
|
|
E0 1.0;
|
|
}
|
|
|
|
(liquid in gas)
|
|
{
|
|
type constant;
|
|
E0 1.0;
|
|
}
|
|
);
|
|
|
|
drag
|
|
(
|
|
(gas in liquid)
|
|
{
|
|
type SchillerNaumann;
|
|
residualRe 1e-3;
|
|
swarmCorrection
|
|
{
|
|
type none;
|
|
}
|
|
}
|
|
|
|
(liquid in gas)
|
|
{
|
|
type SchillerNaumann;
|
|
residualRe 1e-3;
|
|
swarmCorrection
|
|
{
|
|
type none;
|
|
}
|
|
}
|
|
);
|
|
|
|
virtualMass
|
|
(
|
|
(gas in liquid)
|
|
{
|
|
type constantCoefficient;
|
|
Cvm 0.5;
|
|
}
|
|
|
|
(liquid in gas)
|
|
{
|
|
type constantCoefficient;
|
|
Cvm 0.5;
|
|
}
|
|
);
|
|
|
|
interfaceComposition
|
|
(
|
|
(gas in liquid)
|
|
{
|
|
type Saturated;
|
|
species ( water );
|
|
Le 1.0;
|
|
saturationPressure
|
|
{
|
|
type ArdenBuck;
|
|
}
|
|
}
|
|
|
|
(liquid in gas)
|
|
{
|
|
type Henry;
|
|
species ( air );
|
|
k ( 1.492e-2 );
|
|
Le 1.0;
|
|
}
|
|
);
|
|
|
|
heatTransfer.gas
|
|
(
|
|
(gas in liquid)
|
|
{
|
|
type spherical;
|
|
residualAlpha 1e-4;
|
|
}
|
|
|
|
(liquid in gas)
|
|
{
|
|
type RanzMarshall;
|
|
residualAlpha 1e-4;
|
|
}
|
|
);
|
|
|
|
heatTransfer.liquid
|
|
(
|
|
(gas in liquid)
|
|
{
|
|
type RanzMarshall;
|
|
residualAlpha 1e-4;
|
|
}
|
|
|
|
(liquid in gas)
|
|
{
|
|
type spherical;
|
|
residualAlpha 1e-4;
|
|
}
|
|
);
|
|
|
|
massTransfer.gas
|
|
(
|
|
(gas in liquid)
|
|
{
|
|
type spherical;
|
|
Le 1.0;
|
|
}
|
|
|
|
(liquid in gas)
|
|
{
|
|
type Frossling;
|
|
Le 1.0;
|
|
}
|
|
);
|
|
|
|
massTransfer.liquid
|
|
(
|
|
(gas in liquid)
|
|
{
|
|
type Frossling;
|
|
Le 1.0;
|
|
}
|
|
|
|
(liquid in gas)
|
|
{
|
|
type spherical;
|
|
Le 1.0;
|
|
}
|
|
);
|
|
|
|
lift
|
|
(
|
|
);
|
|
|
|
wallLubrication
|
|
(
|
|
);
|
|
|
|
turbulentDispersion
|
|
(
|
|
);
|
|
|
|
// Minimum allowable pressure
|
|
pMin 10000;
|
|
|
|
// ************************************************************************* //
|