87 auto& nutJacobian = tnutJacobian.ref();
96 const scalar Cv13 =
pow3(7.1);
101 nutJacobian = Cdfv1*chi + fv1;
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, IOobjectOption::registerOption regOpt, const Mesh &mesh, const dimensionSet &dims, const word &patchFieldType=fvPatchField< scalar >::calculatedType())
@ NO_REGISTER
Do not request registration (bool: false).
static FOAM_NO_DANGLING_REFERENCE const wallDist & New(const fvMesh &mesh, Args &&... args)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Abstract base class for objective functions. No point in making this runTime selectable since its chi...
refPtr< volScalarField > TMVar1Ptr_
refPtr< volScalarField > distPtr_
virtual void allocateMeanFields()
virtual void allocateInitValues()
RASModelVariables(const fvMesh &mesh, const solverControl &SolverControl)
Construct from components.
const volScalarField & TMVar1() const
Return references to turbulence fields.
refPtr< volScalarField > nutPtr_
SpalartAllmaras(const fvMesh &mesh, const solverControl &SolverControl)
Construct from components.
virtual tmp< volScalarField > nutJacobianVar1(const singlePhaseTransportModel &laminarTransport) const
return nut Jacobian wrt the TM vars
A simple single-phase transport model based on viscosityModel.
Base class for solver control classes.
A class for managing temporary objects.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
const dimensionSet dimless
Dimensionless.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedScalar pow3(const dimensionedScalar &ds)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
static constexpr const zero Zero
Global zero (0).
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
singlePhaseTransportModel laminarTransport(U, phi)