32template<
class Mixture>
43 rhoType_(rhoType::UNIFORM),
60 if (turbulenceProperties.
found(
"density"))
62 const word densityMethod
64 turbulenceProperties.
getWord(
"density")
66 if (densityMethod ==
"variable")
68 rhoType_ = rhoType::VARIABLE;
70 else if (densityMethod ==
"uniform")
72 rhoType_ = rhoType::UNIFORM;
77 <<
"The rho type provided is not correct " <<
nl
78 <<
" Available types are : " <<
nl
79 <<
" variable or uniform. " <<
nl
85 if (rhoType_ == rhoType::VARIABLE)
108 incTurbulence_->validate();
115template<
class Mixture>
123 if (rhoType_ == rhoType::VARIABLE)
125 return rhoIncTurbulence_->divDevRhoReff(
U);
129 return incTurbulence_->divDevRhoReff(
rho,
U);
133template<
class Mixture>
136 if (rhoType_ == rhoType::VARIABLE)
138 rhoIncTurbulence_->correct();
142 incTurbulence_->correct();
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
word getWord(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Same as get< word >(const word&, keyType::option)
bool found(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Search for an entry (const access) with the given keyword.
tmp< volVectorField > divDevRhoReff()
Return the effective viscous stress (laminar + turbulent).
Transport model selection class for the incompressibleInterFoam family of solvers.
void correct()
Correct the phase or mixture transport models.
A class for managing temporary objects.
static const word propertiesName
Default name of the turbulence properties dictionary.
A class for handling words, derived from Foam::string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
constexpr char nl
The newline '\n' character (0x0a)