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

Problem with foam-extend-3.1

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 28, 2015, 05:16
Default Problem with foam-extend-3.1
  #1
New Member
 
Join Date: Oct 2014
Posts: 4
Rep Power: 4
eleonora is on a distinguished road
Hi everyone!
I have a similar problem.
I did what is written here http://sourceforge.net/p/openfoam-ex...u/Ubuntu_14.04
but I cannot install.
When I do ./Allwmake I obtain:
Error: Current directory is not $WM_PROJECT_DIR
The environment variable are not consistent with the installation.
Check the OpenFOAM entries in your dot-files and source them.

What can I do?
Thank you.
eleonora is offline   Reply With Quote

Old   April 28, 2015, 05:53
Default Problem with foam-extend-3.1
  #2
New Member
 
Join Date: Oct 2014
Posts: 4
Rep Power: 4
eleonora is on a distinguished road
Hi! I have Ubuntu 14.04.2 and I cannot install the foam-extend-3.1.
I did what is written here:
https://openfoamwiki.net/index.php/I...oam-extend-3.1
but when I do cd
~/foam/foam-extend-3.1
source etc/bashrc
I obtain:bash: /opt/foam-extend-3.1/bin/foamGetSystemInfo: File o directory non esistente
bash:
/opt/foam-extend-3.1/bin/foamCleanPath: File o directory non esistente
bash: /opt/foam-extend-3.1/bin/foamCleanPath: File o directory non esistente
bash: /opt/foam-extend-3.1/bin/foamCleanPath: File o directory non esistente
bash: /opt/foam-extend-3.1/etc/settings.sh: File o directory non esistente
bash: /opt/foam-extend-3.1/etc/aliases.sh: File o directory non esistente
bash: /opt/foam-extend-3.1/bin/foamCleanPath: File o directory non esistente
bash: /opt/foam-extend-3.1/bin/foamCleanPath: File o directory non esistente
bash: /opt/foam-extend-3.1/bin/foamCleanPath: File o directory non esistente

It means the file or directory doesn't exists.


I have succesfully installed OpenFoam, instead.
May you help me?
Thanks
eleonora is offline   Reply With Quote

Old   April 29, 2015, 08:36
Default
  #3
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 592
Blog Entries: 5
Rep Power: 15
elvis will become famous soon enough
Hi,

you point on two directories/paths!
once you write you type command cd ~/foam/foam-extend-3.1 ->this is in your home directory and the installation should be
~/foam/foam-extend-3.1
the error message points to /opt-directory
/opt/foam-extend-3.1...

so I guess your ~/.bashrc is not okay
it can be okay to install in /opt but ~/.bashrc and other enviroment variables should point on /opt in that case
elvis is offline   Reply With Quote

Old   April 30, 2015, 03:33
Default
  #4
New Member
 
Join Date: Oct 2014
Posts: 4
Rep Power: 4
eleonora is on a distinguished road
Thank you for the answer.
Anyway I made a mess and now the error is:
Error: Current directory is not $WM_PROJECT_DIR
The environment variables are not consistent with the installation.
Please source configuration files.

Examples:
bash: . etc/bashrc
tcsh: source etc/cshrc

If you sourced the configuration files, please check the 'foamInstall' entry.

Eleonora
eleonora is offline   Reply With Quote

Old   April 30, 2015, 12:02
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,748
Blog Entries: 39
Rep Power: 103
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Quick answer: http://openfoamwiki.net/index.php/In...with_the_Shell
wyldckat is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Native Meshers: blockMesh 2 March 14, 2012 10:56
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
StarToFoam error Kart OpenFOAM Meshing & Mesh Conversion 1 February 4, 2010 05:38
Problem with foam utilities in foamx alan_fergus OpenFOAM Bugs 2 January 15, 2008 07:38
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00


All times are GMT -4. The time now is 13:32.