CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM News & Announcements > OpenFOAM Announcements from OpenFOAM Foundation

OpenFOAM for Windows 10

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 4 Post By cfd.direct
  • 1 Post By CFDFoundation

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 4, 2017, 10:06
Default OpenFOAM for Windows 10
  #1
New Member
 
cfd.direct
Join Date: Apr 2015
Posts: 23
Rep Power: 11
cfd.direct is on a distinguished road
The packaged distributions of OpenFOAM for Ubuntu 14.04LTS can now be installed directly on Microsoft Windows 10 using Bash on Ubuntu on Windows.

See OpenFOAM for Windows 10 for installation details.

Bash on Ubuntu on Windows provides a full compatibility layer for running Linux applications on Windows through the Windows Subsystem for Linux (WSL), which performs real-time translation of Linux system calls into Windows OS system calls. The system can support graphical Linux applications, such as the version of ParaView that includes the OpenFOAM reader module, with additional X server software. Running OpenFOAM applications in parallel using WSL is reported to work effectively.
anon_n, Ohbuchi, pbachant and 1 others like this.
cfd.direct is offline   Reply With Quote

Old   June 27, 2019, 04:05
Default
  #2
Senior Member
 
Join Date: Aug 2014
Location: Germany
Posts: 292
Rep Power: 14
BlnPhoenix is on a distinguished road
Hello,

i installed OpenFoam for Windows 10. If i want to modify existing models e.g. progamming in OpenFoam, how i can i do that? I don't find the location of the system files in Windows...
BlnPhoenix is offline   Reply With Quote

Old   June 27, 2019, 05:01
Default
  #3
New Member
 
Join Date: Dec 2014
Posts: 25
Rep Power: 11
CFDFoundation is on a distinguished road
You should edit files etc through the linux subsystem, not via the windows OS:
https://askubuntu.com/questions/7598...m-for-linux-an
BlnPhoenix likes this.
CFDFoundation is offline   Reply With Quote

Old   December 18, 2019, 23:33
Default
  #4
Member
 
Ndong-Mefane Stephane Boris
Join Date: Nov 2013
Location: Kawasaki (JAPAN)
Posts: 53
Rep Power: 12
S_teph_2000 is on a distinguished road
Do you know if Distributed Parallel works with Windows 10 wsl nodes? any concrete/simple example?(Lid-driven cavity flow?)

Kazunobu
S_teph_2000 is offline   Reply With Quote

Old   April 21, 2020, 04:29
Default copying files into ubuntu folder from windows?
  #5
Member
 
Francisco T
Join Date: Nov 2011
Location: Melbourne, Australia
Posts: 64
Blog Entries: 1
Rep Power: 14
frantov is on a distinguished road
Hi
how can I copy a file into ubuntu openfoam from windows?
lets say is a solver that I have in my c: drive in windows, and I want to copy it into ubuntu/openfoam to compile it and run it?

thanks in advance!
frantov is offline   Reply With Quote

Old   April 21, 2020, 05:18
Default File copy
  #6
Member
 
Ndong-Mefane Stephane Boris
Join Date: Nov 2013
Location: Kawasaki (JAPAN)
Posts: 53
Rep Power: 12
S_teph_2000 is on a distinguished road
Quote:
Originally Posted by frantov View Post
Hi
how can I copy a file into ubuntu openfoam from windows?
lets say is a solver that I have in my c: drive in windows, and I want to copy it into ubuntu/openfoam to compile it and run it?

thanks in advance!
hello,

suppose that on Windows, the full path of your file is "C:\winfolder\random.txt"
While in Ubuntu, you will to mount the windows drive. You will type:
Code:
cd /mnt/c/winfolder/
to access the windows folder for example.
and If you want to copy the windows file to the active Ubuntu folder:
Code:
cp /mnt/c/winfolder/random.txt .
don't forget the "space" followed by a "." at the end...
S_teph_2000 is offline   Reply With Quote

Old   April 22, 2020, 07:08
Default
  #7
Member
 
Francisco T
Join Date: Nov 2011
Location: Melbourne, Australia
Posts: 64
Blog Entries: 1
Rep Power: 14
frantov is on a distinguished road
Thank you Stephane, it worked like a charm, file copied, uncompressed, and compiled
frantov is offline   Reply With Quote

Reply

Tags
openfoam, windows 10

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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 11:58
OpenFOAM Foundation releases OpenFOAMŪ 3.0.0 CFDFoundation OpenFOAM Announcements from OpenFOAM Foundation 1 November 7, 2015 15:16
OpenFOAM Foundation Releases OpenFOAM v2.3.0 opencfd OpenFOAM Announcements from OpenFOAM Foundation 3 December 23, 2014 03:43
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 09:04
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07


All times are GMT -4. The time now is 23:46.