CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

How To View OpenFOAM files from WSL Bash Environment

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 11, 2022, 16:42
Default How To View OpenFOAM files from WSL Bash Environment
  #1
New Member
 
Austin
Join Date: Feb 2022
Posts: 2
Rep Power: 0
ajcib is on a distinguished road
Hello,

I am running OpenFOAM v2012 on my Windows laptop using WSL2. Previously, I ran OpenFOAM on Linux OS and was able to navigate the tutorial files through the operating system pretty easily. Now, using the bash environment on Windows, I am running into some obstacles.

More specifically:

I am trying to follow an OpenFOAM tutorial located here. When I try to access the elbow_quad.msh file that is provided in the video link, I am not sure how to copy this set of data (while only using the bash environment through WSL2) into the appropriate OpenFOAM folder library and ensure OpenFOAM treats it as a .msh file. I am also wondering how I can view the pressure and velocity files within each OpenFOAM tutorial folder while only using the bash environment (for example in incompressible/icoFoam/elbow/0 there are two files - P and U - how do I view these in the bash environment?). Right now, I only know how to access these folders using the WSL bash environment, and I am not sure how to physically open the data inside the folder from here.

Any suggestions would be appreciated.
ajcib is offline   Reply With Quote

Reply

Tags
openfoam, ubuntu, wsl2


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
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 14:24
UDF issue MASOUD Fluent UDF and Scheme Programming 14 December 6, 2012 13:39
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 07:21
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25


All times are GMT -4. The time now is 09:06.