Casson generalised Newtonian viscosity model. More...
Public Member Functions | |
TypeName ("Casson") | |
Runtime type information. More... | |
Casson (const dictionary &viscosityProperties, const Foam::viscosity &viscosity, const volVectorField &U) | |
Construct from components. More... | |
virtual | ~Casson () |
Destructor. More... | |
virtual bool | read (const dictionary &viscosityProperties) |
Read transportProperties dictionary. More... | |
virtual tmp< volScalarField > | nu (const volScalarField &nu0, const volScalarField &strainRate) const |
Return the laminar viscosity. More... | |
Public Member Functions inherited from strainRateViscosityModel | |
TypeName ("strainRateViscosityModel") | |
Runtime type information. More... | |
strainRateViscosityModel (const dictionary &viscosityProperties, const viscosity &viscosity, const volVectorField &U) | |
Construct from components. More... | |
strainRateViscosityModel (const strainRateViscosityModel &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~strainRateViscosityModel () |
Destructor. More... | |
virtual tmp< volScalarField > | nu () const |
Return the laminar viscosity. More... | |
virtual tmp< scalarField > | nu (const label patchi) const |
Return the laminar viscosity for patch. More... | |
virtual void | correct () |
Correct the laminar viscosity. More... | |
void | operator= (const strainRateViscosityModel &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from generalisedNewtonianViscosityModel | |
TypeName ("generalisedNewtonianViscosityModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, generalisedNewtonianViscosityModel, dictionary,(const dictionary &viscosityProperties, const viscosity &viscosity, const volVectorField &U),(viscosityProperties, viscosity, U)) | |
generalisedNewtonianViscosityModel (const dictionary &viscosityProperties, const viscosity &viscosity, const volVectorField &U) | |
Construct from components. More... | |
generalisedNewtonianViscosityModel (const generalisedNewtonianViscosityModel &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~generalisedNewtonianViscosityModel () |
Destructor. More... | |
void | operator= (const generalisedNewtonianViscosityModel &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from viscosity | |
TypeName ("viscosity") | |
Runtime type information. More... | |
viscosity () | |
Construct. More... | |
viscosity (const viscosity &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~viscosity () |
Destructor. More... | |
void | operator= (const viscosity &)=delete |
Disallow default bitwise assignment. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from generalisedNewtonianViscosityModel | |
static autoPtr< generalisedNewtonianViscosityModel > | New (const dictionary &viscosityProperties, const viscosity &viscosity, const volVectorField &U) |
Return a reference to the selected viscosity model. More... | |
Protected Member Functions inherited from strainRateViscosityModel | |
virtual tmp< volScalarField > | strainRate () const |
Return the strain-rate obtained from the velocity field. More... | |
Protected Attributes inherited from generalisedNewtonianViscosityModel | |
const viscosity & | viscosity_ |
Reference to the fluid Newtonian viscosity. More... | |
const volVectorField & | U_ |
Reference to the velocity field. More... | |
Casson generalised Newtonian viscosity model.
Casson, N. (1959). Rheology of disperse systems. In Proceedings of a Conference Organised by the British Society of Rheology. Pergamon Press, New York. Fournier, R. L. (2011). Basic transport phenomena in biomedical engineering. CRC Press.
Example specification for blood:
viscosityModel Casson; m 3.934986e-6; tau0 2.9032e-6; nuMax 13.3333e-6; nuMin 3.9047e-6;
Casson | ( | const dictionary & | viscosityProperties, |
const Foam::viscosity & | viscosity, | ||
const volVectorField & | U | ||
) |
Construct from components.
Definition at line 52 of file Casson.C.
References correct, Foam::read(), and Casson::read().
|
inlinevirtual |
Destructor.
Definition at line 105 of file Casson.H.
References strainRateViscosityModel::nu(), Casson::read(), and strainRateViscosityModel::strainRate().
TypeName | ( | "Casson" | ) |
Runtime type information.
|
virtual |
Read transportProperties dictionary.
Implements generalisedNewtonianViscosityModel.
Definition at line 72 of file Casson.C.
References strainRateViscosityModel::nu(), dictionary::optionalSubDict(), generalisedNewtonianViscosityModel::read(), and dictionary::read().
Referenced by Casson::Casson(), and Casson::~Casson().
|
virtual |
Return the laminar viscosity.
Implements strainRateViscosityModel.
Definition at line 93 of file Casson.C.
References Foam::dimless, Foam::dimTime, Foam::max(), Foam::min(), Foam::sqr(), and Foam::sqrt().