How can I use ICEM-CFD to make a grid for kiva?
This first method outlines a technique for building a grid that consists of the combustion chamber (180 degree, cartesian-style mesh) with a crevice. The grids built will be saved as plot3d format files and read into the ERC version of k3prep (k3prepERC). It will be very useful for the user to go through Tutorials 3.1 and 3.3 from the ICEM-CFD Tutorial Manual, Mesh Modules version 4.0 before attempting to build on their own. Many of the steps in this outline can be found in Tutorial 3.3.
1. Create the geometry in EZ-CAD, DDN, Pro-E, Unigraphics, etc., either using those programs, or using the ICEM-CFDs Direct CAD Interfaces.
2. Group the curves generated in step 1 into those that represent the liner (CURVES_LINER), the piston (CURVES_PISTON) and the bowl (CURVES_BOWL). The image below shows the three curve families and a composite.
Notice that the Liner family contains only curves that lie on the liner, i.e. three curves, one at the crevice bottom, one at the piston face and the third at the head.. The Piston family contains curves that lie on the piston and head. The bottom-most curve is at the bottom of the crevice, the next is on the piston face and the top-most is at the head. The two vertical curves (lines) may not be needed, but are included at this time. The Bowl family represents the bowl outline and the bowl outline as would be seen on the head. The composite is not an ICEM-CFD family, but is just the composite of the three families so as to see their association.
3. Create surfaces from the curves. For example, build a surface from the two curves that represent the liner in the squish region (two top curves in the "Liner" image above). To do this select (Geometry > Surface > Create). In the "Create surface" pop-up window, either select an existing family to put the surfaces into, or enter a new family name and enter a name for the particular surface. Currently tolerance is left at the default value, but the user can experiment with this entry if desired.
3. Enter the HEXA Mesher (Meshing > Hexa > Interactive) and choose New Blocking.
4. View only the CURVES_LINER family and split the block near the piston (your split need not be exact and should split the block vertically).
5. The following procedure is similar to that on page 78 of the manual. Project the block edges to the geometry's curves as outlined in the manual, page 77 (Projection > Edge->curve > project). When done, choose (Edges > Opts > Project) and (Projection > Project displayed) to see if all the edges lined up to the geometry as desired (see example below). If the vertices of the edges are not where you want them, move them with (Projection > Move vertex).
6. The next procedure is similar to that on pages 40-43 of the manual. To generate the mesh, in the Display window, choose (Edges > Opts > Bunching). Then choose ( Meshing > Edge params ). In the Edge meshing parameters pop-up window, turn on (Copy to parallel edges) and (Visible). Select an edge and increase the number of vertices to the desired value. Repeat the process for each edge.
2. decide how to divide the geometry into blocks.
3. once the geometry is in ICEM-CFD, create only the blocks you desire. Keep the number of blocks to a minimum.
4. choose a block to grid and grid only that block, i.e., send the unwanted blocks to VORFN.
5. save the mesh using File --> Multiblock (pop up entry = Volume)
this will create a domain.1 file in the working directory.
6. quit Hexa mesher
7. in Mesh Editor, Output --> Select Solver --> Plot3d
8. Output --> Plot3d Input
Save domains you are interested in.from the Structured portion of the pop up, then Done.
Formatted, Whole, Double, No Iblanking and edit the output file name. The file name will receive the .fmt extension.