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

Uploaded Python 3

File details

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

File metadata

  • Download URL: philote_examples-0.3.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.3.0.tar.gz
Algorithm Hash digest
SHA256 bf27e21d92858b39c111d206db2ef1af4200c98631288c80aaf80128693af7f8
MD5 8a6c0e3e4bfdca3e0a945c989ee95cb1
BLAKE2b-256 eab5345a122db99d2a2dc8f08690aebc9cb57845bf6dbf845d7d0da9cb139c70

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for philote_examples-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 73138d7407b70e7fedc31f50e0651b27de60469ceb09af27bc48571a8b0b9fc0
MD5 34529353fcb5e316253760c41d3e4dd3
BLAKE2b-256 df4797be697d124bf19c64e1540afc7f0617c3013c9a0f7756039a9a948af3fc

See more details on using hashes here.

Provenance

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