mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
phasePair: Corrected surface tension access
This commit is contained in:
@ -24,7 +24,7 @@ License
|
|||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "phasePair.H"
|
#include "phasePair.H"
|
||||||
#include "surfaceTensionModel.H"
|
#include "phaseSystem.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
@ -165,15 +165,7 @@ Foam::tmp<Foam::volScalarField> Foam::phasePair::EoH2() const
|
|||||||
|
|
||||||
Foam::tmp<Foam::volScalarField> Foam::phasePair::sigma() const
|
Foam::tmp<Foam::volScalarField> Foam::phasePair::sigma() const
|
||||||
{
|
{
|
||||||
return
|
return phase1().fluid().sigma(phasePair(phase1(), phase2()));
|
||||||
phase1().mesh().lookupObject<surfaceTensionModel>
|
|
||||||
(
|
|
||||||
IOobject::groupName
|
|
||||||
(
|
|
||||||
surfaceTensionModel::typeName,
|
|
||||||
phasePair::name()
|
|
||||||
)
|
|
||||||
).sigma();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user