Geometry
Plot-ready geometry extraction: flattened structure geometry and exact deflected element curves.
Asap.Geo — Function
Geo(model::Model) -> ModelGeo
Geo(network::Network) -> NetworkGeoFlatten a solved structure into plain plot-ready arrays: node positions, displaced positions, element connectivity, and per-element force ranges with their maxima. Dispatches on the structure type — a frame/truss Model produces a ModelGeo, an FDM Network a NetworkGeo. For an axial-only extraction of a truss model, construct a TrussGeo directly.
Asap.ModelGeo — Type
ModelGeo <: AbstractGeoPlot-ready arrays extracted from a solved frame Model: node positions, nodal displacements, element connectivity, per-element end-force ranges (P, Vy, Vz, Tx, My, Mz with their maxima), section properties, and element vectors. Construct with Geo(model) or ModelGeo(model).
Asap.TrussGeo — Type
TrussGeoUtility structure for visualizing truss models
Asap.NetworkGeo — Type
NetworkGeo <: AbstractGeoPlot-ready arrays extracted from a solved FDM Network: node positions, element connectivity, force densities and member forces/lengths with their maxima. Construct with Geo(network) or NetworkGeo(network).
Asap.ElementDisplacements — Type
ElementDisplacementsThe displaced shape of one element, sampled at evenly spaced stations using the exact elastic curve from Asap's displacement recovery.
Fields
element::AbstractElementthe sampled elementresolution::Integernumber of stationsx::Vectorstation positions along the member [length]ulocal::Matrix[3 × n] displacements in the element LCS (axial, local y, local z) [length]uglobal::Matrix[3 × n] displacements in the GCS [length]basepositions::Matrix[3 × n] undisplaced sampling positions [length]
Asap.ElementDisplacements — Method
ElementDisplacements(element::FrameElement, model::Model; resolution = 20)Get the local/global displacements of an element.
ulocal[3 × resolution] displacements in the element LCS (axial, local y, local z)uglobal[3 × resolution] displacements in the GCSbasepositions[3 × resolution] undisplaced sampling positions along the element
Asap.ElementDisplacements — Method
ElementDisplacements(element::TrussElement, model::Model; resolution = 20)Truss elements displace linearly between their end nodes.
Asap.ElementDisplacements — Method
ElementDisplacements(elements::Vector{<:AbstractElement}, model::Model; resolution = 20)Get the displacements of an ordered chain of elements that form a single physical member.
Asap.displacements — Method
displacements(model::Model, increment::Real)Get the displacements of all elements in a model