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

high and oscillating values for k

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 18, 2021, 11:35
Default high and oscillating values for k
  #1
New Member
 
mark
Join Date: Apr 2021
Posts: 3
Rep Power: 5
shiro44 is on a distinguished road
Hi guys, I am new to OpenFoam.
I was running a simulation for a steady flow using SimpleFoam.
The geometry is quite simple, two finite vertical walls and a costant horizontal mean wind upon them.
The problem is that k oscillates a lot vertically and its values are like, in general, 2 orders of magnitude higher than expected. Also it's converged after 9000 iterations.


The fvSchemes is:
Code:
 

ddtSchemes
{
    default         steadyState;
}

gradSchemes
{
    default         Gauss linear;
}

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

laplacianSchemes
{
    default         Gauss linear corrected;
}

interpolationSchemes
{
    default         linear;
}

snGradSchemes
{
    default         corrected;
}
The fvSolution is:
Code:
solvers
{
    U
    {
            solver          PBiCG;
            preconditioner  DILU;
            tolerance       1e-6;
            relTol          0;
    }
    "(p|p_rgh)"
    {
            solver          PCG;
            preconditioner  DIC;
            tolerance       1e-6;
            relTol          0;
    }


    "(U|k|epsilon|omega|f|v2)"
    {
        solver          smoothSolver;
        smoother        symGaussSeidel;
        tolerance       1e-05;
        relTol          0.1;
    }
}

SIMPLE
{
        pRefCell  0;
        pRefValue 0;
    nNonOrthogonalCorrectors 0;
    consistent      yes;

    residualControl
    {
        p               1e-3;
        U               1e-4;
        "(k|epsilon|omega|f|v2)" 1e-3;
    }

}

relaxationFactors
{
    equations
    {
        U               0.75
    }
}
Any suggestions?
shiro44 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
No steady solution for airfoil at high AoA NonStopEagle FLUENT 1 March 3, 2021 15:52
Problem in cd of oscillating airfoil at high freq. CH FLUENT 1 August 22, 2017 08:29
Polyflow : Fibre drawing, Problems when viscosity recheaches high values (about 1e14) michael.jeunehomme@gmail. ANSYS 0 August 13, 2015 06:13
Oscillating Airfoil Poor Results at High k (reduced frequency) dancfd OpenFOAM Running, Solving & CFD 3 November 4, 2013 08:32
High surface temp. oscillating flow UNAL FLUENT 0 November 19, 2004 09:20


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