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

From OpenFOAM Wiki
Jump to navigation Jump to search
Line 13: Line 13:
 
In this [https://www.youtube.com/watch?v=xj0dB_PsElg 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.
 
In this [https://www.youtube.com/watch?v=xj0dB_PsElg 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.
  
[[File:Elbow.png|500px|right|velocity magnitude of the elbow case at t=75s]]
+
[[File:Thumbnail3.png|500px|right|velocity magnitude of the elbow case at t=75s]]
  
 
The steps required to install OpenFOAM in Windows 10:
 
The steps required to install OpenFOAM in Windows 10:

Revision as of 13:54, 9 August 2017

  • contributor: Jozsef Nagy
  • affiliation: Institute of Polymer Injection Molding and Process Automation, Johannes Kepler University Linz, Austria
  • contact: click here for email address
  • OpenFOAM version: v1706
  • Published under: CC BY-NC-SA license (creative commons licenses)

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.

The steps required to install OpenFOAM in Windows 10:

  • Enable developer mode
  • Enable Windows Subsystem for Linux + restart
  • Download and install Bash on Ubuntu on Windows
  • Download the tar file of OpenFOAM from openfoam.com
  • Extract tar file
  • Set OpenFOAM environment in .bashrc
  • Run simulation