Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.69 KB

README.md

File metadata and controls

33 lines (22 loc) · 1.69 KB

CEASIOMpy - Test case 4

Run a workflow from a command line

It is possible to run a workflow with a simple command line in which you have to describe the CPACS file and the module to run. This is a very fast way to run a workflow but the CPACS file must contain all the parameters required to run the workflow as you will not have the settings modification interface. It is generally recommended to use the CLI to run (or rerun) a workflow that you know already works for a certain CPACS file. Note that if you know what you want to change, you can change the values manually directly in the CPACS file.

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

# Go to the Working Directory
cd WKDIR

# To run the test case 4
ceasiompy_run -m ../test_files/CPACSfiles/D150_simple.xml PyTornado SkinFriction SaveAeroCoefficients

The following workflow will be executed:

  graph LR;
      D150([D150 CPACS file])-->PyTornado;
      PyTornado-->SkinFriction;
      SkinFriction-->SaveAeroCoefficients:
Loading

When it is over, you can check in the directory WKDIR/Workflow_0**/Results/AeroCoefficients (the Workflow number is incremented at every run), you should see a figure named D150-Alt0.0-Mach0.3.png which contains some plots of the aerodynamic coefficients. You can also check results from all modules in WKDIR/Workflow_0**/Results.

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