anastruct.fem.plotter

Submodules

Classes

PlottingValues

Package Contents

class anastruct.fem.plotter.PlottingValues(system: anastruct.fem.system.SystemElements, mesh: int)[source]
system: anastruct.fem.system.SystemElements
mesh: int
_max_val_structure: float | None = None
property max_val_structure: float

Maximum value of the structures dimensions.

Returns:

float: Maximum value of the structures dimensions.

displacements(factor: float | None, linear: bool) Tuple[numpy.ndarray, numpy.ndarray][source]

Determines the plotting values for displacements

Args:

factor (Optional[float]): Factor by which to multiply the plotting values perpendicular to the elements axis linear (bool): If True, the bending in between the elements is determined.

Returns:

Tuple[np.ndarray, np.ndarray]: x and y values

bending_moment(factor: float | None) Tuple[numpy.ndarray, numpy.ndarray][source]

Determines the plotting values for bending moment

Args:

factor (Optional[float]): Factor by which to multiply the plotting values perpendicular to the elements axis

Returns:

Tuple[np.ndarray, np.ndarray]: x and y values

axial_force(factor: float | None) Tuple[numpy.ndarray, numpy.ndarray][source]

Determines the plotting values for axial force

Returns:

Tuple[np.ndarray, np.ndarray]: x and y values

shear_force(factor: float | None) Tuple[numpy.ndarray, numpy.ndarray][source]

Determines the plotting values for shear force

Args:

factor (Optional[float]): Factor by which to multiply the plotting values perpendicular to the elements axis

Returns:

Tuple[np.ndarray, np.ndarray]: x and y values

structure() Tuple[numpy.ndarray, numpy.ndarray][source]

Determines the plotting values for the structure itself

Returns:

Tuple[np.ndarray, np.ndarray]: x and y values