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
</div><!-- fragment --><h3><aclass="anchor" id="autotoc_md9"></a>
338
338
Hard Coded Patches</h3>
339
-
<p>Some patch configurations are not adequately handled with the above analytic variable definitions. In this case, a hard coded patch can be used. Hard coded patches can be added by adding additional hard coded patch identifiers to <code>src/pre_process/include/1[2,3]dHardcodedIC.fpp</code>. For example, to add a 2D Hardcoded patch with an id of 200, one would add the following to <code>src/pre_process/include/2dHardcodedIC.fpp</code></p>
339
+
<p>Some patch configurations are not adequately handled with the above analytic variable definitions. In this case, a hard coded patch can be used. Hard coded patches can be added by adding additional hard coded patch identifiers to <code>src/pre_process/include/1[2,3]dHardcodedIC.fpp</code>. When using a hard coded patch, the <code>patch_icpp(patch_id)%hcid</code> must be set to the hard-coded patch id. For example, to add a 2D Hardcoded patch with an id of 200, one would add the following to <code>src/pre_process/include/2dHardcodedIC.fpp</code></p>
</div><!-- fragment --><p>and use <code>patch_icpp(i)%geometry = 7</code> and <code>patch_icpp(i)%hcid = 200</code> in the input file. Additional variables can be declared in <code>Hardcoded1[2,3]DVariables</code> and used in <code>hardcoded1[2,3]D</code>. As a convention, any hard coded patches that are part of the MFC master branch should be identified as 1[2,3]xx where the first digit indicates the number of dimensions.</p>
342
+
</div><!-- fragment --><p>and use <code>patch_icpp(i)%hcid = 200</code> in the input file. Additional variables can be declared in <code>Hardcoded1[2,3]DVariables</code> and used in <code>hardcoded1[2,3]D</code>. As a convention, any hard coded patches that are part of the MFC master branch should be identified as 1[2,3]xx where the first digit indicates the number of dimensions.</p>
343
343
<p>The code provides three pre-built patches for dimensional extrusion of initial conditions:</p>
344
344
<ul>
345
345
<li><code>case(170)</code>: Load 1D profile from data files</li>
<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>
414
+
<li><code>geometry</code> defines the type of geometry of an immersed boundary patch with an integer number. Definitions for currently implemented immersed boundary patch types are listed in table Immersed Boundary Patch Type.</li>
415
415
<li><code>x[y,z]_centroid</code> is the centroid location of the patch in the x[y,z]-direction</li>
416
416
<li><code>length_x[y,z]</code> is the length of the patch in the x[y,z]-direction.</li>
417
417
<li><code>radius</code> is the radius to be used for circular patches.</li>
<tdclass="markdownTableBodyRight"><code>mixlayer_vel_coef</code></td><tdclass="markdownTableBodyCenter">Real </td><tdclass="markdownTableBodyLeft">Coefficient for the hyperbolic tangent profile of a mixing layer </td></tr>
956
956
<trclass="markdownTableRowEven">
957
-
<tdclass="markdownTableBodyRight"><code>mixlayer_perturb</code></td><tdclass="markdownTableBodyCenter">Logical </td><tdclass="markdownTableBodyLeft">Perturb the initial velocity field by instability waves</td></tr>
957
+
<tdclass="markdownTableBodyRight"><code>mixlayer_perturb</code></td><tdclass="markdownTableBodyCenter">Logical </td><tdclass="markdownTableBodyLeft">Perturb the initial velocity field using a spectrum-based synthetic turbulence generation method</td></tr>
958
958
</table>
959
959
<p>The table lists velocity field parameters. The parameters are optionally used to define initial velocity profiles and perturbations.</p>
<trclass="memdesc:a76a3840c18a9465a2e8a5dd3f5690c77"><tdclass="mdescLeft"> </td><tdclass="mdescRight">This subroutine checks the model patch input. <br/></td></tr>
<trclass="memdesc:ad056eea96020cdf6ae1e89ce79141858"><tdclass="mdescLeft"> </td><tdclass="mdescRight">This subroutine checks the model patch input. <br/></td></tr>
<trclass="memdesc:a060f4b4df9448c80b864e6e1fa3ce57d"><tdclass="mdescLeft"> </td><tdclass="mdescRight">This subroutine checks the model patch input. <br/></td></tr>
<trclass="memdesc:a8ce3808d5c77d527b8ca0801e79c8082"><tdclass="mdescLeft"> </td><tdclass="mdescRight">This subroutine checks the model patch input. <br/></td></tr>
<trclass="memdesc:a90f2db067eacd85c606624d89d96bf5f"><tdclass="mdescLeft"> </td><tdclass="mdescRight">This subroutine checks the model patch input. <br/></td></tr>
<trclass="memdesc:a70c13ac3ff6b04d5281c0af02a3c7e31"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The Taylor Green vortex is 2D decaying vortex that may be used, for example, to verify the effects of viscous attenuation. Geometry of the patch is well-defined when its centroid are provided. <br/></td></tr>
<trclass="memdesc:a4944c1c8380967128308bb2fd955d0d1"><tdclass="mdescLeft"> </td><tdclass="mdescRight">This patch assigns the primitive variables as analytical functions such that the code can be verified. <br/></td></tr>
<trclass="memdesc:a3e0659a95f4ee87abce3096d93b1973e"><tdclass="mdescLeft"> </td><tdclass="mdescRight">This patch assigns the primitive variables as analytical functions such that the code can be verified. <br/></td></tr>
<trclass="memdesc:aee9097761614cebfe97cd5b95cb80bab"><tdclass="mdescLeft"> </td><tdclass="mdescRight">This patch assigns the primitive variables as analytical functions such that the code can be verified. <br/></td></tr>
<trclass="memdesc:ae7e86e8627f6b62b7cadb1fcdd2cec41"><tdclass="mdescLeft"> </td><tdclass="mdescRight">This patch generates the shape of the spherical harmonics as a perturbation to a perfect sphere. <br/></td></tr>
0 commit comments