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.2.0.tar.gz (17.5 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.2.0-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: philote_examples-0.2.0.tar.gz
  • Upload date:
  • Size: 17.5 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.2.0.tar.gz
Algorithm Hash digest
SHA256 dba635593df4dce60fdb2620884020b9837fad1de79e8b7c0669f06538eccf5d
MD5 4e0d8dd9c92826005346de70783a2af4
BLAKE2b-256 bf28100e698a55edf66bb22ed795a50293c72bf0231d17210d5571187fdc1d9b

See more details on using hashes here.

Provenance

The following attestation bundles were made for philote_examples-0.2.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.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for philote_examples-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 df69f4a6f56128c12b5e50eb3931b5bd162ada21d8b1aea47add0d25313dbac5
MD5 14ca929c4dc1ac3804f237ac9cae342c
BLAKE2b-256 e2faa4ff7178d89b383c6b81a1fe9fbd1df60e87ae2d49cea37308c51f434b59

See more details on using hashes here.

Provenance

The following attestation bundles were made for philote_examples-0.2.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