Section 2.3. Export the grid to the Kiva-3V format
Step 1: Create the SQUISH and BOWL parts
Before exporting the grid it is necessary to divide the blocks in two parts to assign the proper boundary condition required from the Kiva solver. Rename the part “SOLID” in “SQUISH” and create a new part named BOWL right clicking on Parts in the Display Tree menu, Create Part.
Step 2: Assign the blocks to the BOWL part
in the Create Part window select the fourth option Blocking Material, Create Part and select the blocks as it shown in Fig. 2.25.
Step 1: Multiblock Mesh conversion:
Save the project and then convert the mesh in a multiblock mesh right clicking on Pre-Mesh from the blocking Display Tree menu and click on: Convert to Multiblock Mesh
Step 2: Select the Kiva 3V solver
Once the Multiblock mesh is created from the Output menu, click on Select Solver and select KIVA-3(V) and then Apply.
Step 3: Family boundary conditions
Click on boundary condition and a window will appear where it is possible to set all the necessary boundary conditions. Insert the proper boundary conditions in the Family boundary condition window (Fig. 2.26) following Tab 2.1.
Step 4: Output mesh
Click on Write Input, choose all domains and then select the Primer_Example_2.Multiblock. In the KIVA3 window select KIVA-3V output type and click done. In the project working directory a file named kiva3.tape17 is then created. Rename that file to itape17 and then put the file in your Kiva calculation directory.
|HEAD||/||Touching Head (6.0)||Not moving (-1)||/|
|PERIODIC1||Periodic Front (5.0)||/||/||/|
|PERIODIC2||Periodic Derriere (6.||/||/||/|
|PISTON||Moving parts (1.0)||Moving face (2.0)||Moving face (0)||/|
|BOWL||/||Bowl (3.0)||Not moving (-1)||1|
|SQUISH||/||Squish (4.0)||Not moving (-1)||1|
Table 2.1: Boundary condition to assign for the sector mesh