← Series by topic

Finite elements from the weak form

Start with the weak form of the Poisson equation, apply Galerkin’s method, and check matrix assembly, solutions, and errors in Python.

Prerequisites Calculus, integration by parts, linear systems, and basic Python.

  1. [CAE] Deriving the weak form of the Poisson equation for finite elements (Rewritten from an earlier blog post)

    Derive the weak form of Poisson’s equation, assemble linear finite elements, and check boundary conditions, solution errors, and convergence in Python.

  2. [CAE] How the Galerkin method leads to finite elements (Rewritten from an earlier blog post)

    Connect Galerkin’s method to finite elements through local basis functions, matrix assembly, and Python checks of solution and derivative errors.