CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   nSweep replaces in number of iterations and role of maxIter in the situation (https://www.cfd-online.com/Forums/openfoam-solving/118058-nsweep-replaces-number-iterations-role-maxiter-situation.html)

immortality May 20, 2013 12:03

nSweep replaces in number of iterations and role of maxIter in the situation
 
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.:)


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