CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Cp distribution around OneraM6 wing simpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 15, 2017, 02:45
Default Cp distribution around OneraM6 wing simpleFoam
  #1
New Member
 
Join Date: May 2017
Location: Japan, Kitakyushu
Posts: 19
Rep Power: 9
Dorian1504 is on a distinguished road
Hello,

I'm currently trying to validate a simulation around the OmeraM6 wing at M=0.7 and alpha=3.06 deg. However, my pressure distribution doesn't match the experimental result (cf pictures).
It seems both the lower and upper side give the same distribution, that means there is no pressure difference between both sides.
I computed cp using the pressure function in my controlDict file :

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  4.1                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application     simpleFoam;

startFrom       startTime;

startTime       0;

stopAt          endTime;

endTime         500;

deltaT          1;

writeControl    timeStep;

writeInterval   50;

purgeWrite      0;

writeFormat     ascii;

writePrecision  6;

writeCompression off;

timeFormat      general;

timePrecision   6;

runTimeModifiable true;

functions
{

    pressureTools1
    {
        type                pressure;
        functionObjectLibs ("libfieldFunctionObjects.so");
        enabled             yes;
    region            region0;
        calcTotal           no;
        calcCoeff           yes;
        timeStart           500;
        timeEnd             500;
        writeControl        outputTime;
        writeInterval       1;
        rhoInf              1.17663;
        pInf                0;
        UInf                (242.6835 0 12.9734);
            
    }
}
// ************************************************************************* //
And my 0/ folder :
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  4.1                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volVectorField;
    object      U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField   uniform (242.6835 0 12.9734);

boundaryField
{
    inlet
    {
        type            freestream;
        freestreamValue uniform (242.6835 0 12.9734);
    }

    outlet
    {
        type            zeroGradient;
    }

    box
    {
        type            slip;
    }

    oneraM6
    {
        type            noSlip;
    }
}

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

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

internalField   uniform 0;

boundaryField
{
    inlet
    {
        type            freestreamPressure;
    }

    outlet
    {
        type            zeroGradient;
    }

    box
    {
        type            zeroGradient;
    }

    oneraM6
    {
        type            zeroGradient;
    }
}

// ************************************************************************* //
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  4.1                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
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;
    }

    box
    {
        type            zeroGradient;
    }

    oneraM6
    {
        type            fixedValue;
        value           uniform 0;
    }
}

// ************************************************************************* //
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  4.1                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
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;
    }

    box
    {
        type            calculated;
        value           uniform 0.14;
    }


    oneraM6
    {
        type            nutUSpaldingWallFunction;
        value           uniform 0;
    }
}

// ************************************************************************* //
What did I do wrong ?
The experimental results come from AGARD Advisory Report No. 138.

Thank you,

Dorian
Attached Images
File Type: png Cp_OneraM6_3.06deg_M0.7_book.png (109.3 KB, 10 views)
File Type: jpg OneraM6_3.06deg_M0.7.jpg (105.8 KB, 10 views)
File Type: jpg cp_OneraM6_whole_contour.jpg (104.1 KB, 9 views)
Attached Files
File Type: gz OneraM6_Case.tar.gz (5.5 KB, 1 views)

Last edited by Dorian1504; November 15, 2017 at 04:50.
Dorian1504 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ffd_control_point_2d feiyi SU2 4 September 30, 2019 13:42
Plotting Spanwise Lift Distribution from Surface Cp Data on a Wing redpsi Tecplot 2 July 17, 2016 12:12
Problem with SimpleFoam for a solution around an OneraM6 wing gara1988 OpenFOAM Running, Solving & CFD 3 November 13, 2012 06:47
plot pressure distribution on a section of 3D wing ROOZBEH FLUENT 3 April 21, 2008 04:30
Lift distribution along wing nico FLUENT 2 February 2, 2004 13:21


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