Skip to main content

Example Philote disciplines for MDO applications

Project description

philote-examples

CI

Examples for the AIAA MDO TC Standard Interface Working Group.

Installation Instructions

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]

Tests

To run all tests execute all the pytest tests

  • Open a command prompt
  • Change directory into philote-examples repo
    • cd <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

XFOIL Example

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

  1. Download xfoil software
  2. Set environment variable XFOIL_PATH=<path/to/xfoil.exe>

Run XFOIL tests

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

philote_examples-0.5.0.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

philote_examples-0.5.0-py3-none-any.whl (26.6 kB view details)

Uploaded Python 3

File details

Details for the file philote_examples-0.5.0.tar.gz.

File metadata

  • Download URL: philote_examples-0.5.0.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for philote_examples-0.5.0.tar.gz
Algorithm Hash digest
SHA256 38c8a5767688f06b800753c713b16897802660a94e1ec02312a2077794fcdd80
MD5 efccae76d773638f7d5592c302744dca
BLAKE2b-256 1d377f0939bdd862dfba403913e2171b4cf5493c17c02cf8a0e3f91bba28f959

See more details on using hashes here.

Provenance

The following attestation bundles were made for philote_examples-0.5.0.tar.gz:

Publisher: publish-pypi.yaml on MDO-Standards/philote-examples

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file philote_examples-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for philote_examples-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 769e1478a69b97e00b7b23cca9f6fa9146063ae24e3274e907c396f7b9385670
MD5 83393bddce954d7ecc8b509411ddefa6
BLAKE2b-256 dae80229a5ee269a2004d0054821239dc2a47d41f8f47da6a647a9f19f89d035

See more details on using hashes here.

Provenance

The following attestation bundles were made for philote_examples-0.5.0-py3-none-any.whl:

Publisher: publish-pypi.yaml on MDO-Standards/philote-examples

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page