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

Energy equation tends to diverge in external aerodynamic problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 19, 2024, 11:43
Default Energy equation tends to diverge in external aerodynamic problem
  #1
New Member
 
Vadim Mikhailov
Join Date: Nov 2023
Posts: 8
Rep Power: 2
sabbraxcaddabra is on a distinguished road
Hello everyone! Im trying to solve external aerodynamics problem using rhoPimpleFoam solver with pseudo time-stepping by localEuler ddt scheme.
Im trying to reproduce some results from this thesis https://ubibliorum.ubi.pt/handle/10400.6/13027 (i use all boundary conditions from there except fixedValue for T field, i use zeroGradient).

The problem is: residual of energy equation from my simulation always tends to diverge (even with most robust Gauss upwind scheme). Now Im triyng only supersonic speed (1.2 Mach number)

Can anybody give me advise how to solve my issue?

My fvSchemes dict:
Code:
/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  9
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    format      ascii;
    class       dictionary;
    object      fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

ddtSchemes
{
    default         localEuler;
}

gradSchemes
{
    default         cellMDLimited Gauss linear 0.5;

    limited         cellMDLimited Gauss linear 0.333;
    grad(U)         $limited;
    grad(k)         $limited;
    grad(omega)     $limited;
}

divSchemes
{
    default         none;

    div(phi,U)      bounded Gauss linearUpwind grad(U);

    turbulence      bounded Gauss upwind;
    energy          bounded Gauss upwind;
    // energy          bounded Gauss linearUpwind limited;

    div(phi,k)      $turbulence;
    div(phi,omega)  $turbulence;

    div(phi,e)      $energy;
    div(phi,K)      $energy;

    div(phid,p)     Gauss upwind;
    div(phi,(p|rho))  bounded Gauss upwind;

    div(((rho*nuEff)*dev2(T(grad(U)))))    Gauss linear;
}

laplacianSchemes
{
    default         Gauss linear limited 1.0;
}

interpolationSchemes
{
    default         linear;
}

snGradSchemes
{
    default         limited 1.0;
}

wallDist
{
    method meshWave;
}

// ************************************************************************* //
My fvSolution dict:
Code:
/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  9
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    format      ascii;
    class       dictionary;
    object      fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

solvers
{
    "rho.*"
    {
        solver          diagonal;
    }
    "p.*"
    {
        solver          PBiCGStab;
        preconditioner  DILU;
        tolerance       1e-12;
        relTol          0;
    }

    "(U|k|omega|e).*"
    {
        $p
        tolerance       1e-10;
    }
}

PIMPLE
{
    nOuterCorrectors 1;
    nCorrectors      3;
    nNonOrthogonalCorrectors 1;

    turbOnFinalIterOnly      false;

    transonic            yes;

    maxCo 0.5;

    rDeltaTSmoothingCoeff 0.001;
    rDeltaTDampingCoeff 0.5;
}

// ************************************************************************* //
I also pick up my mesh screenshots and plot with residuals[

ATTACH]100402[/ATTACH]

mesh.jpg

energy_divergence.png
Attached Images
File Type: jpg domain.jpg (194.6 KB, 3 views)
sabbraxcaddabra is offline   Reply With Quote

Reply

Tags
energy convergence, rhopimplefoam, supersonic external flow


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
Energy equation - where is the turbulent kinetic energy? usv001 OpenFOAM Programming & Development 1 January 25, 2022 16:04
Problem with energy equation L.Gordo FLUENT 2 August 30, 2018 06:02
Domain Reference Pressure and mass flow inlet boundary AdidaKK CFX 75 August 20, 2018 06:37
Energy equation convergence problem Reza Main CFD Forum 0 August 27, 2003 14:09
Why FVM for high-Re flows? Zhong Lei Main CFD Forum 23 May 14, 1999 14:22


All times are GMT -4. The time now is 01:28.