Plotter class
Parent class
Class doc
- class femedu.plotter.Plotter.Plotter
class: representing a Plotter object
- addForces(axs)
add nodal forces to the plot shown in axs
- Parameters:
axs – axis on which to plot
- displacementPlot(file=None, **kwargs)
Create a deformed system plot
If file is given, store the plot to that file. Use proper file extensions to indicate the desired format (.png, .pdf)
- Parameters:
file – filename (str)
- setDisplacements(disp)
- Parameters:
disp
- setMesh(vert, lines)
- Parameters:
vert
lines
- setReactions(R)
- Parameters:
R – list or tuple of nodal force vectors
- setValues(vals)
- Parameters:
vals
- valuePlot(deformed=False, file=None, **kwargs)
Create a plot using colors to identify magnitude of internal force.
known variable_name keyword
description
‘ux’, ‘uy’, ‘uz’
displacement component in the x, y or z direction
‘rx’, ‘ry’, ‘rz’
rotation around the x, y or z axis
‘sxx’, ‘syy’, ‘szz’
normal stress
, ,‘sxy’, ‘syz’, ‘szx’
shear stress
, ,‘epsxx’, ‘epsyy’, ‘epszz’
normal strain
, ,‘epsxy’, ‘epsyz’, ‘epszx’
engineering shear strain
, ,‘T’
temperature
‘qx’, ‘qy’, ‘qz’
x, y or z component of the temperature gradient,
If file is given, store the plot to that file. Use proper file extensions to indicate the desired format (.png, .pdf)
- Parameters:
deformed – True | False
file – filename (str)