Skip to content

About

Finite Element FEAScript Examples Designed to Run on Scribbler

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

FEAScript custom code logo

FEAScript-Scribbler-examples

This repository showcases a collection of finite-element analysis (FEA) examples built with FEAScript and designed to run on Scribbler, an interactive JavaScript notebook environment with pre-loaded scientific libraries.

You can also explore and run these examples live on Scribbler Hub.

Examples

Creeping flow (creepingFlow)

  • Creeping flow in a 2D lid-driven cavity: 2D steady Stokes (incompressible creeping flow) simulation in a rectangular cavity with no-slip walls and a moving top lid, solved with Taylor-Hood mixed finite elements (Q2/Q1).
  • Creeping flow through a 2D pillar array: 2D steady Stokes flow in a channel with a staggered array of round pillars, on an unstructured Gmsh mesh of quadratic triangles with Taylor-Hood mixed finite elements (P2/P1).

Euler-Bernoulli beam (eulerBernoulliBeam)

  • Cantilever beam under a tip load: 1D Euler-Bernoulli cantilever beam bending under a concentrated tip load, solved with cubic Hermite elements and verified against the analytical solution.

Front propagation (frontPropagation)

  • Solidification front propagation in a 2D domain: 2D steady-state eikonal equation problem modeling the movement of a solidification interface (e.g., in metal cooling or crystal growth), with constant-value boundary conditions on three sides and zero-gradient on the remaining boundary.

General-form PDE (generalFormPDE)

  • Advection-diffusion with a Gaussian source term: 1D advection-diffusion problem with a source term, demonstrating the use of constant value and zero-gradient boundary conditions.

Heat conduction (heatConduction)

  • Heat conduction through a wall: 1D heat transfer with convection and constant temperature boundary conditions.
  • Heat conduction in a 2D fin: 2D heat transfer in a cooling fin with symmetry, convection, and constant-temperature boundaries.

Read the full Scribbler blog post regarding the heat transfer examples: Heat Transfer Finite Element Simulations in JavaScript using FEAScript.

License

The examples in this repository are released under the MIT license, the same license as the FEAScript core library.

About

Finite Element FEAScript Examples Designed to Run on Scribbler

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors