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

Instalation on ubuntu 710

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 8, 2008, 21:40
Default Sorry for starting a new threa
  #1
Member
 
Stephen
Join Date: Mar 2009
Posts: 40
Rep Power: 8
basilwatson is on a distinguished road
Sorry for starting a new thread, but I am not sure if its the same problem as the others below

below is the output file from installation test
with this warning the one I am concerned about;

FATAL ERROR Foam install directory not set.

Set correct path to installation 'WM_PROJECT_INST_DIR' in /home/s/.foam2.3/bashrc

How do I go about pointing openfoam in the right direction?

Kind Regards Stephen

Executing /home/s/OpenFOAM/linux/OpenFOAM-1.4.1/bin/foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: s-desktop
OS: Linux version 2.6.22-14-generic
User: s
User_config: /home/s/.bashrc
Foam_config: /home/s/.OpenFOAM-1.4.1/bashrc sourced correctly.

FATAL ERROR Foam install directory not set.

Set correct path to installation 'WM_PROJECT_INST_DIR' in /home/s/.foam2.3/bashrc
-------------------------------------------------------------------------------


Checking main FOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR --------- env variable not set --------- yes
$WM_PROJECT_USER_DIR --------- env variable not set --------- no
$FOAM_JOB_DIR --------- env variable not set --------- yes
-------------------------------------------------------------------------------


Checking the FOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR --------- env variable not set --------- yes

$FOAM_USER_APPBIN --------- env variable not set --------- no
$FOAM_APPBIN --------- env variable not set --------- yes
$WM_DIR --------- env variable not set --------- yes
$FOAMX_PATH --------- env variable not set --------- yes
$CEI_HOME --------- env variable not set --------- no

$JAVA_PATH --------- env variable not set --------- no
$MICO_ARCH_PATH --------- env variable not set --------- yes
$LAM_ARCH_PATH --------- env variable not set --------- yes
$MPICH_ARCH_PATH --------- env variable not set --------- no
-------------------------------------------------------------------------------


Checking the FOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN --------- env variable not set --------- yes
$FOAM_USER_LIBBIN --------- env variable not set --------- no
$LAM_ARCH_PATH --------- env variable not set --------- yes
-------------------------------------------------------------------------------


Software versions
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.1.3
WARNING: Conflicting installations:
foam settings: /bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR

java 1.6.0_03
WARNING: Conflicting installations:
foam settings: /bin/java
current path : /usr/bin/java

gzip 1.3.12 /bin/gzip
tar 1.3.12 /bin/tar
icoFoam *** not installed ***
CRITICAL ERROR

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


Checking file/directory permissions...
-------------------------------------------------------------------------------
File/directory Set Reqd Crit
-------------------------------------------------------------------------------


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_s-desktop Successful yes
Pinging_localHost Successful yes
Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Successful yes
(*) Only one of rsh or ssh is required by the Foam enviroment.

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

Base configuration ok.

The foam installation contains 2 critical error(s).

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

s@s-desktop:~$
basilwatson is offline   Reply With Quote

Old   April 9, 2008, 05:35
Default This looks like what you get w
  #2
Member
 
Graeme Cottrell
Join Date: Mar 2009
Posts: 30
Rep Power: 8
platopus is on a distinguished road
This looks like what you get when you've added a line to the end of ~/.bashrc but you're running foamInstallationTest in a shell that hasn't had the benefit of that modification.

Try closing all your terminal sessions, open a new one, and run foamInstallationTest again.


Regards, Graeme.
platopus is offline   Reply With Quote

Old   April 10, 2008, 01:35
Default Thanks Graeme I have 2 bash
  #3
Member
 
Stephen
Join Date: Mar 2009
Posts: 40
Rep Power: 8
basilwatson is on a distinguished road
Thanks Graeme

I have 2 bashrc

.bashrc~ and bashrc also bashrc~~
I added the line you see below to all of the ( one at a time then deleting that line after running foam installation test
below is the result of the installation test

what am I doing wrong??? have I missed a . before the bashrc ???

Thanks for your help, it appreciated

Kind Regards Stephen

Line added to bashrc .....
snip)
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
. /home/s/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc

He is now rising from affluence to poverty.
-- Mark Twain
bash: /home/s/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc: No such file or directory
s@s-desktop:~$ /home/s/OpenFOAM/linux/OpenFOAM-1.4.1/bin/foamInstallationTest Executing /home/s/OpenFOAM/linux/OpenFOAM-1.4.1/bin/foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: s-desktop
OS: Linux version 2.6.22-14-generic
User: s
User_config: /home/s/.bashrc
Foam_config: /home/s/.OpenFOAM-1.4.1/bashrc sourced correctly.

FATAL ERROR Foam install directory not set.

Set correct path to installation 'WM_PROJECT_INST_DIR' in /home/s/.foam2.3/bashrc
-------------------------------------------------------------------------------


Checking main FOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR --------- env variable not set --------- yes
$WM_PROJECT_USER_DIR --------- env variable not set --------- no
$FOAM_JOB_DIR --------- env variable not set --------- yes
-------------------------------------------------------------------------------


Checking the FOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR --------- env variable not set --------- yes

$FOAM_USER_APPBIN --------- env variable not set --------- no
$FOAM_APPBIN --------- env variable not set --------- yes
$WM_DIR --------- env variable not set --------- yes
$FOAMX_PATH --------- env variable not set --------- yes
$CEI_HOME --------- env variable not set --------- no

$JAVA_PATH --------- env variable not set --------- no
$MICO_ARCH_PATH --------- env variable not set --------- yes
$LAM_ARCH_PATH --------- env variable not set --------- yes
$MPICH_ARCH_PATH --------- env variable not set --------- no
-------------------------------------------------------------------------------


Checking the FOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN --------- env variable not set --------- yes
$FOAM_USER_LIBBIN --------- env variable not set --------- no
$LAM_ARCH_PATH --------- env variable not set --------- yes
-------------------------------------------------------------------------------


Software versions
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.1.3
WARNING: Conflicting installations:
foam settings: /bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR

java 1.6.0_03
WARNING: Conflicting installations:
foam settings: /bin/java
current path : /usr/bin/java

gzip 1.3.12 /bin/gzip
tar 1.3.12 /bin/tar
icoFoam *** not installed ***
CRITICAL ERROR

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


Checking file/directory permissions...
-------------------------------------------------------------------------------
File/directory Set Reqd Crit
-------------------------------------------------------------------------------


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_s-desktop Successful yes
Pinging_localHost Successful yes
Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Successful yes
(*) Only one of rsh or ssh is required by the Foam enviroment.

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

Base configuration ok.

The foam installation contains 2 critical error(s).

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

s@s-desktop:~$
basilwatson is offline   Reply With Quote

Old   April 10, 2008, 04:30
Default > I have 2 bashrc > > .bash
  #4
Member
 
Graeme Cottrell
Join Date: Mar 2009
Posts: 30
Rep Power: 8
platopus is on a distinguished road
> I have 2 bashrc
>
> .bashrc~ and bashrc also bashrc~~

What happened to ~/.bashrc ?
The ones with the tildes on the ends are backups.

> (snip)
> . /home/s/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc

That looks okay, but what file is it in?

> He is now rising from affluence to poverty.
> -- Mark Twain
> bash: > /home/s/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc: No such file or directory

This is a clue. It can't find the file.

> s@s-desktop:~$
> /home/s/OpenFOAM/linux/OpenFOAM-1.4.1/bin/foamInstallationTest Executing
> /home/s/OpenFOAM/linux/OpenFOAM-1.4.1/bin/foamInstallationTest:

You've untarred the OpenFOAM software into the linux subdirectory of the OpenFOAM directory.
That's the wrong place.

Try this:

mv ~/OpenFOAM/linux/OpenFOAM-1.4.1 ~/OpenFOAM/

Maybe you'll have better results if you put it where it's supposed to be.


Regards, Graeme.
platopus is offline   Reply With Quote

Old   April 10, 2008, 22:13
Default Thanks Graeme I followed t
  #5
Member
 
Stephen
Join Date: Mar 2009
Posts: 40
Rep Power: 8
basilwatson is on a distinguished road
Thanks Graeme

I followed these instructions , and mis understood them

http://ubuntuforums.org/showthread.php?t=156298



will give it another shot and see how it goes

Kind regards Stephen
basilwatson is offline   Reply With Quote

Old   April 10, 2008, 23:45
Default Ok have moved the files , test
  #6
Member
 
Stephen
Join Date: Mar 2009
Posts: 40
Rep Power: 8
basilwatson is on a distinguished road
Ok have moved the files , test output the same , found
/home/s/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1

but its empty , as in completely empty

Can I just copy the bash file from /home/s.....

Kind regards

Stephen
basilwatson is offline   Reply With Quote

Old   April 10, 2008, 23:53
Default FATAL ERROR Foam install direc
  #7
Member
 
Stephen
Join Date: Mar 2009
Posts: 40
Rep Power: 8
basilwatson is on a distinguished road
FATAL ERROR Foam install directory not set.

Set correct path to installation 'WM_PROJECT_INST_DIR' in /home/s/.foam2.3/bashrc


this is the problem I think ,,, cant find this file either ,

Kind regards Stephen
basilwatson is offline   Reply With Quote

Old   April 11, 2008, 05:49
Default > I followed these instruction
  #8
Member
 
Graeme Cottrell
Join Date: Mar 2009
Posts: 30
Rep Power: 8
platopus is on a distinguished road
> I followed these instructions , and mis understood them
>
> http://ubuntuforums.org/showthread.php?t=156298

They look a bit misleading to me.

> Ok have moved the files , test output the same , found
> /home/s/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1
>
> but its empty , as in completely empty

That's odd.

> Can I just copy the bash file from /home/s.....

No, it's a completely different file.

> FATAL ERROR Foam install directory not set.
>
> Set correct path to installation 'WM_PROJECT_INST_DIR' in /home/s/.foam2.3/bashrc

>
> this is the problem I think ,,, cant find this file either ,

No, I'm pretty sure that message is left over from a previous incarnation of OpenFOAM. There should be no .foam2.3 directory in the home directory.

At this point I think you should take the files you've downloaded and put them in a safe place, then delete contents of the OpenFOAM directory and start again after reading

http://www.opencfd.co.uk/openfoam/linux.html#linux

Then go to the README file at ~/OpenFOAM/OpenFOAM-1.4.1/README and take it from there.

Note that you put the OpenFOAM*.gtgz files in the ~/OpenFOAM directory, change directory to there, and untar them in that directory. The other *.tgz files go into the ~/OpenFOAM/linux directory, you change directory to there and untar them there.


Regards, Graeme.
platopus is offline   Reply With Quote

Old   April 11, 2008, 09:20
Default Thanks Graeme I ll give it
  #9
Member
 
Stephen
Join Date: Mar 2009
Posts: 40
Rep Power: 8
basilwatson is on a distinguished road
Thanks Graeme

I ll give it a try tomorrow night

will let you know how it goes

Kind regards Stephen
basilwatson is offline   Reply With Quote

Old   April 13, 2008, 23:45
Default O This is frustrating ( Here
  #10
Member
 
Stephen
Join Date: Mar 2009
Posts: 40
Rep Power: 8
basilwatson is on a distinguished road
O This is frustrating ( Here is exactly what I typed in and the errors I recieved


Using the installation guide and the readme ( which I couldnt find in OpenFOAM/OpenFOAM-1.4.1/README ( not there )

a) Downloaded the following files from www.openfoam.org

OpenFOAM-1.4.1.General.gtgz

OpenFOAM-1.4.1.linuxGccDPOpt.gtgz

OpenFOAM-1.4.1.linuxGccSPOpt.gtgz

I Saved these files to $home/OpenFOAM.

by making # mkdir /home/OpenFOAM OpenFOAM directory is sitting next to my user directory


gcc-4.1.1.linux.tgz

paraview-2.4.4.linux.tgz

j2sdk1.4.2.os.linux.tgz

Save these files to $home/OpenFOAM/linux.

 

I changed directory and Untared every single file in the previous order using this command:

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

tar -xzvf <filename>

Error message returned ( on the zipped files OpenFOAM-1.4.1.linuxGccDPOpt.gtgz and OpenFOAM-1.4.1.linuxGccSPOpt.gtgz

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
root@s-desktop:/home/OpenFOAM#
OAM-1.4.1/bin/foamInstallationTest
-----------------------------------------------------



Then did foamSystemCheck using the following shell command line by line:

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

cd ~/OpenFoam/OpenFOAM-1.4.1/bin

chmod -v 555 foamSystemCheck

setenv PATH ${PATH}:~/OpenFOAM/OpenFOAM-1.4.1/bin/ ( came back with no command found )

foamSystemCheck

chmod -v 755 foamSystemCheck

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

 

e) Set the environmental variable using the following shell command line by line:

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

gedit ~/.bashrc &

. ~/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4/bashrc

this was found at the bottom of the bashrc file , saved then exited
-----------------------------------------------------

Once you are in gedit mode, add the following line to the end of the file:

After you have saved the file, type in the following shell ( shell as in terminal???) command:

source ~/.cshrc


The environmental variable has been changed. Double check it by the command:


echo $PATH
To which It returned a whole lot of path names -----------------------------------------------------

 

Then I Checked the installation by foamInstallationTest:

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

cd $HOME/OpenFOAM/OpenFOAM-1.4.1/bin

chmod -v 555 foamInstallationTest

foamInstallationTest


The results being

root@s-desktop:/home/OpenFOAM/OpenFOAM-1.4.1/bin# /home/OpenFOAM/OpenFOAM-1.4.1/bin/foamInstallationTest
Executing /home/OpenFOAM/OpenFOAM-1.4.1/bin/foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: s-desktop
OS: Linux version 2.6.22-14-generic
User: root
User_config: /root/.bashrc
Foam_config: /root/.OpenFOAM-1.4.1/bashrc sourced correctly.

FATAL ERROR Foam install directory not set.

Set correct path to installation 'WM_PROJECT_INST_DIR' in /root/.foam2.3/bashrc
-------------------------------------------------------------------------------


Checking main FOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR --------- env variable not set --------- yes
$WM_PROJECT_USER_DIR --------- env variable not set --------- no
$FOAM_JOB_DIR --------- env variable not set --------- yes
-------------------------------------------------------------------------------


Checking the FOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR --------- env variable not set --------- yes

$FOAM_USER_APPBIN --------- env variable not set --------- no
$FOAM_APPBIN --------- env variable not set --------- yes
$WM_DIR --------- env variable not set --------- yes
$FOAMX_PATH --------- env variable not set --------- yes
$CEI_HOME --------- env variable not set --------- no

$JAVA_PATH --------- env variable not set --------- no
$MICO_ARCH_PATH --------- env variable not set --------- yes
$LAM_ARCH_PATH --------- env variable not set --------- yes
$MPICH_ARCH_PATH --------- env variable not set --------- no
-------------------------------------------------------------------------------


Checking the FOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN --------- env variable not set --------- yes
$FOAM_USER_LIBBIN --------- env variable not set --------- no
$LAM_ARCH_PATH --------- env variable not set --------- yes
-------------------------------------------------------------------------------


Software versions
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.1.3
WARNING: Conflicting installations:
foam settings: /bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR

java 1.6.0_03
WARNING: Conflicting installations:
foam settings: /bin/java
current path : /usr/bin/java

gzip 1.3.12 /bin/gzip
tar 1.3.12 /bin/tar
icoFoam *** not installed ***
CRITICAL ERROR

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


Checking file/directory permissions...
-------------------------------------------------------------------------------
File/directory Set Reqd Crit
-------------------------------------------------------------------------------


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_s-desktop Successful yes
Pinging_localHost Successful yes
Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Successful yes
(*) Only one of rsh or ssh is required by the Foam enviroment.

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

Base configuration ok.

The foam installation contains 2 critical error(s).

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

root@s-desktop:/home/OpenFOAM/OpenFOAM-1.4.1/bin#

Exactly where i was in the begining except now im in a different folder

What the earth is going on !!!!

The only difference between unpacking this time from the last time is that the files had a X above them and needed a permision change ( the X i assume is that the file did not unpack properly

Please help

Kind regards Stephen
basilwatson is offline   Reply With Quote

Old   April 14, 2008, 00:22
Default the problem may be that this f
  #11
Member
 
Stephen
Join Date: Mar 2009
Posts: 40
Rep Power: 8
basilwatson is on a distinguished road
the problem may be that this file isnt being created , or at least I havent found it ,,,

Stephen

bash: /root/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc: No such file or directory
bash: /root/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4/bashrc: No such file or directory
root@s-desktop:/home/s#
basilwatson is offline   Reply With Quote

Old   April 14, 2008, 06:21
Default Imagine I set up an account fo
  #12
Member
 
Graeme Cottrell
Join Date: Mar 2009
Posts: 30
Rep Power: 8
platopus is on a distinguished road
Imagine I set up an account for you on my machine here, and
I stood behind you and told you what to type.

! Here's the start of a shell session:

s@graeme-vaio:~$ cp ../graeme/stephen.txt s.txt
s@graeme-vaio:~$ ls
Desktop s.txt

! See, it's an almost clean home directory.

s@graeme-vaio:~$ mkdir OpenFOAM

! As directed by the web site, we create a directory.

s@graeme-vaio:~$ cp ../graeme/OpenFOAM/*.gtgz OpenFOAM

! In this case it's a local copy - in reality, you might have
! to download some of your files again.

s@graeme-vaio:~$ cd OpenFOAM
s@graeme-vaio:~/OpenFOAM$ ls -l
total 259996
-rw-r--r-- 1 s s 148526808 2008-04-14 18:52 OpenFOAM-1.4.1.General.gtgz
-rw-r--r-- 1 s s 58886901 2008-04-14 18:52 OpenFOAM-1.4.1.linuxGccDPOpt.gtgz
-rw-r--r-- 1 s s 58538845 2008-04-14 18:52 OpenFOAM-1.4.1.linuxGccSPOpt.gtgz

! This is how big these particular versions of these files should be.

s@graeme-vaio:~/OpenFOAM$ mkdir linux

! Creating the linux subdirectory of the OpenFOAM directory, as directed.

s@graeme-vaio:~/OpenFOAM$ cp ../../graeme/OpenFOAM/linux/*.tgz linux

! Getting the third-party stuff, again this is local, the files you have lying
! around may be quite okay.

s@graeme-vaio:~/OpenFOAM$ cd linux
s@graeme-vaio:~/OpenFOAM/linux$ ls -l
total 117940
-rw-r--r-- 1 s s 41485330 2008-04-14 18:54 gcc-4.2.1.linux.tgz
-rw-r--r-- 1 s s 49045283 2008-04-14 18:54 j2sdk1.4.2_05.linux.tgz
-rw-r--r-- 1 s s 30097888 2008-04-14 18:54 paraview-2.4.4.linux.tgz

! This is how big they should be.

s@graeme-vaio:~/OpenFOAM/linux$ cd ..

! Back up.

s@graeme-vaio:~/OpenFOAM$ ls
linux OpenFOAM-1.4.1.linuxGccDPOpt.gtgz
OpenFOAM-1.4.1.General.gtgz OpenFOAM-1.4.1.linuxGccSPOpt.gtgz
s@graeme-vaio:~/OpenFOAM$ tar -xzf OpenFOAM-1.4.1.General.gtgz
s@graeme-vaio:~/OpenFOAM$ tar -xzf OpenFOAM-1.4.1.linuxGccDPOpt.gtgz
s@graeme-vaio:~/OpenFOAM$ tar -xzf OpenFOAM-1.4.1.linuxGccSPOpt.gtgz

! Now we untar the files. I've left out the v option to make them silent.
! No news is good news.

s@graeme-vaio:~/OpenFOAM$ ls -l
total 260004
drwxr-xr-x 2 s s 4096 2008-04-14 18:54 linux
drwxr-xr-x 10 s s 4096 2008-04-14 18:57 OpenFOAM-1.4.1
-rw-r--r-- 1 s s 148526808 2008-04-14 18:52 OpenFOAM-1.4.1.General.gtgz
-rw-r--r-- 1 s s 58886901 2008-04-14 18:52 OpenFOAM-1.4.1.linuxGccDPOpt.gtgz
-rw-r--r-- 1 s s 58538845 2008-04-14 18:52 OpenFOAM-1.4.1.linuxGccSPOpt.gtgz

! Now we have an OpenFOAM-1.4.1 subdirectory.

s@graeme-vaio:~/OpenFOAM$ ls -l OpenFOAM-1.4.1
total 72
-rwxr-x--- 1 s s 163 2006-04-06 07:18 Allwmake
drwxr-xr-x 6 s s 4096 2008-04-14 18:57 applications
drwxr-xr-x 3 s s 4096 2008-04-14 18:56 bin
-rw-r----- 1 s s 17994 2005-06-22 02:12 COPYING
drwxr-xr-x 5 s s 4096 2008-04-14 18:56 doc
drwxr-xr-x 4 s s 4096 2008-04-14 18:57 lib
-rw-r----- 1 s s 8745 2007-07-31 23:28 README
-rw-r----- 1 s s 6171 2007-08-03 07:28 ReleaseNotes-1.4.1
drwxr-xr-x 29 s s 4096 2008-04-14 18:56 src
drwxr-xr-x 43 s s 4096 2008-04-14 18:56 tutorials
drwxr-xr-x 5 s s 4096 2008-04-14 18:56 wmake

! And look, it contains a README! We'll get to that later.

s@graeme-vaio:~/OpenFOAM$ cd linux
s@graeme-vaio:~/OpenFOAM/linux$ ls
gcc-4.2.1.linux.tgz j2sdk1.4.2_05.linux.tgz paraview-2.4.4.linux.tgz
s@graeme-vaio:~/OpenFOAM/linux$ tar -xzf gcc-4.2.1.linux.tgz
s@graeme-vaio:~/OpenFOAM/linux$ tar -xzf j2sdk1.4.2_05.linux.tgz
s@graeme-vaio:~/OpenFOAM/linux$ tar -xzf paraview-2.4.4.linux.tgz

! Untar the 3rd party apps, silently.

s@graeme-vaio:~/OpenFOAM/linux$ ls -l
total 117952
drwxr-xr-x 9 s s 4096 2007-08-02 02:30 gcc-4.2.1
-rw-r--r-- 1 s s 41485330 2008-04-14 18:54 gcc-4.2.1.linux.tgz
drwxr-xr-x 9 s s 4096 2004-07-06 21:52 j2sdk1.4.2_05
-rw-r--r-- 1 s s 49045283 2008-04-14 18:54 j2sdk1.4.2_05.linux.tgz
drwxr-x--- 6 s s 4096 2007-04-11 21:26 paraview-2.4.4
-rw-r--r-- 1 s s 30097888 2008-04-14 18:54 paraview-2.4.4.linux.tgz

! Now we have some directories here, and since we're using exactly
! the versions supplied with the OF 1.4.1, we won't have to muck about
! too much with shell scripts.

s@graeme-vaio:~/OpenFOAM/linux$ cd ..
s@graeme-vaio:~/OpenFOAM$ cd OpenFOAM-1.4.1/
s@graeme-vaio:~/OpenFOAM/OpenFOAM-1.4.1$ ls
Allwmake bin doc README src wmake
applications COPYING lib ReleaseNotes-1.4.1 tutorials
s@graeme-vaio:~/OpenFOAM/OpenFOAM-1.4.1$ less README

! Now we get to the README, and find the bit about modifying ~/.bashrc,
! so in another shell we edit it, just cutting and pasting from the
! README.

s@graeme-vaio:~$ vi .bashrc
s@graeme-vaio:~$

! We notice that the README says to instruct the shell to run the
! new scripts to prepare the environment, but why not just close
! down all the old shells and open new ones up?
! When we do that we are greeted with:

Executing: /home/s/OpenFOAM/OpenFOAM-1.4.1/.bashrc
Executing: /home/s/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/apps/ensightFoam/bashrc
Executing: /home/s/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/apps/paraview/bashrc

! So it seems to have found everything.

s@graeme-vaio:~$ cd OpenFOAM/OpenFOAM-1.4.1/
s@graeme-vaio:~/OpenFOAM/OpenFOAM-1.4.1$ ls
Allwmake bin doc README src wmake
applications COPYING lib ReleaseNotes-1.4.1 tutorials
s@graeme-vaio:~/OpenFOAM/OpenFOAM-1.4.1$ less README

! Back to the README for more, and open up yet another shell session
! to do some experimenting in.

Executing: /home/s/OpenFOAM/OpenFOAM-1.4.1/.bashrc
Executing: /home/s/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/apps/ensightFoam/bashrc
Executing: /home/s/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/apps/paraview/bashrc

! Will wonders never cease? It's done it again.
! Belatedly, I realised I forgot the foamSystemCheck
! No chmodding, no superuser priveliges, just:

s@graeme-vaio:~$ foamSystemCheck


Checking basic system...
-----------------------------------------------------------------------
Shell: bash
Host: graeme-vaio
OS: Linux version 2.6.22-14-generic
User: s


Checking networking...
-----------------------------------------------------------------------
Ping_graeme-vaio: Successful
Ping_localHost: Successful
Test_rsh: Unsuccessful, connection refused*
Test_ssh: Successful
(*) Only one of rsh or ssh is required and only by FoamX.


System check: PASS
==================
Continue Foam installation.

! It was even on the path.
! Now for the next foamInstallationTest:

s@graeme-vaio:~$ foamInstallationTest
Executing /home/s/OpenFOAM/OpenFOAM-1.4.1/bin/foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: graeme-vaio
OS: Linux version 2.6.22-14-generic
User: s
User_config: /home/s/.bashrc
Foam_config: /home/s/.OpenFOAM-1.4.1/bashrc sourced correctly.
-------------------------------------------------------------------------------


Checking main FOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/s/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/s/OpenFOAM/s-1.4.1 yes no
$FOAM_JOB_DIR /home/s/OpenFOAM/jobControl no yes
-------------------------------------------------------------------------------


Checking the FOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR /home/s/OpenFOAM/OpenFOAM-1.4.1 yes yes yes

$FOAM_USER_APPBIN ...1.4.1/applications/bin/linuxGccDPOpt yes yes no
$FOAM_APPBIN ...1.4.1/applications/bin/linuxGccDPOpt yes yes yes
$WM_DIR /home/s/OpenFOAM/OpenFOAM-1.4.1/wmake yes yes yes
$FOAMX_PATH ...ations/utilities/preProcessing/FoamX yes no yes
$CEI_HOME /usr/local/ensight/CEI no no

$JAVA_PATH /home/s/OpenFOAM/linux/j2sdk1.4.2_05 yes yes no
$MICO_ARCH_PATH .../mico-2.3.12/platforms/linuxGccDPOpt yes yes yes
$LAM_ARCH_PATH --------- env variable not set --------- yes
$MPICH_ARCH_PATH --------- env variable not set --------- no
-------------------------------------------------------------------------------


Checking the FOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN ...OAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt yes yes yes
$FOAM_USER_LIBBIN ...s/OpenFOAM/s-1.4.1/lib/linuxGccDPOpt yes yes no
$LAM_ARCH_PATH --------- env variable not set --------- yes
-------------------------------------------------------------------------------


Software versions
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.2.1 /home/s/OpenFOAM/linux/gcc-4.2.1/bin/gcc
java 1.4.2_05 /home/s/OpenFOAM/linux/j2sdk1.4.2_05/bin/java
gzip 1.3.12 /bin/gzip
tar 1.3.12 /bin/tar
icoFoam .../OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/icoFoam
-------------------------------------------------------------------------------


Checking file/directory permissions...
-------------------------------------------------------------------------------
File/directory Set Reqd Crit
-------------------------------------------------------------------------------


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_graeme-vaio Successful yes
Pinging_localHost Successful yes
Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Successful yes
(*) Only one of rsh or ssh is required by the Foam enviroment.

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

Base configuration ok.

Critical systems ok.


! Flying colours.
! Now, following the directions in the README to create a 'run' directory
! and then copy the tutorials over into it ...

s@graeme-vaio:~$
s@graeme-vaio:~$ mkdir -p $HOME/OpenFOAM/${LOGNAME}-1.4.1/run
s@graeme-vaio:~$
s@graeme-vaio:~$ cp -r $WM_PROJECT_DIR/tutorials $HOME/OpenFOAM/${LOGNAME}-1.4.1/run
s@graeme-vaio:~$

! Now we can get started. Go to the right place ...

s@graeme-vaio:~$ cd $HOME/OpenFOAM/${LOGNAME}-1.4.1/run/tutorials/icoFoam
s@graeme-vaio:~/OpenFOAM/s-1.4.1/run/tutorials/icoFoam$
s@graeme-vaio:~/OpenFOAM/s-1.4.1/run/tutorials/icoFoam$ ls -l
total 28
-rwxr-x--- 1 s s 392 2008-04-14 19:09 Allclean
-rwxr-x--- 1 s s 2712 2008-04-14 19:09 Allrun
drwxr-xr-x 5 s s 4096 2008-04-14 19:09 cavity
drwxr-xr-x 5 s s 4096 2008-04-14 19:09 cavityClipped
drwxr-xr-x 5 s s 4096 2008-04-14 19:09 cavityGrade
drwxr-xr-x 5 s s 4096 2008-04-14 19:09 elbow
-rw-r----- 1 s s 160 2008-04-14 19:09 resetFixedWallsScr

! Note the Allclean and Allrun scripts? Well don't use them yet.
! We follow the README to mesh a case:

s@graeme-vaio:~/OpenFOAM/s-1.4.1/run/tutorials/icoFoam$ blockMesh . cavity
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.4.1 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : blockMesh . cavity
Date : Apr 14 2008
Time : 19:10:43
Host : graeme-vaio
PID : 10518
Root : /home/s/OpenFOAM/s-1.4.1/run/tutorials/icoFoam
Case : cavity
Nprocs : 1
Create time


Reading block mesh description dictionary

Creating block mesh

Creating blockCorners

Creating curved edges

Creating blocks

Creating patches

Creating block mesh topology

Default patch type set to empty

Check block mesh topology

Basic statistics
Number of internal faces : 0
Number of boundary faces : 6
Number of defined boundary faces : 6
Number of undefined boundary faces : 0

Checking patch -> block consistency

Creating block offsets

Creating merge list .

Creating points

Creating cells

Creating patches

Creating mesh from block mesh

Default patch type set to empty

Creating merge patch pairs


Writing polyMesh

end
s@graeme-vaio:~/OpenFOAM/s-1.4.1/run/tutorials/icoFoam$

! And we run a solver on that mesh with the fields that have been set up:

s@graeme-vaio:~/OpenFOAM/s-1.4.1/run/tutorials/icoFoam$ icoFoam . cavity
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.4.1 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : icoFoam . cavity
Date : Apr 14 2008
Time : 19:11:05
Host : graeme-vaio
PID : 10519
Root : /home/s/OpenFOAM/s-1.4.1/run/tutorials/icoFoam
Case : cavity
Nprocs : 1
Create time

Create mesh for time = 0

Reading transportProperties

Reading field p

Reading field U

Reading/calculating face flux field phi


Starting time loop

Time = 0.005

Courant Number mean: 0 max: 0
DILUPBiCG: Solving for Ux, Initial residual = 1, Final residual = 2.96338e-06, No Iterations 8
DILUPBiCG: Solving for Uy, Initial residual = 0, Final residual = 0, No Iterations 0
DICPCG: Solving for p, Initial residual = 1, Final residual = 7.55402e-07, No Iterations 35
time step continuity errors : sum local = 5.03809e-09, global = -3.84804e-19, cumulative = -3.84804e-19
DICPCG: Solving for p, Initial residual = 0.523591, Final residual = 9.72352e-07, No Iterations 34
time step continuity errors : sum local = 1.07766e-08, global = 4.10447e-19, cumulative = 2.56426e-20
ExecutionTime = 0.04 s ClockTime = 0 s

Time = 0.01

<snip> (many many lines of fascinating numbers elided)

Time = 0.5

Courant Number mean: 0.116925 max: 0.852134
DILUPBiCG: Solving for Ux, Initial residual = 1.89493e-07, Final residual = 1.89493e-07, No Iterations 0
DILUPBiCG: Solving for Uy, Initial residual = 4.14522e-07, Final residual = 4.14522e-07, No Iterations 0
DICPCG: Solving for p, Initial residual = 1.06665e-06, Final residual = 3.39604e-07, No Iterations 1
time step continuity errors : sum local = 5.25344e-09, global = 1.23705e-18, cumulative = -4.08805e-18
DICPCG: Solving for p, Initial residual = 5.36118e-07, Final residual = 5.36118e-07, No Iterations 0
time step continuity errors : sum local = 6.86432e-09, global = 1.37312e-18, cumulative = -2.71493e-18
ExecutionTime = 0.43 s ClockTime = 1 s

End

s@graeme-vaio:~/OpenFOAM/s-1.4.1/run/tutorials/icoFoam$
s@graeme-vaio:~/OpenFOAM/s-1.4.1/run/tutorials/icoFoam$

! And that's how it works.
! Happy?

! Regards, Graeme.

! P.S. Next time, try not to make a spelling mistake in the subject of the message, it makes a bad impression.
platopus is offline   Reply With Quote

Old   July 17, 2008, 01:32
Default I am really desperate for your
  #13
Senior Member
 
mayank gupta
Join Date: Mar 2009
Posts: 110
Rep Power: 8
mgz1985 is on a distinguished road
I am really desperate for your help.

I am having problems trying to install the Openfoam on my linux ubuntu for the past 2 weeks. I came across your discussion on the forum but could not reply there as there was no option to register.

I did exactly what you said, and this is what I get when I do the foam Installation test

Checking basic system...
-----------------------------------------------------------------------
Shell: bash
Host: Techn-028
OS: Linux version 2.6.24-19-generic
User: frpelikan


Checking networking...
-----------------------------------------------------------------------
Ping_Techn-028: Successful
Ping_localHost: Successful
Test_rsh: Unsuccessful, connection refused*
Test_ssh: Unsuccessful, connection refused*
FATALERROR: No remote shell available.
FoamX requires passwordless
'ssh' and/or 'rsh' to the current host.
Contact your system administrator if you intend
to run FoamX.



System check: FAIL
==================
Your system is not currently compatible with Foam installation
requirements. Review the error messages and consult the documentation
for further instructions.

frpelikan@Techn-028:~$ chmod -v 755 foamSystemCheck
chmod: cannot access `foamSystemCheck': No such file or directory
failed to change mode of `foamSystemCheck' to 0000 (---------)
frpelikan@Techn-028:~$ gedit ~/.bashrc &
[1] 6618
frpelikan@Techn-028:~$ . ~/.bashrc
Executing: /home/frpelikan/OpenFOAM/OpenFOAM-1.4/.bashrc
[1]+ Done gedit ~/.bashrc
Executing: /home/frpelikan/OpenFOAM/OpenFOAM-1.4/.OpenFOAM-1.4/apps/ensightFoam/bashrc
Executing: /home/frpelikan/OpenFOAM/OpenFOAM-1.4/.OpenFOAM-1.4/apps/paraview/bashrc
frpelikan@Techn-028:~$ pwd
/home/frpelikan
frpelikan@Techn-028:~$ cd OpenFOAM
frpelikan@Techn-028:~/OpenFOAM$ cd OpenFOAM-1.4
frpelikan@Techn-028:~/OpenFOAM/OpenFOAM-1.4$ ls
Allwmake bin doc README src wmake
applications COPYING lib ReleaseNotes-1.4 tutorials
frpelikan@Techn-028:~/OpenFOAM/OpenFOAM-1.4$ foamSystemCheck


Checking basic system...
-----------------------------------------------------------------------
Shell: bash
Host: Techn-028
OS: Linux version 2.6.24-19-generic
User: frpelikan


Checking networking...
-----------------------------------------------------------------------
Ping_Techn-028: Successful
Ping_localHost: Successful
Test_rsh: Unsuccessful, connection refused*
Test_ssh: Unsuccessful, connection refused*
FATALERROR: No remote shell available.
FoamX requires passwordless
'ssh' and/or 'rsh' to the current host.
Contact your system administrator if you intend
to run FoamX.



System check: FAIL
==================
Your system is not currently compatible with Foam installation
requirements. Review the error messages and consult the documentation
for further instructions.

frpelikan@Techn-028:~/OpenFOAM/OpenFOAM-1.4$ foamInstallationTest
Executing /home/frpelikan/OpenFOAM/OpenFOAM-1.4/bin/foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: Techn-028
OS: Linux version 2.6.24-19-generic
User: frpelikan
User_config: /home/frpelikan/.bashrc
Foam_config: /home/frpelikan/.OpenFOAM-1.4/bashrc sourced correctly.
-------------------------------------------------------------------------------


Checking main FOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/frpelikan/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/frpelikan/OpenFOAM/frpelikan-1.4 yes no
$FOAM_JOB_DIR /home/frpelikan/OpenFOAM/jobControl no yes
-------------------------------------------------------------------------------


Checking the FOAM env variables set on the PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR /home/frpelikan/OpenFOAM/OpenFOAM-1.4 yes yes yes

$FOAM_USER_APPBIN ...-1.4/applications/bin/linuxGcc4DPOpt yes yes no
$FOAM_APPBIN ...-1.4/applications/bin/linuxGcc4DPOpt yes yes yes
$WM_DIR ...rpelikan/OpenFOAM/OpenFOAM-1.4/wmake yes yes yes
$FOAMX_PATH ...ations/utilities/preProcessing/FoamX yes no yes
$CEI_HOME /usr/local/ensight/CEI no no

$JAVA_PATH ...pelikan/OpenFOAM/linux/j2sdk1.4.2_05 yes yes no
$MICO_ARCH_PATH ...mico-2.3.12/platforms/linuxGcc4DPOpt yes yes yes
$LAM_ARCH_PATH ...c/lam-7.1.2/platforms/linuxGcc4DPOpt yes yes yes
$MPICH_ARCH_PATH --------- env variable not set --------- no
-------------------------------------------------------------------------------


Checking the FOAM env variables set on the LD_LIBRARY_PATH...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN ...FOAM/OpenFOAM-1.4/lib/linuxGcc4DPOpt yes yes yes
$FOAM_USER_LIBBIN ...OAM/frpelikan-1.4/lib/linuxGcc4DPOpt yes yes no
$LAM_ARCH_PATH ...c/lam-7.1.2/platforms/linuxGcc4DPOpt yes yes yes
-------------------------------------------------------------------------------


Software versions
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 4.2.3
WARNING: Conflicting installations:
foam settings: /home/frpelikan/OpenFOAM/linux/gcc-4.1.2-64/bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR

java /home/frpelikan/OpenFOAM/linux/j2sdk1.4.2_05/bin/java
gzip 1.3.12 /bin/gzip
tar 1.3.12 /bin/tar
icoFoam ...M/OpenFOAM-1.4/applications/bin/linuxGcc4DPOpt/icoFoam
-------------------------------------------------------------------------------


Checking file/directory permissions...
-------------------------------------------------------------------------------
File/directory Set Reqd Crit
-------------------------------------------------------------------------------


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_Techn-028 Successful yes
Pinging_localHost Successful yes
Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Unsuccessful_connection_refused* yes
FATAL ERROR: No remote shell available.
Foam1.4 enviroment requires either ssh and/or rsh.
Contact your system administrator.


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

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

The foam installation contains 1 critical error(s).

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

I am highlighting what I think is the error. I have tried to contact my IT department in this regard but they are of no help as I am the first person here to be working in Linux. Another problem is when I tried to run blockMesh . cavity

I get the following error,
frpelikan@Techn-028:~/OpenFOAM/mayank/run/tutorials/icoFoam$ blockMesh . cavity
bash: /home/frpelikan/OpenFOAM/OpenFOAM-1.4/applications/bin/linuxGcc4DPOpt/blockMesh: No such file or directory

this i cant understand as I have sourced the file correctly.

Can you please help me as I have tried everything available on the internet for the last 2 weeks but have been really helpless and am desperate.

Thanx in advance
mgz1985 is offline   Reply With Quote

Old   July 17, 2008, 08:44
Default Try OpenFOAM-1.5. I think it h
  #14
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 12
eugene is on a distinguished road
Try OpenFOAM-1.5. I think it has better support for Ubuntu.
eugene is offline   Reply With Quote

Old   March 9, 2012, 07:50
Default Install OpenFOAM-1.4.1 on Linux
  #15
hhh
Senior Member
 
kumar
Join Date: Nov 2011
Posts: 115
Rep Power: 5
hhh is on a distinguished road
Dear foamers,
i install OF-1.4.1 linux ,i download all files(OpenFOAM-1.4.1.General.gtgz,OpenFOAM-1.4.1.linuxGccDPOpt.gtgz,OpenFOAM-1.4.1.linuxGccSPOpt.gtgz,paraview-2.4.4.linux.tgz, j2sdk1.4.2.os.linux.tgz from www.openfoam.org or sourceforge.)except gcc-4.1.1.linux.tgz.i dont how to download gcc-4.1.1.linux.tgz file.please help me where i can get this file.
hhh is offline   Reply With Quote

Old   March 9, 2012, 17:20
Default
  #16
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 Kumar,

You can get Gcc 4.1.2 from OpenFOAM 1.4: http://sourceforge.net/projects/foam/files/foam/1.4/

But for OpenFOAM 1.4.1, it seems that you should use at least Gcc 4.2.1: http://sourceforge.net/projects/foam/files/foam/1.4.1/

Either way, you don't need Gcc 4.1.1.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   March 10, 2012, 03:46
Default flapping wing
  #17
hhh
Senior Member
 
kumar
Join Date: Nov 2011
Posts: 115
Rep Power: 5
hhh is on a distinguished road
Dear Bruno,
really thanks for information,i am working in flapping wing analysis,for that i have to find lift,drag and thrust.right now i have the input data is(velocity=2m/s,throttle speed,and xyz coordinates of model with xyz data 33 rows and 225 columns in .csv file format,how i can create block mesh and how i can import all xyz coordinates allready i work OF 2.1 in that i work tutorials cavity,airfoil,but my laptop get crashed and i have little knowledge about OF,for this flapping wing my point of view is,
step1.i import xyz coordinates of data and create block mesh
2. and create snappy hex mesh
3. solver is icofoam(laminar incompressible flow)

but how i import my data and how i can start
Please help

Kind regards kumar.
hhh is offline   Reply With Quote

Old   March 16, 2012, 21:16
Default
  #18
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
Hi Kumar,

I didn't even gather enough strength to answer you sooner. You've posted a question that isn't remotely related to this very old thread.

If you want to get help on this forum, you better learn a bit more how it works: How To Get Help On The Message Board

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
Help with parallel working instalation. Jonathan FLUENT 9 November 8, 2011 00:25
Help in Instalation of OpenFOAM duartealbuquerque OpenFOAM Installation 3 March 12, 2009 00:44
141 Instalation on Fedora Core 8 with Pentium 4 markozeta OpenFOAM Installation 0 April 16, 2008 19:52
Comet Instalation Merkru CD-adapco 0 June 12, 2006 03:31
cfx-4.2 or cfx-4.3 instalation Antonio Melendez CFX 1 June 28, 2001 03:58


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