35 namespace incompressible
225 const viscosity& viscosity,
536 if (type == typeName)
628 fv(
sqr(fw)*kt_/nu()/(
omega_ + omegaMin_))
641 C11_*fTaul(lambdaEff, ktL, Omega)*Omega*
sqr(lambdaEff)
642 *
sqrt(ktL)*lambdaEff/nu()
644 , 0.5*(
kl_ + ktL)/(
sqrt(S2) + omegaMin_)
652 alphaT(lambdaEff, fv(
sqr(fw)*kt_/nu()/(
omega_ + omegaMin_)), ktS)
686 (1 -
CwR_/(fw + fwMin))*
kl_*(Rbp + Rnat)/(kt_ + kMin_)
691 Cw3_*fOmega(lambdaEff, lambdaT)*alphaTEff*
sqr(fw)*
sqrt(kt_)
695 omegaEqn.
ref().relax();
696 omegaEqn.
ref().boundaryManipulate(omega_.boundaryFieldRef());
699 bound(omega_, omegaMin_);
733 -
fvm::Sp(omega_ + Dt/(kt_+ kMin_), kt_)
737 ktEqn.
ref().boundaryManipulate(kt_.boundaryFieldRef());
dimensionedScalar CmuStd_
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
tmp< fvMatrix< Type > > SuSp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensionedTensor skew(const dimensionedTensor &dt)
T & ref() const
Return non-const reference or generate a fatal error.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedScalar CnatCrit_
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
dimensionedScalar Clambda_
const volScalarField & y() const
Return reference to cached distance-to-wall field.
dimensionedScalar sqrt(const dimensionedScalar &ds)
virtual void correctNut()
bool readIfPresent(const dictionary &)
Update the value of dimensioned<Type> if found in the dictionary.
dimensionedScalar Sigmaw_
virtual void correct()
Solve the turbulence equations and correct the turbulence viscosity.
const dimensionSet dimless
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
Macros for easy insertion into run-time selection tables.
const dimensionSet dimLength
virtual void correct()=0
Solve the turbulence equations and correct the turbulence viscosity.
const dimensionSet dimTime
const dimensionSet & dimensions() const
Return dimensions.
Low Reynolds-number k-kl-omega turbulence model for incompressible flows.
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
dimensionedSymmTensor dev(const dimensionedSymmTensor &dt)
dimensionedScalar exp(const dimensionedScalar &ds)
tmp< volScalarField > DkEff(const volScalarField &alphaT) const
Return the effective diffusivity for k.
dimensionedScalar CtsCrit_
A class for handling words, derived from string.
static word groupName(Name name, const word &group)
virtual bool read()
Read RASProperties dictionary.
Info<< "Reading field p\"<< endl;volScalarField p(IOobject("p", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Reading field U\"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);pressureReference pressureReference(p, simple.dict());mesh.schemes().setFluxRequired(p.name());Info<< "Reading field pa\"<< endl;volScalarField pa(IOobject("pa", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Reading field Ua\"<< endl;volVectorField Ua(IOobject("Ua", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);# 65 "/home/ubuntu/OpenFOAM-10/applications/solvers/incompressible/adjointShapeOptimisationFoam/createFields.H" 2label paRefCell=0;scalar paRefValue=0.0;setRefCell(pa, simple.dict(), paRefCell, paRefValue);mesh.schemes().setFluxRequired(pa.name());autoPtr< viscosityModel > viscosity(viscosityModel::New(mesh))
tmp< fvMatrix< Type > > ddt(const GeometricField< Type, fvPatchField, volMesh > &vf)
dimensionedScalar CbpCrit_
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
RASModel< momentumTransportModel > RASModel
virtual void validate()
Validate the turbulence fields after construction.
void updateCoeffs()
Update the boundary condition coefficients.
dimensioned< scalar > magSqr(const dimensioned< Type > &)
tmp< fvMatrix< Type > > div(const surfaceScalarField &flux, const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Bound the given scalar field if it has gone unbounded.
static wallDist & New(fvMesh &mesh)
dimensionedScalar Prtheta_
dimensionedScalar Sigmak_
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensionedScalar pow3(const dimensionedScalar &ds)
kkLOmega(const geometricOneField &alpha, const geometricOneField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const viscosity &viscosity, const word &type=typeName)
Construct from components.
volScalarField & bound(volScalarField &, const dimensionedScalar &lowerBound)
Bound the given scalar field if it has gone unbounded.
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
addToRunTimeSelectionTable(RASModel, kkLOmega, dictionary)
tmp< fvMatrix< Type > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
dimensionedScalar pow4(const dimensionedScalar &ds)
defineTypeNameAndDebug(kkLOmega, 0)
void correctBoundaryConditions()
Correct boundary field.
SolverPerformance< Type > solve(fvMatrix< Type > &, const word &)
Solve returning the solution statistics given convergence tolerance.
dimensioned< scalar > mag(const dimensioned< Type > &)
const volScalarField & y_
Wall distance.
const doubleScalar e
Elementary charge.
A class for managing temporary objects.
tmp< volScalarField > DomegaEff(const volScalarField &alphaT) const
Return the effective diffusivity for omega.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
dimensionedScalar CalphaTheta_