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

Oscillating lift coefficient in PimpleDyMFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 6, 2017, 16:26
Default Oscillating lift coefficient in PimpleDyMFoam
  #1
New Member
 
John P
Join Date: Apr 2015
Posts: 7
Rep Power: 11
Petr Kazarin is on a distinguished road
Hello colleagues,

I am modeling the fanwing in Openfoam (the fan embedded in between slat and airfoil).
I am using cyclicAMI etc - it works. The fan rotates with 400 rad/s and I get the transient solution.
However, the lift coefficient on slat and airfoil oscillates too much - almost from 1 to 10.. I calculated the mean value over time history and got smthg like 4.5 which is somewhat close to the value I got from Fluent. In fluent there are no such oscillations - the lift coefficient grows gradually up to 5.2-5.3 with very small oscillations.
I use SpalartAllmaras model. The freestreeam value is 15 m/s,

The fVSchemes I use is as follows:


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      fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

ddtSchemes
{
    default         Euler;
}

gradSchemes
{
    default         Gauss linear;
    grad(p)         Gauss linear;
    grad(U)         cellLimited Gauss linear 1;
}

divSchemes
{
    default         none;
//    div(phi,U)      Gauss upwind;
    div(phi,U)      Gauss limitedLinear 1;//Gauss linearUpwind grad(U);//Gauss linearUpwind grad(U);
   // div(phi,k)      Gauss linear;//Gauss upwind;
   // div(phi,omega) Gauss linear;//Gauss upwind;
    div((nuEff*dev2(T(grad(U))))) Gauss linear;
    
    div(phi,nuTilda)  bounded Gauss linearUpwind grad(nuTilda);
}

laplacianSchemes
{
    default         Gauss linear limited corrected 0.33;
}

interpolationSchemes
{
    default         linear;
}

snGradSchemes
{
    default         limited corrected 0.33;
}
wallDist
{
method meshWave;
}


// ************************************************************************* //
fvSolutions is:

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;
    object      fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

solvers
{
    pcorr
    {
        solver          GAMG;
      //  preconditioner  DIC;
        tolerance       1e-2;
        relTol          0;
        smoother        DICGaussSeidel;
        cacheAgglomeration no;
        maxIter         200;
    }

    p
    {
        $pcorr;
        tolerance       1e-5;
        relTol          0.01;
    }

    Phi
    {
        $p;
    }

    pFinal
    {
        $p;
        tolerance       1e-6;
        relTol          0;
    }

    "(U|nuTilda)"
    {
        solver          smoothSolver;
        smoother        symGaussSeidel;
        //solver          PBiCGStab;
      //  preconditioner  DILU;
        tolerance       1e-6;
        relTol          0.1;
    }

    "(U|nuTilda)Final"
    {
        solver          smoothSolver;
       smoother        symGaussSeidel;
      // solver          PBiCGStab;
    //    preconditioner  DILU;
        tolerance       1e-6;
        relTol          0;
    }
}

potentialFlow
{
    nNonOrthogonalCorrectors 10;
    PhiRefCell 0; 
    PhiRefValue 0; 
}

SIMPLE
{
nCorrectors     2;    
nNonOrthogonalCorrectors 0;
     
    consistent yes;
}



PIMPLE
{
    correctPhi          no;
    nOuterCorrectors    3;
    nCorrectors         1;
    nNonOrthogonalCorrectors 1;
}

relaxationFactors
{
    U       0.5;
    UFinal  1;
}

cache
{
    grad(U);
}

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

I noticed that Residual for pressure is very high (up to 1).
Could you please give some advise of hot to suppress the residual for p ?
Petr Kazarin 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
wrong SU2 calculation for lift and drag coefficient for NAC4421 mechy SU2 7 January 9, 2017 06:18
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28
Lift coefficient in Eulerian multiphase model hennas FLUENT 1 July 4, 2011 17:50
Automotive test case vinz OpenFOAM Running, Solving & CFD 98 October 27, 2008 09:43
Zero Coefficient of Lift Problem MH FLUENT 0 February 25, 2007 12:48


All times are GMT -4. The time now is 11:39.