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

[OpenFOAM.com] v1606+ Run Folder

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 15, 2016, 18:27
Default v1606+ Run Folder
  #1
New Member
 
Deutschland
Join Date: Nov 2016
Posts: 6
Rep Power: 10
JSMOKA is on a distinguished road
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?
JSMOKA is offline   Reply With Quote

Old   December 15, 2016, 19:53
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
And what steps did you take to install it in "/opt"?
__________________
wyldckat is offline   Reply With Quote

Old   December 15, 2016, 20:19
Default
  #3
New Member
 
Deutschland
Join Date: Nov 2016
Posts: 6
Rep Power: 10
JSMOKA is on a distinguished road
Hi, i did fallowing steps:

Quote:

1- sudo apt-get install build-essential flex bison cmake zlib1g-dev libboost-system-dev libboost-thread-dev libopenmpi-dev openmpi-bin gnuplot libreadline-dev libncurses-dev libxt-dev

2- sudo apt-get install qt4-dev-tools libqt4-dev libqt4-opengl-dev freeglut3-dev libqtwebkit-dev

3- sudo apt-get install libgmp-dev libmpfr-dev

4- mkdir -p /opt/OpenFOAM

5- tar xvzf ThirdParty-v1606Plus.tar.gz -C /opt/OpenFOAM/

6- tar xvzf OpenFOAM-v1606Plus.tar.gz -C /opt/OpenFOAM/

7- echo ". /opt/OpenFOAM/OpenFOAM-v1606+/etch/bashrc" >> .bashrc
JSMOKA is offline   Reply With Quote

Old   December 15, 2016, 21:18
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: You have a typo in the last line:
Code:
. /opt/OpenFOAM/OpenFOAM-v1606+/etch/bashrc
It's "etc", not "etch"

Try running:
Code:
. /opt/OpenFOAM/OpenFOAM-v1606+/etc/bashrc
echo $FOAM_RUN
If it shows an empty line, then it's not working yet. If it shows the path to the "run" folder, then you need to edit the file ".bashrc" in your home folder and correct the respective line.
wyldckat is offline   Reply With Quote

Old   December 16, 2016, 05:23
Default
  #5
New Member
 
Deutschland
Join Date: Nov 2016
Posts: 6
Rep Power: 10
JSMOKA is on a distinguished road
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
JSMOKA is offline   Reply With Quote

Old   December 18, 2016, 20:47
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
Notice that there is a tilde '~' and a dot '.'
Then scroll to the end of the file and look for the references to "v1606+".
wyldckat 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
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


All times are GMT -4. The time now is 17:48.