Defining basic information

Define basic information of a grid generating program. Create a file with the content shown in List 14, and save it with name “definition.xml” under “example” folder that you created in Creating a folder.

List 14 Example grid generating program definition file that contains basic information
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
<?xml version="1.0" encoding="UTF-8"?>
<GridGeneratorDefinition
  name="samplecreator"
  caption="Sample Grid Creator"
  version="1.0"
  copyright="Example Company"
  executable="generator.exe"
  gridtype="structured2d"
>
  <GridGeneratingCondition>
  </GridGeneratingCondition>
</GridGeneratorDefinition>

At this point, the structure of the grid generating program definition file is as shown in Figure 27.

../_images/gridgendef_structure1.png

Figure 27 Grid generating program definition file structure

Now make sure the grid generating file definition file is arranged correctly.

Launch iRIC. The [iRIC Start Page] dialog (Figure 28) is shown, so click on [New Project]. Now the [Solver Select] dialog (Figure 29) will open, so select “Nays2DH” in the solver list, and click on [OK]. The new project will start.

Open the [Select Grid Creating Algorithm] dialog (Figure 30) by processing the following action.

Menu bar: [Grid] (G) -> [Select Algorithm to Create Grid] (S)

Check that the “Sample Grid Creator” is added in the list. When you finish checking, close the dialog by clicking on [Cancel].

../_images/iric_start_dialog1.png

Figure 28 The [iRIC Start Page] dialog

../_images/solver_select_dialog1.png

Figure 29 The [Select Solver] dialog

../_images/gridgen_select_dialog.png

Figure 30 The [Select Grid Creating Algorithm] dialog