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
<tdclass="markdownTableBodyRight"><code>cf_val</code> * </td><tdclass="markdownTableBodyCenter">Real </td><tdclass="markdownTableBodyCenter">Supported </td><tdclass="markdownTableBodyLeft">Surface tension color function value </td></tr>
286
286
<trclass="markdownTableRowOdd">
287
-
<tdclass="markdownTableBodyRight"><code>model%filepath</code></td><tdclass="markdownTableBodyCenter">String </td><tdclass="markdownTableBodyCenter">Not Supported </td><tdclass="markdownTableBodyLeft">Path to an STL or OBJ file (not all OBJs are supported). </td></tr>
287
+
<tdclass="markdownTableBodyRight"><code>model_filepath</code></td><tdclass="markdownTableBodyCenter">String </td><tdclass="markdownTableBodyCenter">Not Supported </td><tdclass="markdownTableBodyLeft">Path to an STL or OBJ file (not all OBJs are supported). </td></tr>
<tdclass="markdownTableBodyRight"><code>model%rotate(i)</code></td><tdclass="markdownTableBodyCenter">Real </td><tdclass="markdownTableBodyCenter">Not Supported </td><tdclass="markdownTableBodyLeft">Model's (applied) angle of rotation about axis $i$. </td></tr>
291
+
<tdclass="markdownTableBodyRight"><code>model_rotate(i)</code></td><tdclass="markdownTableBodyCenter">Real </td><tdclass="markdownTableBodyCenter">Not Supported </td><tdclass="markdownTableBodyLeft">Model's (applied) angle of rotation about axis $i$. </td></tr>
292
292
<trclass="markdownTableRowEven">
293
-
<tdclass="markdownTableBodyRight"><code>model%translate(i)</code></td><tdclass="markdownTableBodyCenter">Real </td><tdclass="markdownTableBodyCenter">Not Supported </td><tdclass="markdownTableBodyLeft">Model's $i$-th component of (applied) translation. </td></tr>
293
+
<tdclass="markdownTableBodyRight"><code>model_translate(i)</code></td><tdclass="markdownTableBodyCenter">Real </td><tdclass="markdownTableBodyCenter">Not Supported </td><tdclass="markdownTableBodyLeft">Model's $i$-th component of (applied) translation. </td></tr>
294
294
<trclass="markdownTableRowOdd">
295
-
<tdclass="markdownTableBodyRight"><code>model%spc</code></td><tdclass="markdownTableBodyCenter">Integer </td><tdclass="markdownTableBodyCenter">Not Supported </td><tdclass="markdownTableBodyLeft">Number of samples per cell when discretizing the model into the grid. </td></tr>
295
+
<tdclass="markdownTableBodyRight"><code>model_spc</code></td><tdclass="markdownTableBodyCenter">Integer </td><tdclass="markdownTableBodyCenter">Not Supported </td><tdclass="markdownTableBodyLeft">Number of samples per cell when discretizing the model into the grid. </td></tr>
296
296
<trclass="markdownTableRowEven">
297
-
<tdclass="markdownTableBodyRight"><code>model%threshold</code></td><tdclass="markdownTableBodyCenter">Real </td><tdclass="markdownTableBodyCenter">Not Supported </td><tdclass="markdownTableBodyLeft">Ray fraction inside the model patch above which the fraction is set to one. </td></tr>
297
+
<tdclass="markdownTableBodyRight"><code>model_threshold</code></td><tdclass="markdownTableBodyCenter">Real </td><tdclass="markdownTableBodyCenter">Not Supported </td><tdclass="markdownTableBodyLeft">Ray fraction inside the model patch above which the fraction is set to one. </td></tr>
298
298
</table>
299
299
<p>*: These parameters should be prepended with <code>patch_icpp(j)%</code> where $j$ is the patch index.</p>
300
300
<p>The Table lists the patch parameters. The parameters define the geometries and physical parameters of fluid components (patch) in the domain at initial condition. Note that the domain must be fully filled with patche(s). The code outputs error messages when an empty region is left in the domain.</p>
<li><code>smoothen</code> activates smoothening of the boundary of the patch that alters the existing patch. When smoothening occurs, fluids of the two patches are mixed in the region of the boundary. For instance, in the aforementioned case of the cylindrical patch immersed in the rectangular patch, smoothening occurs when <code>patch_icpp(2)smoothen = 'T'</code>. <code>smooth_coeff</code> controls the thickness of the region of smoothening (sharpness of the mixture region). The default value of <code>smooth_coeff</code> is unity. The region of smoothening is thickened with decreasing the value. Optimal choice of the value of <code>smooth_coeff</code> is case-dependent and left to the user.</li>
352
352
<li><code>patch_icpp(j)alpha(i)</code>, <code>patch_icpp(j)alpha_rho(i)</code>, <code>patch_icpp(j)pres</code>, and <code>patch_icpp(j)vel(i)</code> define for $j$-th patch the void fraction of <code>fluid(i)</code>, partial density of <code>fluid(i)</code>, the pressure, and the velocity in the $i$-th coordinate direction. These physical parameters must be consistent with fluid material's parameters defined in the next subsection.</li>
353
-
<li><code>model%scale</code>, <code>model%rotate</code> and <code>model%translate</code> define how the model should be transformed to domain-space by first scaling by <code>model%scale</code>, then rotating about the Z, X, and Y axes (using <code>model%rotate</code>), and finally translating by <code>model%translate</code>.</li>
353
+
<li><code>model_filepath</code> defines the root directory of the STL or OBJ model file.</li>
354
+
<li><code>model_scale</code>, <code>model_rotate</code> and <code>model_translate</code> define how the model should be transformed to domain-space by first scaling by <code>model_scale</code>, then rotating about the Z, X, and Y axes (using <code>model_rotate</code>), and finally translating by <code>model_translate</code>.</li>
355
+
<li><code>model_spc</code> and <code>model_threshold</code> are ray-tracing parameters. <code>model_spc</code> defines the number of rays per cell to render the model. <code>model_threshold</code> defines the ray-tracing threshold at which the cell is marked as the model.</li>
<tdclass="markdownTableBodyRight"><code>p</code></td><tdclass="markdownTableBodyCenter">Real </td><tdclass="markdownTableBodyLeft">NACA airfoil parameters (see below) </td></tr>
378
380
<trclass="markdownTableRowEven">
379
-
<tdclass="markdownTableBodyRight"><code>slip</code></td><tdclass="markdownTableBodyCenter">Logical </td><tdclass="markdownTableBodyLeft">Apply a slip boundary </td></tr>
381
+
<tdclass="markdownTableBodyRight"><code>slip</code></td><tdclass="markdownTableBodyCenter">Logical </td><tdclass="markdownTableBodyLeft">Apply a slip boundary </td></tr>
382
+
<trclass="markdownTableRowOdd">
383
+
<tdclass="markdownTableBodyRight"><code>model_filepath</code></td><tdclass="markdownTableBodyCenter">String </td><tdclass="markdownTableBodyLeft">Path to an STL or OBJ file (not all OBJs are supported). </td></tr>
384
+
<trclass="markdownTableRowEven">
385
+
<tdclass="markdownTableBodyRight"><code>model_scale(i)</code></td><tdclass="markdownTableBodyCenter">Real </td><tdclass="markdownTableBodyLeft">Model's (applied) scaling factor for component $i$. </td></tr>
386
+
<trclass="markdownTableRowOdd">
387
+
<tdclass="markdownTableBodyRight"><code>model_rotate(i)</code></td><tdclass="markdownTableBodyCenter">Real </td><tdclass="markdownTableBodyLeft">Model's (applied) angle of rotation about axis $i$. </td></tr>
388
+
<trclass="markdownTableRowEven">
389
+
<tdclass="markdownTableBodyRight"><code>model_translate(i)</code></td><tdclass="markdownTableBodyCenter">Real </td><tdclass="markdownTableBodyLeft">Model's $i$-th component of (applied) translation. </td></tr>
390
+
<trclass="markdownTableRowOdd">
391
+
<tdclass="markdownTableBodyRight"><code>model_spc</code></td><tdclass="markdownTableBodyCenter">Integer </td><tdclass="markdownTableBodyLeft">Number of samples per cell when discretizing the model into the grid. </td></tr>
392
+
<trclass="markdownTableRowEven">
393
+
<tdclass="markdownTableBodyRight"><code>model_threshold</code></td><tdclass="markdownTableBodyCenter">Real </td><tdclass="markdownTableBodyLeft">Ray fraction inside the model patch above which the fraction is set to one. </td></tr>
380
394
</table>
381
395
<p>These parameters should be prepended with <code>patch_ib(j)%</code> where $j$ is the patch index.</p>
<li><code>theta</code> allows for the angle of attach of airfoil patches to be changed.</li>
390
404
<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 <ahref="https://web.stanford.edu/~cantwell/AA200_Course_Material/The%20NACA%20airfoil%20series.pdf">The Naca Airfoil Series</a></li>
391
405
<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>
406
+
<li>Please see Patch Parameters for the descriptions of <code>model_filepath</code>, <code>model_scale</code>, <code>model_rotate</code>, <code>model_translate</code>, <code>model_spc</code>, and <code>model_threshold</code>.</li>
0 commit comments