Commit a1797e92 authored by Henry Weller's avatar Henry Weller
Browse files

filmViscosityModel/constantViscosity: Update viscosity to support Arrhenius modification

parent 171c25ab
...@@ -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) 2013 OpenFOAM Foundation \\ / A nd | Copyright (C) 2013-2015 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
...@@ -58,8 +58,7 @@ constantViscosity::constantViscosity ...@@ -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 ...@@ -77,7 +76,7 @@ void constantViscosity::correct
const volScalarField& T const volScalarField& T
) )
{ {
// do nothing mu_ == mu0_;
} }
......
Supports Markdown
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