Tools for analysis of CFD cases
Project description
cfdmod
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aerosim_cfdmod-1.2.0.tar.gz.
File metadata
- Download URL: aerosim_cfdmod-1.2.0.tar.gz
- Upload date:
- Size: 90.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"40","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1bebac228f67af626cb892c8cc420432b3a0b72dcc7ade798d72b3c255fec1ac
|
|
| MD5 |
f3830ee9c1562d320a6d217dd1be6b09
|
|
| BLAKE2b-256 |
93597ada9ebf3b2a141f1e23097266eab2f88cb3532be67980a53f2e089da67f
|
File details
Details for the file aerosim_cfdmod-1.2.0-py3-none-any.whl.
File metadata
- Download URL: aerosim_cfdmod-1.2.0-py3-none-any.whl
- Upload date:
- Size: 130.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"40","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b00910be9dd4f03f180764180bf9c17f9f678a4fd02c6b9ea831d2f6b993230a
|
|
| MD5 |
50b7c341363d7edadde18e9622760412
|
|
| BLAKE2b-256 |
5ab5f8d2490840922c890575f6bbc72e0278c8b7c21b984adccb57ca9ea0f4b7
|