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

[OpenFOAM.com] Installing OpenFOAM on secondary drive

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 21, 2020, 16:14
Default Installing OpenFOAM on secondary drive
  #1
New Member
 
Join Date: Jun 2020
Posts: 4
Rep Power: 5
CronusX is on a distinguished road
I'm installing OpenFOAM via Ubuntu Bash for Windows.

Instead of installing OpenFOAM on the C: drive, I want to install it on my F: drive (secondary hard drive).

I thought I was manipulating the instructions on openFOAM's website properly, but evidently now because when I try to do the test of the cravity tutorial I get the error.

Code:
Command 'blockMesh' not found, but can be installed with:
sudo apt install openFOAM.
Here are the steps I ran to istall openFOAM on my F: drive based on modifications to the install instructions on OpenFOAMs site. I would appreciate any feedback on where I went wrong.

Copied .tgz to bash-environment f drive folder OpenFOAM

Code:
cp -ar /mnt/c/Users/<USER>/Downloads/OpenFOAM-v1912-windows10.tgz /mnt/f/OpenFOAM
Untar'd the install file

Code:
sudo tar -xvzf  OpenFOAM-v1912-windows10.tgz -C /mnt/e/OpenFOAM
sudo chown -R mnt/f/OpenFOAM
Set the OpenFOAM working environment

Code:
echo "source /mnt/f/OpenFOAM/OpenFOAM/OpenFOAM-v1912/etc/bashrc" >> ~/.bashrc
source ~/.bashrc
I'm guessing it has to do with how I did the working environment. I'm not fluent in Linux so yeah let me know what I messed up here.

Thanks.
CronusX is offline   Reply With Quote

Reply


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 course for beginners Jibran OpenFOAM Announcements from Other Sources 2 November 4, 2019 08:51
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin CFDFoundation OpenFOAM Announcements from Other Sources 0 January 4, 2017 06:15
Installing OpenFOAM and ParaView in VirtualBox(Ubuntu on Win8) chrisb2244 OpenFOAM Installation 2 August 21, 2013 13:24
Installing OpenFOAM 2.1.1 and ParaView 3.12.0 on Ubuntu 12.10 wyldckat OpenFOAM Installation 14 February 12, 2013 04:43
Installing OpenFOAM 1.6 on Ubuntu 10.4 sda OpenFOAM Installation 5 May 27, 2010 20:19


All times are GMT -4. The time now is 05:15.