CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   omegaSST, 3D wing validation to openFoam (https://www.cfd-online.com/Forums/openfoam-solving/184772-omegasst-3d-wing-validation-openfoam.html)

Mash March 10, 2017 12:21

omegaSST, 3D wing validation to openFoam
 
2 Attachment(s)
hey there, Im a bit of a newby to Openfoam, struggling to validate my results for Naca 0012 at 10deg angle of attack.
im not sure if it's a meshing or BC issue but looking at the velocity profile of the wake it seems way off.
any help will be much appreciated!!
primaraly interstead in the tip vortex
Code:

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

#include        "include/initialConditions"

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

internalField  uniform $turbulentKE;

boundaryField
{
    #include "include/fixedInlet"

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

    "wing_1.*"
    {
        type            zeroGradient;
    }

    #include "include/frontBackUpperPatches"
}

Code:

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

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

internalField  uniform 0;

boundaryField
{
    frontAndBack
    {
        type            calculated;
        value          uniform 0;
    }

    inlet
    {
        type            calculated;
        value          uniform 0;
    }

    outlet
    {
        type            calculated;
        value          uniform 0;
    }

    lowerWall
    {
        type            nutkWallFunction;
        value          uniform 0;
    }

    upperWall
    {
        type            calculated;
        value          uniform 0;
    }

    "wing_1.*"
    {
        type            nutkWallFunction;
        value          uniform 0;
    }
}

Code:

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

#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;
    }

    "wing_1.*"
    {
        type            zeroGradient;
    }

    #include "include/frontBackUpperPatches"
}


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

Code:

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

#include        "include/initialConditions"

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

internalField  uniform $pressure;

boundaryField
{
    inlet
    {
        type            zeroGradient;
    }

    outlet
    {
        type            fixedValue;
        value          $internalField;
    }

    "wing_1.*"
    {
        type            zeroGradient;
    }

    #include "include/frontBackUpperPatches"
}

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

Code:

    version    2.0;
    format      ascii;
    class      volVectorField;
    location    "0";
    object      U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

#include        "include/initialConditions"

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

internalField  uniform $flowVelocity;

boundaryField
{
    #include "include/fixedInlet"

    outlet
    {
        type            inletOutlet;
        inletValue      uniform (0 0 0);
        value          $internalField;
    }

    "wing_1.*"
    {
        type            fixedValue;
        value          uniform (0 0 0);
    }

    #include "include/frontBackUpperPatches"
}


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


wyldckat April 30, 2017 11:22

Quick note: Part of the answer to this thread (regarding k-omega initialization) is being dealt on another thread: https://www.cfd-online.com/Forums/op...omega-sst.html


All times are GMT -4. The time now is 19:44.