multiphaseEuler/interfacialModels: Reverted handling of the continuous phase-fraction
back to the form in the original multiphaseEulerFoam, i.e. using the continuous phase-fraction directly rather than 1 - dispersed phase fraction.
This commit is contained in:
@ -63,12 +63,12 @@ Foam::tmp<Foam::volScalarField> Foam::dragModels::Beetstra::CdRe() const
|
||||
{
|
||||
const volScalarField alpha1
|
||||
(
|
||||
max(interface_.dispersed(), interface_.continuous().residualAlpha())
|
||||
max(interface_.dispersed(), interface_.dispersed().residualAlpha())
|
||||
);
|
||||
|
||||
const volScalarField alpha2
|
||||
(
|
||||
max(1 - interface_.dispersed(), interface_.continuous().residualAlpha())
|
||||
max(interface_.continuous(), interface_.continuous().residualAlpha())
|
||||
);
|
||||
|
||||
const volScalarField Res(max(alpha2*interface_.Re(), scalar(0)));
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -63,13 +63,12 @@ Foam::tmp<Foam::volScalarField> Foam::dragModels::Gibilaro::CdRe() const
|
||||
{
|
||||
const volScalarField alpha2
|
||||
(
|
||||
max(1 - interface_.dispersed(), interface_.continuous().residualAlpha())
|
||||
max(interface_.continuous(), interface_.continuous().residualAlpha())
|
||||
);
|
||||
|
||||
return
|
||||
(4.0/3.0)
|
||||
*(17.3/alpha2 + 0.336*interface_.Re())
|
||||
*max(interface_.continuous(), interface_.continuous().residualAlpha())
|
||||
*(17.3/alpha2 + 0.336*interface_.Re())*alpha2
|
||||
*pow(alpha2, -2.8);
|
||||
}
|
||||
|
||||
|
||||
@ -64,21 +64,18 @@ Foam::dragModels::GidaspowSchillerNaumann::CdRe() const
|
||||
{
|
||||
const volScalarField alpha2
|
||||
(
|
||||
max(1 - interface_.dispersed(), interface_.continuous().residualAlpha())
|
||||
max(interface_.continuous(), interface_.continuous().residualAlpha())
|
||||
);
|
||||
|
||||
const volScalarField Re(alpha2*interface_.Re());
|
||||
const volScalarField Res(alpha2*interface_.Re());
|
||||
|
||||
const volScalarField CdsRe
|
||||
const volScalarField CdsRes
|
||||
(
|
||||
neg(Re - 1000)*24*(1.0 + 0.15*pow(Re, 0.687))/alpha2
|
||||
+ pos0(Re - 1000)*0.44*Re
|
||||
neg(Res - 1000)*24*(1.0 + 0.15*pow(Res, 0.687))/alpha2
|
||||
+ pos0(Res - 1000)*0.44*Res
|
||||
);
|
||||
|
||||
return
|
||||
CdsRe
|
||||
*pow(alpha2, -2.65)
|
||||
*max(interface_.continuous(), interface_.continuous().residualAlpha());
|
||||
return CdsRes*pow(alpha2, -1.65);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -63,7 +63,7 @@ Foam::tmp<Foam::volScalarField> Foam::dragModels::SyamlalOBrien::CdRe() const
|
||||
{
|
||||
const volScalarField alpha2
|
||||
(
|
||||
max(1 - interface_.dispersed(), interface_.continuous().residualAlpha())
|
||||
max(interface_.continuous(), interface_.continuous().residualAlpha())
|
||||
);
|
||||
|
||||
const volScalarField A(pow(alpha2, 4.14));
|
||||
@ -82,10 +82,7 @@ Foam::tmp<Foam::volScalarField> Foam::dragModels::SyamlalOBrien::CdRe() const
|
||||
);
|
||||
volScalarField CdsRe(sqr(0.63*sqrt(Re) + 4.8*sqrt(Vr)));
|
||||
|
||||
return
|
||||
CdsRe
|
||||
*max(interface_.continuous(), interface_.continuous().residualAlpha())
|
||||
/sqr(Vr);
|
||||
return CdsRe*alpha2/sqr(Vr);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -69,7 +69,7 @@ Foam::tmp<Foam::volScalarField> Foam::dragModels::Tenneti::CdRe() const
|
||||
|
||||
const volScalarField alpha2
|
||||
(
|
||||
max(1 - interface_.dispersed(), interface_.continuous().residualAlpha())
|
||||
max(interface_.continuous(), interface_.continuous().residualAlpha())
|
||||
);
|
||||
|
||||
const volScalarField Res(alpha2*interface_.Re());
|
||||
|
||||
@ -63,20 +63,18 @@ Foam::tmp<Foam::volScalarField> Foam::dragModels::WenYu::CdRe() const
|
||||
{
|
||||
const volScalarField alpha2
|
||||
(
|
||||
max(1 - interface_.dispersed(), interface_.continuous().residualAlpha())
|
||||
max(interface_.continuous(), interface_.continuous().residualAlpha())
|
||||
);
|
||||
|
||||
const volScalarField Res(alpha2*interface_.Re());
|
||||
|
||||
const volScalarField CdsRes
|
||||
(
|
||||
neg(Res - 1000)*24*(1.0 + 0.15*pow(Res, 0.687))
|
||||
+ pos0(Res - 1000)*0.44*Res
|
||||
);
|
||||
|
||||
return
|
||||
CdsRes
|
||||
*pow(alpha2, -3.65)
|
||||
*max(interface_.continuous(), interface_.continuous().residualAlpha());
|
||||
return CdsRes*pow(alpha2, -2.65);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -68,7 +68,7 @@ Foam::heatTransferModels::Gunn::K(const scalar residualAlpha) const
|
||||
{
|
||||
const volScalarField alpha2
|
||||
(
|
||||
max(1 - interface_.dispersed(), interface_.continuous().residualAlpha())
|
||||
max(interface_.continuous(), interface_.continuous().residualAlpha())
|
||||
);
|
||||
|
||||
const volScalarField sqrAlpha2(sqr(alpha2));
|
||||
|
||||
Reference in New Issue
Block a user