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

transportModels::interfaceProperties: simplified interface

parent ddc694e6
Branches
Tags
No related merge requests found
...@@ -222,6 +222,12 @@ Foam::interfaceProperties::nearInterface() const ...@@ -222,6 +222,12 @@ Foam::interfaceProperties::nearInterface() const
} }
void Foam::interfaceProperties::correct()
{
calculateK();
}
bool Foam::interfaceProperties::read() bool Foam::interfaceProperties::read()
{ {
alpha1_.mesh().solverDict(alpha1_.name()).lookup("cAlpha") >> cAlpha_; alpha1_.mesh().solverDict(alpha1_.name()).lookup("cAlpha") >> cAlpha_;
......
...@@ -2,7 +2,7 @@ ...@@ -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) 2011-2016 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
...@@ -127,16 +127,6 @@ public: ...@@ -127,16 +127,6 @@ public:
return nHatf_; return nHatf_;
} }
const volScalarField& K() const
{
return K_;
}
const dimensionedScalar& sigma() const
{
return sigma_;
}
tmp<volScalarField> sigmaK() const tmp<volScalarField> sigmaK() const
{ {
return sigma_*K_; return sigma_*K_;
...@@ -148,10 +138,7 @@ public: ...@@ -148,10 +138,7 @@ public:
// Field values are 1 near and 0 away for the interface. // Field values are 1 near and 0 away for the interface.
tmp<volScalarField> nearInterface() const; tmp<volScalarField> nearInterface() const;
void correct() void correct();
{
calculateK();
}
//- Read transportProperties dictionary //- Read transportProperties dictionary
bool read(); 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