Abstract
Structural systems with continuously varying cross-sections offer significant advantages in material efficiency and architectural aesthetics. However, accurately predicting their responses remains computationally challenging within standard Finite Element Analysis (FEA) software. Conventional approaches typically employ stepwise approximation schemes that subdivide non-prismatic members into multiple prismatic segments. This process significantly increases the degrees of freedom (DOFs) and often results in slow convergence. To overcome these limitations and enhance reproducibility in computational mechanics, this study introduces an open-source, object-oriented Python framework that implements an elastic curve-based finite element method (EC-FEM). Unlike approximate methods, the proposed solver derives stiffness and consistent mass matrices directly from the exact elastic curve function, thereby satisfying the governing differential equations for arbitrary taper profiles. The framework employs high-precision numerical integration and efficient sparse matrix operations to eliminate geometric discretization errors at the element level. Validation is conducted through rigorous benchmarking against high-fidelity stepwise approximation models under identical computational conditions. Results from analyses of tapered cantilever beams and complex frame systems demonstrate that the proposed Python framework achieves exact static and dynamic solutions with minimal discretization, often requiring only a single element per member. This approach offers a superior balance between computational efficiency and accuracy compared to traditional discretization techniques.

This publication has 1 reference indexed in Scilit: