Lien and Kalitzin's v2-f turbulence model for incompressible and compressible flows, with a limit imposed on the turbulent viscosity given by Davidson et al. More...
Public Types | |
typedef BasicMomentumTransportModel::alphaField | alphaField |
typedef BasicMomentumTransportModel::rhoField | rhoField |
Public Types inherited from eddyViscosity< RASModel< BasicMomentumTransportModel > > | |
typedef RASModel< BasicMomentumTransportModel > ::alphaField | alphaField |
typedef RASModel< BasicMomentumTransportModel > ::rhoField | rhoField |
Public Types inherited from linearViscousStress< RASModel< BasicMomentumTransportModel > > | |
typedef RASModel< BasicMomentumTransportModel > ::alphaField | alphaField |
typedef RASModel< BasicMomentumTransportModel > ::rhoField | rhoField |
Public Types inherited from RASModel< BasicMomentumTransportModel > | |
typedef BasicMomentumTransportModel::alphaField | alphaField |
typedef BasicMomentumTransportModel::rhoField | rhoField |
Public Member Functions | |
TypeName ("v2f") | |
Runtime type information. More... | |
v2f (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 | ~v2f () |
Destructor. More... | |
virtual bool | read () |
Read RASProperties dictionary. More... | |
tmp< volScalarField > | DkEff () const |
Return the effective diffusivity for k. More... | |
tmp< volScalarField > | DepsilonEff () const |
Return the effective diffusivity for epsilon. More... | |
virtual tmp< volScalarField > | k () const |
Return the turbulence kinetic energy. More... | |
virtual tmp< volScalarField > | epsilon () const |
Return the turbulence kinetic energy dissipation rate. More... | |
virtual tmp< volScalarField > | omega () const |
Return the turbulence specific dissipation rate. More... | |
virtual tmp< volScalarField > | v2 () const |
Return turbulence stress normal to streamlines. More... | |
virtual tmp< volScalarField > | f () const |
Return the damping function. More... | |
virtual void | correct () |
Solve the turbulence equations and correct the turbulence viscosity. More... | |
Public Member Functions inherited from eddyViscosity< RASModel< BasicMomentumTransportModel > > | |
eddyViscosity (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity) | |
Construct from components. More... | |
virtual | ~eddyViscosity () |
Destructor. More... | |
virtual tmp< volScalarField > | nut () const |
Return the turbulence viscosity. More... | |
virtual tmp< scalarField > | nut (const label patchi) const |
Return the turbulence viscosity on patch. More... | |
virtual tmp< volSymmTensorField > | sigma () const |
Return the Reynolds stress tensor [m^2/s^2]. More... | |
virtual void | validate () |
Validate the turbulence fields after construction. More... | |
Public Member Functions inherited from linearViscousStress< RASModel< BasicMomentumTransportModel > > | |
linearViscousStress (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity) | |
Construct from components. More... | |
virtual | ~linearViscousStress () |
Destructor. 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... | |
Public Member Functions inherited from RASModel< BasicMomentumTransportModel > | |
TypeName ("RAS") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, RASModel, 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)) | |
RASModel (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... | |
RASModel (const RASModel &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~RASModel () |
Destructor. More... | |
const dimensionedScalar & | kMin () const |
Return the lower allowable limit for k (default: small) More... | |
const dimensionedScalar & | epsilonMin () const |
Return the lower allowable limit for epsilon (default: small) More... | |
const dimensionedScalar & | omegaMin () const |
Return the lower allowable limit for omega (default: small) More... | |
dimensionedScalar & | kMin () |
Allow kMin to be changed. More... | |
dimensionedScalar & | epsilonMin () |
Allow epsilonMin to be changed. More... | |
dimensionedScalar & | omegaMin () |
Allow omegaMin to be changed. More... | |
virtual const dictionary & | coeffDict () const |
Const access to the coefficients dictionary. More... | |
virtual tmp< volScalarField > | nu () const |
Return the laminar viscosity. More... | |
virtual tmp< scalarField > | nu (const label patchi) const |
Return the laminar viscosity on patchi. More... | |
virtual tmp< volScalarField > | nuEff () const |
Return the effective viscosity. More... | |
virtual tmp< scalarField > | nuEff (const label patchi) const |
Return the effective viscosity on patch. More... | |
void | operator= (const RASModel &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from v2fBase | |
TypeName ("v2fBase") | |
Runtime type information. More... | |
v2fBase () | |
virtual | ~v2fBase () |
Destructor. More... | |
Protected Member Functions | |
virtual void | correctNut () |
tmp< volScalarField > | Ts () const |
Return time scale, Ts. More... | |
tmp< volScalarField > | Ls () const |
Return length scale, Ls. More... | |
Protected Member Functions inherited from RASModel< BasicMomentumTransportModel > | |
virtual void | printCoeffs (const word &type) |
Print model coefficients. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from RASModel< BasicMomentumTransportModel > | |
static autoPtr< RASModel > | New (const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity) |
Return a reference to the selected RAS model. More... | |
Lien and Kalitzin's v2-f turbulence model for incompressible and compressible flows, with a limit imposed on the turbulent viscosity given by Davidson et al.
The model solves for turbulence kinetic energy k and turbulence dissipation rate epsilon, with additional equations for the turbulence stress normal to streamlines, v2, and elliptic damping function, f.
The variant implemented employs N=6, such that f=0 on walls.
Wall boundary conditions are:
k = kLowReWallFunction epsilon = epsilonWallFunction v2 = v2WallFunction f = fWallFunction
These are applicable to both low- and high-Reynolds number flows.
Inlet values can be approximated by:
v2 = 2/3 k f = zero-gradient
References:
Lien, F. S., & Kalitzin, G. (2001). Computations of transonic flow with the v2f turbulence model. International Journal of Heat and Fluid Flow, 22(1), 53-61. Davidson, L., Nielsen, P., & Sveningsson, A. (2003). Modifications of the v2-f model for computing the flow in a 3D wall jet. Turbulence, Heat and Mass Transfer, 4, 577-584
The default model coefficients are
v2fCoeffs { Cmu 0.22; CmuKEps 0.09; C1 1.4; C2 0.3; CL 0.23; Ceta 70; Ceps2 1.9; Ceps3 -0.33; sigmaEps 1.3; sigmaK 1; }
Note: If the kLowReWallFunction is employed, a velocity variant of the turbulent viscosity wall function should be used, e.g. nutUWallFunction. Turbulence k variants (nutk...) for this case will not behave correctly.
typedef BasicMomentumTransportModel::alphaField alphaField |
v2f | ( | 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 69 of file v2f.C.
References Foam::bound().
Referenced by v2f< BasicMomentumTransportModel >::correctNut().
|
inlinevirtual |
Destructor.
Definition at line 199 of file v2f.H.
References v2f< BasicMomentumTransportModel >::read().
|
protectedvirtual |
Implements eddyViscosity< RASModel< BasicMomentumTransportModel > >.
Definition at line 57 of file v2f.C.
References Foam::min(), dictionary::New(), Foam::sqr(), and v2f< BasicMomentumTransportModel >::v2f().
|
protected |
Return time scale, Ts.
Definition at line 41 of file v2f.C.
References Foam::max(), and Foam::sqrt().
|
protected |
Return length scale, Ls.
Definition at line 48 of file v2f.C.
References Foam::max(), Foam::pow(), Foam::pow025(), and Foam::pow3().
TypeName | ( | "v2f< BasicMomentumTransportModel >" | ) |
Runtime type information.
|
virtual |
Read RASProperties dictionary.
Implements eddyViscosity< RASModel< BasicMomentumTransportModel > >.
Definition at line 248 of file v2f.C.
References Foam::read().
Referenced by v2f< BasicMomentumTransportModel >::~v2f().
|
inline |
Return the effective diffusivity for k.
Definition at line 209 of file v2f.H.
References GeometricField< scalar, fvPatchField, volMesh >::New(), RASModel< BasicMomentumTransportModel >::nu(), and eddyViscosity< RASModel< BasicMomentumTransportModel > >::nut_.
|
inline |
Return the effective diffusivity for epsilon.
Definition at line 219 of file v2f.H.
References GeometricField< scalar, fvPatchField, volMesh >::New(), RASModel< BasicMomentumTransportModel >::nu(), and eddyViscosity< RASModel< BasicMomentumTransportModel > >::nut_.
|
inlinevirtual |
Return the turbulence kinetic energy.
Implements eddyViscosity< RASModel< BasicMomentumTransportModel > >.
Definition at line 229 of file v2f.H.
References v2f< BasicMomentumTransportModel >::k_.
|
inlinevirtual |
Return the turbulence kinetic energy dissipation rate.
Definition at line 235 of file v2f.H.
References v2f< BasicMomentumTransportModel >::epsilon_.
|
inlinevirtual |
Return the turbulence specific dissipation rate.
Definition at line 241 of file v2f.H.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), GeometricField< scalar, fvPatchField, volMesh >::New(), and GeometricBoundaryField< Type, PatchField, GeoMesh >::types().
|
inlinevirtual |
Return turbulence stress normal to streamlines.
Implements v2fBase.
Definition at line 252 of file v2f.H.
References v2f< BasicMomentumTransportModel >::v2_.
|
inlinevirtual |
Return the damping function.
Implements v2fBase.
Definition at line 258 of file v2f.H.
References v2f< BasicMomentumTransportModel >::correct(), and v2f< BasicMomentumTransportModel >::f_.
|
virtual |
Solve the turbulence equations and correct the turbulence viscosity.
Implements eddyViscosity< RASModel< BasicMomentumTransportModel > >.
Definition at line 273 of file v2f.C.
References Foam::fvc::absolute(), Foam::bound(), fvConstraints::constrain(), correct, Foam::fvm::ddt(), Foam::dev(), Foam::dimless, Foam::fvm::div(), Foam::fvc::div(), divU, fvConstraints, fvModels, Foam::constant::universal::G, Foam::fvc::grad(), Foam::fvm::laplacian(), Foam::magSqr(), Foam::min(), N, dictionary::New(), nut, phi, tmp< T >::ref(), Foam::solve(), Foam::fvm::Sp(), Foam::sqr(), Foam::sqrt(), Foam::fvm::SuSp(), Foam::symm(), and Foam::type().
Referenced by v2f< BasicMomentumTransportModel >::f().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Turbulence kinetic energy.
Definition at line 144 of file v2f.H.
Referenced by v2f< BasicMomentumTransportModel >::k().
|
protected |
Turbulence dissipation.
Definition at line 147 of file v2f.H.
Referenced by v2f< BasicMomentumTransportModel >::epsilon().
|
protected |
Turbulence stress normal to streamlines.
Definition at line 150 of file v2f.H.
Referenced by v2f< BasicMomentumTransportModel >::v2().
|
protected |
Damping function.
Definition at line 153 of file v2f.H.
Referenced by v2f< BasicMomentumTransportModel >::f().
|
protected |
|
protected |