Merge branch 'master' of github.com:OpenFOAM/OpenFOAM-2.4.x

This commit is contained in:
Henry Weller 2015-07-16 09:33:47 +01:00
parent b3c03b6e5e
commit af70485f4b
2 changed files with 2 additions and 4 deletions

View file

@ -56,7 +56,7 @@ constantViscosity::constantViscosity
) )
: :
filmViscosityModel(typeName, owner, dict, mu), filmViscosityModel(typeName, owner, dict, mu),
mu0_(readScalar(coeffDict_.lookup("mu0"))) mu0_("mu0", dimDensity*dimViscosity, coeffDict_.lookup("mu0"))
{ {
mu_ == mu0_; mu_ == mu0_;
} }

View file

@ -54,8 +54,6 @@ class constantViscosity
: :
public filmViscosityModel public filmViscosityModel
{ {
private:
// Private member functions // Private member functions
//- Disallow default bitwise copy construct //- Disallow default bitwise copy construct
@ -70,7 +68,7 @@ protected:
// Protected data // Protected data
//- Constant viscosity [Pa.s] //- Constant viscosity [Pa.s]
scalar mu0_; dimensionedScalar mu0_;