Command Line Interfaces

Buffalo Panel currently provides one command-line entry point, panel2d_cli.

The CLI now supports both structured case execution and solved-artifact inspection.

Run A Case

Use the run subcommand to solve one structured case file and save one solved artifact.

panel2d_cli run examples/naca0012_designation.yaml

By default the artifact is written next to the input case using the .solution.yaml suffix.

Use --output to choose an explicit artifact path.

panel2d_cli run examples/naca0012_designation.yaml --output /tmp/naca0012.solution.yaml

The command prints a short summary that includes the saved artifact path, geometry description, panel count, and integrated coefficients.

If the case file requests post.surface quantities, the run also writes one CSV file beside the artifact using the artifact stem and the .surface.csv suffix.

For example, naca0012.solution.yaml produces naca0012.solution.surface.csv.

The CSV starts with comment-style integrated-quantity metadata lines and then writes one table with:

  • body_id

  • surface_side

  • x

  • s_from_le

  • the requested surface quantity columns, with velocity expanding to tangent_velocity and normal_velocity

Surface rows are written at collocation points.

Inspect An Artifact

Use the inspect subcommand to review solved-artifact metadata without opening the GUI.

panel2d_cli inspect /tmp/naca0012.solution.yaml

This prints the artifact version, case name, formulation, backend, units, geometry name, family count, and unknown count.

Use --include-results to reconstruct the runtime post-processing solution and print the integrated coefficients as well.

panel2d_cli inspect /tmp/naca0012.solution.yaml --include-results

Workflow

The intended command-line workflow is:

  1. create or edit one structured case file,

  2. run the case to a solved artifact,

  3. inspect the artifact in the CLI or load it in the GUI for post-processing.

The solved artifact is the handoff between simulation and post-processing. The optional surface CSV is a derived export for scripting and lightweight external analysis.