Skip to main content

Tools for analysis of CFD cases

Project description

cfdmod

Testing Pipeline Docs Deploy Linting Workflow Release artifacts

Package to provide analysis and processing tools for CFD cases

Tests

This codebase uses Pytest framework and it features tests for loft, cp, s1profile, config_models and altimetry modules. To run the tests via CLI:

uv run pytest <path/to/tests>

The tests can also be automated to run in different environments, and include dist build commands using tox:

uv run tox

Memory usage profiling

In order to check memory usage, memory-profiler library is used. First, install memory-profiler:

pip install -U memory-profiler

Then, run:

mprof run -C -M python path_to_script.py
mprof plot

That will plot the latest profiling data.

Generating schemas

Schema files serve as a guide to fill config files. To generate a schema file for every config model, use the following command:

uv run python -m scripts.generate_schemas

In order to setup the schema in VSCode, edit settings.json, or the workspace file, to include:

"yaml.schemas": {
    "file:///path/to/cfdmod/output/schema-cfdmod.json": "**/cfdmod/**/\*.yaml"
}

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

aerosim_cfdmod-1.1.3.tar.gz (54.5 kB view details)

Uploaded Source

Built Distribution

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

aerosim_cfdmod-1.1.3-py3-none-any.whl (85.2 kB view details)

Uploaded Python 3

File details

Details for the file aerosim_cfdmod-1.1.3.tar.gz.

File metadata

  • Download URL: aerosim_cfdmod-1.1.3.tar.gz
  • Upload date:
  • Size: 54.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.29

File hashes

Hashes for aerosim_cfdmod-1.1.3.tar.gz
Algorithm Hash digest
SHA256 b17b26d064c97c1cd000db7cb532e13fcbaf7ff9179390c6bd772b5a338c46bd
MD5 e72ecf4207bef0ca585d0da95b67c250
BLAKE2b-256 405bd7f6be206b58ae61a055d891446afb10959219f85be89332a1d248aaea37

See more details on using hashes here.

File details

Details for the file aerosim_cfdmod-1.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for aerosim_cfdmod-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 00d39a4e62fcc9eab361db654e309e7ac36bb1bca0fe79201967cb33092fae5c
MD5 f84dce1aee34a2a0e6234e4f16cadd57
BLAKE2b-256 711ade4d68127c644ab0d39792035e8b3dd6f61d48bcc176fe6053bf1208be05

See more details on using hashes here.

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