Hello SymPy developers,
I am excited to express my interest in contributing to SymPy by enhancing its 2D and 3D Beam Solving System within the continuum mechanics module. I have also reviewed past contributions by Advait Pote, Jashanpreet Singh, Ishan Joshi, Prakhar Saxena, Sampad Saha, Ishan Pandhare, and Shishir Khushwa. While my college and school studies provided me with a background in Solid Mechanics, I found that this module’s scope extends beyond my prior knowledge. This realization has driven me to invest additional effort in studying both the theoretical principles of beam mechanics and SymPy’s approach to implementing 2D and 3D beam models.
Cross-Sectional Geometry Integration
Leverage SymPy’s geometry package to define arbitrary cross-sections (e.g., I-beams, hollow cylinders) and automate second moment of area calculations.
Extend the cross_section property to support variable geometries along the beam span.
3D Beam Class Development
Expand the existing 2D Beam class to handle 3D loading scenarios (torsion, combined bending) with generalised singularity functions.
Implement boundary condition support for 3D deflections and slopes, inspired by the 2D Macaulay method.
Plotting and Visualization
Develop interactive plotting methods for shear force, bending moment, slope, and deflection diagrams using SymPy’s plotting backend.
Add 3D rendering for deformed beam shapes under load.
Example Library Expansion
Curate a comprehensive set of benchmark problems (e.g., statically indeterminate beams, composite sections) to validate accuracy and demonstrate functionality.
My Question -
Would extending the Beam Solving System in these directions align with SymPy’s development roadmap and priorities? If so, I am eager to contribute and explore potential implementation strategies.
My Background -
I have a strong foundation in structural mechanics, continuum mechanics, and computational methods, with experience in Python, symbolic computation, and algorithm optimization. My studies have focused on beam theories (Euler-Bernoulli, Timoshenko), structural analysis techniques, and numerical approaches, making this project a perfect match for my expertise. I have thoroughly explored SymPy’s continuum mechanics module, reviewed prior contributions, and examined key engineering references to understand how the module can be further improved. I bring hands-on experience in structural mechanics and familiarity with SymPy’s codebase, including the Beam module’s reaction force solver and singularity function integration. Before proceeding, I would appreciate guidance on:
Existing efforts or roadblocks in 3D beam development within SymPy.
Preferred strategies for integrating the geometry package with continuum mechanics modules.
Thank you for considering this proposal. I look forward to collaborating to elevate SymPy’s capabilities in computational structural analysis.
Looking forward to your response!
Best regards,
Pratyksh Gupta
--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sympy/a3d0ea08-013e-4f9d-96d5-5544c17bf036n%40googlegroups.com.
Thank you for your response and for sharing PR and issue tracker. I will review PR #27130 in detail to understand its scope and how it expands capabilities to more structural types. I will also go through the open issues in the physics.continuum_mechanics module to identify areas where I can contribute.
Would you recommend focusing on integrating this PR first before considering additional enhancements like 3D beam modeling and cross-sectional geometry extensions?
Looking forward to your insights!
Best Regard,
Pratyksh Gupta.
Hi Jason,
After this PR #27130 merges, I propose the following enhancements to align with sympy’s development roadmap while expanding its beam analysis capabilities.
Refined Proposed Enhancements -
1. Structure2d for More Structural Types : -
Current Limitation: Supports only single-span, non-branching beams.
Enhancements:
2. Cross-Sectional Geometry Integration : -
Current Limitation: No cross-section support for 2D beams.
Enhancements:
3. Robust Testing & Error Handling : -
Current Limitation: Lacks comprehensive unit tests & validation checks.
Enhancements:
4. Advanced Plotting & Visualization : -
Current Limitation: Basic plotting; lacks interactive features.
Enhancements:
5. Expanding Example Library : -
Current Limitation: Lacks real-world problems & benchmarks.
Enhancements:
6. Performance Optimization : -
Current Limitations : Redundant symbolic computations, no numpy optimizations.
Enhancements:
Would these enhancements align with sympy's roadmap? I’m eager to contribute and explore implementation strategies.
Looking forward to your response!
Best regards,
Pratyksh Gupta
To view this discussion visit https://groups.google.com/d/msgid/sympy/b12e50ee-b997-41f4-8c76-cb758bcca765n%40googlegroups.com.