Skip to content

pyfs-fsi

Generated from the argument parser at build time, so this page and pyfs-fsi --help cannot disagree. The entry point is pyflightstream.fsi.cli:main.

pyfs-fsi

FSI coupling executable for the FlightStream Aeroelastic Toolbox. Called with no arguments it executes one coupling step in the current directory (coupled with config.json, dummy only when configured).

usage: pyfs-fsi [-h] [--warning-off] {init-dummy,step,external,beam}...
Argument Value Default What it does
-h, --help show this help message and exit
--warning-off hide console warnings while keeping every recorded warning in its log

Subcommands:

  • pyfs-fsi init-dummy: write the dummy configuration into a run directory
  • pyfs-fsi step: execute one coupling step explicitly
  • pyfs-fsi external: run one coupling call of an external structural program: run it, archive and validate the call
  • pyfs-fsi beam: cut a blade's sections from its mesh into <geometry>.<family>.beam.toml

pyfs-fsi init-dummy

usage: pyfs-fsi init-dummy [-h] --node-count NODE_COUNT [--out DIR | --dir LEGACY_DIR]
Argument Value Default What it does
-h, --help show this help message and exit
--node-count NODE_COUNT
--out DIR the current directory
--dir LEGACY_DIR deprecated alias of --out

pyfs-fsi step

usage: pyfs-fsi step [-h] [--out DIR | --dir LEGACY_DIR]
Argument Value Default What it does
-h, --help show this help message and exit
--out DIR the current directory
--dir LEGACY_DIR deprecated alias of --out

pyfs-fsi external

usage: pyfs-fsi external [-h] [--out DIR]
Argument Value Default What it does
-h, --help show this help message and exit
--out DIR the current directory the coupling run directory

pyfs-fsi beam

Writes <geometry>.<family>.beam.toml beside the mesh for each family: the family's sections cut at --stations radii evenly spaced from its first closed cut at the root to its last at the tip, the file an FSI input with [sections] source = "mesh" reads, cut about the origin of the mesh. A file of the same mesh sha256, station count and hub is kept as it is; another is kept as.bak and cut again (docs/fsi-workspace.md).

usage: pyfs-fsi beam [-h] --families FAMILY [FAMILY...] --stations N [--visual-inspection] [--verbose | --log-level {quiet,normal,verbose}] GEOMETRY
Argument Value Default What it does
-h, --help show this help message and exit
<GEOMETRY> the OBJ or saved simulation (.fsm)
--families FAMILY the blades to cut, by their names in the mesh Required.
--stations N how many radii to cut Required.
--visual-inspection, --visual-inspect also draw <geometry>.<family>.beam.pdf: the sections on the blade and each contour
--verbose print every value taken from the settings files and more detail
--log-level one of quiet, normal, verbose how much the console says: quiet (the errors, the final summary line and the signature), normal (the default) or verbose (as --verbose); logs/activity.log keeps the full detail at every level. Default: [log] console of pyfs.local.toml or pyfs.toml, else normal