filmViscosityModel/constantViscosity: Update viscosity to support Arrhenius modification
This commit is contained in:
@ -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_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user