An incompressible Bird-Carreau non-Newtonian viscosity model. More...
Public Member Functions | |
TypeName ("BirdCarreau") | |
Runtime type information. More... | |
BirdCarreau (const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi) | |
Construct from components. More... | |
~BirdCarreau () | |
Destructor. More... | |
tmp< volScalarField > | nu () const |
Return the laminar viscosity. More... | |
tmp< scalarField > | nu (const label patchi) const |
Return the laminar viscosity for patch. More... | |
void | correct () |
Correct the laminar viscosity. More... | |
bool | read (const dictionary &viscosityProperties) |
Read transportProperties dictionary. More... | |
![]() | |
TypeName ("viscosityModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, viscosityModel, dictionary,(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi),(name, viscosityProperties, U, phi)) | |
viscosityModel (const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi) | |
Construct from components. More... | |
virtual | ~viscosityModel () |
Destructor. More... | |
const dictionary & | viscosityProperties () const |
Return the phase transport properties dictionary. More... | |
tmp< volScalarField > | strainRate () const |
Return the strain rate. More... | |
Private Member Functions | |
tmp< volScalarField > | calcNu () const |
Calculate and return the laminar viscosity. More... | |
Private Attributes | |
dictionary | BirdCarreauCoeffs_ |
dimensionedScalar | nu0_ |
dimensionedScalar | nuInf_ |
dimensionedScalar | k_ |
dimensionedScalar | n_ |
dimensionedScalar | a_ |
volScalarField | nu_ |
Additional Inherited Members | |
![]() | |
static autoPtr< viscosityModel > | New (const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi) |
Return a reference to the selected viscosity model. More... | |
![]() | |
viscosityModel (const viscosityModel &) | |
Disallow copy construct. More... | |
void | operator= (const viscosityModel &) |
Disallow default bitwise assignment. More... | |
![]() | |
word | name_ |
dictionary | viscosityProperties_ |
const volVectorField & | U_ |
const surfaceScalarField & | phi_ |
An incompressible Bird-Carreau non-Newtonian viscosity model.
The Bird-Carreau-Yasuda form is also supported if the optional "a" coefficient is specified. "a" defaults to 2 for the Bird-Carreau model.
Definition at line 55 of file BirdCarreau.H.
BirdCarreau | ( | const word & | name, |
const dictionary & | viscosityProperties, | ||
const volVectorField & | U, | ||
const surfaceScalarField & | phi | ||
) |
Construct from components.
Definition at line 62 of file BirdCarreau.C.
|
inline |
Destructor.
Definition at line 97 of file BirdCarreau.H.
|
private |
Calculate and return the laminar viscosity.
Definition at line 50 of file BirdCarreau.C.
References BirdCarreau::a_, BirdCarreau::k_, BirdCarreau::n_, BirdCarreau::nu0_, BirdCarreau::nuInf_, Foam::pow(), and viscosityModel::strainRate().
Referenced by BirdCarreau::correct().
TypeName | ( | "BirdCarreau" | ) |
Runtime type information.
|
inlinevirtual |
Return the laminar viscosity.
Implements viscosityModel.
Definition at line 104 of file BirdCarreau.H.
References BirdCarreau::nu_.
|
inlinevirtual |
Return the laminar viscosity for patch.
Implements viscosityModel.
Definition at line 110 of file BirdCarreau.H.
References GeometricField::boundaryField(), BirdCarreau::nu_, and patchi.
|
inlinevirtual |
Correct the laminar viscosity.
Implements viscosityModel.
Definition at line 116 of file BirdCarreau.H.
References BirdCarreau::calcNu(), and BirdCarreau::nu_.
|
virtual |
Read transportProperties dictionary.
Implements viscosityModel.
Definition at line 101 of file BirdCarreau.C.
References Foam::dimless, dictionary::lookup(), viscosityModel::read(), and dictionary::subDict().
|
private |
Definition at line 61 of file BirdCarreau.H.
|
private |
Definition at line 63 of file BirdCarreau.H.
Referenced by BirdCarreau::calcNu().
|
private |
Definition at line 64 of file BirdCarreau.H.
Referenced by BirdCarreau::calcNu().
|
private |
Definition at line 65 of file BirdCarreau.H.
Referenced by BirdCarreau::calcNu().
|
private |
Definition at line 66 of file BirdCarreau.H.
Referenced by BirdCarreau::calcNu().
|
private |
Definition at line 67 of file BirdCarreau.H.
Referenced by BirdCarreau::calcNu().
|
private |
Definition at line 69 of file BirdCarreau.H.
Referenced by BirdCarreau::correct(), and BirdCarreau::nu().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.