bluemira.structural.result
FE result object
Classes
Container class for storing results |
Module Contents
- class bluemira.structural.result.Result(geometry: bluemira.structural.geometry.Geometry, load_case: bluemira.structural.loads.LoadCase, deflections: numpy.ndarray, reactions: numpy.ndarray, cyclic_symmetry: bluemira.structural.symmetry.CyclicSymmetry | None)
Container class for storing results
- Parameters:
geometry (bluemira.structural.geometry.Geometry)
load_case (bluemira.structural.loads.LoadCase)
deflections (numpy.ndarray)
reactions (numpy.ndarray)
cyclic_symmetry (bluemira.structural.symmetry.CyclicSymmetry | None)
- __slots__ = ('_cycle_sym', '_max_deflections', '_max_stresses', '_safety_factors', '_stresses',...
- geometry
- load_case
- deflections
- deflections_xyz
- reactions
- _cycle_sym
- _stresses = None
- _max_stresses = None
- _safety_factors = None
- _max_deflections = None
- _get_values()
Get the maximum values of stress, deflection, and safety factors over all the Elements in the Geometry.
- make_deformed_geometry(scale: float = 30.0) bluemira.structural.geometry.DeformedGeometry
Make deformed geometry of the result
- Parameters:
scale (float) – The scale for the deformations
- Return type:
The deformed geometry of the Result at the specified scale
- _make_cyclic_geometry(geometry: bluemira.structural.geometry.Geometry | None = None) list[bluemira.structural.geometry.Geometry | bluemira.structural.geometry.DeformedGeometry]
- Parameters:
geometry (bluemira.structural.geometry.Geometry | None)
- Return type:
list[bluemira.structural.geometry.Geometry | bluemira.structural.geometry.DeformedGeometry]
- plot(deformation_scale: float = 10.0, ax: matplotlib.pyplot.Axes | None = None, *, stress: bool = False, deflection: bool = False, pattern: bool = False, **kwargs)
Plot the Result of the finite element analysis
- Parameters:
deformation_scale (float) – The scale of the deformation to be shown in the plot
ax (matplotlib.pyplot.Axes | None) – The Axes onto which to plot (should be 3-D).
stress (bool) – Whether or not to plot stresses [color map]
deflection (bool) – Whether or not to plot deflection [color map]
pattern (bool) – Whether or not to pattern the model (if symmetry was used)