transportModels::interfaceProperties: simplified interface

This commit is contained in:
Henry Weller
2017-03-28 08:29:28 +01:00
parent a026c36309
commit e53048addc
2 changed files with 8 additions and 15 deletions

View File

@ -222,6 +222,12 @@ Foam::interfaceProperties::nearInterface() const
}
void Foam::interfaceProperties::correct()
{
calculateK();
}
bool Foam::interfaceProperties::read()
{
alpha1_.mesh().solverDict(alpha1_.name()).lookup("cAlpha") >> cAlpha_;

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -127,16 +127,6 @@ public:
return nHatf_;
}
const volScalarField& K() const
{
return K_;
}
const dimensionedScalar& sigma() const
{
return sigma_;
}
tmp<volScalarField> sigmaK() const
{
return sigma_*K_;
@ -148,10 +138,7 @@ public:
// Field values are 1 near and 0 away for the interface.
tmp<volScalarField> nearInterface() const;
void correct()
{
calculateK();
}
void correct();
//- Read transportProperties dictionary
bool read();