ENH: Updated default name of mu field to thermo:mu

This commit is contained in:
andy
2012-12-05 17:01:33 +00:00
parent 78181c2629
commit 386df90690
2 changed files with 3 additions and 2 deletions

View File

@ -85,7 +85,7 @@ Foam::explicitPorositySource::explicitPorositySource
porosityPtr_(NULL),
UName_(coeffs_.lookupOrDefault<word>("UName", "U")),
rhoName_(coeffs_.lookupOrDefault<word>("rhoName", "rho")),
muName_(coeffs_.lookupOrDefault<word>("muName", "mu"))
muName_(coeffs_.lookupOrDefault<word>("muName", "thermo:mu"))
{
initialise();
}

View File

@ -88,7 +88,8 @@ protected:
//- Density field name (compressible case only), default = rho
word rhoName_;
//- Dynamic viscosity field name (compressible case only), default = mu
//- Dynamic viscosity field name (compressible case only)
// default = thermo:mu
word muName_;