Giesekus< BasicTurbulenceModel > Class Template Reference

Giesekus model for viscoelasticity. More...

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

Public Types

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

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 transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName, 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< BasicTurbulenceModel >
 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 &propertiesName=turbulenceModel::propertiesName, const word &type=typeName)
 Construct from components. More...
 
virtual ~Maxwell ()
 Destructor. More...
 
virtual tmp< volSymmTensorFieldR () const
 Return the Reynolds stress tensor. More...
 
virtual tmp< volSymmTensorFielddevRhoReff () const
 Return the effective stress tensor. More...
 
virtual tmp< fvVectorMatrixdivDevRhoReff (volVectorField &U) const
 Return the source term for the momentum equation. More...
 
virtual tmp< fvVectorMatrixdivDevRhoReff (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< BasicTurbulenceModel >
 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, const word &propertiesName),(alpha, rho, U, alphaRhoPhi, phi, transport, propertiesName))
 
 laminarModel (const word &type, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
 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< 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< 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...
 
void operator= (const laminarModel &)=delete
 Disallow default bitwise assignment. More...
 

Protected Member Functions

virtual tmp< fvSymmTensorMatrixsigmaSource () const
 
- Protected Member Functions inherited from Maxwell< BasicTurbulenceModel >
tmp< volScalarFieldnu0 () const
 Return the turbulence viscosity. More...
 
- Protected Member Functions inherited from laminarModel< BasicTurbulenceModel >
virtual void printCoeffs (const word &type)
 Print model coefficients. More...
 

Protected Attributes

dimensionedScalar alphaG_
 
- Protected Attributes inherited from Maxwell< BasicTurbulenceModel >
dimensionedScalar nuM_
 
dimensionedScalar lambda_
 
volSymmTensorField sigma_
 
- Protected Attributes inherited from laminarModel< BasicTurbulenceModel >
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< BasicTurbulenceModel >
static autoPtr< laminarModelNew (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName=turbulenceModel::propertiesName)
 Return a reference to the selected laminar model. More...
 

Detailed Description

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

Giesekus model for viscoelasticity.

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 62 of file Giesekus.H.

Member Typedef Documentation

◆ alphaField

typedef BasicTurbulenceModel::alphaField alphaField

Definition at line 82 of file Giesekus.H.

◆ rhoField

typedef BasicTurbulenceModel::rhoField rhoField

Definition at line 83 of file Giesekus.H.

◆ transportModel

typedef BasicTurbulenceModel::transportModel transportModel

Definition at line 84 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 transportModel transport,
const word propertiesName = turbulenceModel::propertiesName,
const word type = typeName 
)

Construct from components.

Definition at line 40 of file Giesekus.C.

◆ Giesekus() [2/2]

Giesekus ( const Giesekus< BasicTurbulenceModel > &  )
delete

Disallow default bitwise copy construction.

◆ ~Giesekus()

virtual ~Giesekus ( )
inlinevirtual

Destructor.

Definition at line 112 of file Giesekus.H.

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

Here is the call graph for this function:

Member Function Documentation

◆ sigmaSource()

tmp< fvSymmTensorMatrix > sigmaSource ( ) const
protectedvirtual

Reimplemented from Maxwell< BasicTurbulenceModel >.

Definition at line 92 of file Giesekus.C.

References Foam::innerSqr(), and Foam::fvm::Su().

Here is the call graph for this function:

◆ TypeName()

TypeName ( "Giesekus< BasicTurbulenceModel >"  )

Runtime type information.

◆ read()

bool read ( )
virtual

Re-read model coefficients if they have changed.

Reimplemented from Maxwell< BasicTurbulenceModel >.

Definition at line 75 of file Giesekus.C.

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

Here is the caller graph for this function:

◆ operator=()

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

Disallow default bitwise assignment.

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

Here is the caller graph for this function:

Member Data Documentation

◆ alphaG_

dimensionedScalar alphaG_
protected

Definition at line 72 of file Giesekus.H.


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