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

nSweep replaces in number of iterations and role of maxIter in the situation

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 20, 2013, 12:03
Default nSweep replaces in number of iterations and role of maxIter in the situation
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,185
Rep Power: 16
immortality is on a distinguished road
Hi
I have set variables in fvSolution as this:
Code:
U
    {
        solver          smoothSolver;
        smoother        DICGaussSeidel;
        nSweeps         10;
        tolerance       1e-8;
        relTol          0;
        maxIter        25000;
    }
and whenever I change nSweep,in the terminal "No iterations ..." changes and becomes equal to what I have set in nSweeps,what does it mean while iterations are very lower than tolerance,but solver still needs to update preConditioner equations?why and what does it mean?and then whats the role of maxIter?

Code:
Expression totalPressure_left :  average=473553.3429
Expression totalTemperature_left :  average=595.0042888
Expression totalEnthalpy_left :  average=309719.6059
Mean and max Courant Numbers = 0.04351780419 0.366134735
deltaT = 1.123595506e-08
Time = 1.07191e-05

diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
diagonal:  Solving for rhoUx, Initial residual = 0, Final residual = 0, No Iterations 0
diagonal:  Solving for rhoUy, Initial residual = 0, Final residual = 0, No Iterations 0
smoothSolver:  Solving for Ux, Initial residual = 1.439461739e-06, Final residual = 8.556082957e-18, No Iterations 10
smoothSolver:  Solving for Uy, Initial residual = 8.303623243e-07, Final residual = 1.628563749e-17, No Iterations 10
diagonal:  Solving for rhoE, Initial residual = 0, Final residual = 0, No Iterations 0
smoothSolver:  Solving for h, Initial residual = 4.149100952e-07, Final residual = 1.97049636e-16, No Iterations 10
smoothSolver:  Solving for gas, Initial residual = 0.001321839765, Final residual = 8.537893492e-18, No Iterations 10
ExecutionTime = 1262.37 s  ClockTime = 1744 s
thanks.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On



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