mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
This case is a simple bubble column, which is run by reactingTwoPhaseEulerFoam. Upon completion, rStatAnalysis can be run to compute the recurrence statistics of the bubble column. This demo case must be run in parallel, as rStatAnalysis apparently does not run as a single, serial process.
164 lines
2.9 KiB
C++
164 lines
2.9 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: 4.0 |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "constant";
|
|
object phaseProperties;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
type heatAndMomentumTransferTwoPhaseSystem;
|
|
|
|
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
|
|
(
|
|
);
|
|
|
|
wallLubrication
|
|
(
|
|
);
|
|
|
|
turbulentDispersion
|
|
(
|
|
);
|
|
|
|
// Minimum allowable pressure
|
|
pMin 10000;
|
|
|
|
|
|
// ************************************************************************* //
|