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

[OpenFOAM.org] paraFoam Installation for Open Foam 2.3.1 on Ubuntu 12.04

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 3, 2015, 10:39
Default paraFoam Installation for Open Foam 2.3.1 on Ubuntu 12.04
  #1
Senior Member
 
ArielJ
Join Date: Aug 2015
Posts: 127
Rep Power: 10
arieljeds is on a distinguished road
Hi everyone,

First off I have to say that I am completely new to OpenFOAM, quite new to Linux, and in general not incredibly confident at programming. For my work, I am trying to learn OpenFOAM and am following tutorials. I was able to install openFOAM and paraview correctly... so I thought! When I type just paraview into the command line, paraview opens correctly. However, when I try paraFoam, I get the error "command not found".

Here are some things I tried:

Code:
sudo apt-get download  paraviewopenfoam231  --allow-unauthenticated
(error: unable to locate package paraviewopenfoam231)

I also tried to follow the instructions here: http://openfoamwiki.net/index.php/In...u#Ubuntu_14.10 (beginning with step 9 and setting up Cmake - not successful).

Code:
cd $WM_THIRD_PARTY_DIR
wget "https://raw.github.com/wyldckat/scripts4OpenFOAM3rdParty/master/getCmake"
sed -i -e 's=version}\.3=version}.12.1=' getCmake
chmod +x getCmake
./getCmake
./makeCmake
wmSET $FOAM_SETTINGS
The error for this is:

Code:
./getCmake: 42: ./getCmake: wmakeCheckPwd: not found
I would really appreciate even a better link to follow to download this correctly, or some simply worded advice (I am way way out of my depth at the moment and just wanted to get things working!)

Thanks in advance for any advice!!

UPDATE: I've just realised that this did in fact work before. I can launch ParaView (typing paraview in the command line) and I can view my past attempt at this -- several months ago so I had forgotten I had tried before. Now I'm more confused because I guess I deleted it somehow or changed the dependency??? Any ideas?

Last edited by arieljeds; August 3, 2015 at 10:48. Reason: included update at the bottom of post
arieljeds is offline   Reply With Quote

Old   August 4, 2015, 17:23
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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
Greetings Ariel and welcome to the forum!

Well, there were two details wrong in how you were trying to install ParaView via apt-get:
  1. The package is named "paraviewopenfoam410", not "paraviewopenfoam231", as indicated here: http://www.openfoam.org/archive/2.3....oad/ubuntu.php
  2. Ubuntu 12.04 is not a valid version for installing the package "paraviewopenfoam410", as also indicated on that page. I say this because on the thread title you've indicated you were using Ubuntu 12.04.
If the command:
Code:
paraFoam
tells you that it cannot find this script/command, then there is something strange with your installation of OpenFOAM 2.3.1. Perhaps you need to first activate the OpenFOAM shell environment? More details provided here: http://openfoamwiki.net/index.php/In...ment_Variables
The error message:
Code:
wmakeCheckPwd: not found
also relates to the OpenFOAM shell environment not being activated.


Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   August 5, 2015, 03:45
Default
  #3
Senior Member
 
ArielJ
Join Date: Aug 2015
Posts: 127
Rep Power: 10
arieljeds is on a distinguished road
Hi Bruno,

Thanks for your reply! Well after messing around with it a lot I realised I was really stupid and, as you suggested, had not even opened the OpenFOAM environment! I have it working now but having other issues to do with the "Plot over Line" option (greyed out) but I guess it's off topic and I'll start a new thread if necessary!

Thanks again

Ariel
arieljeds is offline   Reply With Quote

Reply

Tags
openfoam, parafoam, paraview, ubuntu 12.04

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
error with reactingFoam BakedAlmonds OpenFOAM Running, Solving & CFD 4 June 22, 2016 02:21
[OpenFOAM.org] OpenFOAM 2.40 installation on Ubuntu 12.04 LTS eddykendo OpenFOAM Installation 1 July 18, 2015 17:38
OF 2.2.1 installation error on dependencies in Ubuntu 12.04 immortality OpenFOAM Installation 8 October 19, 2013 15:17
is internalField(U) equivalent to zeroGradient? immortality OpenFOAM Running, Solving & CFD 7 March 29, 2013 01:27
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25


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