|
| 1 | +--- |
| 2 | +title: Initialization |
| 3 | + |
| 4 | +permalink: /su2gui/Initialization/ |
| 5 | +--- |
| 6 | + |
| 7 | +SU2GUI supports three methods for initializing a problem, which are available under the Initialization section of the menu: |
| 8 | + |
| 9 | +- [**Uniform Initialization**](#uniform-initialization) |
| 10 | +- [**Initialization using Restart File**](#initialization-using-restart-file) |
| 11 | +- [**Patch Initialization**](#patch-initialization) |
| 12 | + |
| 13 | +### Opening the Initialization Options |
| 14 | + |
| 15 | +1. Start a new case and load the mesh file. Follow these guides for detailed steps on [starting a new case](./Manage-Cases/#starting-a-new-case) and [loading a mesh file](./mesh). |
| 16 | + |
| 17 | +2. Navigate to the Initialization section from the left menu: |
| 18 | +  |
| 19 | + |
| 20 | +Follow the steps below according to the type of initialization needed. |
| 21 | + |
| 22 | +--- |
| 23 | + |
| 24 | +## Uniform Initialization |
| 25 | + |
| 26 | +As the name suggests, this method sets all points to a constant value, and a solution file is created for SU2. |
| 27 | + |
| 28 | +**Steps for Uniform Initialization** |
| 29 | + |
| 30 | +1. After opening the Initialization options, select **Uniform Initialization** from the drop-down menu. |
| 31 | + |
| 32 | +2. Enter the required properties. The properties will vary depending on the selected Solver and Configurations. |
| 33 | + |
| 34 | +3. Press the **Initialize** button. The problem will be initialized, and the visualization window will update accordingly. |
| 35 | + |
| 36 | +--- |
| 37 | + |
| 38 | +## Initialization using Restart File |
| 39 | + |
| 40 | +This method uses a Restart File to initialize the problem. SU2GUI supports both `.dat` and `.csv` formats for restart files. |
| 41 | + |
| 42 | +**Steps for Restart Initialization** |
| 43 | + |
| 44 | +1. After opening the Initialization options, select **Restart File Initialization** from the drop-down menu. |
| 45 | + |
| 46 | +2. Click on the **Load Restart File** option.  |
| 47 | + |
| 48 | +3. In the pop-up window, choose the desired restart file.  |
| 49 | + |
| 50 | +4. The Restart file will be loaded, and the visualization window will update accordingly.  |
| 51 | + |
| 52 | +For instructions on loading a restart file through the terminal, refer to the guide on [ Terminal Initialization](./../terminal-initialization). |
| 53 | + |
| 54 | +--- |
| 55 | + |
| 56 | +## Patch Initialization |
| 57 | + |
| 58 | +SU2GUI currently supports three types of patch initialization: Plane, Sphere, and Box. In this method, a patch is created in the visualization window according to the inputs, and a solution file is generated for SU2. |
| 59 | + |
| 60 | +**Steps for Patch Initialization** |
| 61 | + |
| 62 | +1. After opening the Initialization options, select **Patch Initialization** from the drop-down menu. |
| 63 | + |
| 64 | +2. Select type of Patch and enter the required properties for both zones. The properties will change according to the selected Solver and Configurations. |
| 65 | + |
| 66 | +3. Press the **Initialize** button. The problem will be initialized, and the visualization window will update accordingly.  |
0 commit comments