diff --git a/src/transportModels/interfaceProperties/interfaceProperties.C b/src/transportModels/interfaceProperties/interfaceProperties.C index 95ddb6aac44bc8820446c4980779b310e7b48daf..15321f40423535dedf47cb5a33442b63110ac12c 100644 --- a/src/transportModels/interfaceProperties/interfaceProperties.C +++ b/src/transportModels/interfaceProperties/interfaceProperties.C @@ -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_; diff --git a/src/transportModels/interfaceProperties/interfaceProperties.H b/src/transportModels/interfaceProperties/interfaceProperties.H index c0d411d05daed12bcc94e8d25d13159bc6efcbc1..7956746c2ba060966f81ef9bf7554b02411f37c6 100644 --- a/src/transportModels/interfaceProperties/interfaceProperties.H +++ b/src/transportModels/interfaceProperties/interfaceProperties.H @@ -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();