Skip to content

Commit f3b7dd4

Browse files
author
MFC Action
committed
Docs @ 31c938f
1 parent 777b5a5 commit f3b7dd4

File tree

113 files changed

+1554
-1400
lines changed

Some content is hidden

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

113 files changed

+1554
-1400
lines changed

documentation/doxygen_crawl.html

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@
4545
<a href="md_case.html#autotoc_md35"/>
4646
<a href="md_case.html#autotoc_md36"/>
4747
<a href="md_case.html#autotoc_md37"/>
48+
<a href="md_case.html#autotoc_md38"/>
4849
<a href="md_case.html#autotoc_md4"/>
4950
<a href="md_case.html#autotoc_md5"/>
5051
<a href="md_case.html#autotoc_md6"/>
5152
<a href="md_case.html#autotoc_md7"/>
5253
<a href="md_case.html#autotoc_md8"/>
5354
<a href="md_case.html#autotoc_md9"/>
5455
<a href="md_case__constraints.html"/>
55-
<a href="md_case__constraints.html#autotoc_md39"/>
5656
<a href="md_case__constraints.html#autotoc_md40"/>
5757
<a href="md_case__constraints.html#autotoc_md41"/>
5858
<a href="md_case__constraints.html#autotoc_md42"/>
@@ -66,8 +66,8 @@
6666
<a href="md_case__constraints.html#autotoc_md50"/>
6767
<a href="md_case__constraints.html#autotoc_md51"/>
6868
<a href="md_case__constraints.html#autotoc_md52"/>
69+
<a href="md_case__constraints.html#autotoc_md53"/>
6970
<a href="md_docker.html"/>
70-
<a href="md_docker.html#autotoc_md55"/>
7171
<a href="md_docker.html#autotoc_md56"/>
7272
<a href="md_docker.html#autotoc_md57"/>
7373
<a href="md_docker.html#autotoc_md58"/>
@@ -81,6 +81,7 @@
8181
<a href="md_docker.html#autotoc_md66"/>
8282
<a href="md_docker.html#autotoc_md67"/>
8383
<a href="md_docker.html#autotoc_md68"/>
84+
<a href="md_docker.html#autotoc_md69"/>
8485
<a href="md_examples.html"/>
8586
<a href="md_examples.html#autotoc_md100"/>
8687
<a href="md_examples.html#autotoc_md101"/>
@@ -114,7 +115,7 @@
114115
<a href="md_examples.html#autotoc_md129"/>
115116
<a href="md_examples.html#autotoc_md130"/>
116117
<a href="md_examples.html#autotoc_md131"/>
117-
<a href="md_examples.html#autotoc_md70"/>
118+
<a href="md_examples.html#autotoc_md132"/>
118119
<a href="md_examples.html#autotoc_md71"/>
119120
<a href="md_examples.html#autotoc_md72"/>
120121
<a href="md_examples.html#autotoc_md73"/>
@@ -145,7 +146,6 @@
145146
<a href="md_examples.html#autotoc_md98"/>
146147
<a href="md_examples.html#autotoc_md99"/>
147148
<a href="md_expectedPerformance.html"/>
148-
<a href="md_expectedPerformance.html#autotoc_md133"/>
149149
<a href="md_expectedPerformance.html#autotoc_md134"/>
150150
<a href="md_expectedPerformance.html#autotoc_md135"/>
151151
<a href="md_expectedPerformance.html#autotoc_md136"/>
@@ -155,23 +155,23 @@
155155
<a href="md_expectedPerformance.html#autotoc_md140"/>
156156
<a href="md_expectedPerformance.html#autotoc_md141"/>
157157
<a href="md_expectedPerformance.html#autotoc_md142"/>
158+
<a href="md_expectedPerformance.html#autotoc_md143"/>
158159
<a href="md_getting-started.html"/>
159-
<a href="md_getting-started.html#autotoc_md144"/>
160160
<a href="md_getting-started.html#autotoc_md145"/>
161161
<a href="md_getting-started.html#autotoc_md146"/>
162162
<a href="md_getting-started.html#autotoc_md147"/>
163163
<a href="md_getting-started.html#autotoc_md148"/>
164164
<a href="md_getting-started.html#autotoc_md149"/>
165165
<a href="md_getting-started.html#autotoc_md150"/>
166+
<a href="md_getting-started.html#autotoc_md151"/>
166167
<a href="md_gpuParallelization.html"/>
167-
<a href="md_gpuParallelization.html#autotoc_md153"/>
168168
<a href="md_gpuParallelization.html#autotoc_md154"/>
169169
<a href="md_gpuParallelization.html#autotoc_md155"/>
170-
<a href="md_gpuParallelization.html#autotoc_md157"/>
171-
<a href="md_gpuParallelization.html#autotoc_md159"/>
172-
<a href="md_gpuParallelization.html#autotoc_md161"/>
173-
<a href="md_gpuParallelization.html#autotoc_md163"/>
174-
<a href="md_gpuParallelization.html#autotoc_md165"/>
170+
<a href="md_gpuParallelization.html#autotoc_md156"/>
171+
<a href="md_gpuParallelization.html#autotoc_md158"/>
172+
<a href="md_gpuParallelization.html#autotoc_md160"/>
173+
<a href="md_gpuParallelization.html#autotoc_md162"/>
174+
<a href="md_gpuParallelization.html#autotoc_md164"/>
175175
<a href="md_gpuParallelization.html#autotoc_md166"/>
176176
<a href="md_gpuParallelization.html#autotoc_md167"/>
177177
<a href="md_gpuParallelization.html#autotoc_md168"/>
@@ -182,32 +182,33 @@
182182
<a href="md_gpuParallelization.html#autotoc_md173"/>
183183
<a href="md_gpuParallelization.html#autotoc_md174"/>
184184
<a href="md_gpuParallelization.html#autotoc_md175"/>
185+
<a href="md_gpuParallelization.html#autotoc_md176"/>
185186
<a href="md_papers.html"/>
186187
<a href="md_readme.html"/>
187-
<a href="md_readme.html#autotoc_md178"/>
188188
<a href="md_readme.html#autotoc_md179"/>
189+
<a href="md_readme.html#autotoc_md180"/>
189190
<a href="md_references.html"/>
190191
<a href="md_running.html"/>
191-
<a href="md_running.html#autotoc_md182"/>
192192
<a href="md_running.html#autotoc_md183"/>
193193
<a href="md_running.html#autotoc_md184"/>
194194
<a href="md_running.html#autotoc_md185"/>
195195
<a href="md_running.html#autotoc_md186"/>
196196
<a href="md_running.html#autotoc_md187"/>
197197
<a href="md_running.html#autotoc_md188"/>
198198
<a href="md_running.html#autotoc_md189"/>
199+
<a href="md_running.html#autotoc_md190"/>
199200
<a href="md_testing.html"/>
200-
<a href="md_testing.html#autotoc_md191"/>
201201
<a href="md_testing.html#autotoc_md192"/>
202+
<a href="md_testing.html#autotoc_md193"/>
202203
<a href="md_visualization.html"/>
203-
<a href="md_visualization.html#autotoc_md194"/>
204204
<a href="md_visualization.html#autotoc_md195"/>
205205
<a href="md_visualization.html#autotoc_md196"/>
206206
<a href="md_visualization.html#autotoc_md197"/>
207207
<a href="md_visualization.html#autotoc_md198"/>
208208
<a href="md_visualization.html#autotoc_md199"/>
209209
<a href="md_visualization.html#autotoc_md200"/>
210210
<a href="md_visualization.html#autotoc_md201"/>
211+
<a href="md_visualization.html#autotoc_md202"/>
211212
<a href="pages.html"/>
212213
</body>
213214
</html>

documentation/md_case.html

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,9 +1170,31 @@ <h2><a class="anchor" id="autotoc_md30"></a>
11701170
<ul>
11711171
<li><code>bc_ybeg = -2</code> to enable reflective boundary conditions</li>
11721172
</ul>
1173-
<h1><a class="anchor" id="autotoc_md31"></a>
1173+
<h2><a class="anchor" id="autotoc_md31"></a>
1174+
17. Chemistry</h2>
1175+
<table class="markdownTable">
1176+
<tr class="markdownTableHead">
1177+
<th class="markdownTableHeadRight">Parameter </th><th class="markdownTableHeadCenter">Type </th><th class="markdownTableHeadLeft">Description </th></tr>
1178+
<tr class="markdownTableRowOdd">
1179+
<td class="markdownTableBodyRight"><code>chemistry</code> </td><td class="markdownTableBodyCenter">Logical </td><td class="markdownTableBodyLeft">Enable chemistry simulation </td></tr>
1180+
<tr class="markdownTableRowEven">
1181+
<td class="markdownTableBodyRight"><code>chem_paramsdiffusion</code> </td><td class="markdownTableBodyCenter">Logical </td><td class="markdownTableBodyLeft">Enable multispecies diffusion </td></tr>
1182+
<tr class="markdownTableRowOdd">
1183+
<td class="markdownTableBodyRight"><code>chem_paramsreactions</code> </td><td class="markdownTableBodyCenter">Logical </td><td class="markdownTableBodyLeft">Enable chemical reactions </td></tr>
1184+
<tr class="markdownTableRowEven">
1185+
<td class="markdownTableBodyRight"><code>chem_paramsgamma_method</code> </td><td class="markdownTableBodyCenter">Integer </td><td class="markdownTableBodyLeft">Methodology for calculating the heat capacity ratio </td></tr>
1186+
<tr class="markdownTableRowOdd">
1187+
<td class="markdownTableBodyRight"><code>chem_paramstransport_model</code> </td><td class="markdownTableBodyCenter">Integer </td><td class="markdownTableBodyLeft">Methodology for calculating the diffusion coefficients </td></tr>
1188+
<tr class="markdownTableRowEven">
1189+
<td class="markdownTableBodyRight"><code>cantera_file</code> </td><td class="markdownTableBodyCenter">String </td><td class="markdownTableBodyLeft">Cantera-format mechanism file (e.g., .yaml) </td></tr>
1190+
</table>
1191+
<ul>
1192+
<li><code>chem_paramstransport_model</code> specifies the methodology for calculating diffusion coefficients and other transport properties, <code>1</code> for mixture-average, <code>2</code> for Unity-Lewis</li>
1193+
<li><code>cantera_file</code> 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 <code>case.py</code> file</li>
1194+
</ul>
1195+
<h1><a class="anchor" id="autotoc_md32"></a>
11741196
Enumerations</h1>
1175-
<h2><a class="anchor" id="autotoc_md32"></a>
1197+
<h2><a class="anchor" id="autotoc_md33"></a>
11761198
Boundary conditions</h2>
11771199
<table class="markdownTable">
11781200
<tr class="markdownTableHead">
@@ -1210,7 +1232,7 @@ <h2><a class="anchor" id="autotoc_md32"></a>
12101232
</table>
12111233
<p>*: This boundary condition is only used for <code>bc_y%beg</code> when using cylindrical coordinates (<code>cyl_coord = 'T'</code> and 3D). For axisymmetric problems, use <code>bc_y%beg = -2</code> with <code>cyl_coord = 'T'</code> in 2D.</p>
12121234
<p>The boundary condition supported by the MFC are listed in table Boundary Conditions. Their number (<code>#</code>) corresponds to the input value in <code>input.py</code> labeled <code>bc_[x,y,z]%[beg,end]</code> (see table Simulation Algorithm Parameters). The entries labeled "Characteristic." are characteristic boundary conditions based on <a class="el" href="md_references.html">Thompson (1987)</a> and <a class="el" href="md_references.html">Thompson (1990)</a>.</p>
1213-
<h2><a class="anchor" id="autotoc_md33"></a>
1235+
<h2><a class="anchor" id="autotoc_md34"></a>
12141236
Generalized Characteristic Boundary conditions</h2>
12151237
<table class="markdownTable">
12161238
<tr class="markdownTableHead">
@@ -1235,7 +1257,7 @@ <h2><a class="anchor" id="autotoc_md33"></a>
12351257
<td class="markdownTableBodyRight"><code>bc_[x,y,z]alpha_in</code> </td><td class="markdownTableBodyCenter">Real Array </td><td class="markdownTableBodyLeft">Inflow void fraction </td></tr>
12361258
</table>
12371259
<p>This boundary condition can be used for subsonic inflow (<code>bc_[x,y,z]%[beg,end]</code> = -7) and subsonic outflow (<code>bc_[x,y,z]%[beg,end]</code> = -8) characteristic boundary conditions. These are based on <a class="el" href="md_references.html">Pirozzoli (2013)</a>. This enables to provide inflow and outflow conditions outside the computational domain.</p>
1238-
<h2><a class="anchor" id="autotoc_md34"></a>
1260+
<h2><a class="anchor" id="autotoc_md35"></a>
12391261
Patch types</h2>
12401262
<table class="markdownTable">
12411263
<tr class="markdownTableHead">
@@ -1284,7 +1306,7 @@ <h2><a class="anchor" id="autotoc_md34"></a>
12841306
<td class="markdownTableBodyRight">21 </td><td class="markdownTableBodyCenter">Model </td><td class="markdownTableBodyCenter">2 &amp; 3 </td><td class="markdownTableBodyCenter">Y </td><td class="markdownTableBodyLeft">Imports a Model (STL/OBJ). Requires <code>model%filepath</code>. </td></tr>
12851307
</table>
12861308
<p>The patch types supported by the MFC are listed in table Patch Types. This includes types exclusive to one-, two-, and three-dimensional problems. The patch type number (<code>#</code>) corresponds to the input value in <code>input.py</code> labeled <code>patch_icpp(j)%geometry</code> where $j$ is the patch index. Each patch requires a different set of parameters, which are also listed in this table.</p>
1287-
<h2><a class="anchor" id="autotoc_md35"></a>
1309+
<h2><a class="anchor" id="autotoc_md36"></a>
12881310
Immersed Boundary Patch Types</h2>
12891311
<table class="markdownTable">
12901312
<tr class="markdownTableHead">
@@ -1346,7 +1368,7 @@ <h2><a class="anchor" id="acoustic-supports"></a>
13461368
<li><code>%support = 10</code> specifies an annular transducer array in 2D axisymmetric simulation. It is identical to <code>%support = 9</code> in terms of simulation parameters. It physically represents the a annulus obtained by revolving the arc in <code>%support = 9</code> around the x-axis.</li>
13471369
<li><code>%support = 11</code> specifies a circular transducer array in 3D simulation. The total aperture of the array is <code>%aperture</code>, which is similar to <code>%support = 7</code>. The parameters <code>%num_elements</code>, <code>%element_polygon_ratio</code>, and <code>%rotate_angle</code> specify the number of transducer elements, the ratio of the polygon side length to the transducer element radius, and the rotation angle of the array. The polygon side length is calculated by using the total aperture as the circumcicle diameter, and the number of sides of the polygon as <code>%num_elements</code>. The ratio is used specify the aperture size of each transducer element in the array, as a ratio of the total aperture. The rotation angle is optional and defaults to 0. Physically it represents a circular ring of transducer elements.</li>
13481370
</ul>
1349-
<h2><a class="anchor" id="autotoc_md36"></a>
1371+
<h2><a class="anchor" id="autotoc_md37"></a>
13501372
Conservative Variables Ordering</h2>
13511373
<table class="markdownTable">
13521374
<tr class="markdownTableHead">
@@ -1372,7 +1394,7 @@ <h2><a class="anchor" id="autotoc_md36"></a>
13721394
<td class="markdownTableBodyNone">hypoelastic variables </td><td class="markdownTableBodyNone">N/A </td></tr>
13731395
</table>
13741396
<p>The above variables correspond to optional physics.</p>
1375-
<h2><a class="anchor" id="autotoc_md37"></a>
1397+
<h2><a class="anchor" id="autotoc_md38"></a>
13761398
Primitive Variables Ordering</h2>
13771399
<table class="markdownTable">
13781400
<tr class="markdownTableHead">

documentation/md_case__constraints.html

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -135,19 +135,19 @@
135135
<div class="headertitle"><div class="title">Case Creator Guide</div></div>
136136
</div><!--header-->
137137
<div class="contents">
138-
<div class="textblock"><p><a class="anchor" id="autotoc_md38"></a></p>
138+
<div class="textblock"><p><a class="anchor" id="autotoc_md39"></a></p>
139139
<blockquote class="doxtable">
140140
<p><b>Quick reference</b> for building MFC cases: working examples, compatibility rules, and configuration requirements. </p>
141141
</blockquote>
142142
<blockquote class="doxtable">
143143
<p>Auto-generated from <code>case_validator.py</code> and <code>examples/</code>. </p>
144144
</blockquote>
145-
<h1><a class="anchor" id="autotoc_md39"></a>
145+
<h1><a class="anchor" id="autotoc_md40"></a>
146146
🧩 Case Design Playbook</h1>
147147
<blockquote class="doxtable">
148148
<p><b>Learn by example:</b> The cases below are curated from MFC's <code>examples/</code> directory and are validated, working configurations. Use them as blueprints for building your own simulations. </p>
149149
</blockquote>
150-
<h2><a class="anchor" id="autotoc_md40"></a>
150+
<h2><a class="anchor" id="autotoc_md41"></a>
151151
🟢 Beginner Examples</h2>
152152
<details >
153153
<summary >
@@ -173,7 +173,7 @@ <h2><a class="anchor" id="autotoc_md40"></a>
173173
</ul>
174174
<p></p>
175175
</details>
176-
<h2><a class="anchor" id="autotoc_md41"></a>
176+
<h2><a class="anchor" id="autotoc_md42"></a>
177177
🟡 Intermediate Examples</h2>
178178
<details >
179179
<summary >
@@ -306,7 +306,7 @@ <h2><a class="anchor" id="autotoc_md41"></a>
306306
</ul>
307307
<p></p>
308308
</details>
309-
<h2><a class="anchor" id="autotoc_md42"></a>
309+
<h2><a class="anchor" id="autotoc_md43"></a>
310310
🔴 Advanced Examples</h2>
311311
<details >
312312
<summary >
@@ -382,7 +382,7 @@ <h2><a class="anchor" id="autotoc_md42"></a>
382382
</ul>
383383
<p></p>
384384
</details>
385-
<h1><a class="anchor" id="autotoc_md43"></a>
385+
<h1><a class="anchor" id="autotoc_md44"></a>
386386
🚀 Common Configuration Patterns</h1>
387387
<p>Start with these proven combinations:</p>
388388
<details open="true">
@@ -421,10 +421,10 @@ <h1><a class="anchor" id="autotoc_md43"></a>
421421
<div class="line"><span class="stringliteral">&#39;hypoelasticity&#39;</span>: <span class="stringliteral">&#39;T&#39;</span>, <span class="comment"># Elastic solids</span></div>
422422
<div class="line"><span class="stringliteral">&#39;riemann_solver&#39;</span>: 1, <span class="comment"># HLL</span></div>
423423
</div><!-- fragment --> </details>
424-
<h1><a class="anchor" id="autotoc_md44"></a>
424+
<h1><a class="anchor" id="autotoc_md45"></a>
425425
📊 Feature Compatibility</h1>
426426
<p>What works together:</p>
427-
<h2><a class="anchor" id="autotoc_md45"></a>
427+
<h2><a class="anchor" id="autotoc_md46"></a>
428428
Physics Models</h2>
429429
<table class="markdownTable">
430430
<tr class="markdownTableHead">
@@ -444,7 +444,7 @@ <h2><a class="anchor" id="autotoc_md45"></a>
444444
<tr class="markdownTableRowOdd">
445445
<td class="markdownTableBodyNone">Acoustic Sources </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone">✓ General use </td></tr>
446446
</table>
447-
<h2><a class="anchor" id="autotoc_md46"></a>
447+
<h2><a class="anchor" id="autotoc_md47"></a>
448448
Bubble Models</h2>
449449
<table class="markdownTable">
450450
<tr class="markdownTableHead">
@@ -460,7 +460,7 @@ <h2><a class="anchor" id="autotoc_md46"></a>
460460
<tr class="markdownTableRowOdd">
461461
<td class="markdownTableBodyNone">adv_n </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone">✓ General use </td></tr>
462462
</table>
463-
<h2><a class="anchor" id="autotoc_md47"></a>
463+
<h2><a class="anchor" id="autotoc_md48"></a>
464464
Numerics</h2>
465465
<table class="markdownTable">
466466
<tr class="markdownTableHead">
@@ -472,7 +472,7 @@ <h2><a class="anchor" id="autotoc_md47"></a>
472472
<tr class="markdownTableRowOdd">
473473
<td class="markdownTableBodyNone">MUSCL Order </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone">✓ General use </td></tr>
474474
</table>
475-
<h2><a class="anchor" id="autotoc_md48"></a>
475+
<h2><a class="anchor" id="autotoc_md49"></a>
476476
Geometry</h2>
477477
<table class="markdownTable">
478478
<tr class="markdownTableHead">
@@ -482,7 +482,7 @@ <h2><a class="anchor" id="autotoc_md48"></a>
482482
<tr class="markdownTableRowEven">
483483
<td class="markdownTableBodyNone">Cylindrical Coordinates </td><td class="markdownTableBodyNone"></td><td class="markdownTableBodyNone">✓ General use </td></tr>
484484
</table>
485-
<h1><a class="anchor" id="autotoc_md49"></a>
485+
<h1><a class="anchor" id="autotoc_md50"></a>
486486
🔢 Model Equations</h1>
487487
<p>Choose your governing equations:</p>
488488
<details >
@@ -527,7 +527,7 @@ <h1><a class="anchor" id="autotoc_md49"></a>
527527
<li><b>Requirements:</b> <code>num_fluids = 1</code>, set <code>rhoref</code> and <code>pref</code> </li>
528528
</ul>
529529
</details>
530-
<h1><a class="anchor" id="autotoc_md50"></a>
530+
<h1><a class="anchor" id="autotoc_md51"></a>
531531
⚙️ Riemann Solvers</h1>
532532
<table class="markdownTable">
533533
<tr class="markdownTableHead">
@@ -543,7 +543,7 @@ <h1><a class="anchor" id="autotoc_md50"></a>
543543
<tr class="markdownTableRowOdd">
544544
<td class="markdownTableBodyNone"><b>Lax-Friedrichs</b> </td><td class="markdownTableBodyNone"><code>5</code> </td><td class="markdownTableBodyNone">Robust fallback </td><td class="markdownTableBodyNone">Not with cylindrical+viscous </td></tr>
545545
</table>
546-
<h1><a class="anchor" id="autotoc_md51"></a>
546+
<h1><a class="anchor" id="autotoc_md52"></a>
547547
💧 Bubble Models</h1>
548548
<details >
549549
<summary >
@@ -572,7 +572,7 @@ <h1><a class="anchor" id="autotoc_md51"></a>
572572
</ul>
573573
<p><b>Note:</b> Tracks individual bubbles </p>
574574
</details>
575-
<h1><a class="anchor" id="autotoc_md52"></a>
575+
<h1><a class="anchor" id="autotoc_md53"></a>
576576
📖 Quick Parameter Reference</h1>
577577
<p>Key parameters and their constraints:</p>
578578
<details >

0 commit comments

Comments
 (0)