Giesekus< BasicMomentumTransportModel > Class Template Reference

Giesekus model for viscoelasticity using the upper-convected time derivative of the stress tensor with support for multiple modes. More...

Inheritance diagram for Giesekus< BasicMomentumTransportModel >:
Collaboration diagram for Giesekus< BasicMomentumTransportModel >:

Public Types

typedef BasicMomentumTransportModel::alphaField alphaField
 
typedef BasicMomentumTransportModel::rhoField rhoField
 
- Public Types inherited from Maxwell< BasicMomentumTransportModel >
typedef BasicMomentumTransportModel::alphaField alphaField
 
typedef BasicMomentumTransportModel::rhoField rhoField
 
- Public Types inherited from laminarModel< BasicMomentumTransportModel >
typedef BasicMomentumTransportModel::alphaField alphaField
 
typedef BasicMomentumTransportModel::rhoField rhoField
 

Public Member Functions

 TypeName ("Giesekus")
 Runtime type information. More...
 
 Giesekus (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity, const word &type=typeName)
 Construct from components. More...
 
 Giesekus (const Giesekus &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~Giesekus ()
 Destructor. More...
 
virtual bool read ()
 Re-read model coefficients if they have changed. More...
 
void operator= (const Giesekus &)=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 viscosity &viscosity, const word &type=typeName)
 Construct from components. More...
 
virtual ~Maxwell ()
 Destructor. More...
 
virtual tmp< volScalarFieldnuEff () const
 Return the effective viscosity, i.e. the laminar viscosity. More...
 
virtual tmp< scalarFieldnuEff (const label patchi) const
 Return the effective viscosity on patch. More...
 
virtual tmp< volSymmTensorFieldsigma () const
 Return the stress tensor [m^2/s^2]. More...
 
virtual tmp< volSymmTensorFielddevTau () const
 Return the effective stress tensor. More...
 
virtual tmp< fvVectorMatrixdivDevTau (volVectorField &U) const
 Return the source term for the momentum equation. More...
 
virtual tmp< fvVectorMatrixdivDevTau (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 viscosity &viscosity),(alpha, rho, U, alphaRhoPhi, phi, viscosity))
 
 laminarModel (const word &type, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity)
 Construct from components. More...
 
 laminarModel (const laminarModel &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~laminarModel ()
 Destructor. More...
 
virtual const dictionarycoeffDict () const
 Const access to the coefficients dictionary. More...
 
virtual tmp< volScalarFieldnut () const
 Return the turbulence viscosity, i.e. 0 for laminar flow. More...
 
virtual tmp< scalarFieldnut (const label patchi) const
 Return the turbulence viscosity on patch. More...
 
virtual tmp< volScalarFieldk () const
 Return the turbulence kinetic energy, i.e. 0 for laminar flow. More...
 
virtual tmp< volScalarFieldepsilon () const
 Return the turbulence kinetic energy dissipation rate,. More...
 
virtual tmp< volScalarFieldomega () const
 Return the turbulence specific dissipation rate,. More...
 
void operator= (const laminarModel &)=delete
 Disallow default bitwise assignment. More...
 

Protected Member Functions

virtual tmp< fvSymmTensorMatrixsigmaSource (const label modei, volSymmTensorField &sigma) const
 
- Protected Member Functions inherited from Maxwell< BasicMomentumTransportModel >
PtrList< dimensionedScalarreadModeCoefficients (const word &name, const dimensionSet &dims) const
 
tmp< volScalarFieldnu0 () const
 Return the non-Newtonian viscosity. More...
 
- Protected Member Functions inherited from laminarModel< BasicMomentumTransportModel >
virtual void printCoeffs (const word &type)
 Print model coefficients. More...
 

Protected Attributes

PtrList< dimensionedScalaralphaGs_
 
- Protected Attributes inherited from Maxwell< BasicMomentumTransportModel >
PtrList< dictionarymodeCoefficients_
 
label nModes_
 
dimensionedScalar nuM_
 
PtrList< dimensionedScalarlambdas_
 
volSymmTensorField sigma_
 Single or mode sum viscoelastic stress. More...
 
PtrList< volSymmTensorFieldsigmas_
 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< laminarModelNew (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity)
 Return a reference to the selected laminar model. More...
 

Detailed Description

template<class BasicMomentumTransportModel>
class Foam::laminarModels::Giesekus< BasicMomentumTransportModel >

Giesekus model for viscoelasticity using the upper-convected time derivative of the stress tensor with support for multiple modes.

Reference:

    Giesekus, H., 1982.
    A simple constitutive equation for polymer fluids based on the
    concept of deformation-dependent tensional mobility.
    J. Non-Newton. Fluid. 11, 69–109.
See also
Foam::laminarModels::Maxwell
Source files

Definition at line 63 of file Giesekus.H.

Member Typedef Documentation

◆ alphaField

typedef BasicMomentumTransportModel::alphaField alphaField

Definition at line 87 of file Giesekus.H.

◆ rhoField

typedef BasicMomentumTransportModel::rhoField rhoField

Definition at line 88 of file Giesekus.H.

Constructor & Destructor Documentation

◆ Giesekus() [1/2]

Giesekus ( const alphaField alpha,
const rhoField rho,
const volVectorField U,
const surfaceScalarField alphaRhoPhi,
const surfaceScalarField phi,
const viscosity viscosity,
const word type = typeName 
)

Construct from components.

Definition at line 59 of file Giesekus.C.

Referenced by Giesekus< BasicMomentumTransportModel >::sigmaSource().

Here is the caller graph for this function:

◆ Giesekus() [2/2]

Giesekus ( const Giesekus< BasicMomentumTransportModel > &  )
delete

Disallow default bitwise copy construction.

◆ ~Giesekus()

virtual ~Giesekus ( )
inlinevirtual

Destructor.

Definition at line 115 of file Giesekus.H.

References Giesekus< BasicMomentumTransportModel >::operator=(), and Giesekus< BasicMomentumTransportModel >::read().

Here is the call graph for this function:

Member Function Documentation

◆ sigmaSource()

tmp< fvSymmTensorMatrix > sigmaSource ( const label  modei,
volSymmTensorField sigma 
) const
protectedvirtual

Reimplemented from Maxwell< BasicMomentumTransportModel >.

Definition at line 41 of file Giesekus.C.

References Giesekus< BasicMomentumTransportModel >::Giesekus(), Foam::innerSqr(), Foam::fvm::Sp(), and Foam::fvm::Su().

Here is the call graph for this function:

◆ TypeName()

TypeName ( "Giesekus< BasicMomentumTransportModel >"  )

Runtime type information.

◆ read()

bool read ( )
virtual

Re-read model coefficients if they have changed.

Reimplemented from Maxwell< BasicMomentumTransportModel >.

Definition at line 92 of file Giesekus.C.

References Foam::dimless.

Referenced by Giesekus< BasicMomentumTransportModel >::~Giesekus().

Here is the caller graph for this function:

◆ operator=()

void operator= ( const Giesekus< BasicMomentumTransportModel > &  )
delete

Disallow default bitwise assignment.

Referenced by Giesekus< BasicMomentumTransportModel >::~Giesekus().

Here is the caller graph for this function:

Member Data Documentation

◆ alphaGs_

PtrList<dimensionedScalar> alphaGs_
protected

Definition at line 73 of file Giesekus.H.


The documentation for this class was generated from the following files: