Examples for the AIAA MDO TC Standard Interface Working Group.
These are the instructions to get started with the Philote-Examples
1a) Install philote examples repository (without tests)
- pip install -e
1b) Install philote examples (with tests)
- pip install -e[dev]
To run all tests execute all the pytest tests
- Open a command prompt
- Change directory into
philote-examplesrepocd <path\to\philote-examples>
- Run pytest tests
pytest
NOTE: If running xfoil example test, you must download xfoil analysis and set XFOIL_PATH environment variable
The xfoil example showcases how Philote can connect to an aerospace-relevant external discipline using its python bindings and it's open-mdao-like problem formulation. Openmdao is used as the integration framework to perform the test with the philote server communicating the data to and from Xfoil as it performs its analysis.
To set up XFOIL Example you must perform the following steps
- Download xfoil software
- Set environment variable
XFOIL_PATH=<path/to/xfoil.exe>
The xfoil example can be executed by running the xfoil tests only (or all tests)
pytest test_naca_xfoil.py
pytest test_naca_gradients.py