mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Renamed for consistency with the name of q.
This commit is contained in:
@ -24,7 +24,7 @@ License
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "QZeta.H"
|
#include "qZeta.H"
|
||||||
#include "addToRunTimeSelectionTable.H"
|
#include "addToRunTimeSelectionTable.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -38,12 +38,12 @@ namespace RASModels
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||||
|
|
||||||
defineTypeNameAndDebug(QZeta, 0);
|
defineTypeNameAndDebug(qZeta, 0);
|
||||||
addToRunTimeSelectionTable(RASModel, QZeta, dictionary);
|
addToRunTimeSelectionTable(RASModel, qZeta, dictionary);
|
||||||
|
|
||||||
// * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * * //
|
// * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * * //
|
||||||
|
|
||||||
tmp<volScalarField> QZeta::fMu() const
|
tmp<volScalarField> qZeta::fMu() const
|
||||||
{
|
{
|
||||||
volScalarField Rt = q_*k_/(2.0*nu()*zeta_);
|
volScalarField Rt = q_*k_/(2.0*nu()*zeta_);
|
||||||
|
|
||||||
@ -60,7 +60,7 @@ tmp<volScalarField> QZeta::fMu() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
tmp<volScalarField> QZeta::f2() const
|
tmp<volScalarField> qZeta::f2() const
|
||||||
{
|
{
|
||||||
volScalarField Rt = q_*k_/(2.0*nu()*zeta_);
|
volScalarField Rt = q_*k_/(2.0*nu()*zeta_);
|
||||||
return scalar(1) - 0.3*exp(-sqr(Rt));
|
return scalar(1) - 0.3*exp(-sqr(Rt));
|
||||||
@ -69,7 +69,7 @@ tmp<volScalarField> QZeta::f2() const
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
QZeta::QZeta
|
qZeta::qZeta
|
||||||
(
|
(
|
||||||
const volVectorField& U,
|
const volVectorField& U,
|
||||||
const surfaceScalarField& phi,
|
const surfaceScalarField& phi,
|
||||||
@ -186,7 +186,7 @@ QZeta::QZeta
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||||
|
|
||||||
tmp<volSymmTensorField> QZeta::R() const
|
tmp<volSymmTensorField> qZeta::R() const
|
||||||
{
|
{
|
||||||
return tmp<volSymmTensorField>
|
return tmp<volSymmTensorField>
|
||||||
(
|
(
|
||||||
@ -207,7 +207,7 @@ tmp<volSymmTensorField> QZeta::R() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
tmp<volSymmTensorField> QZeta::devReff() const
|
tmp<volSymmTensorField> qZeta::devReff() const
|
||||||
{
|
{
|
||||||
return tmp<volSymmTensorField>
|
return tmp<volSymmTensorField>
|
||||||
(
|
(
|
||||||
@ -227,7 +227,7 @@ tmp<volSymmTensorField> QZeta::devReff() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
tmp<fvVectorMatrix> QZeta::divDevReff(volVectorField& U) const
|
tmp<fvVectorMatrix> qZeta::divDevReff(volVectorField& U) const
|
||||||
{
|
{
|
||||||
return
|
return
|
||||||
(
|
(
|
||||||
@ -237,7 +237,7 @@ tmp<fvVectorMatrix> QZeta::divDevReff(volVectorField& U) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool QZeta::read()
|
bool qZeta::read()
|
||||||
{
|
{
|
||||||
if (RASModel::read())
|
if (RASModel::read())
|
||||||
{
|
{
|
||||||
@ -256,7 +256,7 @@ bool QZeta::read()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void QZeta::correct()
|
void qZeta::correct()
|
||||||
{
|
{
|
||||||
RASModel::correct();
|
RASModel::correct();
|
||||||
|
|
||||||
|
|||||||
@ -23,19 +23,19 @@ License
|
|||||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
Class
|
Class
|
||||||
Foam::incompressible::RASModels::QZeta
|
Foam::incompressible::RASModels::qZeta
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Gibson and Dafa'Alla's q-zeta two-equation low-Re turbulence model
|
Gibson and Dafa'Alla's q-zeta two-equation low-Re turbulence model
|
||||||
for incompressible flows
|
for incompressible flows
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
QZeta.C
|
qZeta.C
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef QZeta_H
|
#ifndef qZeta_H
|
||||||
#define QZeta_H
|
#define qZeta_H
|
||||||
|
|
||||||
#include "RASModel.H"
|
#include "RASModel.H"
|
||||||
|
|
||||||
@ -49,10 +49,10 @@ namespace RASModels
|
|||||||
{
|
{
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*\
|
/*---------------------------------------------------------------------------*\
|
||||||
Class QZeta Declaration
|
Class qZeta Declaration
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
class QZeta
|
class qZeta
|
||||||
:
|
:
|
||||||
public RASModel
|
public RASModel
|
||||||
{
|
{
|
||||||
@ -82,12 +82,12 @@ class QZeta
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
//- Runtime type information
|
//- Runtime type information
|
||||||
TypeName("QZeta");
|
TypeName("qZeta");
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from components
|
//- Construct from components
|
||||||
QZeta
|
qZeta
|
||||||
(
|
(
|
||||||
const volVectorField& U,
|
const volVectorField& U,
|
||||||
const surfaceScalarField& phi,
|
const surfaceScalarField& phi,
|
||||||
@ -96,7 +96,7 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~QZeta()
|
virtual ~qZeta()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user