You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 80f9af6
Browse filesBrowse the repository at this point in the historyBrowse files
<li><b>Add the module to <spanclass="tt">docs/module_categories.json</span></b> so it appears in this page</li>
434
434
</ol>
435
435
<p>Follow the pattern of existing modules like <spanclass="tt">m_body_forces</span> (simple) or <spanclass="tt">m_viscous</span> (more involved) as a template.</p>
<li><spanclass="tt">radius</span> is the radius to be used for circular patches.</li>
532
532
<li><spanclass="tt">c</span>, <spanclass="tt">t</span>, <spanclass="tt">p</span>, and <spanclass="tt">m</span> specify the parameters for a NACA airfoil (set on the referenced <spanclass="tt">ib_airfoil</span> entry). <spanclass="tt">m</span> is the maximum camber, <spanclass="tt">p</span> is the location of maximum camber, <spanclass="tt">c</span> is the chord length, and <spanclass="tt">t</span> is the thickness. Additional details on this specification can be found in <ahref="https://en.wikipedia.org/wiki/NACA_airfoil">NACA airfoil</a>.</li>
533
533
<li><spanclass="tt">slip</span> applies a slip boundary to the surface of the patch if true and a no-slip boundary condition to the surface if false.</li>
534
-
<li><spanclass="tt">thermal_bc</span> selects the thermal immersed-boundary condition. A value of 0 applies a zero-normal-gradient temperature condition, 1 prescribes the wall temperature using <spanclass="tt">Twall</span>, and 2 solves the reacting-surface energy balance for the surface temperature. The <spanclass="tt">thermal_bc = 2</span> option requires <spanclass="tt">surface_reaction = 1</span>. A non-zero <spanclass="tt">thermal_bc</span>requires <spanclass="tt">chemistry = T</span> and cannot be combined with <spanclass="tt">inj_species > 0</span>, since the thermal condition is applied by the chemistry ghost-state reconstruction, which an injecting surface bypasses.</li>
535
-
<li><spanclass="tt">Twall</span> specifies the prescribed surface temperature when <spanclass="tt">thermal_bc = 1</span> and must be positive in that case.</li>
534
+
<li><spanclass="tt">thermal_bc</span> selects the thermal immersed-boundary condition. A value of 0 applies a zero-normal-gradient temperature condition, 1 prescribes the wall temperature using <spanclass="tt">Twall</span>, and 2 solves the reacting-surface energy balance for the surface temperature. The <spanclass="tt">thermal_bc = 2</span> option requires <spanclass="tt">surface_reaction = 1</span>. A non-zero <spanclass="tt">thermal_bc</span> cannot be combined with <spanclass="tt">inj_species > 0</span>, since an injecting surface bypasses the ghost-state reconstruction. Without chemistry, <spanclass="tt">thermal_bc = 1</span> needs <spanclass="tt">fluid_pp(1)%k_therm > 0</span> and <spanclass="tt">num_fluids = 1</span>.</li>
535
+
<li><spanclass="tt">Twall</span> specifies the prescribed surface temperature when <spanclass="tt">thermal_bc = 1</span> and must be positive in that case. With chemistry it must also be within <spanclass="tt">T_surface_min</span> = 200 K and <spanclass="tt">T_surface_max</span> = 5000 K (<spanclass="tt">m_constants.fpp</span>), the range of the NASA polynomial fits.</li>
536
536
<li><spanclass="tt">surface_reaction</span> enables heterogeneous surface chemistry when set to 1. Surface reactions require <spanclass="tt">chemistry = T</span> and cannot be combined with <spanclass="tt">inj_species > 0</span>.</li>
537
537
<li>For STL/OBJ geometry (geometry 5 or 12), set <spanclass="tt">model_id</span> to index into the <spanclass="tt">stl_models</span> array and specify <spanclass="tt">model_filepath</span>, <spanclass="tt">model_scale</span>, <spanclass="tt">model_translate</span>, and <spanclass="tt">model_threshold</span> on that entry.</li>
538
538
<li><spanclass="tt">moving_ibm</span> sets the method by which movement will be applied to the immersed boundary. Using 0 will result in no movement. Using 1 will result 1-way coupling where the boundary moves at a constant rate and applied forces to the fluid based upon its own motion. In 1-way coupling, the fluid does not apply forces back onto the IB. Using 2 will result in 2-way coupling, where the boundary pushes on the fluid and the fluid pushes back on the boundary via pressure and viscous forces. If external forces are applied, the boundary will also experience those forces.</li>
<p>💡 <b>Tip:</b> If you encounter a validation error, check the relevant section above or review <ahref="https://github.com/MFlowCode/MFC/blob/master/toolchain/mfc/case_validator.py"><spanclass="tt">case_validator.py</span></a> for complete validation logic.</p>
<tdclass="markdownTableBodyNone"><spanclass="tt">chem_wrt_T</span></td><tdclass="markdownTableBodyNone">Logical (T/F) </td><tdclass="markdownTableBodyNone">Write temperature field for chemistry </td><tdclass="markdownTableBodyNone"></td><tdclass="markdownTableBodyNone">Chemistry output flag </td></tr>
<tdclass="markdownTableBodyNone"><spanclass="tt">coefficient_of_restitution</span></td><tdclass="markdownTableBodyNone">Real </td><tdclass="markdownTableBodyNone">Real number describing the elasticity of collisions from 0 (perfectly ineleas... </td><tdclass="markdownTableBodyNone"></td><tdclass="markdownTableBodyNone">Immersed boundary parameter </td></tr>
<tdclass="markdownTableBodyNone"><spanclass="tt">num_bc_patches</span></td><tdclass="markdownTableBodyNone">Integer </td><tdclass="markdownTableBodyNone">Number of boundary condition patches </td><tdclass="markdownTableBodyNone"></td><tdclass="markdownTableBodyNone"><spanclass="tt">num_bc_patches</span> must be <= <spanclass="tt">num_bc_patches_max</span></td></tr>
1661
1661
<trclass="markdownTableRowOdd">
1662
-
<tdclass="markdownTableBodyNone"><spanclass="tt">num_fluids</span></td><tdclass="markdownTableBodyNone">Integer </td><tdclass="markdownTableBodyNone">Number of fluid components </td><tdclass="markdownTableBodyNone"></td><tdclass="markdownTableBodyNone">Min: 1, Max: 10; <spanclass="tt">num_fluids</span> must be positive </td></tr>
1662
+
<tdclass="markdownTableBodyNone"><spanclass="tt">num_fluids</span></td><tdclass="markdownTableBodyNone">Integer </td><tdclass="markdownTableBodyNone">Number of fluid components </td><tdclass="markdownTableBodyNone"></td><tdclass="markdownTableBodyNone">Min: 1, Max: 10; <spanclass="tt">patch_ib(i)thermal_bc</span> = 1 without <spanclass="tt">chemistry</span> requires <spanclass="tt">num_fluids</span> = 1; <spanclass="tt">num_fluids</span> must be positive </td></tr>
1663
1663
<trclass="markdownTableRowEven">
1664
1664
<tdclass="markdownTableBodyNone"><spanclass="tt">num_ibs</span></td><tdclass="markdownTableBodyNone">Integer </td><tdclass="markdownTableBodyNone">Number of immersed boundary patches </td><tdclass="markdownTableBodyNone"></td><tdclass="markdownTableBodyNone">Min: 0; <spanclass="tt">num_ibs</span> must be >= 1 when <spanclass="tt">ib</span> is enabled (or specify at least one <spanclass="tt">particle_cloud</span> with <spanclass="tt">num_particles</span> > 0); <spanclass="tt">num_ibs</span> must be <= <spanclass="tt">num_ib_patches_max</span> (<spanclass="tt">num_ib_patches_max_namelist</span> in <spanclass="tt">m_constants</span>.fpp); <spanclass="tt">num_ibs</span> is set, but <spanclass="tt">ib</span> is not enabled </td></tr>
0 commit comments