bloc.cfd_pathlines.thermo_history#

Temperature time history plots for CFD pathline datasets.

Functions#

plot_temperature_histories(dataset[, ax, path_ids, ...])

Plot temperature vs. time for all (or selected) pathlines.

Module Contents#

bloc.cfd_pathlines.thermo_history.plot_temperature_histories(dataset, ax=None, path_ids=None, alpha_individual=0.6)#

Plot temperature vs. time for all (or selected) pathlines.

Each path is drawn in the same tab20 color used by chemistry replay plots so paths can be identified across figures.

Parameters:
  • dataset – Loaded pathline dataset.

  • ax – Existing axes to draw on. A new figure is created when None.

  • path_ids – Subset of path ids to plot. Defaults to all paths.

  • alpha_individual – Opacity for individual path lines.

Returns:

The matplotlib figure.

Return type:

plt.Figure