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

Sudden stop of heating - convergence problem?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 2, 2021, 05:34
Default Sudden stop of heating - convergence problem?
  #1
New Member
 
Join Date: Jan 2020
Posts: 26
Rep Power: 6
PSander is on a distinguished road
I simulate with OF8, chtMultiRegionFoam and Euler heating of a solid block, inside are two pipes filled with a fluid (water, velocity=0), every region has the same temperature.

The upper surface heats up the block and my goal is to know how much time does it need to heat up the whole block.

Unfortunately, after around 400.000 seconds the heating stops suddenly. The program does not crash, but in the next houndred thousand of seconds is almost no heating happening, which is implausible.

I expected wrong settings in fvSolution, so I tried different:
number of iterations (1-50),
relaxation Factors between 0.1 - 1,
nNonOrthogonalCorrectors from 0-2,
outerCorrectorResidualControl switched on and off.

all with the same outcome: at a certain temperature reached, the heating stops suddenly and almost completly.

Are there any settings influencing my problem, I could have forgotten or adjusted wrong?
Thank you in advance for your help!


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

ddtSchemes
{
    default         Euler; // Euler steadyState
}

gradSchemes
{
    default         Gauss linear;
}

divSchemes
{
    default         none;
}

laplacianSchemes
{
    default             none;
    laplacian(alpha,e)  Gauss linear uncorrected;
}

interpolationSchemes
{
    default         linear;
}

snGradSchemes
{
    default         uncorrected;
}


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

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

solvers
{
    e
    {
        solver           PCG;
        preconditioner   DIC;
        tolerance        1e-06;
        relTol           0.1;
    }

    eFinal
    {
        $e;
        tolerance        1e-06;
        relTol           0;
    }

}

PIMPLE
{
    nNonOrthogonalCorrectors 0;
    outerCorrectorResidualControl
    {
        e
        {
            tolerance 1e-7;//5
            relTol 0;
        }
    }
}

relaxationFactors
{
    equations
    {
        e           0.1;

    }
}

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


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

application     chtMultiRegionFoam;

startFrom       latestTime;

startTime       0;

stopAt          endTime;

endTime         864000;

deltaT          1;

writeControl    adjustableRunTime;

writeInterval   3600;

purgeWrite      0;

writeFormat     ascii;

writePrecision  22;

writeCompression off;

timeFormat      general;

timePrecision   6;

runTimeModifiable true;

adjustTimeStep  true; 

maxCo           1;

functions
{

  #includeFunc "residuals_fluid"

  avT_fluid_outlet
  {
      type            surfaceFieldValue;
      libs            ("libfieldFunctionObjects.so");
      log             yes;
      writeControl    runTime;
      writeInterval   3600;	
      writeFields     false;
      surfaceFormat   none;
      regionType      patch;
      name            outlet;
      region 	      fluid;	
      operation       areaAverage;
      fields
      (
          T
      );
  }

  yPlus_fluid
  {
    type            yPlus;
    libs            ("libfieldFunctionObjects.so");
    executeControl  writeTime;
    writeControl    writeTime;
    region  fluid;
  } 

  wallHeatFlux_fluid
  {
    type            wallHeatFlux;
    libs            ("libfieldFunctionObjects.so");
    executeControl  writeTime;
    writeControl    writeTime;
    region  fluid;
  }

  wallShearStress_fluid
  {
    type            wallShearStress;
    libs            ("libfieldFunctionObjects.so");
    executeControl  writeTime;
    writeControl    writeTime;
    region  fluid;
  }

  turbulenceIntensity_fluid
  {
    type            turbulenceIntensity;
    libs            ("libfieldFunctionObjects.so");
    executeControl  writeTime;
    writeControl    writeTime;
    region  fluid;
  } 

}


libs (
"libOpenFOAM.so"
"libsimpleSwakFunctionObjects.so"
"libswakFunctionObjects.so"
"libgroovyBC.so"
);

// ************************************************************************* //
Attached Images
File Type: jpg average_temp_euler.JPG (19.5 KB, 3 views)
PSander is offline   Reply With Quote

Reply

Tags
chtmulitregionfoam, convergance, euler


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
SU2-7.0.1 on ubuntu 18.04 hyunko SU2 Installation 7 March 16, 2020 05:37
a problem with convergence in buoyantSimpleFoam skuznet OpenFOAM Running, Solving & CFD 6 November 15, 2017 13:12
Force can not converge colopolo CFX 13 October 4, 2011 23:03
Submerged fin, Convergence problem supermouniette FLUENT 10 July 6, 2009 11:47
convergence problem with SIMPLER NURAY KAYAKOL Main CFD Forum 1 February 24, 1999 14:43


All times are GMT -4. The time now is 00:49.