Skip to content
Snippets Groups Projects
Commit e53048ad authored by Henry Weller's avatar Henry Weller
Browse files

transportModels::interfaceProperties: simplified interface

parent a026c363
Branches
Tags
2 merge requests!121Merge develop into master for v1706 release,!99Integration foundation
......@@ -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_;
......
......@@ -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();
......
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