| UW : ERC : Staff : Home : Research : |
This page is devoted to making itape17 files with ICEM-CFD
What are the steps for restarting an ICEM-CFD session?
Reasons a modeler might want to do restart a session are:
- to continue building a geometry from where it was left off,
- to change the geometry slightly,
- to change grid density,
- to change boundary conditions,
- others.
- Start ICEM-CFD
- Select the ICEM-CFD project to open
- Select the tetin (geometry) file to load
If you are in the building geometry stage, you may not have any domain files to load and you can continue building the geometry from this point. If you do have domain files to load, continue with the next step.
- Select the domain (mesh) file, or files to load
Note that it is believed that these domain files should be in the same directory as the tetin file. In working with kiva, it is likely that you previously created many domain files. If this is the case, a file called Multiblock may appear as an option. You can select Multiblock, instead of all of the individual blocks. If the Multiblock option causes problems, select all of the applicable domain files and when asked if to 'Merge', or 'Keep Separate', choose Merge (for every domain when prompted).- If you also previously assigned boundary conditions, then select File > Open > Boundary condition file and select the correct boundary condition file (ex: family_boco.fbc)
- Perform the steps from What are the steps for restarting an ICEM-CFD session?
- Select Meshing
- Select Hexa > Interactive
- Load in the blocking file that you previously saved (a good filename extension is .blk)
- To examine the current grid
Toggle on, Mesh, then Select Yes to pop-up
Toggle on, Project Faces, then Select Yes to pop-up- Select Meshing (you may want to turn off the mesh for the next steps)
- Select Edge Params
- Select an edge to modify (left click on edge)
- Adjust the number of vertices (Num points)
- Toggle on, Copy to parallel edges
- Toggle on, All
- Select Apply
- To vary the mesh in other locations, select "Select new edge" and repeat steps 8, 9 and 12
- After all edges have been modified, select Done on the Edge meshing parameters pop-up
- Select Compute
- Toggle on Mesh and inspect grid, correct if necessary
- Perform a grid quality check with Quality check
- When satisfied with grid, exit Hexa-Interactive as follows so that new grid is available:
- toggle File
- click Save blocking (convention is to use .blk extension)
- click Multiblock
- choose Volume
- click Quit
- select Yes to Really quit
- select Yes to Load the new mesh Multiblock
- select Replace to next pop up
- Toggle Output to output a new itape17:
- Assuming a boundary condition file has been read in, select KIVA-3(V) input
- Select All domains, then Done
- Toggle on KIVA-3V for kiva3v output
- Select Done
- The default itape17 file name is kiva3.tape17. If your work was done on a PC and you intend to use the grid on a UNIX platform, then it is recommended that you open a UNIX window and issue the
to_unix kiva3.tape17 itape17
command, or equivalent so that the itape17 can be used on UNIX (note that the itape17 will be read properly on a PC too).- Quit icem-cfd by toggling File, selecting Quit, then Yes to really quit.
What are appropriate boundary conditions for kiva3v sector grids?
This example is for a sector mesh with a square bowl and also includes the piston-liner crevice.
Click for ICEM-CFD boundary condition assignments that were used.
Click on any of the following to view flag values on the mesh surfaces:
bcb bcf bcl f fv idface idreg
If ICEM-CFD IJK orientation is not appropriate for kiva3v, how can it be fixed?
Courtesy of Christian Nienhueser
You can change the orientation of the blocks in Hexa > meshing >ijk->kij (display the directions in the display window under blocks >opts > ijk). More convenient is it to use the mesh editor once you wrotethe multiblock files in Hexa: MED > edit mesh > edit blocks >orientation (display the directions in the display window under domains> opts < show ijk).
How can I change the squish height of an existing mesh?
Courtesy of Kevin Dewey
You can simply move the geometry on the head and any curves near the head that are used to retain shape, or near head grid resolution up or down by the desired amount (ex: move curves up 4.129 cm). Use "Geometry > Copy/Move" and select the entities you wish to move. Select "Move" (default) and Translate, typing in the vector (ex: to increase the squish up by 4.129 (cm), enter 0 0 4.129) in the field and Accept. This will create a gap in the periodic and liner faces. It would probably be easiest to delete the existing surfaces and create new ones using the new curve positions.In the blocking, you can use index control to turn off the the blocks beneath the head, or beneath the fine resolution region near the head (ex: K:5-6 for a particular case). Then, you can move the visible blocks by going to "Topology > Transform, and very much similar to the copy/move panel in Geometry, type in the same translation vector. Then toward the bottom select "Only visible index range" and Apply.You should not need to re-associate the edges. The curves names won't change if you simply move them in the geometry menu. If you delete and recreate the curves, then you will have to re-associated edges. For surfaces, it doesn't matter if they're recreated.
Can an itape17 be used in ICEM-CFD?
Courtesy of Kevin Dewey
Kind of. There is a converter that converts an itape17 to domain files, which can be read into ICEM-CFD. If you are at the ERC, ask Randy for the executable for either a PC, or an SGI.
Usage: convert_itape17 [itape17] [icem domain file name]
Note: The converter does not work with 4* format for repetitive fields. Therefore, if the itape17 contains 4*0.0 to represent, replace it with 0.0 0.0 0.0 0.0, or as appropriate.
Not necessarily. It is more a matter of how the grid builder chooses to make the grid. Users of k3prep tend to assign the liner part of the crevice as a solid surface, where some users of ICEM-CFD assign this part of the liner to be moving.
What is a technique for getting nice curves on sharp edges?
Courtesy of Kevin Dewey
I suggest running "Geometry > Curve > Create > Build topology" to get the necessary curves. These additional curves will add a constraint for tetra; forcing it to place nodes and edges on the curve to capture the feature.
If ICEM-CFD diagnostics tell me there are Multiple Edges, is that OK?
Courtesy of Kevin Dewey
Multiple edges may be legitimate. These are edges that share more than 2 triangles so you would expect them at t-junctions, where the id and od of the head meet the liner would be t-junctions for which you would expect multiple edge elements.
What do non-manifold elements indicate?
Courtesy of Kevin Dewey
Non-manifold vertices typically indicate elements that jump from one surface to another forming tent like structures. Select "Help > Mesh editor > Edit mesh > Unstructured mesh options > Diagnostics > Check mesh > Possible problems" and scroll down to get a better description of non-manifold vertices. [ Comments to a specific problem: You have a few of these on the thin annular surface towards the top of the liner. Once build topology is done, the surfaces will automatically be segmented which will allow you to prescribe a smaller element size on this surface (Geometry > Surface > Entity parameters)].
Are there guidelines for when to use automatic vs. manual fixes?
Courtesy of Kevin Dewey
For each diagnostic it is best to "Create subsets" instead of trying to automatically fix. Auto fix for non-manifold and multiple edges will likely fail and auto fixing single edge problems will most likely make the mesh worse. Only use the fix option for duplicate elements. Once a subset is created, select it from the list at the bottom of the display menu. Usually you want to display the adjoining elements to get a better picture of the problem area(s). Select "Modify" beneath the subset list and "Add layer" in the pop-up menu. Typically you want to add layers of surface elements only for which you can toggle "All F, Surfs" which means add only surface elements (tris) regardless of which family is active (turned on in the list at the top of the Display menu). Then, you can do manual editing, such as merging nodes, splitting edges, deleting/creating elements, etc. A good reference is the E-Tetra_Editing.ppt file within ftp://ftp.icemcfd.com/pub/training/4.2.2_Lectures.zip
[Comments to a specific problem: I would use manual editing if you have only a few problem areas. In your case, the geometry is so simple I would simply rerun tetra after you create the necessary curves and prescribe a smaller tetra size to the annular surface. Actually, creating a hexa mesh would also be fairly easy. Most structural solvers also prefer a hexa dominant mesh as well.]
Should spaces be avoided in directories and file names?
Courtesy of Kevin Dewey
Yes.
Do you have
suggestions for creating an icem-cfd grid from an existing itape17?
What must be done on-axis for sector grids in icem-cfd?
I created a local coordinate system in the mesh editor of icem-cfd,version 4.2 on my PC. Although the system looks fine, when I check thedistance between two points, first in the global system, then in thelocal system, I get different distances. I could not find anexplanation for the Global and Local text boxes that are at the bottomof the Coordinate System pop-up window, so I left them blank.A: It's a known bug that's been fixed in our latest version. The workaround for your version is easy, though. After creating your local coordinate system, save your tetin, close it, and reload it. This problem only happened when you use prescribed points to create your local coordinate system or you specified vectors greater than one in length.