twoPhaseEulerFoam: Corrected EoH2

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1505
This commit is contained in:
Henry 2015-02-02 09:44:18 +00:00
parent 324d54feb9
commit 5c77a34f5a

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2014 OpenFOAM Foundation \\ / A nd | Copyright (C) 2014-2015 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -32,7 +32,7 @@ Foam::tmp<Foam::volScalarField> Foam::phasePair::EoH
const volScalarField& d const volScalarField& d
) const ) const
{ {
return return
mag(dispersed().rho() - continuous().rho()) mag(dispersed().rho() - continuous().rho())
*mag(g()) *mag(g())
*sqr(d) *sqr(d)
@ -163,7 +163,7 @@ Foam::tmp<Foam::volScalarField> Foam::phasePair::EoH2() const
EoH EoH
( (
dispersed().d() dispersed().d()
/cbrt(Eo()) /cbrt(E())
); );
} }