Difference between revisions of "Installing in Windows 10 by Jozsef Nagy"

From OpenFOAM Wiki
Jump to navigation Jump to search
Line 5: Line 5:
 
* '''affiliation''': eulerian-solutions e.U., Linz, Austria
 
* '''affiliation''': eulerian-solutions e.U., Linz, Austria
 
* '''contact''': <mail address='jnmlujnmlu@gmail.com' description='author'>click here for email address</mail>
 
* '''contact''': <mail address='jnmlujnmlu@gmail.com' description='author'>click here for email address</mail>
* '''OpenFOAM version''': v1912
+
* '''OpenFOAM version''': v2006
 
* '''Published under''': CC BY license ([https://creativecommons.org/licenses creative commons licenses])
 
* '''Published under''': CC BY license ([https://creativecommons.org/licenses creative commons licenses])
  

Revision as of 04:54, 28 July 2020

Go back to Tips.

Go back to 3 weeks series.

How to install OpenFOAM and run a simulation in Windows 10

In this video you can learn, how you can install OpenFOAM more or less natively in Windows 10. For this we will use the new Windows 10 feature called Bash on Ubuntu on Windows. I will also run a very short simulation to show you, that it really works.

velocity magnitude of the elbow case at t=75s

The steps required to install OpenFOAM in Windows 10:

  • Enable Windows Subsystem for Linux + restart
  • Download and install Ubuntu from the Microsoft store
  • Set OpenFOAM environment in .bashrc
  • Run simulation

Useful tips

In this second video you will find useful tips for OpenFOAM in Windows 10. You will learn, how you can start both Linux and Windows application with Bash on Ubuntu on Windows (e.g. Paraview) in order to be able to work just like in Ubuntu.