# Examples

Each example is a folder in the repository's [`examples/`](<https://github.com/femforge-io/femforge/tree/main/examples>): a script that builds a small model, solves it and opens the result in the workbench. Clone the repository, start Docker and run one from the repository root; [Install](<https://docs.femforge.io/overview/install/index.md>) covers uv and Docker.

```console
uv run examples/thermal/main.py
```

The quickstart project is the fourth. `uvx femforge new` writes it anywhere, with no clone.

- **[Magnet and plate](<https://docs.femforge.io/overview/quickstart/index.md>)**

  ---

  A disc magnet pulls on a steel plate across four air gaps, solved on the axisymmetric section and shown revolved into 3D. The project `uvx femforge new` writes.

  Magnetostatics · a sweep over a dimension · build123d geometry
- **[Bearing seat](<https://docs.femforge.io/examples/bearing-seat/index.md>)**

  ---

  A neodymium disc magnet holds a steel ball in a spherical seat. The pull with and without a steel shell around three magnet sizes in 2D, then the 4 mm magnet in 3D, in a workbench that lists each run as it finishes.

  Magnetostatics in 2D and 3D · a run browser · a dock of your own
- **[Coil current](<https://docs.femforge.io/examples/coil-current/index.md>)**

  ---

  A copper coil inside a steel pot frame pulls a steel plunger toward the frame's bottom plate. The coil is driven by a current density, solved at two air gaps and shown mirrored across the axis.

  Magnetostatics · a current drive · force on a body
- **[Thermal](<https://docs.femforge.io/examples/thermal/index.md>)**

  ---

  A copper puck dissipates 1 W on a square FR4 board and still air cools every exposed face. The steady temperature in 3D, with the peak and its rise over the air.

  Thermal in 3D · a heat source · convection
