Find answers, ask questions, and connect with our <br>community around the world.

Home Forums OpenFOAM Forum fvSolution – solvers

  • fvSolution – solvers

    Posted by Harshavardhan on January 2, 2023 at 4:40 am

    Hi baris,

    what does nsweeps represent in the solver. The motorbike case has nsweeps assigned as 1, I was not able to get clear explanantion in the internet.



    solver smoothSolver;
    smoother GaussSeidel;
    tolerance 1e-8;
    relTol 0.1;
    nSweeps 1;

    Barış Bicer replied 1 year, 3 months ago 2 Members · 3 Replies
  • 3 Replies
  • Barış Bicer

    January 2, 2023 at 8:58 am

    Hi Konka,

    this is number of solver iterations between checks for solver convergence before the calculation of residuals. Simply, it shows number of iterations when smooth solvers are used. You can increase if you wanna make more iterations to reach your decided tolerance before the residuals are calculated.

    As I said When using the smooth solvers, the user can optionally specify the number of sweeps, by the nSweeps keyword, before the residual is recalculated. Without setting it, it reverts to a default value of 1.

    For your info.



  • Harshavardhan

    January 9, 2023 at 5:08 am

    thank you so much for the explanation.

  • Barış Bicer

    January 9, 2023 at 8:12 pm

    You are welcome

Log in to reply.

error: Content is protected !!