executed with foamRun for single region simulations of foamMultiRun for
multi-region simulations. Replaces multiphaseEulerFoam and all the
corresponding tutorials have been updated and moved to
tutorials/modules/multiphaseEuler.
Class
Foam::solvers::multiphaseEuler
Description
Solver module for a system of any number of compressible fluid phases with a
common pressure, but otherwise separate properties. The type of phase model
is run time selectable and can optionally represent multiple species and
in-phase reactions. The phase system is also run time selectable and can
optionally represent different types of momentum, heat and mass transfer.
Uses the flexible PIMPLE (PISO-SIMPLE) solution for time-resolved and
pseudo-transient and steady simulations.
Optional fvModels and fvConstraints are provided to enhance the simulation
in many ways including adding various sources, Lagrangian
particles, surface film etc. and constraining or limiting the solution.
SourceFiles
multiphaseEuler.C
See also
Foam::solvers::compressibleVoF
Foam::solvers::fluidSolver
Foam::solvers::incompressibleFluid
253 lines
4.2 KiB
C++
253 lines
4.2 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class dictionary;
|
|
object phaseProperties;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
type populationBalanceMultiphaseSystem;
|
|
|
|
phases (air1 air2 water);
|
|
|
|
populationBalances (bubbles);
|
|
|
|
air1
|
|
{
|
|
type pureIsothermalPhaseModel;
|
|
|
|
diameterModel velocityGroup;
|
|
|
|
velocityGroupCoeffs
|
|
{
|
|
populationBalance bubbles;
|
|
|
|
shapeModel spherical;
|
|
|
|
sizeGroups
|
|
(
|
|
f1 {dSph 1e-3; value 1.0;}
|
|
f2 {dSph 2e-3; value 0.0;}
|
|
f3 {dSph 3e-3; value 0.0;}
|
|
f4 {dSph 4e-3; value 0.0;}
|
|
f5 {dSph 5e-3; value 0.0;}
|
|
);
|
|
}
|
|
|
|
residualAlpha 1e-6;
|
|
}
|
|
|
|
air2
|
|
{
|
|
type pureIsothermalPhaseModel;
|
|
|
|
diameterModel velocityGroup;
|
|
|
|
velocityGroupCoeffs
|
|
{
|
|
populationBalance bubbles;
|
|
|
|
shapeModel spherical;
|
|
|
|
sizeGroups
|
|
(
|
|
f6 {dSph 6e-3; value 1.0;}
|
|
f7 {dSph 7e-3; value 0.0;}
|
|
f8 {dSph 8e-3; value 0.0;}
|
|
f9 {dSph 9e-3; value 0.0;}
|
|
f10{dSph 10e-3; value 0.0;}
|
|
f11{dSph 11e-3; value 0.0;}
|
|
f12{dSph 12e-3; value 0.0;}
|
|
);
|
|
}
|
|
|
|
residualAlpha 1e-6;
|
|
}
|
|
|
|
water
|
|
{
|
|
type pureIsothermalPhaseModel;
|
|
|
|
diameterModel none;
|
|
|
|
residualAlpha 1e-6;
|
|
}
|
|
|
|
populationBalanceCoeffs
|
|
{
|
|
bubbles
|
|
{
|
|
continuousPhase water;
|
|
|
|
coalescenceModels
|
|
(
|
|
LehrMilliesMewes{}
|
|
);
|
|
|
|
binaryBreakupModels
|
|
(
|
|
LehrMilliesMewes{}
|
|
);
|
|
|
|
breakupModels
|
|
();
|
|
|
|
driftModels
|
|
(
|
|
densityChange{}
|
|
);
|
|
|
|
nucleationModels
|
|
();
|
|
}
|
|
}
|
|
|
|
blending
|
|
{
|
|
default
|
|
{
|
|
type continuous;
|
|
phase water;
|
|
}
|
|
}
|
|
|
|
surfaceTension
|
|
{
|
|
air1_water
|
|
{
|
|
type constant;
|
|
sigma 0.083;
|
|
}
|
|
|
|
air2_water
|
|
{
|
|
type constant;
|
|
sigma 0.083;
|
|
}
|
|
}
|
|
|
|
interfaceCompression
|
|
{}
|
|
|
|
drag
|
|
{
|
|
air1_dispersedIn_water
|
|
{
|
|
type IshiiZuber;
|
|
residualRe 1e-3;
|
|
}
|
|
|
|
air2_dispersedIn_water
|
|
{
|
|
type IshiiZuber;
|
|
residualRe 1e-3;
|
|
}
|
|
}
|
|
|
|
virtualMass
|
|
{
|
|
air1_dispersedIn_water
|
|
{
|
|
type constantCoefficient;
|
|
Cvm 0.5;
|
|
}
|
|
|
|
air2_dispersedIn_water
|
|
{
|
|
type constantCoefficient;
|
|
Cvm 0.5;
|
|
}
|
|
}
|
|
|
|
heatTransfer
|
|
{}
|
|
|
|
phaseTransfer
|
|
{}
|
|
|
|
lift
|
|
{
|
|
air1_dispersedIn_water
|
|
{
|
|
type wallDamped;
|
|
|
|
wallDamping
|
|
{
|
|
type cosine;
|
|
Cd 3.0;
|
|
}
|
|
|
|
lift
|
|
{
|
|
type Tomiyama;
|
|
|
|
aspectRatio
|
|
{
|
|
type Wellek;
|
|
}
|
|
}
|
|
}
|
|
|
|
air2_dispersedIn_water
|
|
{
|
|
type wallDamped;
|
|
|
|
wallDamping
|
|
{
|
|
type cosine;
|
|
Cd 3.0;
|
|
}
|
|
|
|
lift
|
|
{
|
|
type Tomiyama;
|
|
|
|
aspectRatio
|
|
{
|
|
type Wellek;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
wallLubrication
|
|
{
|
|
air1_dispersedIn_water
|
|
{
|
|
type Antal;
|
|
Cw1 -0.01;
|
|
Cw2 0.05;
|
|
}
|
|
|
|
air2_dispersedIn_water
|
|
{
|
|
type Antal;
|
|
Cw1 -0.01;
|
|
Cw2 0.05;
|
|
}
|
|
}
|
|
|
|
turbulentDispersion
|
|
{
|
|
air1_dispersedIn_water
|
|
{
|
|
type Burns;
|
|
sigma 0.9;
|
|
}
|
|
|
|
air2_dispersedIn_water
|
|
{
|
|
type Burns;
|
|
sigma 0.9;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|