Results class stores all analysis results for a single load pattern, including displacements, reactions, and internal forces at the model, node, and member levels.
Getting Results
After solving your model, access results usingget_results():
Model-Level Results
Get global results for the entire model.get_model_displacements()
Returns the global displacement vector for all nodes.1D array containing all nodal displacements
[ux1, uy1, rz1, ux2, uy2, rz2, ...]For n nodes, the array has length 3n with displacements ordered by node ID.get_model_reactions()
Returns the global reaction vector for all nodes.1D array containing all nodal reactions
[fx1, fy1, mz1, fx2, fy2, mz2, ...]For n nodes, the array has length 3n with reactions ordered by node ID. Non-zero values appear only at restrained degrees of freedom.Node-Level Results
Get results for individual nodes.get_node_displacements()
Returns displacements for a specific node.Parameters
ID of the node
Array of shape (3,) containing
[ux, uy, rz] for the nodeget_node_reactions()
Returns reactions for a specific node.Parameters
ID of the node
Array of shape (3,) containing
[fx, fy, mz] for the node. Non-zero only at restrained DOFs.Member-Level Results
Get detailed results along the length of members.get_member_displacements()
Returns end displacements for a member.Parameters
ID of the member
Array of shape (6,) containing
[uxi, uyi, rzi, uxj, uyj, rzj] at member endsget_member_internal_forces()
Returns end forces for a member.Parameters
ID of the member
Array of shape (6,) containing
[Ni, Vi, Mi, Nj, Vj, Mj] at member ends- N = axial force
- V = shear force
- M = bending moment
get_member_x_val()
Returns the local x-coordinates along the member where results are computed.Parameters
ID of the member
Array of local x-coordinates along the member length
get_member_axial_force()
Returns axial force diagram along the member.Parameters
ID of the member
Array of axial force values along the member
get_member_shear_force()
Returns shear force diagram along the member.Parameters
ID of the member
Array of shear force values along the member
get_member_bending_moment()
Returns bending moment diagram along the member.Parameters
ID of the member
Array of bending moment values along the member
get_member_deflection()
Returns transverse deflection along the member.Parameters
ID of the member
Array of transverse deflection values along the member
get_member_slope()
Returns rotation (slope) along the member.Parameters
ID of the member
Array of rotation values along the member
get_member_axial_displacement()
Returns axial displacement along the member.Parameters
ID of the member
Array of axial displacement values along the member
CST (Triangle) Element Results
Get results for Constant Strain Triangle finite elements.get_cst_displacements()
Parameters
ID of the CST element
Nodal displacements for the CST element
get_cst_strains()
Parameters
ID of the CST element
Strain values for the CST element
get_cst_stresses()
Parameters
ID of the CST element
Stress values for the CST element
Membrane Q6 Element Results
Get results for 6-DOF quadrilateral membrane elements.get_membrane_q3dof_displacements()
Parameters
ID of the membrane Q6 element (3 DOF per node)
Nodal displacements for the membrane element
Membrane Q6i Element Results
Get results for membrane elements with incompatible modes.get_membrane_q2dof_displacements()
Parameters
ID of the membrane Q6i element (2 DOF per node)
Nodal displacements for the membrane element
