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.4.tar.gz (54.3 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.4-py3-none-any.whl (85.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for aerosim_cfdmod-1.1.4.tar.gz
Algorithm Hash digest
SHA256 e572be5203d39fea84ff7b17e0cb21d2960a896e53a3d8bcf35da895f2d84953
MD5 7d14e3024684f32ae272fc1a4b7795fe
BLAKE2b-256 4644d03b8602cb31a16981b4a36a53a6d1fadddae32e495b4d154c8f431caff4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aerosim_cfdmod-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8aa9c4b8d30ecebb125e82771033ac590272eb967b7034bb9611d1fc912c6c6c
MD5 7a17102f1e4a3ac20049da8b6be9777e
BLAKE2b-256 49595fd0c165c0181141689cee6401b80c5d0796c2d597ee59c53fc0de9dd071

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