|
[Sponsors] |
December 15, 2016, 18:27 |
v1606+ Run Folder
|
#1 |
New Member
Deutschland
Join Date: Nov 2016
Posts: 6
Rep Power: 9 |
Hi Friends,
i have installed OpenFOAM-v1606+ on my Ubuntu 14.04 LTS. In "opt"'s folder i have allready OpenFoam and ThirdParty. 1- I should create an new folder with name "OpenFOAM" in directory "home". 2- And in "Home/OpenFOAM" folder i should create new folder " user-v1606+ ". 3- And in folder "Home/OpenFOAM/user-v1606+" with "mkdir -p $FOAM_RUN" should i create Folder "run" for post processing. when i give this command in terminal, but it doesn't work . i receive this Info in Terminal "„mkdir --help“" what shoul i do? |
|
December 15, 2016, 19:53 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: This means that the OpenFOAM-v1606+ environment is not activated. Did you run the following command?
Code:
source /opt/OpenFOAM/OpenFOAM-v1606+/etc/bashrc
__________________
|
|
December 15, 2016, 20:19 |
|
#3 | |
New Member
Deutschland
Join Date: Nov 2016
Posts: 6
Rep Power: 9 |
Hi, i did fallowing steps:
Quote:
|
||
December 15, 2016, 21:18 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: You have a typo in the last line:
Code:
. /opt/OpenFOAM/OpenFOAM-v1606+/etch/bashrc Try running: Code:
. /opt/OpenFOAM/OpenFOAM-v1606+/etc/bashrc echo $FOAM_RUN |
|
December 16, 2016, 05:23 |
|
#5 |
New Member
Deutschland
Join Date: Nov 2016
Posts: 6
Rep Power: 9 |
thank you very very much and "run" is there... but "then you need to edit the file ".bashrc" in your home folder and correct the respective line. " i donthave any idea what should i do...how can i repair the file in .bashrc..i don't have too much experience with bash.
ich finde .bashrc with this commnad: "ls -a |grep bashrc" and with geit ~/bashrc i edited etch in etc but run is not to finde |
|
December 18, 2016, 20:47 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: See the following wiki page for more details: http://openfoamwiki.net/index.php/In...with_the_Shell
But in a nutshell, run this command: Code:
gedit ~/.bashrc Then scroll to the end of the file and look for the references to "v1606+". |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
chtMultiRegionSimpleFoam: crash on parallel run | student666 | OpenFOAM Running, Solving & CFD | 3 | April 20, 2017 12:05 |
User fortran to input/output file in a parallel run | doublestrong | CFX | 5 | March 31, 2017 09:15 |
OpenFOAM can't be run in parallel in cluster | sibo | OpenFOAM Running, Solving & CFD | 4 | February 21, 2017 17:29 |
parallel run is slower than serial run (pimpleFoam) !!! | mechy | OpenFOAM | 18 | August 17, 2016 18:19 |
simpleFoam parallel | AndrewMortimer | OpenFOAM Running, Solving & CFD | 12 | August 7, 2015 19:45 |