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

smoothSolver diverges - solution in using PBiCG solver?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 15, 2009, 15:49
Default smoothSolver diverges - solution in using PBiCG solver?
  #1
Senior Member
 
Dr. Alexander Vakhrushev
Join Date: Mar 2009
Posts: 256
Blog Entries: 1
Rep Power: 19
makaveli_lcf is on a distinguished road
Send a message via ICQ to makaveli_lcf
Hi all!
I have 2 points to discuss:

1st one:

I wrote a heat transfer solver based on pimpleFoam, adding heat transfer equation.
I use high Courant numbers (up to 5) to speed up calculations. Flow simulation runs without problems (GAMG solver for pressure, smoothSolvers for U and turbulent parameters). By analogy I used smoothSolver also for TEqn in my solver:
Code:
    T
    {
        solver          smoothSolver;
        smoother      GaussSeidel;
        tolerance       1e-05;
        relTol          0;
    nSweeps        1;
    }
But it diverges just at the beggining of simulation with error in GaussSeidel smoother method.

Then I just switched TEqn solver to PBiCG with DILU preconditioner

Code:
    T
    {
        solver          PBiCG;
        preconditioner    DILU;
        tolerance       1e-05;
        relTol          0;
    }
and every thing runs Ok. I compared transient solution at different times with pisoFoam solution + heat transfer, and all fields correspond realy good to each other.
So what is the reason for such behavior?

2nd point:

Why am I using pimpleFoam? I solve more complicated task with solidification and turbulent flow. For some cases I search for steady state. One approache is to use steady state solvers, another - to apply transient or cvazi-transient solvers to reach steady state when solution will become stable.

I tried to use simpleFoam just to test such posibility for my task. It reached solution which transient solvers achieve and do not change later, but instanteniously solution deverged! Residuals got a big jump and solution crashed... Am wondering why it happend? Stable solution for that simmetric geometry which I used was assimetric, because there are 3 jets and in 2D they cannot be stable because two zones of low pressure do not have a connection. Is assymethry of solution the case for steady state solver to deverge?

So now I an forced to use PISO or PIMPLE technics to solve my problem... But it is time-consuming!

So, waiting for your opinion! Have a good day!
__________________
Best regards,

Dr. Alexander VAKHRUSHEV

Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics"

Simulation and Modelling of Metallurgical Processes
Department of Metallurgy
University of Leoben

http://smmp.unileoben.ac.at
makaveli_lcf is offline   Reply With Quote

Old   August 20, 2013, 17:22
Default
  #2
New Member
 
Jackie Chou
Join Date: Mar 2013
Posts: 12
Rep Power: 13
jackeyhust is on a distinguished road
Hello, Dr. Alexander VAKHRUSHEV,

I have met the same situation as you had. Have you got an idea about it?


Jackie
jackeyhust is offline   Reply With Quote

Old   August 21, 2013, 12:17
Default
  #3
Senior Member
 
Dr. Alexander Vakhrushev
Join Date: Mar 2009
Posts: 256
Blog Entries: 1
Rep Power: 19
makaveli_lcf is on a distinguished road
Send a message via ICQ to makaveli_lcf
Hi Jackie!

My post was from 2009, since that OpenFOAM improved a lot in numerics. So I do not observe that now in my simulations... Sometimes under-relaxation really helps to avoid simulation from explosion.

Cheers,
Alexander
__________________
Best regards,

Dr. Alexander VAKHRUSHEV

Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics"

Simulation and Modelling of Metallurgical Processes
Department of Metallurgy
University of Leoben

http://smmp.unileoben.ac.at
makaveli_lcf is offline   Reply With Quote

Old   September 11, 2013, 13:44
Default Multigride
  #4
Member
 
Join Date: Oct 2012
Posts: 47
Rep Power: 14
sh.d is on a distinguished road
Hi Dr.Alexander
Can you tell me what the difference is GAMG algorithms algorithms AMG?
THANKS
sh.d 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
coupled solver (again) lucioantonio FLUENT 0 April 8, 2009 17:15
Coupled solver energy equation problem lucioantonio FLUENT 0 April 3, 2009 11:21
two-phase Riemann analytic solution or solver. jinwon Main CFD Forum 0 July 12, 2007 23:09
Doubt on Implicit Methods analyse In India Main CFD Forum 10 March 9, 2007 04:01
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07


All times are GMT -4. The time now is 12:02.