pycufsm.post.plotters

Functions

cross_sect(→ None)

plot cross-section

dispshap(→ None)

Cross section displacement function

thecurve3(→ None)

_summary_

simple_cross_sect(→ None)

Simple cross section plotter for debugging or quick previews. Assumes that nodes are all in order

Module Contents

pycufsm.post.plotters.cross_sect(nodes: numpy.ndarray, elements: numpy.ndarray, springs: numpy.ndarray, constraints: numpy.ndarray, flags: List[int]) None

plot cross-section

Args:

nodes (np.ndarray): [node# x z dofx dofz dofy dofrot stress] nnodes x 8; elements (np.ndarray): [elem# nodei nodej t mat#] nelems x 4; springs (np.ndarray): _description_ flags (List[int]): [node# element# mat# stress# stresspic coord constraints

springs origin propaxis] 1 means show

BWS October 2001 (last modified) December 2015 springs updated December 2015 origin updated to also show axes December 2015 added stress distribution into this plot instead of separate December 2015 added an additional flag for section property axes plots the cross-section

pycufsm.post.plotters.dispshap(undef: int, nodes: numpy.ndarray, elements: numpy.ndarray, mode: numpy.ndarray, scalem: float, springs: numpy.ndarray, m_a: numpy.ndarray, B_C: str, surf_pos: float) None

Cross section displacement function

Args:

undef (int): _description_ nodes (np.ndarray): _description_ elements (np.ndarray): _description_ mode (np.ndarray): _description_ scalem (float): _description_ springs (np.ndarray): _description_ B_C (str): _description_ surf_pos (float): _description_

pycufsm.post.plotters.thecurve3(curvecell: numpy.ndarray, clas: int, filedisplay: list, minopt: int, logopt: int, clasopt: int, xmin: float, xmax: float, ymin: float, ymax: float, modedisplay: list, fileindex: int, modeindex: int, picpoint: list) None

_summary_

Args:

curvecell (np.ndarray): _description_ clas (int): _description_ minopt (int): _description_ logopt (int): _description_ clasopt (int): _description_ xmax (float): _description_ ymin (float): _description_ ymax (float): _description_ modedisplay (list): _description_ fileindex (int): _description_

pycufsm.post.plotters.simple_cross_sect(nodes: numpy.ndarray) None

Simple cross section plotter for debugging or quick previews. Assumes that nodes are all in order and continuously connected.

Args:

nodes (np.ndarray): Array of nodes with columns [x z …]