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
179 lines
3.7 KiB
C++
179 lines
3.7 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;
|
|
location "constant";
|
|
object phaseProperties;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
type populationBalanceMultiphaseSystem;
|
|
|
|
phases (air1 air2 air3 water);
|
|
|
|
populationBalances (bubbles);
|
|
|
|
air1
|
|
{
|
|
type pureIsothermalPhaseModel;
|
|
diameterModel velocityGroup;
|
|
velocityGroupCoeffs
|
|
{
|
|
populationBalance bubbles;
|
|
|
|
shapeModel spherical;
|
|
|
|
sizeGroups
|
|
(
|
|
f0 {dSph 2.8193481473E-02; value 0.0;}
|
|
f1 {dSph 3.2273479789E-02; value 0.0;}
|
|
f2 {dSph 3.6943911970E-02; value 0.0;}
|
|
f3 {dSph 4.2290222209E-02; value 0.0;}
|
|
f4 {dSph 4.8410219684E-02; value 0.0;}
|
|
f5 {dSph 5.5415867956E-02; value 0.0;}
|
|
f6 {dSph 6.3435333314E-02; value 0.0;}
|
|
f7 {dSph 7.2615329525E-02; value 0.0;}
|
|
f8 {dSph 8.3123801935E-02; value 0.0;}
|
|
f9 {dSph 9.5152999970E-02; value 0.0;}
|
|
f10{dSph 1.0892299429E-01; value 0.0;}
|
|
f11{dSph 1.2468570290E-01; value 0.0;}
|
|
f12{dSph 1.4272949995E-01; value 0.0;}
|
|
f13{dSph 1.6338449143E-01; value 0.0;}
|
|
f14{dSph 1.8702855435E-01; value 0.0;}
|
|
f15{dSph 2.1409424994E-01; value 0.0;}
|
|
f16{dSph 2.4507673715E-01; value 0.0;}
|
|
f17{dSph 2.8054283153E-01; value 0.0;}
|
|
f18{dSph 3.2114137490E-01; value 0.0;}
|
|
f19{dSph 3.6761510572E-01; value 1.0;}
|
|
);
|
|
}
|
|
|
|
residualAlpha 1e-6;
|
|
}
|
|
|
|
air2
|
|
{
|
|
type pureIsothermalPhaseModel;
|
|
diameterModel velocityGroup;
|
|
velocityGroupCoeffs
|
|
{
|
|
populationBalance bubbles;
|
|
|
|
shapeModel spherical;
|
|
|
|
sizeGroups
|
|
(
|
|
f20{dSph 4.2081424730E-01; value 1.0;}
|
|
f21{dSph 4.8171206235E-01; value 0.0;}
|
|
f22{dSph 5.5142265857E-01; value 0.0;}
|
|
f23{dSph 6.3122137094E-01; value 0.0;}
|
|
f24{dSph 7.2256809352E-01; value 0.0;}
|
|
);
|
|
}
|
|
|
|
residualAlpha 1e-6;
|
|
}
|
|
|
|
air3
|
|
{
|
|
type pureIsothermalPhaseModel;
|
|
diameterModel velocityGroup;
|
|
velocityGroupCoeffs
|
|
{
|
|
populationBalance bubbles;
|
|
|
|
shapeModel spherical;
|
|
|
|
sizeGroups
|
|
(
|
|
f25{dSph 8.2713398787E-01; value 0.0;}
|
|
f26{dSph 9.4683205641E-01; value 0.0;}
|
|
f27{dSph 1.0838521403E+00; value 0.0;}
|
|
f28{dSph 1.2407009818E+00; value 1.0;}
|
|
);
|
|
}
|
|
|
|
residualAlpha 1e-6;
|
|
}
|
|
|
|
water
|
|
{
|
|
type pureIsothermalPhaseModel;
|
|
diameterModel none;
|
|
|
|
residualAlpha 1e-6;
|
|
}
|
|
|
|
populationBalanceCoeffs
|
|
{
|
|
bubbles
|
|
{
|
|
continuousPhase water;
|
|
|
|
coalescenceModels
|
|
();
|
|
|
|
binaryBreakupModels
|
|
(
|
|
powerLawUniformBinary
|
|
{
|
|
power 2.0;
|
|
}
|
|
);
|
|
|
|
breakupModels
|
|
();
|
|
|
|
driftModels
|
|
();
|
|
|
|
nucleationModels
|
|
();
|
|
}
|
|
}
|
|
|
|
blending
|
|
{
|
|
default
|
|
{
|
|
type continuous;
|
|
phase water;
|
|
}
|
|
}
|
|
|
|
surfaceTension
|
|
{}
|
|
|
|
interfaceCompression
|
|
{}
|
|
|
|
drag
|
|
{}
|
|
|
|
virtualMass
|
|
{}
|
|
|
|
heatTransfer
|
|
{}
|
|
|
|
phaseTransfer
|
|
{}
|
|
|
|
lift
|
|
{}
|
|
|
|
wallLubrication
|
|
{}
|
|
|
|
turbulentDispersion
|
|
{}
|
|
|
|
// ************************************************************************* //
|