postprocess

compas_fea2.utilities.postprocess(nodes, elements, ux, uy, uz, data, dtype, scale, cbar, ctype, iptype, nodal)[source]

Post-process data from analysis results for given step and field.

Parameters:
  • nodes (list) – [[x, y, z], ..] co-ordinates of each node.

  • elements (list) – Node numbers that each element connects.

  • ux (list) – List of nodal x displacements.

  • uy (list) – List of nodal y displacements.

  • uz (list) – List of nodal z displacements.

  • data (dic) – Unprocessed data.

  • dtype (str) – ‘nodal’ or ‘element’.

  • scale (float) – Scale displacements for the deformed plot.

  • cbar (list) – Minimum and maximum limits on the colorbar.

  • ctype (int) – RGB color type, 1 or 255.

  • iptype (str) – ‘mean’, ‘max’ or ‘min’ of an element’s integration point data.

  • nodal (str) – ‘mean’, ‘max’ or ‘min’ for nodal values.

Returns:

  • float – Time taken to process data.

  • list – Scaled deformed nodal co-ordinates.

  • list – Nodal colors.

  • float – Absolute maximum nodal data value.

  • list – Normalised data values.

  • list – Element colors.

  • float – Absolute maximum element data value.