Skip to content

Latest commit

 

History

History
85 lines (59 loc) · 3.47 KB

README.md

File metadata and controls

85 lines (59 loc) · 3.47 KB

CEASIOMpy - Test case 3

Create and run a workflow with the GUI

In this second test case, you will learn how to create a CEASIOMpy workflow with the help of the Graphical User Interface (GUI). To run this test case, you will need to open a terminal and run the following command:

# To be in the CEASIOMpy Conda environment with all the dependencies
conda activate ceasiompy

# To run the test case 3
ceasiompy_run --testcase 3

By running the above command, a new tab should appear in your default web browser, it should look like this:

CEASIOMpy GUI

From that page you can select a working directory, by using the arrows and the list to navigate in your folder. All your results will be saved in this directory.

Then, select a CPACS file by clicking on the Browse files button, you can choose the D150_simple.xml (it could be found in /CEASIOMpy/test_files/CPACSfiles/D150_simple.xml). CPACS is a file format which contain the aircraft geometry and many other information.

We can now use now the sidebar on the left to select the next tab, that is to say Workflow.

We will try to build the following workflow:

  graph LR;
      D150([D150 CPACS file])-->CPACSCreator;
      CPACSCreator-->CPACS2GMSH;
      CPACS2GMSH-->SU2Run;
      SU2Run-->SaveAeroCoefficients;
Loading

You can create this workflow by selecting the module in list and add them one by one, as demonstrate bellow.

Creation of a workflow with CEASIOMpy GUI

On the side bar you can now go to the Run workflow tab, for now we will skip the Settings tab. Once arrived on the page, you can just click on Run to execute the workflow.

Run workflow page

When the first module is executed, you should see a CPACSCreator window that pops up.

CPACSCreator Interface

With CPACSCreator, you can modify the geometry of the aircraft. We will not do that in this tutorial, but you can check the following links for more information:

In this case, you can just save the file and close the window. The next modules will run automatically. You should be able to see what is happening in the logfile section (just bellow the Run button) or in the the terminal window. It could take a few minutes depending on your computer because it will create a mesh with GMSH and run it with SU2.

When the calculation is over, you can click on the Results tab (on the sidebar). In the results part there are tabs corresponding to the different module used during the workflow, you can explore the results.

Creation of a workflow with CEASIOMpy GUI

All the results can also be found in the working directory you chose at the beginning of the testcase.

<< Previous test case | Home | Next test case >>