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

Home Forums OpenFOAM Forum On the Residuals in logs directory

  • On the Residuals in logs directory

    Posted by Raghu Karthik on November 12, 2023 at 2:36 pm

    I ran sonicFoam/RAS/nacaAirfoil

    used FoamLog and got the following in logs directory.

    I want to know which of these are residuals . are all of them residuals. What is the significance of terms

    < >_0, < >_1, < >Iters_0, < >Iters_1, < >Finalres_0. please explain.

    +——————+———————+————-+

    | CourantMax_0 | contLocal_0 | pIters_0 |

    | CourantMean_0 | contLocal_1 | pIters_1 |

    | Separator_0 | eFinalRes_0 | p_0 |

    | Time_0 | eIters_0 | p_1 |

    | UxFinalRes_0 | e_0 | rhoFinalRes_0 |

    | UxIters_0 | epsilonFinalRes_0 | rhoFinalRes_1 |

    | Ux_0 | epsilonIters_0 | rhoFinalRes_2 |

    | UyFinalRes_0 | epsilon_0 | rhoIters_0 |

    | UyIters_0 | executionTime_0 | rhoIters_1 |

    | Uy_0 | foamLog.awk | rhoIters_2 |

    | clockTime_0 | kFinalRes_0 | rho_0 |

    | contCumulative_0 | kIters_0 | rho_1 |

    | contCumulative_1 | k_0 | rho_2 |

    | contGlobal_0 | pFinalRes_0 | |

    | contGlobal_1 | pFinalRes_1 | |

    +——————+———————+————-+

    Barış Bicer replied 7 months, 1 week ago 2 Members · 1 Reply
  • 1 Reply
  • Barış Bicer

    Moderator
    November 12, 2023 at 7:40 pm

    hi,

    If you look at the fvSolution that you are doing 2 loops for each time step as you can see below nCorrectors :2,

    So 0 and 1 show the residuals for the 1st and 2nd loops of correctors where final is the final residuals of each time step.

    So you can use final one for residuals

    PIMPLE
    {
        nOuterCorrectors 1;
        nCorrectors      2;
        nNonOrthogonalCorrectors 0;
    }
    

Log in to reply.

error: Content is protected !!