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:
Station locations can also be set in lst.cfg under [extract] stations or
with the complete x_s, x_e, and d_x range. By default, profiles are
interpolated at those exact x-coordinates. Use --snap-to-wall or set
snap_to_wall = true to use the nearest defined wall points instead.
Use --all-wall-points or set all_wall_points = true to extract one profile
at every unique x-point on the selected wall branch without defining stations.
This mode takes priority over explicit or range-based station coordinates.
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.
Check tracking runs from the directory containing the kc_* cases:
The first command summarizes cases and previews convergence issues with their station x-coordinate and frequency. The second lists every issue. Neither queries a scheduler or modifies the cases.
Postprocessing and Cleanup
After the tracking solves finish, process the results:
To combine the extracted maxima curves into separate surfaces for each
matched physical mode, run lst-tools process modes. This is a separate stage
from the tracking volume assembly; it reads the nfac_max_mode_* and
alpi_max_mode_* folders created by maxima extraction. It writes each matched
maximum surface and a maximum-over-beta envelope for that same physical mode.
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: