define values for standardCmu, standardKappa, standardE in turbulenceModel.H

This commit is contained in:
Mark Olesen
2009-08-01 09:36:34 +02:00
parent 827e3659b9
commit 54a8b6a152
25 changed files with 156 additions and 187 deletions

View File

@ -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

View File

@ -1,4 +1,4 @@
if(turbulence)
if (turbulence)
{
if (mesh.changing())
{

View File

@ -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
(