|
[Sponsors] |
July 2, 2020, 17:28 |
OpenFOAM on WSL with Ubuntu
|
#1 |
Member
Petros Ampatzidis
Join Date: Oct 2018
Location: Bath, UK
Posts: 64
Rep Power: 8 |
Hi all,
This thread consists of two parts: (a) A piece of information for users of OpenFOAM with Windows Subsystem for Linux (WSL) and (b) a long-shot enquire to the more experienced ones. a. I was running OpenFOAM v1906 on a Windows machine using WSL and Ubuntu 18.04. My organisation automatically requested to proceed to the recent Windows System Update, and so I did. After the update, the WSL was removed from my system along with the whole structure of my OpenFOAM environment. However, my simulation files remained intact. Note that the location of OpenFOAM when working in Ubuntu and WSL can be found in the following path: C\Users\'username'\AppData\Local\Packages\Canonica lGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalS tate\rootfs\home\'username'\ This is a known issue. More information here: https://github.com/microsoft/WSL/issues/4063 Not being able to run Ubuntu, I was advised to re-install Ubuntu from the App Store as I did before. Unfortunately, this led the new installation to overwrite the above-mentioned folder, meaning that all my files were deleted. Hence my advice to those who use OpenFOAM in Windows is: go immediately to the the location where Ubuntu is installed and make a backup of your files before you proceed to any Windows updates. b. The obvious question: Does anyone have any idea how to restore those files? I must state that the system restore functionality isn't implemented on University-managed machines, something that, sadly, I didn't know in advance. Best regards, Petros |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 06:29 |
Running OpenFOAM in parallel in WSL with Ubuntu bash | FlyFox | OpenFOAM Running, Solving & CFD | 7 | March 17, 2020 11:08 |
[OpenFOAM.org] OpenFOAM 2.40 installation on Ubuntu 12.04 LTS | eddykendo | OpenFOAM Installation | 1 | July 18, 2015 18:38 |
Installing OpenFOAM 2.2.0 on Ubuntu 12.10 i686 | AHutchison | OpenFOAM Installation | 6 | June 4, 2013 13:11 |
OpenFOAM vs Ubuntu 10.10 64 bit | vkrastev | OpenFOAM Installation | 12 | April 23, 2011 11:14 |