PTT model for viscoelasticity using the upper-convected time derivative of the stress tensor with support for multiple modes. More...
Public Types | |
typedef BasicMomentumTransportModel::alphaField | alphaField |
typedef BasicMomentumTransportModel::rhoField | rhoField |
typedef BasicMomentumTransportModel::transportModel | transportModel |
Public Types inherited from Maxwell< BasicMomentumTransportModel > | |
typedef BasicMomentumTransportModel::alphaField | alphaField |
typedef BasicMomentumTransportModel::rhoField | rhoField |
typedef BasicMomentumTransportModel::transportModel | transportModel |
Public Types inherited from laminarModel< BasicMomentumTransportModel > | |
typedef BasicMomentumTransportModel::alphaField | alphaField |
typedef BasicMomentumTransportModel::rhoField | rhoField |
typedef BasicMomentumTransportModel::transportModel | transportModel |
Public Member Functions | |
TypeName ("PTT") | |
Runtime type information. More... | |
PTT (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &type=typeName) | |
Construct from components. More... | |
PTT (const PTT &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~PTT () |
Destructor. More... | |
virtual bool | read () |
Re-read model coefficients if they have changed. More... | |
void | operator= (const PTT &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from Maxwell< BasicMomentumTransportModel > | |
TypeName ("Maxwell") | |
Runtime type information. More... | |
Maxwell (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &type=typeName) | |
Construct from components. More... | |
virtual | ~Maxwell () |
Destructor. More... | |
virtual tmp< volScalarField > | nuEff () const |
Return the effective viscosity, i.e. the laminar viscosity. More... | |
virtual tmp< scalarField > | nuEff (const label patchi) const |
Return the effective viscosity on patch. More... | |
virtual tmp< volSymmTensorField > | sigma () const |
Return the stress tensor [m^2/s^2]. More... | |
virtual tmp< volSymmTensorField > | devTau () const |
Return the effective stress tensor. More... | |
virtual tmp< fvVectorMatrix > | divDevTau (volVectorField &U) const |
Return the source term for the momentum equation. More... | |
virtual tmp< fvVectorMatrix > | divDevTau (const volScalarField &rho, volVectorField &U) const |
Return the source term for the momentum equation. More... | |
virtual void | correct () |
Solve the turbulence equations and correct eddy-Viscosity and. More... | |
Public Member Functions inherited from laminarModel< BasicMomentumTransportModel > | |
TypeName ("laminar") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, laminarModel, dictionary,(const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport),(alpha, rho, U, alphaRhoPhi, phi, transport)) | |
laminarModel (const word &type, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport) | |
Construct from components. More... | |
laminarModel (const laminarModel &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~laminarModel () |
Destructor. More... | |
virtual const dictionary & | coeffDict () const |
Const access to the coefficients dictionary. More... | |
virtual tmp< volScalarField > | nut () const |
Return the turbulence viscosity, i.e. 0 for laminar flow. More... | |
virtual tmp< scalarField > | nut (const label patchi) const |
Return the turbulence viscosity on patch. More... | |
virtual tmp< volScalarField > | k () const |
Return the turbulence kinetic energy, i.e. 0 for laminar flow. More... | |
virtual tmp< volScalarField > | epsilon () const |
Return the turbulence kinetic energy dissipation rate,. More... | |
void | operator= (const laminarModel &)=delete |
Disallow default bitwise assignment. More... | |
Protected Member Functions | |
virtual tmp< fvSymmTensorMatrix > | sigmaSource (const label modei, volSymmTensorField &sigma) const |
Protected Member Functions inherited from Maxwell< BasicMomentumTransportModel > | |
PtrList< dimensionedScalar > | readModeCoefficients (const word &name, const dimensionSet &dims) const |
tmp< volScalarField > | nu0 () const |
Return the turbulence viscosity. More... | |
Protected Member Functions inherited from laminarModel< BasicMomentumTransportModel > | |
virtual void | printCoeffs (const word &type) |
Print model coefficients. More... | |
Protected Attributes | |
PtrList< dimensionedScalar > | epsilons_ |
Protected Attributes inherited from Maxwell< BasicMomentumTransportModel > | |
PtrList< dictionary > | modeCoefficients_ |
label | nModes_ |
dimensionedScalar | nuM_ |
PtrList< dimensionedScalar > | lambdas_ |
volSymmTensorField | sigma_ |
Single or mode sum viscoelastic stress. More... | |
PtrList< volSymmTensorField > | sigmas_ |
Mode viscoelastic stresses. More... | |
Protected Attributes inherited from laminarModel< BasicMomentumTransportModel > | |
dictionary | laminarDict_ |
laminar coefficients dictionary More... | |
Switch | printCoeffs_ |
Flag to print the model coeffs at run-time. More... | |
dictionary | coeffDict_ |
Model coefficients dictionary. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from laminarModel< BasicMomentumTransportModel > | |
static autoPtr< laminarModel > | New (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport) |
Return a reference to the selected laminar model. More... | |
PTT model for viscoelasticity using the upper-convected time derivative of the stress tensor with support for multiple modes.
Thien, N. P., & Tanner, R. I. (1977). A new constitutive equation derived from network theory. Journal of Non-Newtonian Fluid Mechanics, 2(4), 353-365.
typedef BasicMomentumTransportModel::alphaField alphaField |
typedef BasicMomentumTransportModel::transportModel transportModel |
PTT | ( | const alphaField & | alpha, |
const rhoField & | rho, | ||
const volVectorField & | U, | ||
const surfaceScalarField & | alphaRhoPhi, | ||
const surfaceScalarField & | phi, | ||
const transportModel & | transport, | ||
const word & | type = typeName |
||
) |
Construct from components.
Definition at line 60 of file PTT.C.
Referenced by PTT< BasicMomentumTransportModel >::sigmaSource().
Disallow default bitwise copy construction.
|
inlinevirtual |
Destructor.
Definition at line 116 of file PTT.H.
References PTT< BasicMomentumTransportModel >::operator=(), and PTT< BasicMomentumTransportModel >::read().
|
protectedvirtual |
Reimplemented from Maxwell< BasicMomentumTransportModel >.
Definition at line 41 of file PTT.C.
References Foam::exp(), PTT< BasicMomentumTransportModel >::PTT(), Foam::fvm::Sp(), and Foam::tr().
TypeName | ( | "PTT< BasicMomentumTransportModel >" | ) |
Runtime type information.
|
virtual |
Re-read model coefficients if they have changed.
Reimplemented from Maxwell< BasicMomentumTransportModel >.
Definition at line 93 of file PTT.C.
References Foam::dimless.
Referenced by PTT< BasicMomentumTransportModel >::~PTT().
|
delete |
Disallow default bitwise assignment.
Referenced by PTT< BasicMomentumTransportModel >::~PTT().
|
protected |