CLI Usage
This page shows the practical command-line workflow. Use Workflow for the phase layout and CLI Reference for full command lookup.
The CLI is self-discoverable:
Initialization and Meanflow Preparation
Create the starting config file:
Add --flow flow_conditions.dat when flow conditions are already available.
Add --merge to preserve existing values when refreshing an lst.cfg scaffold.
Prepare meanflow.bin for lst.x:
lst-tools --debug lastrac writes conversion diagnostics and a Tecplot debug
snapshot to ./debug/.
Inspect meanflow.bin when needed:
Add --profiles-out profiles.dat to write all station profiles as Tecplot ASCII.
Extract Wall-Normal Profiles
When the baseflow data is a CFD mesh file (Tecplot FE-quad format), extract
wall-normal profiles before running lst.x:
At least one station is required. Station locations can also be set in
lst.cfg under [extract] stations or with the complete x_s, x_e, and
d_x range.
Set [extract] eta_max, eta_distribution, eta_stretch, and
eta_wall_spacing to control the wall-normal sampling grid. The default is a
tanh distribution with a stretching factor of 2.0. Set
eta_distribution = "geometric" and provide eta_wall_spacing to prescribe
the first off-wall interval. Freestream metadata is written directly from
[flow_conditions] into the HDF5 output.
Setup Runs
Prepare the broad sweep input deck:
--auto-fill fills sweep bounds or index ranges when they are unset in
lst.cfg.
Prepare tracking cases from the parsing solution:
Prepare spectra cases when the fixed-station spectra branch is needed:
lst-tools prepares input decks and scripts; run lst.x separately.
When an HPC scheduler is configured, the setup phase also writes scheduler
scripts for generated decks and case directories. lst-tools hpc regenerates
the run script for the current directory when needed.
Postprocessing and Cleanup
After the tracking solves finish, process the results:
Repeat --dir to process selected kc_* directories only.
Render parsing preview PNGs after parsing when needed:
visualize renders quick contour PNGs on the remote machine. --out writes
the PNGs to a specific directory.
Post-process spectra output when needed:
Clean generated artifacts when they are no longer needed: