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

Problems with extracting OpenFOAM

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 15, 2009, 16:46
Default Problems with extracting OpenFOAM
  #1
New Member
 
Join Date: May 2009
Posts: 8
Rep Power: 8
JohanOlivier is on a distinguished road
Good day, i have downloaded the installation files for OpenFOAM (32 bit linux version) but i am not able to extract them. I get a message "An error occured while extracting files." I'm running Ubuntu 9.04... Has anyone some suggestions on what I'm doing wrong?
JohanOlivier is offline   Reply With Quote

Old   May 21, 2009, 23:34
Default how to extract openfoam files
  #2
New Member
 
Nurye
Join Date: May 2009
Posts: 13
Rep Power: 8
carlos is on a distinguished road
Hi Guys. I have encountered the same problem too... I'm also running Ubuntu 9.04...I appreciate if someone gives me tips how to extract openfoam files...Thanks
carlos is offline   Reply With Quote

Old   May 22, 2009, 04:51
Default
  #3
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 213
Rep Power: 9
santos is on a distinguished road
Send a message via Skype™ to santos
Have you tried the following in a terminal?

Code:
tar xzf <file>
?
santos is offline   Reply With Quote

Old   May 22, 2009, 08:02
Default
  #4
Member
 
Ulrich Heck
Join Date: Mar 2009
Location: Krefeld, Germany
Posts: 37
Rep Power: 8
ulli is on a distinguished road
Hi,

For Ubuntu users, I strongly recommend to use Jure's installation script:
http://www.cfd-online.com/OpenFOAM_D...es/1/8918.html

This really works excellent.

Ulrich
ulli is offline   Reply With Quote

Old   May 22, 2009, 11:38
Default
  #5
New Member
 
Nurye
Join Date: May 2009
Posts: 13
Rep Power: 8
carlos is on a distinguished road
Quote:
Originally Posted by santos View Post
Have you tried the following in a terminal?

Code:
tar xzf <file>
?
Yes, i have tried it but it shows the following error message:
"an error occurred while extracting files"
I will go through what ulli has recommended me and let you know what the result.
thanks guys for your help
carlos is offline   Reply With Quote

Old   May 22, 2009, 15:38
Default
  #6
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 213
Rep Power: 9
santos is on a distinguished road
Send a message via Skype™ to santos
I suspect you have a bad file, probably because of an incomplete download. The Ubuntu script automates the installation for you, but I think it wont help you in your problem.

Regards,
Jose Santos
santos is offline   Reply With Quote

Old   May 22, 2009, 17:02
Default
  #7
New Member
 
Join Date: May 2009
Posts: 8
Rep Power: 8
JohanOlivier is on a distinguished road
I've tried the terminal and and works. I ran foamInstallationTest after the installation and everything seems ok except for the following message..

.....
Action Result Crit
-------------------------------------------------------------------------------
Pinging_johano-laptop Successful yes
Pinging_localHost Successful yes
Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Unsuccessful_connection_refused* yes
FATAL ERROR: No remote shell available.
OpenFOAM 1.5 enviroment requires either ssh and/or rsh.
Contact your system administrator.


-------------------------------------------------------------------------------

The system test has evoked 1 fatal error(s).

Critical systems ok.

Review the output for warning messages and consult
the installation guide for trouble shooting.

done.


I'm working on a stand-alone computer, so i dont know if the "Fatal Error" is relevant.... ?

When I try to run the cavity tutorial in icoFoam, i get the following error when running blockMesh:

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Exec : blockMesh
Date : May 22 2009
Time : 23:01:49
Host : johano-laptop
PID : 15708
Case : /home/johano/OpenFOAM/johano-1.5/FOAM_RUN/tutorials/icoFoam/cavity/constant/polyMesh
nProcs : 1

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time



cannot open file

file: /home/johano/OpenFOAM/johano-1.5/FOAM_RUN/tutorials/icoFoam/cavity/constant/polyMesh/system/controlDict at line 0.

From function regIOobject::readStream(const word&)
in file db/regIOobject/regIOobjectRead.C at line 66.

FOAM exiting


Anyone knows what the problem might be?

Thank you.
JohanOlivier is offline   Reply With Quote

Old   May 23, 2009, 01:59
Default
  #8
New Member
 
Nurye
Join Date: May 2009
Posts: 13
Rep Power: 8
carlos is on a distinguished road
Dear JohanOlivier,

I know you had a problem on extracting OpenFOAM-1.5 files. Can you please tell me how you extracted the files and install them on ubuntu 9.04?

Regards
Carlos
carlos is offline   Reply With Quote

Old   May 23, 2009, 02:06
Default
  #9
New Member
 
Nurye
Join Date: May 2009
Posts: 13
Rep Power: 8
carlos is on a distinguished road
Quote:
Originally Posted by santos View Post
I suspect you have a bad file, probably because of an incomplete download. The Ubuntu script automates the installation for you, but I think it wont help you in your problem.

Regards,
Jose Santos

May be. I have downloaded the openfoam files on window xp. i will download all the files again on ubuntu 9.04 and try to extract them. thank you

Regards,
carlos is offline   Reply With Quote

Old   May 24, 2009, 15:46
Default
  #10
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 919
Rep Power: 17
akidess will become famous soon enough
Hello Johan,

it looks like something is wrong with your paths. Why is there FOAM_RUN in your path? Also, you might be calling blockMesh in the wrong directory. You have to run it in the base directory of your case, not in constant/polyMesh/.

Did you copy the tutorial from /home/johano/OpenFOAM/OpenFOAM-1.5/tutorials/icoFoam/ to /home/johano/OpenFOAM/johano-1.5/run/icoFoam/ ?

Anton

Last edited by akidess; May 24, 2009 at 15:46. Reason: typo
akidess is offline   Reply With Quote

Old   May 24, 2009, 15:51
Default
  #11
New Member
 
Join Date: May 2009
Posts: 8
Rep Power: 8
JohanOlivier is on a distinguished road
Hi Carlos,

I used the command tar xzf <file> but make sure you create a directory OpenFOAM in $HOME/<user>. The directory structure in my case was $HOME/johano/OpenFOAM Then copy the downloaded files to this directory and use the command tar xzf<file> to extract the files. This should work...hopefully.

regards
Johan
JohanOlivier 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
Boundary condition problems (OpenFOAM) Milos OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 12 June 10, 2014 16:35
OpenFoam for heat transport problems Martin Lorenz (Lorenz) OpenFOAM Running, Solving & CFD 16 March 18, 2009 04:05
OpenFoam - problems MateuszZb ParaView 8 July 21, 2008 16:16
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 13:50


All times are GMT -4. The time now is 01:43.