Multi-species, mass-transfer and reaction support and multi-phase structure provided by William Bainbridge. Integration of the latest p-U and face-p_U algorithms with William's multi-phase structure is not quite complete due to design incompatibilities which needs further development. However the integration of the functionality is complete. The results of the tutorials are not exactly the same for the twoPhaseEulerFoam and reactingTwoPhaseEulerFoam solvers but are very similar. Further analysis in needed to ensure these differences are physical or to resolve them; in the meantime the twoPhaseEulerFoam solver will be maintained.
115 lines
1.9 KiB
C++
115 lines
1.9 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "constant";
|
|
object phaseProperties;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
type heatAndMomentumTransferTwoPhaseSystem;
|
|
|
|
phases (particles air);
|
|
|
|
particles
|
|
{
|
|
type purePhaseModel;
|
|
|
|
diameterModel constant;
|
|
constantCoeffs
|
|
{
|
|
d 3e-4;
|
|
}
|
|
|
|
alphaMax 0.62;
|
|
residualAlpha 1e-6;
|
|
}
|
|
|
|
air
|
|
{
|
|
type purePhaseModel;
|
|
|
|
diameterModel constant;
|
|
constantCoeffs
|
|
{
|
|
d 1;
|
|
}
|
|
|
|
residualAlpha 0;
|
|
}
|
|
|
|
blending
|
|
{
|
|
default
|
|
{
|
|
type none;
|
|
continuousPhase air;
|
|
}
|
|
}
|
|
|
|
surfaceTension
|
|
(
|
|
(air and particles)
|
|
{
|
|
type constant;
|
|
sigma 0;
|
|
}
|
|
);
|
|
|
|
|
|
aspectRatio
|
|
(
|
|
);
|
|
|
|
drag
|
|
(
|
|
(particles in air)
|
|
{
|
|
type GidaspowErgunWenYu;
|
|
residualRe 1e-3;
|
|
swarmCorrection
|
|
{
|
|
type none;
|
|
}
|
|
}
|
|
);
|
|
|
|
virtualMass
|
|
(
|
|
);
|
|
|
|
heatTransfer
|
|
(
|
|
(particles in air)
|
|
{
|
|
type RanzMarshall;
|
|
residualAlpha 1e-4;
|
|
}
|
|
);
|
|
|
|
lift
|
|
(
|
|
);
|
|
|
|
wallLubrication
|
|
(
|
|
);
|
|
|
|
turbulentDispersion
|
|
(
|
|
);
|
|
|
|
// Minimum allowable pressure
|
|
pMin 10000;
|
|
|
|
|
|
// ************************************************************************* //
|