filmViscosityModel/constantViscosity: Update viscosity to support Arrhenius modification

This commit is contained in:
Henry Weller
2015-07-12 20:44:55 +01:00
parent a8f61f210f
commit 7044767525

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2013-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -58,8 +58,7 @@ constantViscosity::constantViscosity
filmViscosityModel(typeName, owner, dict, mu),
mu0_(readScalar(coeffDict_.lookup("mu0")))
{
mu_.internalField() = mu0_;
mu_.correctBoundaryConditions();
mu_ == mu0_;
}
@ -77,7 +76,7 @@ void constantViscosity::correct
const volScalarField& T
)
{
// do nothing
mu_ == mu0_;
}