Architecture
flow_props follows a narrow pipeline:
cfd-ioreads a CFD datasetflow_props.profiles.extract_profilesslices wall-normal profiles at chosen stations- reduction modules compute derived quantities from those profiles
Module Layout
profiles.py: wall-normal profile extractionbl.py: boundary-layer edge detection and integral thicknessesentropy_layer.py: entropy-layer thicknesswall.py: wall shear and thermal quantitiesconfig.py: TOML section loading for the CLIcli.py: Typer-based command-line interface
Design Intent
The package is deliberately lightweight.
- it does not own CFD file I/O
- it assumes
cfd-iohas already constructed a dataset - it focuses on profile-based property extraction rather than general field operations
That separation keeps flow_props easy to reason about and consistent with the rest of the workspace.