ElementResults#

class planestress.post.results.ElementResults(el_idx: int, node_idxs: list[int], sigs: ndarray[Any, dtype[float64]])[source]#

Bases: object

Class for storing the results of a finite element.

Variables:

sigs_vm – von Mises stresses for each node in the element.

Methods

__init__(el_idx: int, node_idxs: list[int], sigs: ndarray[Any, dtype[float64]]) None[source]#

Inits the ElementResults class.

Parameters:
  • el_idx (int) – Element index.

  • node_idxs (list[int]) – List of node indexes defining the element, e.g. [idx1, idx2, idx3].

  • sigs (ndarray[Any, dtype[float64]]) – Raw nodal stresses, e.g. [[sigxx_1, sigyy_1, sigxy_1], ..., [sigxx_3, sigyy_3, sigxy_3]].