Difference between revisions of "Installing in Windows 10 by Jozsef Nagy"
Jump to navigation
Jump to search
Jozsef Nagy (talk | contribs) (Created page with "* '''contributor''': Jozsef Nagy * '''affiliation''': Institute of Polymer Injection Molding and Process Automation, Johannes Kepler University Linz, Austria * '''contact''':...") |
Jozsef Nagy (talk | contribs) |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | [[category:tips]] | ||
+ | [[category:installation]] | ||
+ | [[category:windows]] | ||
* '''contributor''': Jozsef Nagy | * '''contributor''': Jozsef Nagy | ||
− | * '''affiliation''': | + | * '''affiliation''': eulerian-solutions e.U., Linz, Austria |
− | * '''contact''': <mail address=' | + | * '''contact''': <mail address='jnmlujnmlu@gmail.com' description='author'>click here for email address</mail> |
− | * '''OpenFOAM version''': | + | * '''OpenFOAM version''': v1812 |
− | * '''Published under''': CC BY | + | * '''Published under''': CC BY license ([https://creativecommons.org/licenses creative commons licenses]) |
Go back to [https://wiki.openfoam.com/Tips Tips]. | Go back to [https://wiki.openfoam.com/Tips Tips]. | ||
Line 12: | Line 15: | ||
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:Ofwin10JN.png|750px|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: | ||
− | * Enable developer mode | + | * Enable developer mode '''(only required BEFORE Microsoft's Creators update (v1709) in October 2017!)''' |
* Enable Windows Subsystem for Linux + restart | * Enable Windows Subsystem for Linux + restart | ||
* Download and install Bash on Ubuntu on Windows | * Download and install Bash on Ubuntu on Windows | ||
Line 22: | Line 27: | ||
* Set OpenFOAM environment in .bashrc | * Set OpenFOAM environment in .bashrc | ||
* Run simulation | * Run simulation | ||
+ | |||
+ | =[https://www.youtube.com/watch?v=Bw0xRrtHKD0 Useful tips]= | ||
+ | |||
+ | In this [https://www.youtube.com/watch?v=Bw0xRrtHKD0 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. |
Revision as of 04:29, 12 July 2019
- contributor: Jozsef Nagy
- affiliation: eulerian-solutions e.U., Linz, Austria
- contact: click here for email address
- OpenFOAM version: v1812
- Published under: CC BY 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 (only required BEFORE Microsoft's Creators update (v1709) in October 2017!)
- 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
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.