<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<rss version="2.0">
<channel>
<title>ESI-CFD FAQ - The five questions posted most recently:</title>
<description>FAQ for all CFD related products</description>
<link>http://www.esi-cfd.com/faq</link>	<item>
		<title><![CDATA[Is there a way to remove zonal interface outlines when visualizing a decomposed model in CFD-VIEW?]]></title>
		<description><![CDATA[<p>
Running a simulation in parallel allows quicker turn around for larger and complex problems.
Such parallel jobs require the computational domain to be decomposed into multiple zones.
Such a multiple-zone file may be inconvenient to post-process in CFD-VIEW because zonal interface
outlines will be visible and the original surfaces would have been split. As depicted in figure 1
below, these outlines can be numerous and may therefore hinder the clarity of the model.
</p>
<p align="center">
<img src="../images/stories/esi_user_tips/ut851_1.png" border="0" alt="Image" title="Image" hspace="6" width="444" height="441" />
</p>
<p align="center">
<em><strong>Figure 1.  Multiple zones in decomposed domain.<br />
Zonal interface outlines may visually overload the model
</strong></em>
</p>
<p>
There are 3 methods you can use to get rid of these zonal interface outlines.
As an example, let’s focus on one of the blades of the model depicted in figure 1.
The current state of the blade with zonal interfaces is presented in figure 2 below.
</p>
<p align="center">
<img src="../images/stories/esi_user_tips/ut851_2.png" border="0" alt="Image" title="Image" hspace="6" width="384" height="249" />
</p>
<p align="center">
<em><strong>Figure 2.  Unwanted zonal interface outlines
</strong></em>
</p>
<h3><br />
Method 1: Using the <em>Simplifying</em> DTF option when importing the DTF file
</h3>
<p>
With the <em>Simplifying</em> DTF option available during DTF file import you can merge
contiguous volumes of same type and name together, as well as contiguous boundaries of same type
and name. However, you might loose the original surface topology with this method.
</p>
<p>
For the example used in this tip, all blade surfaces are named “Blade”, so using the
<em>Simplifying</em> option will import each blade as one surface only (see figure 8 below).
Therefore, if you choose to use this option, you be careful when naming the volumes and boundaries
in CFD-GEOM or CFD-ACE-GUI.
</p>
<p align="center">
<img src="../images/stories/esi_user_tips/ut851_3.png" border="0" alt="Image" title="Image" hspace="6" width="384" height="232" />
</p>
<p align="center">
<em><strong>Figure 3.  Blade made up of one surface after Simplifying DTF import
</strong></em>
</p>
<h3><br />
Method 2: Turning the Outlines off
</h3>
<p>
If you do not want the zonal interface outlines to be displayed, you can simply select all the
surfaces that share the outline(s), and turn them off by clicking the Outline on/off icon from the
Display Settings bar. Note that this option does not change the topology in any way.
</p>
<p align="center">
<img src="../images/stories/esi_user_tips/ut851_4.png" border="0" alt="Image" title="Image" hspace="6" width="598" height="163" />
</p>
<p align="center">
<em><strong>Figure 4.  Blade with all outlines turned off
</strong></em>
</p>
<h3><br />
Method 2: Method 3: Using the <em>Merge Surface</em> tool
</h3>
<p>
This method enables you to recover the original surface topology, i.e. the way it was before
domain decomposition. The following steps will walk you through the procedure:
</p>
<ol>
	<li>
	<p>
	Select the surfaces you want to merge (either from the 3D Viewer or from the Object Explorer).
	</p>
	<p align="center">
	<img src="../images/stories/esi_user_tips/ut851_5.png" border="0" alt="Image" title="Image" hspace="6" width="384" height="244" />
	</p>
	<p align="center">
	<em><strong>Figure 5.  Selection of the two surfaces to be merged
	</strong></em>
	</p>
	</li>
	<li>
	<p>
	Click on the “Surface Merge” button from the Operator Palette. This creates a
	new surface called “Merged Surface”. Note that the surfaces you selected for the
	merging operation are not deleted.
	</p>
	<p align="center">
	<img src="../images/stories/esi_user_tips/ut851_6.png" border="0" alt="Image" title="Image" hspace="6" width="384" height="278" />
	</p>
	<p align="center">
	<em><strong>Figure 6.  Surface Merge option (left) and resulting Merged Surface (right)
	</strong></em>
	</p>
	</li>
	<li>
	<p>
	Select the surfaces that you just combined (from step 1) and hide them (click on the Hide
	icon from the Display Settings bar, or do Ctrl+b).
	</p>
	<p align="center">
	<img src="../images/stories/esi_user_tips/ut851_7.png" border="0" alt="Image" title="Image" hspace="6" width="374" height="218" />
	</p>
	<p align="center">
	<em><strong>Figure 7.  Blanked before-combined surfaces
	</strong></em>
	</p>
	</li>
	<li>
	<p>
	Select the Merged Surface you created in step 2 from the object explorer and color it with
	the desired variable (or perform any other operation).
	</p>
	<p align="center">
	<img src="../images/stories/esi_user_tips/ut851_8.png" border="0" alt="Image" title="Image" hspace="6" width="374" height="227" />
	</p>
	<p align="center">
	<em><strong>Figure 8.  Resulting merged surface
	</strong></em>
	</p>
	</li>
</ol>
<p>
<br />
You can also combine steps 1 and 3 into one step simply by hiding the surfaces immediately after
selecting them in step 1.
</p>
<p>
Figure 9 below shows the result after repeating the procedure for all of the split surfaces of the
blade. The original topology has been recovered, and you can notice that the merged surfaces do not
have zonal interface outlines, thus giving a cleaner look to your CFD-VIEW model.
</p>
<p align="center">
<img src="../images/stories/esi_user_tips/ut851_9.png" border="0" alt="Image" title="Image" hspace="6" width="384" height="275" />
</p>
<p align="center">
<em><strong>Figure 9.  Blade displays original surface topology (as it was before decomposition)
</strong></em>
</p>
<p>
 
</p>
<p align="right">
<span style="font-size: 12px; font-family: Arial"><em>Note: tested with V2009.4</em>
</span>
</p>
]]></description>
		<link>http://www.esi-cfd.com/faq/index.php?action=artikel&amp;cat=6&amp;id=111&amp;artlang=en</link>
		<pubDate>Wed, 21 Jul 2010 19:51:00 GMT</pubDate>
	</item>
	<item>
		<title><![CDATA[Is it possible to hide only part of a surface in CFD-VisCART?]]></title>
		<description><![CDATA[<p>
CFD-VisCART has always allowed surface selection where any surface can be selected by
clicking on the graphics area or in the explorer window. Additionally, there is tool that
allows the user to select individual facets (i.e. triangles) of a surface (each surface is composed
of triangulated faces called facets). The advantages of this tool span from better visualization of
model interiors to surface manipulation and clean-up. 
</p>
<p>
By default, CFD-VisCART is in Surface Selection mode. To switch to the Facet Selection
mode, click on the "Pick individual facet" icon on the ToolBar, as shown in Figure 1.
</p>
<p align="center">
<img src="../images/stories/esi_user_tips/ut725_1.png" border="0" alt="Image" title="Image" hspace="6" width="161" height="37" />
</p>
<p align="center">
<strong><em>Figure 1.  Facet selection tool on the Toolbar </em></strong>
</p>
<p align="left">
Now, click
on any facet on a surface and it will be selected (and highlighted). Hold the Shift key to select
multiple facets or keep the Shift key pressed and drag a window to select all facets within a given
area. These selected facets can now be blanked out by clicking the “Blank the selected item(s)
” button below the explorer window or by simply pressing Ctrl-B. Note that if you select the
facets with the "Shift key pressed and drag window" method, all facets within that window
will be selected, even the underlying ones that are inside the model.
</p>
<p>
The
following example shows how selecting facets and blanking them out can help
improve model visualization.
</p>
<p align="center">
<br />
<img src="../images/stories/esi_user_tips/ut725_2.png" border="0" alt="Image" title="Image" hspace="6" width="440" height="267" />
</p>
<p align="center">
<strong><em>Figure 2.  Pipe model in CFD-VisCART</em></strong>
</p>
<p align="center">
<br />
<img src="../images/stories/esi_user_tips/ut725_3.png" border="0" alt="Image" title="Image" hspace="6" width="440" height="267" />
</p>
<p align="center">
<em><strong>Figure 3.  Facets selected and blanked out to visualize pipe interior</strong></em>
</p>
<p>
<br />
The selected facets can also be deleted. This can potentially
be used to cut-out or trim model surfaces.
</p>
<p>
 
</p>
<p align="right">
<span style="font-size: 12px; font-family: Arial"><em>Note: tested with V2009.4</em>
</span>
</p>
]]></description>
		<link>http://www.esi-cfd.com/faq/index.php?action=artikel&amp;cat=3&amp;id=110&amp;artlang=en</link>
		<pubDate>Wed, 14 Jul 2010 21:41:00 GMT</pubDate>
	</item>
	<item>
		<title><![CDATA[In what situations would the BC/VC Queries tool of CFD-GEOM be useful?]]></title>
		<description><![CDATA[<p>
Have you ever whished that you could blank/unblank or pick/unpick only interfaces in a CFD-GEOM
model? You can now with the <strong>BC/VC Queries</strong> tool. This tool allows you to pick,
unpick, blank or unblank all the interfaces of the current model based on the interface type
(Fluid/Fluid, Fluid/Solid, etc.).
</p>
<p>
The <strong>BC/VC Queries</strong> tool can be found under the BC/VC panel, as shown in figure 1
below.
</p>
<p align="center">
<img src="../images/stories/esi_user_tips/ut850_1.png" border="0" alt="Image" title="Image" hspace="6" width="331" height="223" />
</p>
<p align="center">
<strong><em>Figure 1.  BC/VC Queries tool
</em></strong>
</p>
<p>
To utilize this tool, simply choose if you want to pick, unpick, blank or unblank the interfaces by
selecting the appropriate option from the first drop-down list. Then, from the second drop-down list,
select the type of interfaces you would like to act on. Finally, click on Go.
</p>
<p>
A situation where this tool is very useful is when you are setting boundary conditions. Consider the
example below, in which we would like to set all external boundaries as Walls. Figure 2 shows the
outer faces in purple and the Fluid/Fluid interfaces in green. A simple Ctrl+A would be sufficient to
select all outer boundaries, but doing so would also select the interfaces inside the model.
</p>
<p align="center">
<img src="../images/stories/esi_user_tips/ut850_2.png" border="0" alt="Image" title="Image" hspace="6" width="598" height="274" />
</p>
<p align="center">
<strong><em>Figure 2.  Example geometry showing the outer faces (left) and block interfaces
(right).</em></strong>
</p>
<p>
To avoid this, first make all faces visible and pickable. Then, go to the BC/VC Queries tool,
select “Blank” and “Fluid/Fluid” Interfaces, and click Go. Now that all
interfaces are blanked, you can go to the Boundary Conditions tab to set your BC’s and do
Ctrl+A to select all outer faces and set them as Walls.
</p>
<p>
<br />
This tool becomes very useful when dealing with models that contain a large number of domains and
boundaries. Below are some other examples of situations for which this tool can be handy.
</p>
<ul>
	<li>
	<p>
	When you want to look at the meshed model, but the mesh has a very large number of cells
	and the <em>Turbo</em> viewing option is disable, it can take time for the graphics
	window to refresh after you rotate/pan the model. Use the BC/VC Queries tool to blank all
	interfaces and make the graphics window more responsive.
	</p>
	</li>
	<li>
	<p>
	When a half model or one-fourth model is made and you would like to translate/rotate it,
	there may be a chance that overlapping boundaries are created (for example if the rotation
	angle is slightly off). If there is a proper connection between the domains, the original
	outer boundaries will become interfaces. However, in case of overlap or duplication, they
	will stay as walls. You can use the tool to blank/unblank the interfaces and see if the
	translation/rotation was correctly done.
	</p>
	</li>
</ul>
<p>
<br />
Notes:<br />
- It is recommended to assign the volume conditions first (fluid, solid, or block) and then use the
BC/VC Queries Tool.<br />
- The BC/VC Queries tool only works for 3D models.
</p>
<p>
 
</p>
<p align="right">
<span style="font-size: 12px; font-family: Arial"><em>Note: tested with V2009.4</em>
</span>
</p>
]]></description>
		<link>http://www.esi-cfd.com/faq/index.php?action=artikel&amp;cat=2&amp;id=108&amp;artlang=en</link>
		<pubDate>Wed, 07 Jul 2010 19:53:00 GMT</pubDate>
	</item>
	<item>
		<title><![CDATA[How can I coarsen a structured mesh?]]></title>
		<description><![CDATA[<p>
One of the challenges of using structured meshes is that the grid resolution away from the
region of interest is sometimes more than necessary. The <strong>Coarsen Structured Domains</strong>
tool in CFD-GEOM provides a method to coarsen structured domains (also called blocks), thus reducing
the mesh size and avoiding the use of arbitrary interfaces.
</p>
<p>
As an example, consider the case of simple flow through a 3D cross channel, as shown in figure 1.
We would like to resolve the intersection region with 12 x 12 cells. However, we do not need
this much grid resolution across the inlet and outlet channels away from the intersection region.
</p>
<p>
To use the block coarsening feature, one needs to carefully divide the geometry into
several blocks, based on the areas that need to be coarsen. The yellow and blue regions in figure 2
indicate the block structure we will use for the problem; the yellow regions are the areas we wish
to coarsen.
</p>
<table border="0" cellpadding="5" align="center">
	<tbody>
		<tr align="center" valign="middle">
			<td><img src="../images/stories/esi_user_tips/ut574_1.png" border="0" alt="Image" title="Image" hspace="6" width="253" height="243" /></td>
			<td><img src="../images/stories/esi_user_tips/ut574_2.png" border="0" alt="Image" title="Image" hspace="6" width="242" height="244" /></td>
		</tr>
		<tr align="center" valign="middle">
			<td><font size="2"><strong><em>Figure 1.  Flow through cross channel</em></strong></font></td>
			<td><font size="2"><strong><em>Figure 2.  Break up into multiple blocks
			</em></strong></font></td>
		</tr>
	</tbody>
</table>
<p>
Follow the steps below to use block coarsening and reduce the total number of cells in the
computational domain.
</p>
<ol>
	<li>Grid all the blocks with the same number of cells, using the finest grid resolution
	desired; in this case, 12 cells across the width of the channel.
	<p align="center">
	<img src="../images/stories/esi_user_tips/ut574_3.png" border="0" alt="Image" title="Image" hspace="6" width="247" height="243" />
	</p>
	<p align="center">
	<em><strong>Figure 3.  All blocks have 12 cells across the width (1104 total cells)
	</strong></em>
	</p>
	</li>
	<li>Select the Coarsen Structured Domains tool, found under &#39;Mesh &#8594; Structured
	Domain Options&#39;, as shown in figure 4.
	<p align="center">
	<img src="../images/stories/esi_user_tips/ut574_4.png" border="0" alt="Image" title="Image" hspace="6" width="311" height="341" />
	</p>
	<p align="center">
	<strong><em>Figure 4.  Coarsen Structured Domains tool</em></strong>
	</p>
	</li>
	<li>Apply the desired coarsening factor (a factor of 2 in this example).
	The coarsening factor (i.e. amount of coarsening) in a particular
	direction must exactly divide the original number of cells in that
	direction. CFD-GEOM will only display valid values based on that principle.
	Figure 5 below depicts the block coarsening procedure.
	<p>
	<table border="1" cellpadding="5" align="center">
		<tbody>
			<tr align="center" valign="middle">
				<td><font size="2">Pick the block handle.<br />
				It turns red and the block orientation axes appear.</font></td>
				<td><font size="2">Upon picking the block, the coarsening menu appears.
				Choose a factor and press Apply.</font></td>
			</tr>
			<tr align="center" valign="middle">
				<td><img src="../images/stories/esi_user_tips/ut574_5a.png" border="0" alt="Image" title="Image" hspace="6" width="317" height="263" /></td>
				<td><img src="../images/stories/esi_user_tips/ut574_5b.png" border="0" alt="Image" title="Image" hspace="6" width="269" height="263" /></td>
			</tr>
		</tbody>
	</table>
	</p>
	<p align="center">
	<strong><em>Figure 5.  Coarsening procedure</em></strong>
	</p>
	</li>
</ol>
<p>
Figure 6 shows the result of this operation, which coarsened the top block.
</p>
<p align="center">
<img src="../images/stories/esi_user_tips/ut574_6.png" border="0" alt="Image" title="Image" hspace="6" width="422" height="244" />
</p>
<p align="center">
<em><strong>Figure 6.  Top block coarsened by a factor of 2</strong></em>
</p>
<p>
You can repeat the same procedure for the remaining outer regions of the cross channel.
The resulting grid is 20% smaller. Furthermore, the grid is still completely connected
(no arbitrary interface).
</p>
<p>
<br />
Here are a few things to keep in mind when using block coarsening:
</p>
<ol>
	<li>It is recommended that you plan for block coarsening while
	constructing your geometry. Because coarsening applies to entire blocks,
	it may be necessary to break a block into smaller blocks, some of which
	will be coarsened. It is easier to do this early in the grid generation.</li>
	<li>To ensure that a good solution is obtained, try to restrict block coarsening
	to factors of 2 in 3D and 4 in 2D.
	</li>
	<li>The amount of coarsening applied to a block is relative to
	the original structured grid (i.e. it is not cumulative).  For
	example,
	if you coarsen a block in its I-direction by a factor of 2, and then
	coarsen the block again by a factor of 2, the result is a coarsening
	by a factor of 2, not 4.
	</li>
	<li>The amount of coarsening (i.e. coarsening factor) in a particular direction
	must be such that the original the number of cells in that direction can be exactly
	divisible by the factor. CFD-GEOM will only allow you to select factors from a
	set of valid values. However, when writing CFD-GEOM scripts, you must
	ensure that the amount of coarsening you specify is valid, otherwise
	coarsening will fail.</li>
	<li>For 3D cases: The boundary faces of a coarsened block are not
	coarsened; only the interior cells are. This causes a coarsened block
	(and its neighbor, if any) to become unstructured zones upon output to
	the DTF file. This is also the reason why in CFD-GEOM, CFD-ACE-GUI and CFD-VIEW
	you will see uncoarsened boundary faces on a block that you have coarsened,
	as shown in the figure 7 below.
	<p align="center">
	<img src="../images/stories/esi_user_tips/ut574_7.png" border="0" alt="Image" title="Image" hspace="6" width="552" height="374" />
	</p>
	<p align="center">
	<em><strong>Figure 7.  Coarsened block showing uncoarsened boundary grids</strong></em>
	</p>
	</li>
</ol>
<p>
<br />
The block coarsening feature is a very useful capability, allowing you to reduce the grid size and
therefore the run time for a structured grid system, without introducing arbitrary interfaces.
</p>
<p>
 
</p>
<p align="right">
<span style="font-size: 12px; font-family: Arial"><em>Note: tested with V2009.4</em>
</span>
</p>
]]></description>
		<link>http://www.esi-cfd.com/faq/index.php?action=artikel&amp;cat=2&amp;id=107&amp;artlang=en</link>
		<pubDate>Thu, 01 Jul 2010 23:13:00 GMT</pubDate>
	</item>
	<item>
		<title><![CDATA[How to define arbitrary Macro Particles in CFD-ACE+?]]></title>
		<description><![CDATA[<p>
Microfluidics, chemical processing, environmental research, and biological and clinical analysis
involving multiphase flows require modeling of a variety of macro particle shapes namely,
cylinder-like (or rod), equant (nearly spherical), flake-like, plate-like, prism (or slab), etc.
</p>
<p>
CFD-ACE+ allows the user to work with particles of pre-defined shapes like sphere, spheroid, cube,
cuboid, cylinder and cap cylinder (i.e. capsule) quite easily from built-in macro particle geometries
available in CFD-ACE-GUI. For such built-in regularly shaped macro particles, CFD-ACE+ will assign
Surface Marker points based on the Marker point density specified by the user (either from the GUI,
an input file, or a user subroutine).
</p>
<p>
Additionally, CFD-ACE+ allows modeling of <strong>closed and open macro particles of arbitrary shape</strong>. An example of an open arbitrary macro particle would be a beaded string of point-mass
particles of say colloids, macro-molecules and cells where there are gaps between two point-masses
through which flow may pass. Please refer to CFD-ACE+ User manual for more details of Macro Particles.
The shape of such arbitrary particles is entirely defined by the marker points position, which are
fed to the solver through either an external input data file (*.dat file) or the user subroutine
‘upoint_init’.
</p>
<p>
This tip explains as how to define an arbitrary macro particle in CFD-ACE+ from the input data file.
</p>
<p>
First, you need to create the data file that contains:
</p>
<ul>
	<li>The macro particle name.</li>
	<li>The number of initial condition variables.</li>
	<li>The variables list for macro particle initial conditions.</li>
	<li>The number of marker points.</li>
	<li>The marker points specification. Each line corresponds to one marker point, and lists the
	variables value one by one separated by a &#39;tab&#39;.</li>
</ul>
<p>
A section of the input file format for a closed wedge (or prism) shaped macro particle is given
below.
</p>
<p align="center">
<img src="../images/stories/esi_user_tips/ut849_1.png" border="0" alt="Image" title="Image" hspace="6" width="598" height="316" />
</p>
<p>
<br />
Then, this file (or its path) should be specified in the GUI, as shown in figure 1 below:
</p>
<p align="center">
<img src="../images/stories/esi_user_tips/ut849_2.png" border="0" alt="Image" title="Image" hspace="6" width="531" height="737" />
</p>
<p align="center">
<strong><em>Figure 1.  Reading the input file for an arbitrary Macro Particle in CFD-ACE-GUI
</em></strong>
</p>
<p>
You can view the simulation results animation by clicking on figure 2.
</p>
<p align="center">
<a href="../images/stories/esi_user_tips/ut849_4.gif" target="blank">
<img src="../images/stories/esi_user_tips/ut849_3.png" border="0" alt="Image" title="Image" hspace="6" width="584" height="472" /></a>
</p>
<p align="center">
<strong><em>Figure 2.  Wedge Macro Particle falling under gravity forces
</em></strong>
</p>
<p>
You can download the files used in this 3D example by clicking
<a href="../images/stories/esi_user_tips/arbitrary_macro_particle.zip">here</a>.
</p>
<p>
<br />
Note that:
</p>
<ul>
	<li>In the data file, there should be a space between the Hash sign (#) and the next
	character.</li>
	<li>The Particle name in the data file should match the particle name in CFD-ACE-GUI
	(“Arb_mac” in this case).</li>
	<li>When defining an open arbitrary macro particle using Marker Points, the diameter of the
	Marker points should not be zero, or the mass of the macro particle would be zero.</li>
	<li>When defining an arbitrary macro particle, the user should make sure that the marker
	points are non-collinear (do not lie on a straight line). At least one marker
	point should deviate slightly.</li>
	<li>Contrary to pre-defined macro particles, arbitrary macro particle cannot be displayed
	in CFD-ACE-GUI. Therefore, users will be able to see what the particle looks like
	only in CFD-VIEW.</li>
</ul>
<p>
 
</p>
<p align="right">
<span style="font-size: 12px; font-family: Arial"><em>Note: tested with V2009.4</em>
</span>
</p>
]]></description>
		<link>http://www.esi-cfd.com/faq/index.php?action=artikel&amp;cat=5&amp;id=106&amp;artlang=en</link>
		<pubDate>Tue, 22 Jun 2010 22:10:00 GMT</pubDate>
	</item>
</channel>
</rss>