CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[Other] OpenFOAM on WSL with Ubuntu

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 2, 2020, 16:28
Default OpenFOAM on WSL with Ubuntu
  #1
New Member
 
Petros Ampatzidis
Join Date: Oct 2018
Location: Bath, UK
Posts: 19
Rep Power: 3
petros is on a distinguished road
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
petros is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running OpenFOAM in parallel in WSL with Ubuntu bash FlyFox OpenFOAM Running, Solving & CFD 7 March 17, 2020 10:08
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 9 March 30, 2017 05:19
[OpenFOAM.org] OpenFOAM 2.40 installation on Ubuntu 12.04 LTS eddykendo OpenFOAM Installation 1 July 18, 2015 17:38
Installing OpenFOAM 2.2.0 on Ubuntu 12.10 i686 AHutchison OpenFOAM Installation 6 June 4, 2013 12:11
OpenFOAM vs Ubuntu 10.10 64 bit vkrastev OpenFOAM Installation 12 April 23, 2011 10:14


All times are GMT -4. The time now is 03:22.