CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Problems with extracting OpenFOAM (http://www.cfd-online.com/Forums/openfoam/64600-problems-extracting-openfoam.html)

JohanOlivier May 15, 2009 16:46

Problems with extracting OpenFOAM
 
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?

carlos May 21, 2009 23:34

how to extract openfoam files
 
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

santos May 22, 2009 04:51

Have you tried the following in a terminal?

Code:

tar xzf <file>
?

ulli May 22, 2009 08:02

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

carlos May 22, 2009 11:38

Quote:

Originally Posted by santos (Post 216897)
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

santos May 22, 2009 15:38

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

JohanOlivier May 22, 2009 17:02

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.

carlos May 23, 2009 01:59

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 May 23, 2009 02:06

Quote:

Originally Posted by santos (Post 216936)
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,

akidess May 24, 2009 15:46

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

JohanOlivier May 24, 2009 15:51

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


All times are GMT -4. The time now is 04:42.