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.4.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.4.0-py3-none-any.whl (26.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: philote_examples-0.4.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.4.0.tar.gz
Algorithm Hash digest
SHA256 17ccd6a5b3fa843db92b08571fa8e25bfa70b1a40c43f278b04db0ae845e3bed
MD5 508c100d99051a6d813270ce9111404c
BLAKE2b-256 0c7e25c163bf4886fecbba6bdfde1cca6cf48e1c1a63ee8293220e65e65be4b7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for philote_examples-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dcad9ea8b13885f7b3f5966a4f327c81b00e30cd3b2c8c11a3d1d7a6f731bf24
MD5 981bea410728b1c5bec107bb9ec2de64
BLAKE2b-256 11a536beecbe1d7e14490323886b13262bb2626859c11acdd083262a31efc76f

See more details on using hashes here.

Provenance

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