| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Thanks a lot for your effort @ferrari212 ! I will also create a corresponding example on the website. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Hermite (C¹) finite elements, so both deflection w and slope theta = dw/dx are
represented as nodal DOFs. The fourth-order analogue of the existing scalar 1D solvers
(heatConductionScript, generalFormPDEScript).
and a matching 6-point Gauss rule to numericalIntegration.js. This is general C¹
interpolation infrastructure, not beam-specific, eulerBernoulliBeam.js is just its
first consumer, and it should be directly reusable for future 4th-order models (e.g.
Kirchhoff plate bending).
An Introduction to the Finite Element Method, 3rd ed. (FEM1D reference program,
Chapter 7): a beam clamped at one end, supported by a roller at midspan and a linear
spring at the free end, carrying a distributed load, a point moment, and a point load.
What's included
ksi-derivatives, on the same [0,1] natural-coordinate convention used by the existing
linear/quadratic Lagrange elements in the library.
(exact up to degree 11).
(assembleEulerBernoulliBeamMat): builds the global stiffness/load system from
EI(x), c0(x) (elastic foundation, optional), and q(x) (distributed load).
natural (force/moment), and mixed/Robin (spring) boundary conditions. Unlike the
side-based "0"/"1" boundary keys used elsewhere, these are keyed by 1-based node
number, since beam problems commonly need supports/loads at interior nodes (e.g. a
midspan roller), not just the two domain ends.
plus documentation of the mesh/coefficient/boundary-condition API for this solver.
against the closed-form textbook Hermite beam matrix (2 EI/L combinations), and a
cantilever tip-load case against the classical closed-form solution
(w = PL³/3EI, theta = PL²/2EI).
plus an independent global force/moment equilibrium check (recomputed reactions from
the raw, unconstrained assembly) that holds regardless of the specific baseline numbers.
Testing
Notes for reviewers
the cubic Hermite field interpolation is applied internally regardless of this setting,
a standard "subparametric" formulation for beam elements.
supported condition types.