CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[] Installing OpenFOAM on secondary drive

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

LinkBack Thread Tools Search this Thread Display Modes
Old   June 21, 2020, 16:14
Default Installing OpenFOAM on secondary drive
New Member
Join Date: Jun 2020
Posts: 4
Rep Power: 2
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.

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

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

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

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.

CronusX is offline   Reply With Quote


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
OpenFOAM course for beginners Jibran OpenFOAM Announcements from Other Sources 3 July 1, 2020 09:58
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 19:16.