Public Member Functions | |
TypeName ("SpalartAllmaras") | |
Runtime type information. More... | |
SpalartAllmaras (const fvMesh &mesh, const solverControl &SolverControl) | |
Construct from components. More... | |
virtual | ~SpalartAllmaras ()=default |
Destructor. More... | |
virtual bool | hasTMVar1 () const |
Bools to identify which turbulent fields are present. More... | |
virtual bool | hasTMVar2 () const |
virtual bool | hasNut () const |
virtual tmp< volScalarField > | nutJacobianVar1 (const singlePhaseTransportModel &laminarTransport) const |
return nut Jacobian wrt the TM vars More... | |
Public Member Functions inherited from RASModelVariables | |
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 |
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 > | 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... | |
SpalartAllmaras | ( | const fvMesh & | mesh, |
const solverControl & | SolverControl | ||
) |
Construct from components.
Definition at line 44 of file SpalartAllmaras.C.
References Foam::dimless, mesh, MeshObject< fvMesh, UpdateableMeshObject, wallDist >::New(), IOobjectOption::NO_READ, IOobjectOption::NO_WRITE, y, and Foam::Zero.
|
virtualdefault |
Destructor.
TypeName | ( | "SpalartAllmaras" | ) |
Runtime type information.
|
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 86 of file SpalartAllmaras.H.
|
inlinevirtual |
Reimplemented from RASModelVariables.
Definition at line 90 of file SpalartAllmaras.H.
|
inlinevirtual |
Reimplemented from RASModelVariables.
Definition at line 94 of file SpalartAllmaras.H.
|
virtual |
return nut Jacobian wrt the TM vars
Reimplemented from RASModelVariables.
Definition at line 90 of file SpalartAllmaras.C.
References Foam::dimless, laminarTransport(), tmp< T >::New(), IOobjectOption::NO_READ, IOobjectOption::NO_WRITE, nu, Foam::pow3(), Foam::sqr(), and Foam::Zero.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.