ospgrillage.postprocessing.plot_force#

plot_force(ospgrillage_obj, result_obj=None, component=None, member: str | None = None, option: str = 'elements', loadcase: str | None = None)#

Plots a force diagram of the provided OspGrillage and xarray (result) objects for a specified component and LoadCase’s.

Note

For “shell_beam” model type, the function only plots the force diagrams for beam elements only.

Parameters:
  • ospgrillage_obj (OspGrillage) – Grillage model object

  • result_obj (xarray DataSet) – xarray DataSet of results

  • component (str) – Force component to plot

  • member (str) – member

  • option (str) –

  • loadcase (str) – name string of load case to plot. If not provided, plots from first load case in the order of xarray loadcase coordinate

Returns:

Matplotlib figure

Return type:

(Figure)