Skip to content
Snippets Groups Projects
Commit 5c77a34f authored by Henry's avatar Henry
Browse files

twoPhaseEulerFoam: Corrected EoH2

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1505
parent 324d54fe
Branches
Tags
No related merge requests found
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2014 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2014-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
......@@ -32,7 +32,7 @@ Foam::tmp<Foam::volScalarField> Foam::phasePair::EoH
const volScalarField& d
) const
{
return
return
mag(dispersed().rho() - continuous().rho())
*mag(g())
*sqr(d)
......@@ -163,7 +163,7 @@ Foam::tmp<Foam::volScalarField> Foam::phasePair::EoH2() const
EoH
(
dispersed().d()
/cbrt(Eo())
/cbrt(E())
);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment