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