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

Stuck installing OpenFoam231

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 21, 2015, 15:55
Default Stuck installing OpenFoam231
  #1
New Member
 
Bjorn
Join Date: Jan 2015
Posts: 4
Rep Power: 2
SurfMagic is on a distinguished road
Hi!

This is the first time Im attempting to use Open Foam and got stuck.

Following the instruction exactly I got the error messages that they talked about and did what Im supposed to do att those error messages so I thought everything was ok, but then at>
mkdir -p $FOAM_RUN

The computer responds, missing operand.

icoFoam -help


computer responds, unknown comand


so how did I pass everything so far and then it doesnt understand the command?

Any suggestions?

Last edited by SurfMagic; January 21, 2015 at 16:34. Reason: spelling
SurfMagic is offline   Reply With Quote

Old   January 22, 2015, 02:44
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,106
Rep Power: 19
alexeym will become famous soon enoughalexeym will become famous soon enough
Hi,

You've got problems with environment. It was not set up (using 'source /path/to/openfoams/etc/bashrc').

Quote:
mkdir -p $FOAM_RUN

The computer responds, missing operand.
As your environment is not set up, FOAM_RUN environment variable is empty and command expands into

Code:
mkdir -p
and there's really no folder name.

Quote:
icoFoam -help


computer responds, unknown comand
The same problem. icoFoam is not on your PATH.

Please provide more details about the way you've installed the software. Also this - "Following the instruction exactly" - is rather cryptic. What instruction? Where did you find the instruction?
alexeym is offline   Reply With Quote

Old   January 22, 2015, 06:09
Smile
  #3
New Member
 
Bjorn
Join Date: Jan 2015
Posts: 4
Rep Power: 2
SurfMagic is on a distinguished road
Thanks for the reply,

About instructions, I mean what is said on how to install from OpenFoam download page. Not that I call this a download Ive never seen such a "download" where you actually dont download, you seem to be programing in a window.
When I mean exactly, I mean I copied every command, with my mouse in the OpenFoam instructions, and pasted it in the command window.

I did EXACTLY as said on this page. to avoid spelling mistakes I copy-past everything. http://www.openfoam.org/download/ubuntu.php

I hope that actuall program, If Im able to ever activate it, is more user friendly that this Alien code im a user, not a developer and I hope this is a program is for people to use as well, not only to forever develop and not be able to be used by others than developer hehe. Well since this was cheeky I probably wont ge replies. We will see, but I hope people understand I just spent 2 days trying........my 5 year old daughter is pist off I dont have time with her. my wife is going to divorce me... I wonder when programs going to start become user friendly so computers can save humans time instead of waste our time....hehe
SurfMagic is offline   Reply With Quote

Old   January 22, 2015, 15:30
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Quote:
Originally Posted by SurfMagic View Post
I hope that actuall program, If Im able to ever activate it, is more user friendly that this Alien code
Quick answer:
  1. Perhaps you should read the User Guide, before continuing... that way you won't be caught off-guard: http://www.openfoam.org/docs/user/
  2. Looking for user friendly interfaces for using OpenFOAM? http://openfoamwiki.net/index.php/GUI
  3. Trying to install OpenFOAM 2.3.1 on Ubuntu and need detailed installation instructions: http://openfoamwiki.net/index.php/In...M-2.3.1/Ubuntu
  4. Feeling lost when it comes to OpenFOAM? Here's some reading material: http://openfoamwiki.net/index.php/Tu...etting_Started
  5. Don't feel like this is the CFD toolbox you're looking for? Have a look at the "Alternative software" chapter for the OpenFOAM article at Wikipedia: http://en.wikipedia.org/wiki/OpenFOA...ative_software
Quote:
Originally Posted by SurfMagic View Post
I wonder when programs going to start become user friendly so computers can save humans time instead of waste our time....
Complexity is only in the eye of the beholder Simplicity is only a matter of dividing complex things into several simple things
wyldckat is offline   Reply With Quote

Old   January 22, 2015, 17:09
Default
  #5
New Member
 
Bjorn
Join Date: Jan 2015
Posts: 4
Rep Power: 2
SurfMagic is on a distinguished road
Hi,

The wiki help on installing OpenFoam on ubuntu failed on step 2 already. I did exactly as it said only copy-past. So I copied pasted line 1

Code:
 sudo -s
then step 2 tells me to install stuff see below, all copied and pasted.
Code:
root@ubuntu:~# apt-get install build-essential cmake flex bison zlib1g-dev qt4-dev-tools libqt4-dev gnuplot libreadline-dev \
> libncurses-dev libxt-dev libopenmpi-dev openmpi-bin libboost-system-dev libboost-thread-dev libgmp-dev libmpfr-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libncurses5-dev' instead of 'libncurses-dev'
Package gnuplot is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gnuplot' has no installation candidate
E: Unable to locate package libopenmpi-dev
E: Unable to locate package openmpi-bin
So the wiki install wasnt any good. Any other way of installing Open Foam?

Last edited by wyldckat; January 23, 2015 at 15:55. Reason: Added [CODE][/CODE]
SurfMagic is offline   Reply With Quote

Old   January 22, 2015, 18:57
Default
  #6
New Member
 
Bjorn
Join Date: Jan 2015
Posts: 4
Rep Power: 2
SurfMagic is on a distinguished road
ok, im on my 3d day try to install one simple pogram....

bash: /opt/OpenFOAM-2.3.1/bin/foamEtcFile: No such file or directory
bash: /opt/OpenFOAM-2.3.1/bin/foamCleanPath: No such file or directory
bash: /opt/OpenFOAM-2.3.1/bin/foamCleanPath: No such file or directory
bash: /opt/OpenFOAM-2.3.1/bin/foamCleanPath: No such file or directory
bash: /opt/OpenFOAM-2.3.1/etc/config/settings.sh: No such file or directory
bash: /opt/OpenFOAM-2.3.1/etc/config/aliases.sh: No such file or directory
bash: /opt/OpenFOAM-2.3.1/bin/foamEtcFile: No such file or directory
bash: /opt/OpenFOAM-2.3.1/bin/foamEtcFile: No such file or directory
bash: /opt/OpenFOAM-2.3.1/bin/foamEtcFile: No such file or directory
bash: /opt/OpenFOAM-2.3.1/bin/foamEtcFile: No such file or directory
bash: /opt/OpenFOAM-2.3.1/bin/foamCleanPath: No such file or directory
bash: /opt/OpenFOAM-2.3.1/bin/foamCleanPath: No such file or directory
bash: /opt/OpenFOAM-2.3.1/bin/foamCleanPath: No such file or directory
SurfMagic is offline   Reply With Quote

Old   January 23, 2015, 16:06
Default
  #7
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings SurfMagic,

Mmm... OK, I would guess that this says it all:
Code:
E: Unable to locate package libopenmpi-dev
E: Unable to locate package openmpi-bin
This usually means either one of 3 things:
  1. Your Ubuntu installation does not have network access to the internet.
  2. One or more repositories are not turned on.
  3. The update step didn't work as intended, namely:
    Code:
    apt-get update
Possible confirmations or solutions for each one:
  1. Try running:
    Code:
    ping google.com
    If it indicates that it's not able to reach google.com, then the internet connection is not working in your Ubuntu installation.
  2. Explained here: https://openfoamwiki.net/index.php/F..._on_Ubuntu_.3F
  3. Run:
    Code:
    apt-get update
    And let us know if it gives you any error messages.


Beyond this, it would be helpful if you could indicate which Ubuntu version you're using and if you have installed it in a real machine or a virtual machine.


Best regards,
Bruno
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
A simple 2D simulation getting stuck with No Error Alhasan OpenFOAM Running, Solving & CFD 1 December 14, 2014 12:30
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 0 January 1, 2014 20:21
Install OF 1.6.ext on Arch based distribution miro2000 OpenFOAM Installation 4 October 9, 2013 14:39
[ANSYS Meshing] "I shouldnt be disconnecting stuck triangles" sshah ANSYS Meshing & Geometry 0 March 15, 2012 14:33
My experience Installing Elmer (Open Source Multi physics programme) on Linux Ahmed Main CFD Forum 3 August 10, 2010 13:42


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