CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Wrong file in motorBike tutorial? (https://www.cfd-online.com/Forums/openfoam/91251-wrong-file-motorbike-tutorial.html)

lovecraft22 August 4, 2011 10:06

Wrong file in motorBike tutorial?
 
Why the motorBike tutorial (/tutorials/incompressible/simpleFoam/motorBike) has a file called omega inside the 0.org folder which object is actually epsilon?

Here the file content:

Code:

/*--------------------------------*- C++ -*----------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  2.0.0                                |
|  \\  /    A nd          | Web:      www.OpenFOAM.com                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version    2.0;
    format      ascii;
    class      volScalarField;
    object      epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

#include        "include/initialConditions"

dimensions      [0 0 -1 0 0 0 0];

internalField  uniform $turbulentOmega;

boundaryField
{
    #include "include/fixedInlet"

    outlet
    {
        type            inletOutlet;
        inletValue      $internalField;
        value          $internalField;
    }

    lowerWall
    {
        type            omegaWallFunction;
    }

    "motorBike_.*"
    {
        type            omegaWallFunction;
    }

    #include "include/frontBackUpperPatches"
}


// ************************************************************************* //


val46 August 4, 2011 10:58

Hi,

the standard turbulence model in this tutorial is komegaSST.
Thats why, you need the omega file.
But you can of course switch to kepsilon (then you need an epsilon file).

lovecraft22 August 4, 2011 12:05

Thank you val;
what I was saying is that the file is called omega but the object is actually epsilon…

akidess August 4, 2011 13:03

Copy&Paste error most probably. As far as I know that part of the file is always ignored.


All times are GMT -4. The time now is 09:43.