Hi,everyone.
I have two compute to run CFD analysis.No.1 is using butterfly in windows 7 with virtualbox. No.1 is not running virtualbox,but using the windows 10 subsystem linux to running OpenFOAM native version.No.1 has the low computational capabilities.No.2 has the higt computational capabilities. No.1 is using OpenFOAM 1612+ version.No.1 is using OpenFOAM 1712+.So i have to copy the OpenFOAM folder which generated by butterfly to the No.2 for calculate. During the process, the blockMesh and snappyhexmesh can run without error.But the simpleFoam ran with error. I do not konw how to fix the error. Anyone can help me???
I have fix the error.I just copy all the file in folder 0 to the folder 2.Then re-run the simpleFoam,it gave me no error. Thanks,guys!
Hello, Minggang.
Can you share your workaround to install OpenFoam on Linux subsystem on Windows 10? I have reinstalled 5-6 times v1612 and v1712 with no success in a clean install of Windows 10 Fall Creators Edition (Bootcamp).
1 Like
Hi @JuliaT , Did you try the suggestion to regenerate the certs as it is stated in the error message? Also see this:
I’m very close to implement support for bash in Windows 10. That should at least give you an alternative solution.
opened 03:53AM - 25 Aug 17 UTC
enhancement
best practice
butterfly
core
backlog
Windows 10 is [now supporting Ubuntu](https://github.com/Microsoft/BashOnWindows… ) natively and that gives us the option to install OpenFOAM on Windows 10 without installing docker. With all the headache of installing docker on Windows this can be a life / time saving solution for us.
I tested it today and [the installation is straight forward](http://openfoam.com/download/install-windows-10.php). There is also a great video [here](https://www.youtube.com/watch?v=xj0dB_PsElg) that shows the process.
Once the installation is done one can access OpenFOAM from inside Windows using bash. Here is an example:
![image](https://user-images.githubusercontent.com/2915573/29698245-25b9d19c-8922-11e7-86e7-538b211de48b.png)
The challenges are:
0. It will only work on Windows 10.
1. The user need to mount the shared folder manually and also everyone end up with a different folder name. We can standardize this but my experience tells me that people don't read stuff. We can however to use bash to set this up programmatically but that needs an admin privilege.
2. Every time that we run any commands from bash we need to `source` OpenFoam's `bashrc` which takes a couple of seconds to execute. This can end up making everything slow. I think there should be a way to have an instance of bash running in the background and make calls. But I'm worried that for any connection like that user would need admin privileges. Also see [this](https://stackoverflow.com/a/41229169/4394669).
3. One more thing to support!
The advantages are:
1. No docker installation.
2. No VM installation.
3. If this works fine we can also ran radiance on Ubuntu. That will open up a lot of opportunities including using parallel computation and running perl scripts.
Not sure if it does make sense to support this inside Butterfly or leave it to the advanced users to set it up on their own. They can use it next to current butterfly by mounting the butterfly folder.
I think I found my answer… I will give a try
1 Like
Sorry to reply lately. I fellow the steps of this website installing OpenFOAM-V1712 for Windows 10. Here is the link: https://www.openfoam.com/download/install-windows-10.php .