{"id":65,"date":"2026-10-10T14:38:24","date_gmt":"2026-10-10T14:38:24","guid":{"rendered":"https:\/\/marouane.site\/?post_type=ms_lesson&#038;p=65"},"modified":"2026-10-10T16:03:08","modified_gmt":"2026-10-10T16:03:08","slug":"running-the-simulation-and-assessing-convergence","status":"publish","type":"ms_lesson","link":"https:\/\/marouane.site\/index.php\/lessons\/running-the-simulation-and-assessing-convergence\/","title":{"rendered":"Running the Simulation and Assessing Convergence"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">Introduction<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">Once the environment, case settings, and mesh have been checked, you can run the simulation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The next responsibility is to determine whether the numerical solution has converged sufficiently for the quantities you want to interpret.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Learning objective<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">Assess a simulation using residual histories, conservation checks, and monitored engineering quantities.<\/p>\n\n\n\n<div class=\"wp-block-group ms-callout is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading\">Key idea<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Judge convergence using several indicators together. A completed run or a low residual value alone is insufficient.<\/p>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Understand the idea<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Residuals describe the remaining imbalance in the discretized equations during the solution process. Their histories help reveal progress, stagnation, and instability.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Their definition and scaling depend on the solver, so avoid treating one numerical threshold as universally sufficient.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Also inspect conservation. For a steady system without mass sources, the net mass flow through all external boundaries should approach zero.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Finally, monitor quantities relevant to the engineering question. Depending on the case, these may include pressure difference, flow rate, or torque.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A steady calculation should produce sufficiently stable quantities of interest. Persistent oscillations require investigation; they can arise from numerical problems or from flow behaviour that is poorly represented by the chosen steady model.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Engineering example<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Suppose the residuals decrease while the predicted pressure difference continues drifting.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The calculation has not yet demonstrated a stable pressure-difference result. Running longer may help, but the mesh, boundary conditions, and numerical settings may also require review.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Keep the evidence together rather than judging the run from one plot.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Practical task<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">Run the workflow documented in the starter and retain the solver log.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Prepare:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Residual histories.<\/li>\n\n\n\n<li>A mass-balance assessment.<\/li>\n\n\n\n<li>A history of at least one relevant engineering quantity.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Explain why you consider the run sufficiently converged\u2014or why further investigation is needed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Checkpoint<\/h2>\n\n\n\n<details class=\"wp-block-details is-layout-flow wp-block-details-is-layout-flow\"><summary>If the solver reaches the configured final iteration, has convergence necessarily been achieved?<\/summary>\n<p class=\"wp-block-paragraph\">No. It may simply have reached its stopping limit. Convergence must be assessed from the numerical evidence and the stability of the quantities being evaluated.<\/p>\n<\/details>\n\n\n\n<h2 class=\"wp-block-heading\">References<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The starter\u2019s execution instructions and solver documentation.<\/li>\n\n\n\n<li class=\"has-text-color has-link-color wp-elements-1\"><a href=\"https:\/\/www.grc.nasa.gov\/www\/wind\/valid\/tutorial\/tutorial.html\">Tutorial on CFD Verification and Validation \u2014 NASA<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Once the environment, case settings, and mesh have been checked, you can run the simulation. The next responsibility is to determine whether the numerical solution has converged sufficiently for the quantities you want to interpret. Learning objective Assess a simulation using residual histories, conservation checks, and monitored engineering quantities. Key idea Judge convergence using [&hellip;]<\/p>\n","protected":false},"featured_media":66,"template":"","meta":{"_ms_course_id":45,"_ms_order":50,"_ms_minutes":15,"_ms_level":"Intermediate","_ms_classification":"","_ms_evidence":"https:\/\/github.com\/MarouaneLAMZIRAI\/openfoam-mrf-turbomachinery","_ms_accent":"magenta","footnotes":""},"ms_topic":[5,2,6,7],"class_list":["post-65","ms_lesson","type-ms_lesson","status-publish","has-post-thumbnail","hentry","ms_topic-cfd","ms_topic-fluid-mechanics","ms_topic-openfoam","ms_topic-turbomachinery"],"_links":{"self":[{"href":"https:\/\/marouane.site\/index.php\/wp-json\/wp\/v2\/ms_lesson\/65","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/marouane.site\/index.php\/wp-json\/wp\/v2\/ms_lesson"}],"about":[{"href":"https:\/\/marouane.site\/index.php\/wp-json\/wp\/v2\/types\/ms_lesson"}],"version-history":[{"count":3,"href":"https:\/\/marouane.site\/index.php\/wp-json\/wp\/v2\/ms_lesson\/65\/revisions"}],"predecessor-version":[{"id":72,"href":"https:\/\/marouane.site\/index.php\/wp-json\/wp\/v2\/ms_lesson\/65\/revisions\/72"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/marouane.site\/index.php\/wp-json\/wp\/v2\/media\/66"}],"wp:attachment":[{"href":"https:\/\/marouane.site\/index.php\/wp-json\/wp\/v2\/media?parent=65"}],"wp:term":[{"taxonomy":"ms_topic","embeddable":true,"href":"https:\/\/marouane.site\/index.php\/wp-json\/wp\/v2\/ms_topic?post=65"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}