Defining Boundary Conditions ----------------------------- Define boundary conditions. You can define boundary conditions with \"BoundaryCondition\" element. Boundary conditions are not required. Add definition of \"Boundary Condition\" to the solver definition file you created, as shown in :numref:`solverdef_example_with_boundarycond`. The added part is shown with highlight. .. code-block:: xml :caption: Example of solver definition file that now has boundary condition (abbr.) :name: solverdef_example_with_boundarycond :linenos: :emphasize-lines: 4-21 (abbr.) | Now make sure that solver definition file is arranged correctly. Launch iRIC, and start a new project with solver \"Sample Solver\". When you create or import a grid, the [Pre-processing Window] will become like :numref:`preprocessor_with_boundarycondition`. When you do now know how to create or imprt a grid, refer to the User Manual. .. _preprocessor_with_boundarycondition: .. figure:: images/preprocessor_with_boundarycondition.png :width: 370pt The [Pre-processing Window] after creating a grid Click on [Add new Inflow] on the context menu on [Boundary Condition] node, and The [Boundary Condition] dialog (:numref:`boundarycondition_edit_dialog`) will open, and you can define boundary condition on this dialog. .. _boundarycondition_edit_dialog: .. figure:: images/boundarycondition_edit_dialog.png :width: 180pt The [Boundary Condition] dialog When you have finished defining boundary condition, click on [OK]. Drag around the grid nodes to select nodes, and click on [Assign Condition] in the context menu. :numref:`preprocessor_after_setting_bc` shows an example of a grid with boundary condition. .. _preprocessor_after_setting_bc: .. figure:: images/preprocessor_after_setting_bc.png :width: 420pt Example of a grid with boundary condition What it comes down to is: - Boundary condition is defined Grid attribute is defined with \"Item\" element under \"GridRelatedCondition\" element. - The structure under \"Item\" element is the same to that for calculation condition.