Skip to content

Commit 9f7b372

Browse files
author
MFC Action
committed
Docs @ a8c72a1
1 parent cb20948 commit 9f7b372

133 files changed

Lines changed: 20697 additions & 19197 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

documentation/architecture.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ <h1 class="doxsection"><a class="anchor" id="autotoc_md13"></a>
427427
<li><b>Add the module to <span class="tt">docs/module_categories.json</span></b> so it appears in this page</li>
428428
</ol>
429429
<p>Follow the pattern of existing modules like <span class="tt">m_body_forces</span> (simple) or <span class="tt">m_viscous</span> (more involved) as a template.</p>
430-
<div style="text-align:center; font-size:0.75rem; color:#888; padding:16px 0 0;">Page last updated: 2026-07-18</div> </div></div><!-- contents -->
430+
<div style="text-align:center; font-size:0.75rem; color:#888; padding:16px 0 0;">Page last updated: 2026-07-19</div> </div></div><!-- contents -->
431431
</div><!-- PageDoc -->
432432
</div><!-- doc-content -->
433433
<div id="page-nav" class="page-nav-panel">

documentation/case.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1377,10 +1377,18 @@ <h3 class="doxsection"><a class="anchor" id="autotoc_md34"></a>
13771377
<tr class="markdownTableRowOdd">
13781378
<td class="markdownTableBodyRight"><span class="tt">chem_params%transport_model</span> </td><td class="markdownTableBodyCenter">Integer </td><td class="markdownTableBodyLeft">Methodology for calculating the diffusion coefficients </td></tr>
13791379
<tr class="markdownTableRowEven">
1380+
<td class="markdownTableBodyRight"><span class="tt">chem_params%reaction_substeps</span> </td><td class="markdownTableBodyCenter">Integer </td><td class="markdownTableBodyLeft">Sub-steps for operator-split reaction integration (0 = off) </td></tr>
1381+
<tr class="markdownTableRowOdd">
1382+
<td class="markdownTableBodyRight"><span class="tt">chem_params%adap_substeps</span> </td><td class="markdownTableBodyCenter">Logical </td><td class="markdownTableBodyLeft">Per-rank adaptive sub-step count driven by local stiffness </td></tr>
1383+
<tr class="markdownTableRowEven">
1384+
<td class="markdownTableBodyRight"><span class="tt">chem_params%reaction_substeps_max</span> </td><td class="markdownTableBodyCenter">Integer </td><td class="markdownTableBodyLeft">Sub-step ceiling when <span class="tt">adap_substeps</span> is enabled </td></tr>
1385+
<tr class="markdownTableRowOdd">
13801386
<td class="markdownTableBodyRight"><span class="tt">cantera_file</span> </td><td class="markdownTableBodyCenter">String </td><td class="markdownTableBodyLeft">Cantera-format mechanism file (e.g., .yaml) </td></tr>
13811387
</table>
13821388
<ul>
13831389
<li><span class="tt">chem_params%transport_model</span> specifies the methodology for calculating diffusion coefficients and other transport properties, <span class="tt">1</span> for mixture-average, <span class="tt">2</span> for Unity-Lewis</li>
1390+
<li><span class="tt">chem_params%reaction_substeps</span> controls how the reaction source is integrated. With <span class="tt">0</span> (default) the net production rates are added to the flow right-hand side and advanced by the flow time stepper (fine for hydrogen). With a value <span class="tt">&gt; 0</span>, the reaction is instead integrated by operator splitting after each flow update: every cell's constant-density, constant-internal-energy reactor is advanced over the timestep with that many sub-steps of an <b>α-QSS</b> (quasi-steady-state) integrator — a matrix-free, Jacobian-free predictor–corrector (Mott/CHEMEQ2) that splits the net rate into creation/destruction parts and applies a Padé α-weighting, so it stays stable on stiff mechanisms where an explicit source diverges. This decouples the (often much faster) chemical timescale from the flow timestep and is required for stiff mechanisms — e.g. hydrocarbons such as GRI-Mech methane, which otherwise diverge on the first step</li>
1391+
<li><span class="tt">chem_params%adap_substeps</span> (default <span class="tt">F</span>) makes each rank choose its α-QSS sub-step count per flow step from the largest chemical stiffness among its own cells: the count sits at <span class="tt">reaction_substeps</span> (the floor) in inert or burned gas and rises toward <span class="tt">reaction_substeps_max</span> (the ceiling) only across the reaction front. It uses no MPI collectives. When enabled, <span class="tt">reaction_substeps &gt;= 1</span> and <span class="tt">reaction_substeps_max &gt;= reaction_substeps</span> are required</li>
13841392
<li><span class="tt">cantera_file</span> specifies the chemical mechanism file. If the file is part of the standard Cantera library, only the filename is required. Otherwise, the file must be located in the same directory as your <span class="tt">case.py</span> file</li>
13851393
</ul>
13861394
<h3 class="doxsection"><a class="anchor" id="autotoc_md35"></a>

documentation/case_constraints.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,7 @@ <h2 class="doxsection"><a class="anchor" id="physics-warnings"></a>
14621462
</table>
14631463
<hr />
14641464
<p>💡 <b>Tip:</b> If you encounter a validation error, check the relevant section above or review <a href="https://github.com/MFlowCode/MFC/blob/master/toolchain/mfc/case_validator.py"><span class="tt">case_validator.py</span></a> for complete validation logic.</p>
1465-
<div style="text-align:center; font-size:0.75rem; color:#888; padding:16px 0 0;">Page last updated: 2026-07-18</div> </div></div><!-- contents -->
1465+
<div style="text-align:center; font-size:0.75rem; color:#888; padding:16px 0 0;">Page last updated: 2026-07-19</div> </div></div><!-- contents -->
14661466
</div><!-- PageDoc -->
14671467
</div><!-- doc-content -->
14681468
<div id="page-nav" class="page-nav-panel">

documentation/cli-reference.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ <h3 class="doxsection"><a class="anchor" id="autotoc_md82"></a>
999999
<h3 class="doxsection"><a class="anchor" id="autotoc_md83"></a>
10001000
Debug Logging (<span class="tt">-d, --debug-log</span>)</h3>
10011001
<p>Enables debug logging for the Python toolchain (mfc.sh internals). This is for troubleshooting the build system, not the MFC simulation code.</p>
1002-
<div style="text-align:center; font-size:0.75rem; color:#888; padding:16px 0 0;">Page last updated: 2026-07-18</div> </div></div><!-- contents -->
1002+
<div style="text-align:center; font-size:0.75rem; color:#888; padding:16px 0 0;">Page last updated: 2026-07-19</div> </div></div><!-- contents -->
10031003
</div><!-- PageDoc -->
10041004
</div><!-- doc-content -->
10051005
<div id="page-nav" class="page-nav-panel">

documentation/examples.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ <h2 class="doxsection"><a class="anchor" id="autotoc_md313"></a>
630630
<h3 class="doxsection"><a class="anchor" id="autotoc_md314"></a>
631631
Liutex visualization at transitional state</h3>
632632
<p><img src="result-3D_turb_mixing-example.png" alt="" height="400" class="inline"/></p>
633-
<div style="text-align:center; font-size:0.75rem; color:#888; padding:16px 0 0;">Page last updated: 2026-07-18</div> </div></div><!-- contents -->
633+
<div style="text-align:center; font-size:0.75rem; color:#888; padding:16px 0 0;">Page last updated: 2026-07-19</div> </div></div><!-- contents -->
634634
</div><!-- PageDoc -->
635635
</div><!-- doc-content -->
636636
<div id="page-nav" class="page-nav-panel">

documentation/parameters.html

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
</blockquote>
166166
<h2 class="doxsection"><a class="anchor" id="autotoc_md378"></a>
167167
Overview</h2>
168-
<p>MFC supports <b>3,775</b> case parameters organized into families.</p>
168+
<p>MFC supports <b>3,778</b> case parameters organized into families.</p>
169169
<p><b>Quick search:</b> Use <span class="tt">./mfc.sh params &lt;query&gt;</span> to search parameters from the command line.</p>
170170
<h2 class="doxsection"><a class="anchor" id="autotoc_md379"></a>
171171
Parameter Families</h2>
@@ -225,7 +225,7 @@ <h2 class="doxsection"><a class="anchor" id="autotoc_md379"></a>
225225
<tr class="markdownTableRowEven">
226226
<td class="markdownTableBodyNone"><a class="el" href="#stl_models" title="stl_models">stl_models</a> </td><td class="markdownTableBodyNone">8 </td><td class="markdownTableBodyNone"></td></tr>
227227
<tr class="markdownTableRowOdd">
228-
<td class="markdownTableBodyNone"><a class="el" href="#chem_params" title="chem_params">chem_params</a> </td><td class="markdownTableBodyNone">4 </td><td class="markdownTableBodyNone">Chemistry model parameters </td></tr>
228+
<td class="markdownTableBodyNone"><a class="el" href="#chem_params" title="chem_params">chem_params</a> </td><td class="markdownTableBodyNone">7 </td><td class="markdownTableBodyNone">Chemistry model parameters </td></tr>
229229
<tr class="markdownTableRowEven">
230230
<td class="markdownTableBodyNone"><a class="el" href="#ib_airfoil" title="ib_airfoil">ib_airfoil</a> </td><td class="markdownTableBodyNone">4 </td><td class="markdownTableBodyNone"></td></tr>
231231
<tr class="markdownTableRowOdd">
@@ -1082,17 +1082,23 @@ <h3 class="doxsection"><a class="anchor" id="autotoc_md428"></a>
10821082
<h2 class="doxsection"><a class="anchor" id="chem_params"></a>
10831083
chem_params</h2>
10841084
<p><em>Chemistry model parameters</em></p>
1085-
<p><b>4 parameters</b></p>
1085+
<p><b>7 parameters</b></p>
10861086
<table class="markdownTable">
10871087
<tr class="markdownTableHead">
10881088
<th class="markdownTableHeadNone">Parameter </th><th class="markdownTableHeadNone">Type </th><th class="markdownTableHeadNone">Description </th><th class="markdownTableHeadNone">Constraints </th></tr>
10891089
<tr class="markdownTableRowOdd">
1090-
<td class="markdownTableBodyNone"><span class="tt">chem_params%diffusion</span> </td><td class="markdownTableBodyNone">Logical (T/F) </td><td class="markdownTableBodyNone">Enable species diffusion for chemistry </td><td class="markdownTableBodyNone">Isothermal In (<span class="tt">bc_xisothermal_in</span>) requires both <span class="tt">chemistry</span>='T' and <span class="tt">chem_paramsdiffusion</span>='T' to calculate heat conduction.; Isothermal Out (<span class="tt">bc_xisothermal_out</span>) requires both <span class="tt">chemistry</span>='T' and <span class="tt">chem_paramsdiffusion</span>='T' to calculate heat conduction.; Isothermal In (<span class="tt">bc_yisothermal_in</span>) requires both <span class="tt">chemistry</span>='T' and <span class="tt">chem_paramsdiffusion</span>='T' to calculate heat conduction. </td></tr>
1090+
<td class="markdownTableBodyNone"><span class="tt">chem_params%adap_substeps</span> </td><td class="markdownTableBodyNone">Logical (T/F) </td><td class="markdownTableBodyNone">Chemistry parameter: adap_substeps </td><td class="markdownTableBodyNone">Chemistry parameter </td></tr>
10911091
<tr class="markdownTableRowEven">
1092+
<td class="markdownTableBodyNone"><span class="tt">chem_params%diffusion</span> </td><td class="markdownTableBodyNone">Logical (T/F) </td><td class="markdownTableBodyNone">Enable species diffusion for chemistry </td><td class="markdownTableBodyNone">Isothermal In (<span class="tt">bc_xisothermal_in</span>) requires both <span class="tt">chemistry</span>='T' and <span class="tt">chem_paramsdiffusion</span>='T' to calculate heat conduction.; Isothermal Out (<span class="tt">bc_xisothermal_out</span>) requires both <span class="tt">chemistry</span>='T' and <span class="tt">chem_paramsdiffusion</span>='T' to calculate heat conduction.; Isothermal In (<span class="tt">bc_yisothermal_in</span>) requires both <span class="tt">chemistry</span>='T' and <span class="tt">chem_paramsdiffusion</span>='T' to calculate heat conduction. </td></tr>
1093+
<tr class="markdownTableRowOdd">
10921094
<td class="markdownTableBodyNone"><span class="tt">chem_params%gamma_method</span> </td><td class="markdownTableBodyNone">Integer </td><td class="markdownTableBodyNone">Gamma calculation method (1=formulation, 2=cp/cv ratio) </td><td class="markdownTableBodyNone">Chemistry parameter </td></tr>
1095+
<tr class="markdownTableRowEven">
1096+
<td class="markdownTableBodyNone"><span class="tt">chem_params%reaction_substeps</span> </td><td class="markdownTableBodyNone">Integer </td><td class="markdownTableBodyNone">Chemistry parameter: reaction_substeps </td><td class="markdownTableBodyNone">Chemistry parameter </td></tr>
10931097
<tr class="markdownTableRowOdd">
1094-
<td class="markdownTableBodyNone"><span class="tt">chem_params%reactions</span> </td><td class="markdownTableBodyNone">Logical (T/F) </td><td class="markdownTableBodyNone">Enable chemical reactions </td><td class="markdownTableBodyNone">Chemistry parameter </td></tr>
1098+
<td class="markdownTableBodyNone"><span class="tt">chem_params%reaction_substeps_max</span> </td><td class="markdownTableBodyNone">Integer </td><td class="markdownTableBodyNone">Chemistry parameter: reaction_substeps_max </td><td class="markdownTableBodyNone">Chemistry parameter </td></tr>
10951099
<tr class="markdownTableRowEven">
1100+
<td class="markdownTableBodyNone"><span class="tt">chem_params%reactions</span> </td><td class="markdownTableBodyNone">Logical (T/F) </td><td class="markdownTableBodyNone">Enable chemical reactions </td><td class="markdownTableBodyNone">Chemistry parameter </td></tr>
1101+
<tr class="markdownTableRowOdd">
10961102
<td class="markdownTableBodyNone"><span class="tt">chem_params%transport_model</span> </td><td class="markdownTableBodyNone">Integer </td><td class="markdownTableBodyNone">Transport model selection for chemistry </td><td class="markdownTableBodyNone">Chemistry parameter </td></tr>
10971103
</table>
10981104
<hr />
@@ -1715,7 +1721,7 @@ <h2 class="doxsection"><a class="anchor" id="autotoc_md447"></a>
17151721
<div class="line"> </div>
17161722
<div class="line"># Filter by type</div>
17171723
<div class="line">./mfc.sh params -t real weno</div>
1718-
</div><!-- fragment --><div style="text-align:center; font-size:0.75rem; color:#888; padding:16px 0 0;">Page last updated: 2026-07-18</div> </div></div><!-- contents -->
1724+
</div><!-- fragment --><div style="text-align:center; font-size:0.75rem; color:#888; padding:16px 0 0;">Page last updated: 2026-07-19</div> </div></div><!-- contents -->
17191725
</div><!-- PageDoc -->
17201726
</div><!-- doc-content -->
17211727
<div id="page-nav" class="page-nav-panel">

documentation/physics_constraints.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ <h3 class="doxsection"><a class="anchor" id="autotoc_md501"></a>
674674
<li><code class="f90l">patch_icpp(i)%</code><code class="f90r">hcid</code>=hcid requires <span class="tt">files_dir</span> to be set</li>
675675
<li><code class="f90l">patch_icpp(i)%</code><code class="f90r">hcid</code>=hcid requires <span class="tt">file_extension</span> to be set</li>
676676
</ul>
677-
<div style="text-align:center; font-size:0.75rem; color:#888; padding:16px 0 0;">Page last updated: 2026-07-18</div> </div></div><!-- contents -->
677+
<div style="text-align:center; font-size:0.75rem; color:#888; padding:16px 0 0;">Page last updated: 2026-07-19</div> </div></div><!-- contents -->
678678
</div><!-- PageDoc -->
679679
</div><!-- doc-content -->
680680
<div id="page-nav" class="page-nav-panel">

post_process/doxygen_crawl.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@
203203
<a href="namespacem__chemistry.html#a953d58cda7b882aa82ecf5f646bba0f6"/>
204204
<a href="namespacem__chemistry.html#ab7f799f6d59cfeaf7b0d0c1219bc12f3"/>
205205
<a href="namespacem__chemistry.html#ac5a506f5f9ae7e570019f3186bf93a6d"/>
206+
<a href="namespacem__chemistry.html#ac8e41fe81d743b1fb307fe95ffdc0c1b"/>
206207
<a href="namespacem__chemistry.html#ad9021792db73b9af37d34ccc1fece80d"/>
207208
<a href="namespacem__chemistry.html#adcf7ea4e71da08b937a94689dc134882"/>
208209
<a href="namespacem__chemistry.html#ae589845a052b6989808e9d9a098c3c0f"/>
@@ -993,8 +994,11 @@
993994
<a href="structm__derived__types_1_1cell__num__bounds.html#ae5a15b1a7284a8c7c9584e632fe38c5d"/>
994995
<a href="structm__derived__types_1_1chemistry__parameters-members.html"/>
995996
<a href="structm__derived__types_1_1chemistry__parameters.html"/>
997+
<a href="structm__derived__types_1_1chemistry__parameters.html#a0c7ceba5ade3212e03a699c1b36084c6"/>
996998
<a href="structm__derived__types_1_1chemistry__parameters.html#a119202b8a0ebb6bdf39bac5473a45d85"/>
997999
<a href="structm__derived__types_1_1chemistry__parameters.html#a29d1794966a0789082cc585b3430b13f"/>
1000+
<a href="structm__derived__types_1_1chemistry__parameters.html#a2ee849422fb5bdccb2776b947dd44777"/>
1001+
<a href="structm__derived__types_1_1chemistry__parameters.html#a454c1106edce06c89679917afdf735cf"/>
9981002
<a href="structm__derived__types_1_1chemistry__parameters.html#a462d16aed0477dda722268218eee7b32"/>
9991003
<a href="structm__derived__types_1_1chemistry__parameters.html#ade6050a0e2081006aa193ee9b860df77"/>
10001004
<a href="structm__derived__types_1_1chemistry__parameters.html#af4ae920e0ee414783fc614e8b11a088a"/>

post_process/functions.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@
158158

159159
<h3 class="doxsection"><a id="index_a" name="index_a"></a>- a -</h3><ul>
160160
<li>a&#160;:&#160;<a class="el" href="structm__derived__types_1_1ic__patch__parameters.html#a18d3fb00e6b277410a5d3957bdf1ac51">m_derived_types::ic_patch_parameters</a></li>
161+
<li>adap_substeps&#160;:&#160;<a class="el" href="structm__derived__types_1_1chemistry__parameters.html#a0c7ceba5ade3212e03a699c1b36084c6">m_derived_types::chemistry_parameters</a></li>
161162
<li>adv&#160;:&#160;<a class="el" href="structm__derived__types_1_1eqn__idx__info.html#a9c8048f8cbd185a632861ad52a55ff52">m_derived_types::eqn_idx_info</a></li>
162163
<li>airfoil_id&#160;:&#160;<a class="el" href="structm__derived__types_1_1ib__patch__parameters.html#a5161bd8f7561e29cfb7369d85ba3c3f8">m_derived_types::ib_patch_parameters</a></li>
163164
<li>alf&#160;:&#160;<a class="el" href="structm__derived__types_1_1eqn__idx__info.html#a9e6d97eade4e864784a160c8b0184e8b">m_derived_types::eqn_idx_info</a></li>

post_process/functions_r.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ <h3 class="doxsection"><a id="index_r" name="index_r"></a>- r -</h3><ul>
165165
<li>radii&#160;:&#160;<a class="el" href="structm__derived__types_1_1ic__patch__parameters.html#abea7135cdb959c01e9096d66e1f28554">m_derived_types::ic_patch_parameters</a></li>
166166
<li>radius&#160;:&#160;<a class="el" href="structm__derived__types_1_1bc__patch__parameters.html#ad3f9f5a3ca7e50ead115ffbd9c85deaa">m_derived_types::bc_patch_parameters</a>, <a class="el" href="structm__derived__types_1_1ib__patch__parameters.html#a8d4bed578b10e00c1b528310be67dcca">m_derived_types::ib_patch_parameters</a>, <a class="el" href="structm__derived__types_1_1ic__patch__parameters.html#a67a50f1ddb5dc5611bb9586cc8afdc36">m_derived_types::ic_patch_parameters</a>, <a class="el" href="structm__derived__types_1_1particle__cloud__parameters.html#ab88eb3688f4306aabab07e2ec67e384a">m_derived_types::particle_cloud_parameters</a></li>
167167
<li>re&#160;:&#160;<a class="el" href="structm__derived__types_1_1physical__parameters.html#a792dbeca30c5f84c2690d9e60164e761">m_derived_types::physical_parameters</a></li>
168+
<li>reaction_substeps&#160;:&#160;<a class="el" href="structm__derived__types_1_1chemistry__parameters.html#a2ee849422fb5bdccb2776b947dd44777">m_derived_types::chemistry_parameters</a></li>
169+
<li>reaction_substeps_max&#160;:&#160;<a class="el" href="structm__derived__types_1_1chemistry__parameters.html#a454c1106edce06c89679917afdf735cf">m_derived_types::chemistry_parameters</a></li>
168170
<li>reactions&#160;:&#160;<a class="el" href="structm__derived__types_1_1chemistry__parameters.html#a29d1794966a0789082cc585b3430b13f">m_derived_types::chemistry_parameters</a></li>
169171
<li>reserved0&#160;:&#160;<a class="el" href="structm__nvtx_1_1nvtxeventattributes.html#a6c0adfd6fef5a8a05ec816b92fe759a6">m_nvtx::nvtxeventattributes</a></li>
170172
<li>rho&#160;:&#160;<a class="el" href="structm__derived__types_1_1ic__patch__parameters.html#abee8783c1c06a03cdf5a3741a0f03b98">m_derived_types::ic_patch_parameters</a></li>

0 commit comments

Comments
 (0)