mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
define values for standardCmu, standardKappa, standardE in turbulenceModel.H
This commit is contained in:
@ -27,7 +27,7 @@ Class
|
||||
|
||||
Description
|
||||
Standard k-epsilon turbulence model with additional source terms
|
||||
corresponding to PDR basic drag model (\link basic.H \endlink)
|
||||
corresponding to PDR basic drag model (@link basic.H @endlink)
|
||||
|
||||
The default model coefficients correspond to the following:
|
||||
@verbatim
|
||||
@ -47,10 +47,10 @@ Description
|
||||
\f$ \kappa-\epsilon \f$ equation for the generation of turbulence due to
|
||||
interaction with unresolved obstacles.
|
||||
|
||||
In the \f$ \epsilon \f$ equation \f$ C_{1} G_{R} \f$ is added as a source
|
||||
In the \f$ \epsilon \f$ equation, \f$ C_{1} G_{R} \f$ is added as a source
|
||||
term.
|
||||
|
||||
In the \f$ \kappa \f$ equation \f$ G_{R} \f$ is added as a source term.
|
||||
In the \f$ \kappa \f$ equation, \f$ G_{R} \f$ is added as a source term.
|
||||
|
||||
SourceFiles
|
||||
PDRkEpsilon.C
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
if(turbulence)
|
||||
if (turbulence)
|
||||
{
|
||||
if (mesh.changing())
|
||||
{
|
||||
|
||||
@ -41,6 +41,10 @@ Source files:
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
// turbulence constants - file-scope
|
||||
static const scalar Cmu(0.09);
|
||||
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
timeSelector::addOptions();
|
||||
@ -104,8 +108,6 @@ int main(int argc, char *argv[])
|
||||
|
||||
if (!IOobject("omega", runTime.timeName(), mesh).headerOk())
|
||||
{
|
||||
const scalar Cmu = 0.09;
|
||||
|
||||
Info<< "creating omega" << endl;
|
||||
volScalarField omega
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user