Loading...
Searching...
No Matches
kOmegaSST Class Reference

#include <kOmegaSST.H>

Inheritance diagram for kOmegaSST:
Collaboration diagram for kOmegaSST:

Public Member Functions

 TypeName ("kOmegaSST")
 Runtime type information.
 kOmegaSST (const fvMesh &mesh, const solverControl &SolverControl)
 Construct from components.
virtual ~kOmegaSST ()=default
 Destructor.
virtual tmp< volScalarField::InternalG ()
 Return the turbulence production term.
virtual void computeMeanFields ()
 Compute mean fields on the fly.
virtual void correctBoundaryConditions (const incompressible::turbulenceModel &turbulence)
 Correct boundary conditions of turbulent fields.
Public Member Functions inherited from RASModelVariables
 TypeName ("RASModelVariables")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, RASModelVariables, dictionary,(const fvMesh &mesh, const solverControl &SolverControl),(mesh, SolverControl))
 RASModelVariables (const fvMesh &mesh, const solverControl &SolverControl)
 Construct from components.
 RASModelVariables (const RASModelVariables &rmv)
 Copy constructor.
autoPtr< RASModelVariablesclone () const
 Clone.
virtual ~RASModelVariables ()=default
const wordTMVar1BaseName () const
 Turbulence field names.
const wordTMVar2BaseName () const
const wordnutBaseName () const
virtual bool hasTMVar1 () const
 Bools to identify which turbulent fields are present.
virtual bool hasTMVar2 () const
virtual bool hasNut () const
bool hasDist () const
const volScalarFieldTMVar1 () const
 Return references to turbulence fields.
volScalarFieldTMVar1 ()
const volScalarFieldTMVar2 () const
volScalarFieldTMVar2 ()
const volScalarFieldnutRef () const
volScalarFieldnutRef ()
tmp< volScalarFieldnut () const
const volScalarFieldd () const
volScalarFieldd ()
tmp< scalarFieldTMVar1 (const label patchi) const
tmp< scalarFieldTMVar2 (const label patchi) const
tmp< scalarFieldnut (const label patchi) const
tmp< fvPatchScalarFieldnutPatchField (const label patchi) const
const volScalarFieldTMVar1Inst () const
 Return references to instantaneous turbulence fields.
volScalarFieldTMVar1Inst ()
const volScalarFieldTMVar2Inst () const
volScalarFieldTMVar2Inst ()
const volScalarFieldnutRefInst () const
volScalarFieldnutRefInst ()
virtual tmp< volScalarFieldnutJacobianVar1 (const singlePhaseTransportModel &laminarTransport) const
 Return nut Jacobian wrt the TM vars.
virtual tmp< volScalarFieldnutJacobianVar2 (const singlePhaseTransportModel &laminarTransport) const
void restoreInitValues ()
 Restore turbulent fields to their initial values.
void resetMeanFields ()
 Reset mean fields to zero.
tmp< volSymmTensorFielddevReff (const singlePhaseTransportModel &laminarTransport, const volVectorField &U) const
 Return stress tensor based on the mean flow variables.
virtual void transfer (RASModelVariables &rmv)
 Transfer turbulence fields from an another object.

Protected Member Functions

virtual void allocateMeanFields ()
tmp< volScalarField::InternalcomputeG ()
Protected Member Functions inherited from RASModelVariables
virtual void allocateInitValues ()
refPtr< volScalarFieldcloneRefPtr (const refPtr< volScalarField > &obj) const
void copyAndRename (volScalarField &f1, volScalarField &f2)
void operator= (const RASModelVariables &)=delete
 No copy assignment.

Protected Attributes

autoPtr< volScalarField::InternalGMean_
 Average of the production term.
Protected Attributes inherited from RASModelVariables
const fvMeshmesh_
const solverControlsolverControl_
word TMVar1BaseName_
word TMVar2BaseName_
word nutBaseName_
refPtr< volScalarFieldTMVar1Ptr_
refPtr< volScalarFieldTMVar2Ptr_
refPtr< volScalarFieldnutPtr_
refPtr< volScalarFielddistPtr_
refPtr< volScalarFieldTMVar1InitPtr_
refPtr< volScalarFieldTMVar2InitPtr_
refPtr< volScalarFieldnutInitPtr_
refPtr< volScalarFieldTMVar1MeanPtr_
refPtr< volScalarFieldTMVar2MeanPtr_
refPtr< volScalarFieldnutMeanPtr_

Additional Inherited Members

Static Public Member Functions inherited from RASModelVariables
static autoPtr< RASModelVariablesNew (const fvMesh &mesh, const solverControl &SolverControl)
 Return a reference to the selected turbulence model.

Detailed Description

Source files

Definition at line 52 of file kOmegaSST.H.

Constructor & Destructor Documentation

◆ kOmegaSST()

◆ ~kOmegaSST()

virtual ~kOmegaSST ( )
virtualdefault

Destructor.

Member Function Documentation

◆ allocateMeanFields()

void allocateMeanFields ( )
protectedvirtual

Reimplemented from RASModelVariables.

Definition at line 44 of file kOmegaSST.C.

References RASModelVariables::allocateMeanFields(), IOobjectOption::AUTO_WRITE, Foam::dimArea, Foam::dimTime, GMean_, RASModelVariables::mesh_, Foam::pow3(), IOobjectOption::READ_IF_PRESENT, IOobjectOption::REGISTER, RASModelVariables::solverControl_, and Foam::Zero.

Referenced by kOmegaSST().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ computeG()

◆ TypeName()

TypeName ( "kOmegaSST" )

Runtime type information.

References mesh.

◆ G()

tmp< volScalarField::Internal > G ( )
virtual

Return the turbulence production term.

Reimplemented from RASModelVariables.

Definition at line 134 of file kOmegaSST.C.

References computeG(), DebugInfo, Foam::endl(), GMean_, and RASModelVariables::solverControl_.

Referenced by correctBoundaryConditions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ computeMeanFields()

void computeMeanFields ( )
virtual

Compute mean fields on the fly.

Reimplemented from RASModelVariables.

Definition at line 148 of file kOmegaSST.C.

References computeG(), RASModelVariables::computeMeanFields(), GMean_, and RASModelVariables::solverControl_.

Here is the call graph for this function:

◆ correctBoundaryConditions()

void correctBoundaryConditions ( const incompressible::turbulenceModel & turbulence)
virtual

Correct boundary conditions of turbulent fields.

Reimplemented from RASModelVariables.

Definition at line 162 of file kOmegaSST.C.

References RASModelVariables::correctBoundaryConditions(), G(), Foam::fvc::grad(), Foam::magSqr(), RASModelVariables::nutRef(), Foam::symm(), and U.

Here is the call graph for this function:

Member Data Documentation

◆ GMean_

autoPtr<volScalarField::Internal> GMean_
protected

Average of the production term.

Avaraged separetely due the bi-zonal treatment next to the wall

Definition at line 66 of file kOmegaSST.H.

Referenced by allocateMeanFields(), computeMeanFields(), and G().


The documentation for this class was generated from the following files:
  • src/optimisation/adjointOptimisation/adjoint/turbulenceModels/turbulenceModelVariables/RAS/kOmegaSST/kOmegaSST.H
  • src/optimisation/adjointOptimisation/adjoint/turbulenceModels/turbulenceModelVariables/RAS/kOmegaSST/kOmegaSST.C