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

simpleFoam crashes after 200 iterations

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 3, 2015, 10:00
Default simpleFoam crashes after 200 iterations
  #1
Senior Member
 
Join Date: Jan 2015
Posts: 150
Rep Power: 11
Svensen is on a distinguished road
I run a steady-state simulation using simpleFoam. During first 200 iterations a solution converges quite well but suddenly after about 200 iterations a solution explodes... I've tried to play with relaxation coefficients but with no success.

Config files, log file and plot of residuals are attached in a zip file.

Maybe someone knows how to overcome this issue ??
Attached Files
File Type: zip simpleFoam_stent.zip (121.8 KB, 12 views)
Svensen is offline   Reply With Quote

Old   November 3, 2015, 13:42
Default
  #2
Senior Member
 
sheaker's Avatar
 
Oskar
Join Date: Nov 2015
Location: Poland
Posts: 184
Rep Power: 10
sheaker is on a distinguished road
Hello.
It looks like You got 1000 iterations for pressure. Maybe You need to change Initial residual?
sheaker is offline   Reply With Quote

Old   November 3, 2015, 14:44
Default
  #3
Senior Member
 
Join Date: Jan 2015
Posts: 150
Rep Power: 11
Svensen is on a distinguished road
Do you know how to do this ?
Svensen is offline   Reply With Quote

Old   November 3, 2015, 14:56
Default
  #4
Senior Member
 
sheaker's Avatar
 
Oskar
Join Date: Nov 2015
Location: Poland
Posts: 184
Rep Power: 10
sheaker is on a distinguished road
Unfortunately I'm noob.

Maybe in file 0/p You can change internalField uniform to value that is close to Your calculation?

Last edited by sheaker; November 3, 2015 at 16:17.
sheaker is offline   Reply With Quote

Old   November 4, 2015, 08:56
Default
  #5
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 27
RodriguezFatz will become famous soon enough
You have really strange numerical settings. nNonOrthogonalCorrectors 15 ... why did you do that?

Can you post "checkMesh" output?

In fvSolution:
Code:
solvers
{
    p
    {
       
    solver           GAMG;
        tolerance        1e-12;
        relTol           0.001;
        smoother         DICGaussSeidel;
        nPreSweeps       0;
        nPostSweeps      1;
    nFinestSweeps    2;
    scaleCorrection  true;
    directSolveCoarsestLevel false;
        cacheAgglomeration on;
        agglomerator     faceAreaPair;
        nCellsInCoarsestLevel 500;
        mergeLevels      1;
        maxIter         100;
    }

    U
    {
        solver           smoothSolver;
        smoother         GaussSeidel;
        tolerance        1e-12;
        relTol           0.1;
        nSweeps          1;
        maxIter         100;
    }
}
Set nNonOrthogonalCorrectors to 1;
Set relaxation for pressure to 0.3 and for velocity to 0.7.

In fvSolution:
Set gradScheme default to "Gauss linear".
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Old   November 5, 2015, 01:32
Default
  #6
Member
 
Vojtech Betak
Join Date: Mar 2009
Location: Czech republic
Posts: 34
Rep Power: 18
betakv is on a distinguished road
Try to change outlet boundary condition for velocity from
{
type zeroGradient;
}

to
{
type inletOutlet;
inletValue uniform (0 0 0);
value $internalField;
}
betakv is offline   Reply With Quote

Reply

Tags
simplefoam not converged

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
simpleFoam error - "Floating point exception" mbcx4jc2 OpenFOAM Running, Solving & CFD 12 August 4, 2015 02:20
Cannot run the code properly: very large time step continuity error crst15 OpenFOAM Running, Solving & CFD 9 December 14, 2014 18:17
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
pimpleFoam: turbulence->correct(); is not executed when using residualControl hfs OpenFOAM Running, Solving & CFD 3 October 29, 2013 08:35
calculation stops after few time steps sivakumar OpenFOAM Running, Solving & CFD 7 March 17, 2013 06:37


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