Public Member Functions | |
TypeName ("kOmegaSST") | |
Runtime type information. More... | |
kOmegaSST (const fvMesh &mesh, const solverControl &SolverControl) | |
Construct from components. More... | |
virtual | ~kOmegaSST ()=default |
Destructor. More... | |
virtual tmp< volScalarField::Internal > | G () |
Return the turbulence production term. More... | |
virtual void | computeMeanFields () |
Compute mean fields on the fly. More... | |
virtual bool | hasTMVar1 () const |
Bools to identify which turbulent fields are present. More... | |
virtual bool | hasTMVar2 () const |
virtual bool | hasNut () const |
virtual void | correctBoundaryConditions (const incompressible::turbulenceModel &turbulence) |
Correct boundary conditions of turbulent fields. More... | |
![]() | |
TypeName ("RASModelVariables") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, RASModelVariables, dictionary,(const fvMesh &mesh, const solverControl &SolverControl),(mesh, SolverControl)) | |
RASModelVariables (const fvMesh &mesh, const solverControl &SolverControl) | |
Construct from components. More... | |
RASModelVariables (const RASModelVariables &rmv) | |
Copy constructor. More... | |
autoPtr< RASModelVariables > | clone () const |
Clone. More... | |
virtual | ~RASModelVariables ()=default |
const word & | TMVar1BaseName () const |
Turbulence field names. More... | |
const word & | TMVar2BaseName () const |
const word & | nutBaseName () const |
virtual bool | hasTMVar1 () const |
Bools to identify which turbulent fields are present. More... | |
virtual bool | hasTMVar2 () const |
virtual bool | hasNut () const |
bool | hasDist () const |
const volScalarField & | TMVar1 () const |
Return references to turbulence fields. More... | |
volScalarField & | TMVar1 () |
const volScalarField & | TMVar2 () const |
volScalarField & | TMVar2 () |
const volScalarField & | nutRef () const |
volScalarField & | nutRef () |
const volScalarField & | d () const |
volScalarField & | d () |
const volScalarField & | TMVar1Inst () const |
return references to instantaneous turbulence fields More... | |
volScalarField & | TMVar1Inst () |
const volScalarField & | TMVar2Inst () const |
volScalarField & | TMVar2Inst () |
const volScalarField & | nutRefInst () const |
volScalarField & | nutRefInst () |
virtual tmp< volScalarField > | nutJacobianVar1 (const singlePhaseTransportModel &laminarTransport) const |
Return nut Jacobian wrt the TM vars. More... | |
virtual tmp< volScalarField > | nutJacobianVar2 (const singlePhaseTransportModel &laminarTransport) const |
virtual tmp< volScalarField::Internal > | G () |
Return the turbulence production term. More... | |
void | restoreInitValues () |
Restore turbulent fields to their initial values. More... | |
void | resetMeanFields () |
Reset mean fields to zero. More... | |
virtual void | computeMeanFields () |
Compute mean fields on the fly. More... | |
tmp< volSymmTensorField > | devReff (const singlePhaseTransportModel &laminarTransport, const volVectorField &U) const |
Return stress tensor based on the mean flow variables. More... | |
virtual void | correctBoundaryConditions (const incompressible::turbulenceModel &turbulence) |
correct bounday conditions of turbulent fields More... | |
virtual void | transfer (RASModelVariables &rmv) |
Transfer turbulence fields from an another object. More... | |
Protected Member Functions | |
virtual void | allocateMeanFields () |
tmp< volScalarField::Internal > | computeG () |
![]() | |
virtual void | allocateInitValues () |
virtual void | allocateMeanFields () |
refPtr< volScalarField > | cloneRefPtr (const refPtr< volScalarField > &obj) const |
void | copyAndRename (volScalarField &f1, volScalarField &f2) |
void | operator= (const RASModelVariables &)=delete |
No copy assignment. More... | |
Protected Attributes | |
autoPtr< volScalarField::Internal > | GMean_ |
Average of the production term. More... | |
![]() | |
const fvMesh & | mesh_ |
const solverControl & | solverControl_ |
word | TMVar1BaseName_ |
word | TMVar2BaseName_ |
word | nutBaseName_ |
refPtr< volScalarField > | TMVar1Ptr_ |
refPtr< volScalarField > | TMVar2Ptr_ |
refPtr< volScalarField > | nutPtr_ |
refPtr< volScalarField > | distPtr_ |
refPtr< volScalarField > | TMVar1InitPtr_ |
refPtr< volScalarField > | TMVar2InitPtr_ |
refPtr< volScalarField > | nutInitPtr_ |
refPtr< volScalarField > | TMVar1MeanPtr_ |
refPtr< volScalarField > | TMVar2MeanPtr_ |
refPtr< volScalarField > | nutMeanPtr_ |
Additional Inherited Members | |
![]() | |
static autoPtr< RASModelVariables > | New (const fvMesh &mesh, const solverControl &SolverControl) |
Return a reference to the selected turbulence model. More... | |
kOmegaSST | ( | const fvMesh & | mesh, |
const solverControl & | SolverControl | ||
) |
Construct from components.
Definition at line 78 of file kOmegaSST.C.
References RASModelVariables::allocateInitValues(), kOmegaSST::allocateMeanFields(), RASModelVariables::distPtr_, objectRegistry::lookupObjectRef(), RASModelVariables::mesh_, Time::New(), RASModelVariables::nutBaseName_, RASModelVariables::nutPtr_, RASModelVariables::TMVar1BaseName_, RASModelVariables::TMVar1Ptr_, RASModelVariables::TMVar2BaseName_, RASModelVariables::TMVar2Ptr_, and y.
|
virtualdefault |
Destructor.
|
protectedvirtual |
Reimplemented from RASModelVariables.
Definition at line 51 of file kOmegaSST.C.
References RASModelVariables::allocateMeanFields(), IOobject::AUTO_WRITE, solverControl::average(), Foam::dimArea, Foam::dimTime, kOmegaSST::GMean_, RASModelVariables::mesh_, Foam::pow3(), IOobject::READ_IF_PRESENT, RASModelVariables::solverControl_, fvMesh::time(), Time::timeName(), and Foam::Zero.
Referenced by kOmegaSST::kOmegaSST().
|
protected |
Definition at line 100 of file kOmegaSST.C.
References GeometricField< Type, PatchField, GeoMesh >::correctBoundaryConditions(), Foam::dev(), turbulenceModel::GName(), Foam::fvc::grad(), IOobject::groupName(), objectRegistry::lookupObject(), RASModelVariables::mesh_, Time::New(), RASModelVariables::nutRefInst(), phaseSystem::propertiesName, RASModelVariables::TMVar2(), RASModelVariables::TMVar2Inst(), Foam::twoSymm(), Foam::type(), U, and turbulenceModel::U().
Referenced by kOmegaSST::computeMeanFields(), and kOmegaSST::G().
TypeName | ( | "kOmegaSST" | ) |
Runtime type information.
|
virtual |
Return the turbulence production term.
Reimplemented from RASModelVariables.
Definition at line 135 of file kOmegaSST.C.
References kOmegaSST::computeG(), DebugInfo, Foam::endl(), kOmegaSST::GMean_, RASModelVariables::solverControl_, and solverControl::useAveragedFields().
Referenced by kOmegaSST::correctBoundaryConditions().
|
virtual |
Compute mean fields on the fly.
Reimplemented from RASModelVariables.
Definition at line 149 of file kOmegaSST.C.
References solverControl::averageIter(), kOmegaSST::computeG(), RASModelVariables::computeMeanFields(), solverControl::doAverageIter(), kOmegaSST::GMean_, and RASModelVariables::solverControl_.
|
inlinevirtual |
Bools to identify which turbulent fields are present.
Apart from the distance pointer, all other pointers are allocated even if the the corresponding field does not exist. Hence, the pointer itself cannot be used to determine the existance of the field
Reimplemented from RASModelVariables.
Definition at line 105 of file kOmegaSST.H.
|
inlinevirtual |
Reimplemented from RASModelVariables.
Definition at line 109 of file kOmegaSST.H.
|
inlinevirtual |
Reimplemented from RASModelVariables.
Definition at line 113 of file kOmegaSST.H.
|
virtual |
Correct boundary conditions of turbulent fields.
Reimplemented from RASModelVariables.
Definition at line 163 of file kOmegaSST.C.
References GeometricField< Type, PatchField, GeoMesh >::correctBoundaryConditions(), kOmegaSST::G(), Foam::fvc::grad(), Foam::magSqr(), RASModelVariables::nutRef(), Foam::symm(), turbulence, and U.
|
protected |
Average of the production term.
Avaraged separetely due the bi-zonal treatment next to the wall
Definition at line 67 of file kOmegaSST.H.
Referenced by kOmegaSST::allocateMeanFields(), kOmegaSST::computeMeanFields(), and kOmegaSST::G().