Skip to content

Commit 26b8604

Browse files
author
MFC Action
committed
Docs @ 96199c9
1 parent 79614da commit 26b8604

Some content is hidden

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

41 files changed

+390
-330
lines changed

documentation/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
</div><!--header-->
128128
<div class="contents">
129129
<div class="textblock"><p><a class="anchor" id="md_readme"></a> </p>
130-
<h1><a class="anchor" id="autotoc_md68"></a>
130+
<h1><a class="anchor" id="autotoc_md71"></a>
131131
User Documentation</h1>
132132
<ul>
133133
<li><a class="el" href="md_getting-started.html">Getting Started</a></li>
@@ -140,7 +140,7 @@ <h1><a class="anchor" id="autotoc_md68"></a>
140140
<li><a class="el" href="md_authors.html">MFC's Authors</a></li>
141141
<li><a class="el" href="md_references.html">References</a></li>
142142
</ul>
143-
<h1><a class="anchor" id="autotoc_md69"></a>
143+
<h1><a class="anchor" id="autotoc_md72"></a>
144144
Code/API Documentation</h1>
145145
<p>MFC's three codes have their own documentation:</p>
146146
<ul>

documentation/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var index =
22
[
3-
[ "User Documentation", "index.html#autotoc_md68", null ],
4-
[ "Code/API Documentation", "index.html#autotoc_md69", null ]
3+
[ "User Documentation", "index.html#autotoc_md71", null ],
4+
[ "Code/API Documentation", "index.html#autotoc_md72", null ]
55
];

documentation/md_case.html

Lines changed: 66 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,36 @@ <h3><a class="anchor" id="autotoc_md10"></a>
346346
<li>'modelscale', 'modelrotate<code>and</code>modeltranslate<code>define how the model should be transformed to domain-space by first scaling by</code>modelscale<code>, then rotating about the Z, X, and Y axes (using</code>modelrotate<code>), and finally translating by</code>modeltranslate`.</li>
347347
</ul>
348348
<h2><a class="anchor" id="autotoc_md11"></a>
349-
4. Fluid Material’s</h2>
349+
4. Immersed Boundary Patches</h2>
350+
<table class="markdownTable">
351+
<tr class="markdownTableHead">
352+
<th class="markdownTableHeadRight">Parameter </th><th class="markdownTableHeadCenter">Type </th><th class="markdownTableHeadCenter">Analytical Definition Description </th></tr>
353+
<tr class="markdownTableRowOdd">
354+
<td class="markdownTableBodyRight"><code>geometry</code> </td><td class="markdownTableBodyCenter">Integer </td><td class="markdownTableBodyCenter">Geometry configuration of the patch. </td></tr>
355+
<tr class="markdownTableRowEven">
356+
<td class="markdownTableBodyRight"><code>x[y,z]_centroid</code> </td><td class="markdownTableBodyCenter">Real </td><td class="markdownTableBodyCenter">Centroid of the applied geometry in the [x,y,z]-direction. </td></tr>
357+
<tr class="markdownTableRowOdd">
358+
<td class="markdownTableBodyRight"><code>length_x[y,z]</code> </td><td class="markdownTableBodyCenter">Real </td><td class="markdownTableBodyCenter">Length, if applicable, in the [x,y,z]-direction. </td></tr>
359+
<tr class="markdownTableRowEven">
360+
<td class="markdownTableBodyRight"><code>radius</code> </td><td class="markdownTableBodyCenter">Real </td><td class="markdownTableBodyCenter">Radius, if applicable, of the applied geometry. </td></tr>
361+
<tr class="markdownTableRowOdd">
362+
<td class="markdownTableBodyRight"><code>theta</code> </td><td class="markdownTableBodyCenter">Real </td><td class="markdownTableBodyCenter">Angle of attach applied to airfoil IB patches </td></tr>
363+
</table>
364+
<p>| <code>c</code> | Real | | <code>t</code> | Real | | <code>m</code> | Real | | <code>p</code> | Real | | <code>slip</code> | Logical | Apply a slip boundary |</p>
365+
<p>These parameters should be prepended with <code>patch_ib(j)%</code> where $j$ is the patch index.</p>
366+
<h3><a class="anchor" id="autotoc_md12"></a>
367+
Parameter Descriptions</h3>
368+
<ul>
369+
<li><code>geometry</code> defines the type of geometry of a patch with an integer number. Definitions for currently implemented patch types are list in table Immersed Boundary Patch Type</li>
370+
<li><code>x[y,z]_centroid</code> is the centroid location of the patch in the x[y,z]-direction</li>
371+
<li><code>length_x[y,z]</code> is the length of the patch in the x[y,z]-direction.</li>
372+
<li><code>radius</code> is the radius to be used for circular patches.</li>
373+
<li><code>theta</code> allows for the angle of attach of airfoil patches to be changed.</li>
374+
<li><code>c</code>, <code>t</code>, <code>p</code>, and <code>m</code> specify the parameters for a NACA airfoil. <code>m</code> is the maximum camber, <code>p</code> is the location of maximum camber, <code>c</code> is the coord length, and <code>t</code> is the thickness. Additional details on this specification can be found in <a href="https://web.stanford.edu/~cantwell/AA200_Course_Material/The%20NACA%20airfoil%20series.pdf">The Naca Airfoil Series</a></li>
375+
<li><code>slip</code> applies a slip boundary to the surface of the patch if true and a no-slip boundary condition to the surface if false.</li>
376+
</ul>
377+
<h2><a class="anchor" id="autotoc_md13"></a>
378+
5. Fluid Material’s</h2>
350379
<table class="markdownTable">
351380
<tr class="markdownTableHead">
352381
<th class="markdownTableHeadRight">Parameter </th><th class="markdownTableHeadCenter">Type </th><th class="markdownTableHeadLeft">Description </th></tr>
@@ -377,8 +406,8 @@ <h2><a class="anchor" id="autotoc_md11"></a>
377406
<ul>
378407
<li><code>fluid_pp(i)cv</code>, <code>fluid_pp(i)qv</code>, and <code>fluid_pp(i)qvp</code> define $c_v$, $q$, and $q'$ as parameters of $i$-th fluid that are used in stiffened gas equation of state.</li>
379408
</ul>
380-
<h2><a class="anchor" id="autotoc_md12"></a>
381-
5. Simulation Algorithm</h2>
409+
<h2><a class="anchor" id="autotoc_md14"></a>
410+
6. Simulation Algorithm</h2>
382411
<table class="markdownTable">
383412
<tr class="markdownTableHead">
384413
<th class="markdownTableHeadRight">Parameter </th><th class="markdownTableHeadCenter">Type </th><th class="markdownTableHeadLeft">Description </th></tr>
@@ -452,8 +481,8 @@ <h2><a class="anchor" id="autotoc_md12"></a>
452481
<li><code>weno_Re_flux</code> activates the scaler divergence theorem in computing the velocity gradients using WENO-reconstructed cell boundary values. If this option is false, velocity gradient is computed using finite difference scheme of order 2 which is independent of the WENO order.</li>
453482
<li><code>weno_avg</code> it activates the arithmetic average of the left and right, WENO-reconstructed, cell-boundary values. This option requires <code>weno_Re_flux</code> to be true because cell boundary values are only utilized when employing the scalar divergence method in the computation of velocity gradients.</li>
454483
</ul>
455-
<h2><a class="anchor" id="autotoc_md13"></a>
456-
6. Formatted Output</h2>
484+
<h2><a class="anchor" id="autotoc_md15"></a>
485+
7. Formatted Output</h2>
457486
<table class="markdownTable">
458487
<tr class="markdownTableHead">
459488
<th class="markdownTableHeadRight">Parameter </th><th class="markdownTableHeadCenter">Type </th><th class="markdownTableHeadLeft">Description </th></tr>
@@ -522,8 +551,8 @@ <h2><a class="anchor" id="autotoc_md13"></a>
522551
<li><code>fd_order</code> specifies the order of the finite difference scheme that is used to compute the vorticity from the velocity field and the numerical schlieren from the density field by an integer of 1, 2, and 4. <code>fd_order</code> $=$ 1, 2, and 4 correspond to the first, second, and fourth-order finite difference schemes, respectively.</li>
523552
<li><code>probe_wrt</code> activates output of state variables at coordinates specified by <code>probe(i)%[x;y,z]</code>.</li>
524553
</ul>
525-
<h2><a class="anchor" id="autotoc_md14"></a>
526-
7. Acoustic Source</h2>
554+
<h2><a class="anchor" id="autotoc_md16"></a>
555+
8. Acoustic Source</h2>
527556
<table class="markdownTable">
528557
<tr class="markdownTableHead">
529558
<th class="markdownTableHeadRight">Parameter </th><th class="markdownTableHeadCenter">Type </th><th class="markdownTableHeadLeft">Description </th></tr>
@@ -559,8 +588,8 @@ <h2><a class="anchor" id="autotoc_md14"></a>
559588
<li><code>Mono(i)support</code> specifies the choice of the geometry of acoustic source distribution of $i$-th source plane by an integer from 1 through 3:\ <code>Mono(i)support</code> $=1$ specifies an infinite source plane that is normal to the $x$-axis and intersects with the axis at $x=$ <code>Mono(i)loc(1)</code> in 1-D simulation.\ <code>Mono(i)support</code> $=2$ specifies a semi-infinite source plane in 2-D simulation. The $i$-th source plane is determined by the point at [<code>Mono(i)loc(1)</code>, <code>Mono(i)loc(2)</code>] and the normal vector [$\mathrm{cos}$(<code>Mono(i)dir</code>), $\mathrm{sin}$(<code>Mono(i)dir</code>)] that consists of this point. The source plane is defined in the finite region of the domain: $x\in[-\infty,\infty]$ and $y\in$[-<code>mymono_length</code>/2, <code>mymono_length</code>/2].\ <code>Mono(i)support</code> $=3$ specifies a semi-infinite source plane in 3-D simulation. The $i$-th source plane is determined by the point at [<code>Mono(i)loc(1)</code>, <code>Mono(i)loc(2)</code>, <code>Mono(i)loc(3)</code>] and the normal vector [$\mathrm{cos}$(<code>Mono(i)dir</code>), $\mathrm{sin}$(<code>Mono(i)dir</code>), 1] that consists of this point. The source plane is defined in the finite region of the domain: $x\in[-\infty,\infty]$ and $y,z\in$[-<code>mymono_length</code>/2, <code>mymono_length</code>/2]. There are a few additional spatial support types available for special source types and coordinate systems tabulated in Monopole supports.</li>
560589
<li><code>Mono(i)support_width</code> defines how many cell width the monopole support function extended by. Large <code>Mono(i)support_width</code> is preferred when <code>Mono(i)mag</code> is large.</li>
561590
</ul>
562-
<h2><a class="anchor" id="autotoc_md15"></a>
563-
8. Ensemble-Averaged Bubble Model</h2>
591+
<h2><a class="anchor" id="autotoc_md17"></a>
592+
9. Ensemble-Averaged Bubble Model</h2>
564593
<table class="markdownTable">
565594
<tr class="markdownTableHead">
566595
<th class="markdownTableHeadRight">Parameter </th><th class="markdownTableHeadCenter">Type </th><th class="markdownTableHeadLeft">Description </th></tr>
@@ -640,8 +669,8 @@ <h2><a class="anchor" id="autotoc_md15"></a>
640669
<li><code>rhoRV</code> specifies the correlation coefficient of the joint PDF of bubble radius and bubble velocity required in qbmm. <br />
641670
</li>
642671
</ul>
643-
<h2><a class="anchor" id="autotoc_md16"></a>
644-
9. Velocity Field Setup</h2>
672+
<h2><a class="anchor" id="autotoc_md18"></a>
673+
10. Velocity Field Setup</h2>
645674
<table class="markdownTable">
646675
<tr class="markdownTableHead">
647676
<th class="markdownTableHeadRight">Parameter </th><th class="markdownTableHeadCenter">Type </th><th class="markdownTableHeadLeft">Description </th></tr>
@@ -670,8 +699,8 @@ <h2><a class="anchor" id="autotoc_md16"></a>
670699
<li><code>vel_profile</code> activates setting the mean streamwise velocity to hyperbolic tangent profile. This option works only for 2D and 3D cases.</li>
671700
<li><code>instability_wave</code> activates the perturbation of initial velocity by instability waves obtained from linear stability analysis for a mixing layer with hyperbolic tangent mean streamwise velocity profile. This option only works for 2D and 3D cases, together with <code>vel_profile = TRUE</code>.</li>
672701
</ul>
673-
<h2><a class="anchor" id="autotoc_md17"></a>
674-
10. Phase Change Model</h2>
702+
<h2><a class="anchor" id="autotoc_md19"></a>
703+
11. Phase Change Model</h2>
675704
<table class="markdownTable">
676705
<tr class="markdownTableHead">
677706
<th class="markdownTableHeadRight">Parameter </th><th class="markdownTableHeadCenter">Type </th><th class="markdownTableHeadLeft">Description </th></tr>
@@ -690,9 +719,9 @@ <h2><a class="anchor" id="autotoc_md17"></a>
690719
<li><code>palpha_eps</code> Specifies the tolerance used for the Newton Solvers used in the pT-equilibrium model.</li>
691720
<li><code>ptgalpha_eps</code> Specifies the tolerance used for the Newton Solvers used in the pTg-equilibrium model.</li>
692721
</ul>
693-
<h1><a class="anchor" id="autotoc_md18"></a>
722+
<h1><a class="anchor" id="autotoc_md20"></a>
694723
Enumerations</h1>
695-
<h2><a class="anchor" id="autotoc_md19"></a>
724+
<h2><a class="anchor" id="autotoc_md21"></a>
696725
Boundary conditions</h2>
697726
<table class="markdownTable">
698727
<tr class="markdownTableHead">
@@ -730,7 +759,7 @@ <h2><a class="anchor" id="autotoc_md19"></a>
730759
</table>
731760
<p>*: This boundary condition is only used for <code>bc_ybeg</code> when using cylindrical coordinates (&lsquo;cyl_coord = 'T&rsquo;<code>and 3d). For axisymmetric problems, use</code>bc_ybeg = -2<code>with</code>cyl_coord = 'T'` in 2D.</p>
732761
<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 href="references.md#Thompson87">Thompson (1987)</a> and <a href="references.md#Thompson90">Thompson (1990)</a>.</p>
733-
<h2><a class="anchor" id="autotoc_md20"></a>
762+
<h2><a class="anchor" id="autotoc_md22"></a>
734763
Patch types</h2>
735764
<table class="markdownTable">
736765
<tr class="markdownTableHead">
@@ -779,7 +808,25 @@ <h2><a class="anchor" id="autotoc_md20"></a>
779808
<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>modelfilepath</code>. </td></tr>
780809
</table>
781810
<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>
782-
<h2><a class="anchor" id="autotoc_md21"></a>
811+
<h2><a class="anchor" id="autotoc_md23"></a>
812+
Immersed Boundary Patch Types</h2>
813+
<table class="markdownTable">
814+
<tr class="markdownTableHead">
815+
<th class="markdownTableHeadRight"># </th><th class="markdownTableHeadCenter">Name </th><th class="markdownTableHeadLeft">Dim. </th></tr>
816+
<tr class="markdownTableRowOdd">
817+
<td class="markdownTableBodyRight">2 </td><td class="markdownTableBodyCenter">2D Circle </td><td class="markdownTableBodyLeft">2 </td></tr>
818+
<tr class="markdownTableRowEven">
819+
<td class="markdownTableBodyRight">3 </td><td class="markdownTableBodyCenter">2D Rectangle </td><td class="markdownTableBodyLeft">2 </td></tr>
820+
<tr class="markdownTableRowOdd">
821+
<td class="markdownTableBodyRight">4 </td><td class="markdownTableBodyCenter">2D Airfoil </td><td class="markdownTableBodyLeft">2 </td></tr>
822+
<tr class="markdownTableRowEven">
823+
<td class="markdownTableBodyRight">8 </td><td class="markdownTableBodyCenter">3D Sphere </td><td class="markdownTableBodyLeft">3 </td></tr>
824+
<tr class="markdownTableRowOdd">
825+
<td class="markdownTableBodyRight">10 </td><td class="markdownTableBodyCenter">3D Cylinder </td><td class="markdownTableBodyLeft">3 </td></tr>
826+
<tr class="markdownTableRowEven">
827+
<td class="markdownTableBodyRight">11 </td><td class="markdownTableBodyCenter">3D Airfoil </td><td class="markdownTableBodyLeft">3 </td></tr>
828+
</table>
829+
<h2><a class="anchor" id="autotoc_md24"></a>
783830
Monopole supports</h2>
784831
<table class="markdownTable">
785832
<tr class="markdownTableHead">
@@ -798,7 +845,7 @@ <h2><a class="anchor" id="autotoc_md21"></a>
798845
<td class="markdownTableBodyNone">6 </td><td class="markdownTableBodyNone">Cyl_coord along axial-dir </td></tr>
799846
</table>
800847
<p>The monopole support types available in MFC are listed in table Monopole supports. This includes types exclusive to one-, two-, and three-dimensional problems with special sauce geometry like transducers as well as coordinate systems such as cylindrical coordinates. The monopole support number (<code>#</code>) corresponds to the input value in <code>input.py</code> labeled <code>Mono(i)support</code> where $i$ is the monopole source index.</p>
801-
<h2><a class="anchor" id="autotoc_md22"></a>
848+
<h2><a class="anchor" id="autotoc_md25"></a>
802849
Conservative Variables Ordering</h2>
803850
<table class="markdownTable">
804851
<tr class="markdownTableHead">
@@ -824,7 +871,7 @@ <h2><a class="anchor" id="autotoc_md22"></a>
824871
<td class="markdownTableBodyNone">hypoelastic variables </td><td class="markdownTableBodyNone">N/A </td></tr>
825872
</table>
826873
<p>The above variables correspond to optional physics.</p>
827-
<h2><a class="anchor" id="autotoc_md23"></a>
874+
<h2><a class="anchor" id="autotoc_md26"></a>
828875
Primitive Variables Ordering</h2>
829876
<table class="markdownTable">
830877
<tr class="markdownTableHead">

0 commit comments

Comments
 (0)