CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   nut file of OpenFoam (https://www.cfd-online.com/Forums/openfoam-pre-processing/243999-nut-file-openfoam.html)

silver.blaze July 16, 2022 13:37

nut file of OpenFoam
 
Dear Altruist,

I am trying to solve a turbulence model by using Spalart-Allmaras turbulence model. my Re = 2.98X10^6, nu = 0.001002991, rho = 997 kg/m^3, Speed = 3 m/s. Now my question is,

what are nut and nuTilda file? I have searched on google, but don't get it.

and

according my value of rho, nu, v etc. my nut and nuTilda file will update?

my nut file :
Code:

FoamFile
{
    version    2.0;
    format      ascii;
    class      volScalarField;
    object      nut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField  uniform 0.14;

boundaryField
{
    inlet
    {
        type            freestream;
        freestreamValue uniform 0.14;
    }

    outlet
    {
        type            freestream;
        freestreamValue uniform 0.14;
    }

    hydrofoil-wall
    {
        type            nutUSpaldingWallFunction;
        value          uniform 0;
    }

    frontAndBack
    {
        type            empty;
    }
}

my nuTilda code:
Code:

FoamFile
{
    version    2.0;
    format      ascii;
    class      volScalarField;
    object      nuTilda;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField  uniform 0.14;

boundaryField
{
    inlet
    {
        type            freestream;
        freestreamValue uniform 0.14;
    }

    outlet
    {
        type            freestream;
        freestreamValue uniform 0.14;
    }

    hydrofoil-wall
    {
        type            fixedValue;
        value          uniform 0;
    }

    frontAndBack
    {
        type            empty;
    }
}

and what is uniform 0.14 value?

Kindly help me. I am new in OpenFoam (openFoam.com)

kerim July 22, 2022 14:12

You can find useful info on the cfd.online forum.

https://www.cfd-online.com/Forums/op...t-nutilda.html
https://www.cfd-online.com/Forums/op...implefoam.html
https://www.cfd-online.com/Forums/op...t-nutilda.html

kerim July 22, 2022 14:16

You have boundary condition files for the two quantities nut and nuTilda.

silver.blaze July 22, 2022 14:18

Quote:

Originally Posted by kerim (Post 832264)
You have boundary condition files for the two quantities nut and nuTilda.

Thanks for your reply. My updated problem is here: https://www.cfd-online.com/Forums/op...tml#post832263


All times are GMT -4. The time now is 05:26.