Observed since 20 Oct, 20:48 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Tools for analysis of CFD cases
Post-processing and geometry-preparation tools for CFD wind-tunnel
simulations: pressure (Cp), force (Cf), moment (Cm) and shape (Ce)
coefficients; terrain loft and roughness elements; inflow analysis;
climate / Weibull / Gumbel statistics; ParaView snapshot automation.
v3 reorganizes post-processing around a single data structure -- the
DataSource (elements on one axis, timesteps on the other, named fields
plus metadata) -- and composable ops driven by YAML pipeline
templates. Every flow (Cp / Cf / Cm / Ce, S1, ...) is now a template run
with cfdmod run <template.yaml>; the legacy per-coefficient functions
(run_cp / run_cf / ...) and their *CaseConfig models are gone. See
docs/source/architecture/v3_migration.md for the mapping and
docs/source/architecture/data_sources.md for the paradigm.
Base install (Cp / Cf / Cm / Ce pipeline, IO helpers, CLI):
pip install aerosim-cfdmod
Optional extras:
| Extras | When you need it |
|---|---|
[vtk] | ParaView snapshot automation, VTK polydata writers, S1 probe-on-line |
[geometry] | Altimetry section + loft helpers (trimesh) |
[notebook] | jupyter / ipykernel for the worked-example notebook |
[docs] | sphinx + shibuya theme + nbsphinx for make html |
[legacy] | pandas-HDFStore compat readers (inflow, HFPI static) |
Install several at once with pip install "aerosim-cfdmod[vtk,geometry,notebook]".
pymeshlab is intentionally not an extra (its GPL license would
force GPL on downstream code). Code paths that genuinely need it
expect the user to install it explicitly at their own license risk.
A pipeline is a YAML template: inputs (data sources on disk), a
pipeline of ops, and outputs. Run it with the CLI:
cfdmod run path/to/cp.yaml
A minimal Cp template -- subtract a static-pressure probe, divide by the dynamic pressure, reduce to per-triangle statistics:
name: cp
inputs:
body: # surface pressure per triangle per timestep
kind: surface
path: bodies.my_case # -> bodies.my_case.h5 (+ .xdmf)
p_ref: # static reference probe. Must be named points.*
kind: points
path: points.static_pressure
pipeline:
- id: cp_unscaled # p - p_ref (column-wise broadcast)
kind: sub
source: body
rhs: p_ref
field: pressure
out: cp
- id: cp_t # / dynamic pressure q (scale = 1/q)
kind: scale
source: cp_unscaled
field: cp
factor: 800.0
- id: cp_stats # collapse the time axis
kind: statistics
source: cp_t
field: cp
kinds: [mean, rms, min, max]
outputs:
cp_timeseries: {source: cp_t, path: out/cp.time_series}
cp_stats: {source: cp_stats, path: out/cp.stats}
Or drive it from Python over any storage backend -- the same recipe code runs against an in-memory store (great for notebooks / tests, no files needed) or the on-disk XDMF+H5 store:
from cfdmod import load_template, run_template, XdmfH5Storage
template = load_template("cp.yaml")
bindings = run_template(template, storage=XdmfH5Storage(root="."))
cp_t = bindings["cp_t"] # a SurfaceDataSource; cp_t.fields.read("cp")
load_template validates the whole template up front (unknown op kinds,
dangling source/rhs refs, duplicate ids, typo'd fields) before any
file is read.
Filename convention: the XDMF+H5 storage infers a source's kind from its filename -- a probe must be named
points.*to load as a points source; everything else loads as a surface. Thekind:you declare in the template is checked against the loaded kind.
Cf / Cm / Ce build on a Cp time series by attaching the mesh
(mesh_attach), grouping triangles (body_grouping / zoning_grouping),
and aggregating (force_contribution / moment_contribution +
field_series_for_groups). Complete, runnable templates for all four ship
under fixtures/tests/pressure/templates/.
notebooks/tutorials/): 01_data_sources -> 02_recipes
-> 03_pipelines -> 04_containers, building from the data structure to
full pipelines. All run on synthetic data with no fixtures.docs/source/use_cases/pressure/coefficients/):
calculate_{cp,Cf,Cm,Ce}.ipynb run the shipped templates against the
bundled galpao wind-tunnel fixture.examples/container_pack/process_container_pack.ipynb): a Cp/Cf/Cm/Ce
pipeline over a multi-container body.examples/high_rise/): staged wind-load
post-processing (inflow -> Cp -> per-floor Cf/Cm -> dynamic -> facade -> structure).fixtures/tests/pressure/templates/{cp,cf,cm,ce}.yaml.Signal smoothing is just another op -- insert a moving_average step and
downstream ops consume the smoothed field. The window is in the source's
time units; no implicit unit conversion.
- id: cp_smoothed
kind: moving_average
source: cp_t
field: cp
window: 3.0
out: cp
cfdmod run <template.yaml> # run a v3 pipeline template
cfdmod loft ... # terrain loft surfaces
cfdmod roughness ... # roughness elements (linear / radial)
cfdmod regroup ... # split/reorder mesh triangles via a grouping chain
cfdmod altimetry ... # altimetry section profiles
python -m cfdmod <command> works identically. cfdmod run prints a
one-line error (not a traceback) on a bad template and exits non-zero.
The suite is grouped by pytest markers:
uv run pytest # full default suite (excludes -m perf)
uv run pytest -m unit # pure-function tests
uv run pytest -m integration # end-to-end pipeline tests
uv run pytest -m perf # opt-in synthetic big-data benchmarks
uv run pytest tests/core tests/adapters # the v3 data-source / storage layer
The perf run writes a markdown + JSON report (Python heap peak +
RSS per scale) to output/perf/perf_report.{md,json} so regressions
across releases are tracked over time.
uv run tox
pip install -U memory-profiler
mprof run -C -M python path_to_script.py
mprof plot
Generate JSON Schema for every config model:
uv run python -m scripts.generate_schemas
In VSCode, point yaml.schemas at the generated file:
"yaml.schemas": {
"file:///path/to/cfdmod/output/schema-cfdmod.json": "**/cfdmod/**/*.yaml"
}
pypistats · 90 observations shown. Missing days are unknown. Source category: overall: without mirrors.
| Date / source period | Value | Observed at |
|---|---|---|
| 2026-10-20 – 2026-10-20 | 11 | 2026-10-21T15:21:37.0862370Z |
| 2026-10-19 – 2026-10-19 | 10 | 2026-10-21T15:21:37.0862370Z |
| 2026-10-18 – 2026-10-18 | 12 | 2026-10-21T15:21:37.0862370Z |
| 2026-10-17 – 2026-10-17 | 8 | 2026-10-21T15:21:37.0862370Z |
| 2026-10-16 – 2026-10-16 | 28 | 2026-10-21T15:21:37.0862370Z |
| 2026-10-15 – 2026-10-15 | 15 | 2026-10-21T15:21:37.0862370Z |
| 2026-10-14 – 2026-10-14 | 14 | 2026-10-21T15:21:37.0862370Z |
| 2026-10-13 – 2026-10-13 | 16 | 2026-10-21T15:21:37.0862370Z |
| 2026-10-12 – 2026-10-12 | 36 | 2026-10-21T15:21:37.0862370Z |
| 2026-10-11 – 2026-10-11 | 13 | 2026-10-21T15:21:37.0862370Z |
| 2026-10-10 – 2026-10-10 | 3 | 2026-10-21T15:21:37.0862370Z |
| 2026-10-09 – 2026-10-09 | 8 | 2026-10-21T15:21:37.0862370Z |
| 2026-10-08 – 2026-10-08 | 28 | 2026-10-21T15:21:37.0862370Z |
| 2026-10-07 – 2026-10-07 | 8 | 2026-10-21T15:21:37.0862370Z |
| 2026-10-06 – 2026-10-06 | 9 | 2026-10-21T15:21:37.0862370Z |
| 2026-10-05 – 2026-10-05 | 17 | 2026-10-21T15:21:37.0862370Z |
| 2026-10-04 – 2026-10-04 | 8 | 2026-10-21T15:21:37.0862370Z |
| 2026-10-03 – 2026-10-03 | 1 | 2026-10-21T15:21:37.0862370Z |
| 2026-10-02 – 2026-10-02 | 18 | 2026-10-21T15:21:37.0862370Z |
| 2026-10-01 – 2026-10-01 | 25 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-30 – 2026-09-30 | 26 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-29 – 2026-09-29 | 17 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-28 – 2026-09-28 | 24 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-27 – 2026-09-27 | 14 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-26 – 2026-09-26 | 7 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-25 – 2026-09-25 | 35 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-24 – 2026-09-24 | 41 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-23 – 2026-09-23 | 16 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-22 – 2026-09-22 | 25 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-21 – 2026-09-21 | 9 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-20 – 2026-09-20 | 4 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-19 – 2026-09-19 | 31 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-18 – 2026-09-18 | 8 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-17 – 2026-09-17 | 18 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-16 – 2026-09-16 | 42 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-15 – 2026-09-15 | 12 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-14 – 2026-09-14 | 27 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-13 – 2026-09-13 | 31 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-12 – 2026-09-12 | 82 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-11 – 2026-09-11 | 9 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-10 – 2026-09-10 | 11 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-09 – 2026-09-09 | 10 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-08 – 2026-09-08 | 13 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-07 – 2026-09-07 | 24 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-06 – 2026-09-06 | 9 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-05 – 2026-09-05 | 26 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-04 – 2026-09-04 | 116 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-03 – 2026-09-03 | 4 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-02 – 2026-09-02 | 1 | 2026-10-21T15:21:37.0862370Z |
| 2026-09-01 – 2026-09-01 | 14 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-31 – 2026-08-31 | 7 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-30 – 2026-08-30 | 1 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-29 – 2026-08-29 | 5 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-28 – 2026-08-28 | 4 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-27 – 2026-08-27 | 3 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-26 – 2026-08-26 | 5 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-25 – 2026-08-25 | 2 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-24 – 2026-08-24 | 12 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-23 – 2026-08-23 | 13 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-22 – 2026-08-22 | 2 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-21 – 2026-08-21 | 2 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-20 – 2026-08-20 | 4 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-19 – 2026-08-19 | 1 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-18 – 2026-08-18 | 3 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-17 – 2026-08-17 | 5 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-16 – 2026-08-16 | 1 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-15 – 2026-08-15 | 5 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-14 – 2026-08-14 | 5 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-13 – 2026-08-13 | 3 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-12 – 2026-08-12 | 1 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-11 – 2026-08-11 | 9 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-10 – 2026-08-10 | 12 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-09 – 2026-08-09 | 10 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-08 – 2026-08-08 | 8 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-07 – 2026-08-07 | 7 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-06 – 2026-08-06 | 25 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-05 – 2026-08-05 | 12 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-04 – 2026-08-04 | 24 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-03 – 2026-08-03 | 29 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-02 – 2026-08-02 | 13 | 2026-10-21T15:21:37.0862370Z |
| 2026-08-01 – 2026-08-01 | 12 | 2026-10-21T15:21:37.0862370Z |
| 2026-07-31 – 2026-07-31 | 17 | 2026-10-21T15:21:37.0862370Z |
| 2026-07-30 – 2026-07-30 | 15 | 2026-10-21T15:21:37.0862370Z |
| 2026-07-29 – 2026-07-29 | 25 | 2026-10-21T15:21:37.0862370Z |
| 2026-07-28 – 2026-07-28 | 334 | 2026-10-21T15:21:37.0862370Z |
| 2026-07-27 – 2026-07-27 | 8 | 2026-10-21T15:21:37.0862370Z |
| 2026-07-26 – 2026-07-26 | 6 | 2026-10-21T15:21:37.0862370Z |
| 2026-07-25 – 2026-07-25 | 3 | 2026-10-21T15:21:37.0862370Z |
| 2026-07-24 – 2026-07-24 | 19 | 2026-10-21T15:21:37.0862370Z |
| 2026-07-23 – 2026-07-23 | 106 | 2026-10-21T15:21:37.0862370Z |
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 3.9.0 | 12 Sept 2026 | 26 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 20:48 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:2aa89c22d1b275ce32520f54c9bb0251d4b9fcb39998d54ddb405658d7b70f87