tud_lbm.io.plotting.animator

Animation builder for field and analysis plotting.

Classes

Animator

Create frame-by-frame animations from saved snapshots.

Module Contents

class tud_lbm.io.plotting.animator.Animator(config: tud_lbm.config.SimulationConfig, run_dir: str | pathlib.Path, fps: int = 10, dpi: int = 150, fields: list[str] | None = None)[source]

Create frame-by-frame animations from saved snapshots.

fps = 10[source]
dpi = 150[source]
builder[source]
build_frames() list[pathlib.Path][source]

Build one composite frame per timestep file.

create(output_path: str | pathlib.Path | None = None) pathlib.Path[source]

Create an mp4/gif animation from generated frames.