OpenFOAM is a Linux application, so running it on Windows means giving it a Linux environment to run in. The Windows Subsystem for Linux is now the usual answer: it runs a real Ubuntu alongside Windows, without the overhead of a virtual machine.

From inside WSL the installation is the ordinary Linux one, and the commands behave exactly as they do on a native system. Your Windows drives are reachable from the Linux side, so cases can live where you already keep your work.

The alternatives still exist and make sense in some setups: a virtual machine keeps everything isolated, and a dual boot gives the best performance on heavy runs. Whichever you pick, remember to source the OpenFOAM environment in your shell profile or the commands will not be found.

@ET-DC@eyJkeW5hbWljIjp0cnVlLCJjb250ZW50IjoicG9zdF90aXRsZSIsInNldHRpbmdzIjp7ImJlZm9yZSI6IiIsImFmdGVyIjoiIn19@

Written by cfd.ninja

March 19, 2020

In this tutorial, you will learn hoe to install OpenFOAM on Windows 10.

"

Tutorial: Heat transfer through pipes using ANSYS Fluent.

Related Articles

Stay Up to Date With The Latest News & Updates

Help us keep growing

CFD.NINJA is financed with its own resources, if you want to support us we will be grateful.

Join Our Newsletter

Subscribe to receive emails with detailed information related to the CFD.

Follow Us

Subscribe to our social networks to receive notifications about our new tutorials