1

Previous: Initial and boundary conditions Up: Computation set-up Next: Initial and boundary conditions

This is an automatically generated documentation by LaTeX2HTML utility. In case of any issue, please, contact us at info@cfdsupport.com.

Turbulent quantities

  • Turbulence parameters are set in file turbulenceProperties in directory constant
  • Print the file on the screen:
    # cat $FOAM_RUN /pitzDaily/constant/turbulenceProperties
    /*--------------------------------*- C++ -*----------------------------------*\
    | =========                 |                                                 |
    | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
    |  \\    /   O peration     | Version:  dev                                   |
    |   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
    |    \\/     M anipulation  |                                                 |
    \*---------------------------------------------------------------------------*/
    FoamFile
    {
        version     2.0;
        format      ascii;
        class       dictionary;
        location    "constant";
        object      turbulenceProperties;
    }
    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
    
    simulationType RAS;
    
    RAS
    {
        // Tested with kEpsilon, realizableKE, kOmega, kOmegaSST, v2f,
        // ShihQuadraticKE, LienCubicKE.
        RASModel        kEpsilon;
    
        turbulence      on;
    
        printCoeffs     on;
    }
    
    
    // ************************************************************************* //
    

     

  • Parameter symulationType sets RAS, which stands for Reynolds averaged Navier-Stokes.
  • RAS subdictionary sums up all necessary settings for RAS.
  • RASModel is set to $ k-\epsilon$. Other possibilities are summed up in the commentary.
  • Parameter turbulence can switch turbulence on or off (on/off )
  • Parameter printCoeffs means the turbulence model coefficients are to be printed in standard output to the screen, when solver starts

     

    Selecting RAS turbulence model kEpsilon
    RAS
    {
        RASModel        kEpsilon;
        turbulence      on;
        printCoeffs     on;
        Cmu             0.09;
        C1              1.44;
        C2              1.92;
        C3              0;
        sigmak          1;
        sigmaEps        1.3;
    }
    
  • Parameter kEpsilonCoeffs is optional, and can change default turbulence model coefficients
  •