Doc no. SK-404DatasheetRev 2026.11Sheet 2.12 of 4
OpenFOAM Mac Suite
OpenFOAM v2512 CFD environment for Apple Silicon and Intel Macs: Docker solver, ParaView, live convergence dashboard and aero tooling.
Active
Source on GitHub
$ foam-aero polar --angles 0,2,4,6,8,10,12
Block diagram
Characteristics
| Solver runtime | OpenCFD OpenFOAM v2512 running in Docker across Apple Silicon (arm64) and Intel (x86_64) Macs |
|---|---|
| Visualization | Bridges natively to macOS ParaView.app via paraFoam plus headless pvpython render scripts |
| Live telemetry | foam-live serves a browser dashboard on http://localhost:8080 tracking solver residuals and force coefficients |
| Aero toolkit | foam-aero automates angle-of-attack sweeps (set-aoa), force extraction and Cl/Cd polar generation |
| Verification | 7-step foam-test suite covering blockMesh, laminar cavity, VOF damBreak, RANS airFoil2D and 8-core MPI |
Overview & build notes
Packages a complete OpenFOAM v2512 computational fluid dynamics workflow tailored for macOS: heavy meshing and MPI solves execute inside an x86/ARM Docker container (--shm-size=4g), while native Metal-accelerated ParaView renders results directly on the host.
foam-aero handles aerodynamic boilerplate automatically — rotating freestream velocity vectors and lift/drag projection axes inside controlDict, summarizing Cl, Cd and L/D, and sweeping polars across angles of attack.
foam-live tails running solver logs into a browser convergence dashboard on :8080, and foam-test validates the entire toolchain from laminar icoFoam through 8-core parallel RANS cases.
Files & artifacts
| Kind | File | Details | Size |
|---|---|---|---|
| Script | openfoam.sh | Docker solver wrapper mounting case folders and managing container flags | 10 KB |
| Setup | install_mac.sh | Installs bin/ wrappers onto PATH and configures macOS ParaView integration | 2 KB |
| Compose | docker-compose.yml | OpenFOAM v2512 container definition with shared memory and host IPC | 250 B |
| Script | render_airfoil.py | Headless ParaView (pvpython) post-processing script on GitHub | GitHub |