How giapinner88/hfm_bvp_solver works
This small Python library solves a static continuum-beam boundary-value problem and returns its centerline shape. The example exercises the solver for several loads and plots the resulting shapes. The solver source is sampled; the example’s plotting flow is also sampled, while dependency internals are not.
Main entry points: hfm_solver.py solve_hfm · example.py Load comparison
Components 7
Solver core
- solve_hfm
hfm_solver.py - BVP equations
hfm_solver.py - Beam shape
hfm_solver.py
Example workflow
- Load comparison
example.py
Other components
- User
- SciPy solve_bvp
- Matplotlib
Connections 8
- User → Load comparison: runs
- Load comparison → solve_hfm: solves loads
- solve_hfm → BVP equations: defines equations
- solve_hfm → SciPy solve_bvp: calls
- SciPy solve_bvp → solve_hfm: returns solution
- solve_hfm → Beam shape: returns shape
- solve_hfm → Load comparison: returns results
- Load comparison → Matplotlib: plots shapes