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

Problems installing OpenFOAM 2.3.0, 1.6-ext and foam-extend 3.0

Register Blogs Community New Posts Updated Threads Search

Like Tree9Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 15, 2014, 05:54
Default
  #21
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Hi Sangamesh,

OK, check if the file "/home/sml5kor/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/SOURCES/scotch-5.1.10b.tar.gz" does really exist in your file system, by running:
Code:
ls -l /home/sml5kor/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/SOURCES/scotch-5.1.10b.tar.gz
If it does exist, then run this command:
Code:
tar -tf /home/sml5kor/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/SOURCES/scotch-5.1.10b.tar.gz
It should show you the list of files packed inside the tarball. But if it shows an error, then that could be the reason for the problem.

As for the other error during the build of OpenFOAM: indeed, it's very strange that it happens and it does seem to be related with the problem with Scotch.

Next I'm going to look into building the "DensityBasedTurbo" repository.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   March 15, 2014, 08:16
Default
  #22
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
OK, I've finally managed to give a good look into building the DensityBasedTurbo toolkit and I've updated the installation instructions at the wiki: http://openfoamwiki.net/index.php/Ex...o#Installation

In your case, since you've already downloaded the source code, use these steps, with the 1.6-ext environment turned on:
Code:
cd $FOAM_RUN/..
cd DensityBasedTurbo/src
cp -r timeStepping/MRF/* $FOAM_SRC/finiteVolume/cfdTools/general/MRF/
wmake libso $FOAM_SRC/finiteVolume
./Allwmake

edit: Instructions for building on foam-extend 3.0 are also available here: http://openfoamwiki.net/index.php/Ex...oam-extend_3.0
sam.ho likes this.

Last edited by wyldckat; March 15, 2014 at 08:50. Reason: see "edit:"
wyldckat is offline   Reply With Quote

Old   March 17, 2014, 00:06
Post
  #23
Senior Member
 
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 13
sam.ho is on a distinguished road
Hi Bruno,

I managed to install
But when I run the case cavity and check for paraFoam then i am getting the following error.

Code:
sml5kor@BMH301562:~/OpenFOAM/sml5kor-1.6-ext/run/cavity$ paraFoam 
created temporary 'cavity.foam'
/home/sml5kor/OpenFOAM/OpenFOAM-1.6-ext/bin/paraFoam: 129: /home/sml5kor/OpenFOAM/OpenFOAM-1.6-ext/bin/paraFoam: paraview: not found

Last edited by sam.ho; March 17, 2014 at 02:45.
sam.ho is offline   Reply With Quote

Old   March 17, 2014, 03:00
Post Segmentation fault (core dumped) in transonicMRFDyMFoam
  #24
Senior Member
 
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 13
sam.ho is on a distinguished road
Hi,
I followed your procedure to compile DensityBasedTurbo and hopefully it compiled well but when I ran the Axial_Rotor_MRF turorial then i am gettint the following error.
Could you please help me to run this case successfully ?
Code:
sml5kor@BMH301562:~/OpenFOAM/sml5kor-1.6-ext/DensityBasedTurbo/run/Axial_Rotor_MRF$ transonicMRFDyMFoam 
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM Extend Project: Open source CFD        |
|  \\    /   O peration     | Version:  1.6-ext                               |
|   \\  /    A nd           | Web:      www.extend-project.de                 |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 1.6-ext
Exec   : transonicMRFDyMFoam
Date   : Mar 17 2014
Time   : 12:26:34
Host   : BMH301562
PID    : 16550
Case   : /home/sml5kor/OpenFOAM/sml5kor-1.6-ext/DensityBasedTurbo/run/Axial_Rotor_MRF
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

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

Create dynamic mesh for time = 0

Selecting dynamicFvMesh staticFvMesh
Reading thermophysical properties

Selecting thermodynamics package hPsiThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>
Segmentation fault (core dumped)
blockMesh command went well
Code:
sml5kor@BMH301562:~/OpenFOAM/sml5kor-1.6-ext/DensityBasedTurbo/run/Axial_Rotor_MRF$ blockMesh 
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM Extend Project: Open source CFD        |
|  \\    /   O peration     | Version:  1.6-ext                               |
|   \\  /    A nd           | Web:      www.extend-project.de                 |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 1.6-ext
Exec   : blockMesh
Date   : Mar 17 2014
Time   : 11:48:51
Host   : BMH301562
PID    : 15860
Case   : /home/sml5kor/OpenFOAM/sml5kor-1.6-ext/DensityBasedTurbo/run/Axial_Rotor_MRF
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

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


Creating block mesh from
    "/home/sml5kor/OpenFOAM/sml5kor-1.6-ext/DensityBasedTurbo/run/Axial_Rotor_MRF/constant/polyMesh/blockMeshDict"


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 : 136
        Number of boundary faces : 112
        Number of defined boundary faces : 112
        Number of undefined boundary faces : 0

    Checking patch -> block consistency

Creating block offsets

Creating merge list .

Creating points with scale 0.001

Creating cells

Creating patches

Creating mesh from block mesh

Default patch type set to empty

There are no merge patch pairs

Adding cell zones
    0    rotor

Writing cell zones as cellSets

Writing polyMesh

End
paraFoam error
Code:
sml5kor@BMH301562:~/OpenFOAM/sml5kor-1.6-ext/DensityBasedTurbo/run/Axial_Rotor_MRF$ paraFoam 
created temporary 'Axial_Rotor_MRF.foam'
/home/sml5kor/OpenFOAM/OpenFOAM-1.6-ext/bin/paraFoam: 129: /home/sml5kor/OpenFOAM/OpenFOAM-1.6-ext/bin/paraFoam: paraview: not found
sam.ho is offline   Reply With Quote

Old   March 22, 2014, 07:17
Default
  #25
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Hi sam.ho,

I thought that the issue with ParaView was already solved, but apparently it's not.
Edit the file "/etc/apt/sources.list" once again and modify it to this:
Code:
deb http://archive.ubuntu.com/ubuntu/ precise main universe
deb http://security.ubuntu.com/ubuntu/ precise-security main universe
deb http://archive.ubuntu.com/ubuntu/ precise-updates main universe
The problem was that you had the order incorrect, namely "universe main", when it must be "main universe".
Then run:
Code:
sudo apt-get update
Regarding the tutorial case "Axial_Rotor_MRF":
  • swak4Foam must be installed as well. I don't know which version you have installed, but 0.2.4 worked for me. You can download it from here: https://github.com/Unofficial-Extend...e343589da1.zip
  • edit: To run this tutorial, you must run the script Allrun like this:
    Code:
    ./Allrun
  • After that, everything worked fine.


In addition, if you already have FOAM-Extend 3.0 working as intended, then you can also build the DensityBasedTurbo toolkit in this version, as long as you follow the dedicated instructions for it: http://openfoamwiki.net/index.php/Ex...oam-extend_3.0
And for this version, you can use the latest swak4Foam 0.3.0.

Best regards,
Bruno
sam.ho likes this.
__________________

Last edited by wyldckat; March 22, 2014 at 07:18. Reason: see "edit:"
wyldckat is offline   Reply With Quote

Old   March 24, 2014, 00:43
Post
  #26
Senior Member
 
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 13
sam.ho is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Hi sam.ho,

I thought that the issue with ParaView was already solved, but apparently it's not.
Edit the file "/etc/apt/sources.list" once again and modify it to this:
Code:
deb http://archive.ubuntu.com/ubuntu/ precise main universe
deb http://security.ubuntu.com/ubuntu/ precise-security main universe
deb http://archive.ubuntu.com/ubuntu/ precise-updates main universe
The problem was that you had the order incorrect, namely "universe main", when it must be "main universe".
Then run:
Code:
sudo apt-get update
Hi Bruno
My source.list contains the following
Code:
deb http://archive.ubuntu.com/ubuntu precise main universe
deb-src http://archive.ubuntu.com/ubuntu precise main universe
deb http://security.ubuntu.com/ubuntu/ precise-security main universe
deb http://archive.ubuntu.com/ubuntu/ precise-updates main universe
And once i tried to update the source.list
I obtained following on the terminal.
Code:
sml5kor@BMH301562:~$ sudo gedit /etc/apt/sources.list
[sudo] password for sml5kor: 
sml5kor@BMH301562:~$ sudo apt-get update
Err http://security.ubuntu.com precise-security Release.gpg
  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com precise Release.gpg                     
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://www.openfoam.org precise Release.gpg                       
  Something wicked happened resolving 'www.openfoam.org:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com precise-updates Release.gpg             
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Ign http://www.openfoam.org precise Release                            
Ign http://archive.ubuntu.com precise Release                          
Ign http://security.ubuntu.com precise-security Release
Ign http://archive.ubuntu.com precise-updates Release
Ign http://www.openfoam.org precise/main TranslationIndex
Ign http://security.ubuntu.com precise-security/main TranslationIndex          
Ign http://security.ubuntu.com precise-security/universe TranslationIndex      
Ign http://archive.ubuntu.com precise/main TranslationIndex                    
Ign http://archive.ubuntu.com precise/universe TranslationIndex                
Err http://www.openfoam.org precise/main amd64 Packages                        
  Something wicked happened resolving 'www.openfoam.org:http' (-5 - No address associated with hostname)
Ign http://archive.ubuntu.com precise-updates/main TranslationIndex            
Err http://www.openfoam.org precise/main i386 Packages                    
  Something wicked happened resolving 'www.openfoam.org:http' (-5 - No address associated with hostname)
Ign http://archive.ubuntu.com precise-updates/universe TranslationIndex   
Err http://www.openfoam.org precise/main Translation-en_IN                     
  Something wicked happened resolving 'www.openfoam.org:http' (-5 - No address associated with hostname)
Err http://www.openfoam.org precise/main Translation-en                        
  Something wicked happened resolving 'www.openfoam.org:http' (-5 - No address associated with hostname)
Err http://security.ubuntu.com precise-security/main amd64 Packages       
  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://security.ubuntu.com precise-security/universe amd64 Packages   
  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://security.ubuntu.com precise-security/main i386 Packages        
  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://security.ubuntu.com precise-security/universe i386 Packages    
  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://security.ubuntu.com precise-security/main Translation-en_IN    
  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://security.ubuntu.com precise-security/main Translation-en       
  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://security.ubuntu.com precise-security/universe Translation-en_IN
  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://security.ubuntu.com precise-security/universe Translation-en   
  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com precise/main Sources
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com precise/universe Sources
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com precise/main amd64 Packages
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com precise/universe amd64 Packages
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com precise/main i386 Packages
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com precise/universe i386 Packages
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com precise-updates/main amd64 Packages
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com precise-updates/universe amd64 Packages
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com precise-updates/main i386 Packages
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com precise-updates/universe i386 Packages
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com precise/main Translation-en_IN
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com precise/main Translation-en
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com precise/universe Translation-en_IN
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com precise/universe Translation-en
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com precise-updates/main Translation-en_IN
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com precise-updates/main Translation-en
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com precise-updates/universe Translation-en_IN
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://archive.ubuntu.com precise-updates/universe Translation-en
  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/Release.gpg  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/precise-security/Release.gpg  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-updates/Release.gpg  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://www.openfoam.org/download/ubuntu/dists/precise/Release.gpg  Something wicked happened resolving 'www.openfoam.org:http' (-5 - No address associated with hostname)

W: Failed to fetch http://www.openfoam.org/download/ubuntu/dists/precise/main/binary-amd64/Packages  Something wicked happened resolving 'www.openfoam.org:http' (-5 - No address associated with hostname)

W: Failed to fetch http://www.openfoam.org/download/ubuntu/dists/precise/main/binary-i386/Packages  Something wicked happened resolving 'www.openfoam.org:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/main/source/Sources  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/universe/source/Sources  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/main/binary-amd64/Packages  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/universe/binary-amd64/Packages  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/main/binary-i386/Packages  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/universe/binary-i386/Packages  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/precise-security/main/binary-amd64/Packages  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/precise-security/universe/binary-amd64/Packages  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/precise-security/main/binary-i386/Packages  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/precise-security/universe/binary-i386/Packages  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-updates/main/binary-amd64/Packages  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-updates/universe/binary-amd64/Packages  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-updates/main/binary-i386/Packages  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-updates/universe/binary-i386/Packages  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://www.openfoam.org/download/ubuntu/dists/precise/main/i18n/Translation-en_IN  Something wicked happened resolving 'www.openfoam.org:http' (-5 - No address associated with hostname)

W: Failed to fetch http://www.openfoam.org/download/ubuntu/dists/precise/main/i18n/Translation-en  Something wicked happened resolving 'www.openfoam.org:http' (-5 - No address associated with hostname)

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/precise-security/main/i18n/Translation-en_IN  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/precise-security/main/i18n/Translation-en  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/precise-security/universe/i18n/Translation-en_IN  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/precise-security/universe/i18n/Translation-en  Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/main/i18n/Translation-en_IN  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/main/i18n/Translation-en  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/universe/i18n/Translation-en_IN  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/universe/i18n/Translation-en  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-updates/main/i18n/Translation-en_IN  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-updates/main/i18n/Translation-en  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-updates/universe/i18n/Translation-en_IN  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-updates/universe/i18n/Translation-en  Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No address associated with hostname)

E: Some index files failed to download. They have been ignored, or old ones used instead.
What is the problem to update this ? Even though everything is fine

And regarding Axial_Rotor_MRF I have run the case successfully. By compiling simpleFunctionObjects from Breeder-1.6
Thank you bruno
sam.ho is offline   Reply With Quote

Old   March 24, 2014, 05:32
Default Installing foam-extend-3.0 from a binary package
  #27
Senior Member
 
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18
sita is on a distinguished road
Hi all,

When installing foam-extend-3.0 from a binary (foam-extend_3.0-1_amd64.precise.deb, on Ubuntu 12.04 LTS, 64 bits), it ends up under /opt/foam. However, the instructions for installing from source tell me to install it under /home/OpenFOAM. Is that a problem?
When I run foamInstallationTest, it gives errors, but these might also be caused by something else of course.

Best,
Sita
sita is offline   Reply With Quote

Old   March 24, 2014, 23:41
Default
  #28
Senior Member
 
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 13
sam.ho is on a distinguished road
Hi,

could you post the error obtained ?
sam.ho is offline   Reply With Quote

Old   March 25, 2014, 04:35
Default
  #29
Senior Member
 
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18
sita is on a distinguished road
Sure:

WARNING: gcc version does not match gcc supplied with this release of OpenFOAM
Supplied version: 4.3.3
User version : 4.6.3
Minimum required: 4.3.1

gcc 4.6.3
WARNING: Conflicting installations:
OpenFOAM settings : /bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR

gzip 1.4 /bin/gzip
tar 1.26 /bin/tar
icoFoam 3.0 ...am-extend-3.0/applications/bin/linux64GccDPOpt/icoFoam
-------------------------------------------------------------------------------


Summary
-------------------------------------------------------------------------------
Base configuration ok.

The foam installation contains 1 critical error(s).

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

done.

The warnings are the same as in my previous OpenFOAM version (1.6-ext), but the critical error is new to me.
sita is offline   Reply With Quote

Old   March 25, 2014, 04:41
Default
  #30
Senior Member
 
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 13
sam.ho is on a distinguished road
Hi ,

I feel you need to install it home/OpenFOAM ..
Or else you need to change environmental variables. If you change the installation path then you have to change the environmental variables according to it.

Regards,
Sangamesh Hosur
sam.ho is offline   Reply With Quote

Old   March 25, 2014, 09:58
Default
  #31
Senior Member
 
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18
sita is on a distinguished road
Thanks, I'll try installing it from source.

Best,
Sita

27 Mar 2014 update: I installed foam-extend-3.0 from source, works fine up to now (except that I have to choose a reader every time I open paraFoam)

Last edited by sita; March 27, 2014 at 09:03. Reason: update
sita is offline   Reply With Quote

Old   March 25, 2014, 23:21
Thumbs up
  #32
Senior Member
 
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 13
sam.ho is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Hi sam.ho,

I thought that the issue with ParaView was already solved, but apparently it's not.
Edit the file "/etc/apt/sources.list" once again and modify it to this:
Code:
deb http://archive.ubuntu.com/ubuntu/ precise main universe
deb http://security.ubuntu.com/ubuntu/ precise-security main universe
deb http://archive.ubuntu.com/ubuntu/ precise-updates main universe
The problem was that you had the order incorrect, namely "universe main", when it must be "main universe".
Then run:
Code:
sudo apt-get update
Regarding the tutorial case "Axial_Rotor_MRF":
  • swak4Foam must be installed as well. I don't know which version you have installed, but 0.2.4 worked for me. You can download it from here: https://github.com/Unofficial-Extend...e343589da1.zip
  • edit: To run this tutorial, you must run the script Allrun like this:
    Code:
    ./Allrun
  • After that, everything worked fine.


In addition, if you already have FOAM-Extend 3.0 working as intended, then you can also build the DensityBasedTurbo toolkit in this version, as long as you follow the dedicated instructions for it: http://openfoamwiki.net/index.php/Ex...oam-extend_3.0
And for this version, you can use the latest swak4Foam 0.3.0.

Best regards,
Bruno
Hi Bruno,

Paraview issue also got resolved. The problem was the repository. As i cant excess the universal repository in my organization. Hence I used my organization repository to resolve this issue.
I thank you very much for support.

Regards,
Sangamesh Hosur
sam.ho is offline   Reply With Quote

Old   March 27, 2014, 07:18
Post fluent3DMeshToFoam problem in OpenFOAM-1.6-ext
  #33
Senior Member
 
Join Date: Sep 2013
Location: Bangalore India
Posts: 134
Rep Power: 13
sam.ho is on a distinguished road
Hi Bruno,

I have installed openFOAM-1.6-ext and truing to convert fluent mesh to OpenFOAM mesh but it gives an error that "command not found"
And the same i checked with OpenFOAM-2.3.0. Here its working absolutely fine.

What could be the reason ?
sam.ho is offline   Reply With Quote

Old   March 28, 2014, 18:35
Default
  #34
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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 to all!

@sam.ho:
Quote:
Originally Posted by sam.ho View Post
I have installed openFOAM-1.6-ext and truing to convert fluent mesh to OpenFOAM mesh but it gives an error that "command not found"
There are a few possibilities I can think of:
  1. You might have mistyped the command. For example, instead of "fluentMeshToFoam" you might have written "fluentMeshToFOAM".
  2. Something might have not gone very well in the build process of 1.6-ext. With the 1.6-ext shell environment active, run:
    Code:
    cd $WM_PROJECT_DIR
    ./Allwmake > log.make 2>&1
    Then check the contents of the file "log.make". Search for the first occurrence of an error message, as that should tell us what is the reason why you got that error message.

@sita:
Quote:
Originally Posted by sita View Post
27 Mar 2014 update: [...] (except that I have to choose a reader every time I open paraFoam)
What installation instructions did you follow?

Best regards,
Bruno
sam.ho likes this.
__________________
wyldckat is offline   Reply With Quote

Old   March 31, 2014, 04:37
Default
  #35
Senior Member
 
Sita Drost
Join Date: Mar 2009
Location: Arnhem, The Netherlands
Posts: 227
Rep Power: 18
sita is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings to all!

@sam.ho:

There are a few possibilities I can think of:
  1. You might have mistyped the command. For example, instead of "fluentMeshToFoam" you might have written "fluentMeshToFOAM".
  2. Something might have not gone very well in the build process of 1.6-ext. With the 1.6-ext shell environment active, run:
    Code:
    cd $WM_PROJECT_DIR
    ./Allwmake > log.make 2>&1
    Then check the contents of the file "log.make". Search for the first occurrence of an error message, as that should tell us what is the reason why you got that error message.

@sita:

What installation instructions did you follow?

Best regards,
Bruno
Hi Bruno,

I followed the installation instructions on wikki.gridcore.se, starting from the part "Set environment variables", and also occasionally checked the README that came with foam-extend-3.0. The pc that I installed foam-extend-3.0 on is not allowed on sourceforge (company policy...), so I first downloaded foam-extend-3.0_349d2a5.tar.gz using my private pc, then ran foamSystemCheck, and when everything turned out to be OK, I started the installation. Did I skip something essential?

Best,
Sita
sita is offline   Reply With Quote

Old   April 5, 2014, 16:31
Default
  #36
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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
Hi Sita,

Quote:
Originally Posted by sita View Post
I followed the installation instructions on wikki.gridcore.se, starting from the part "Set environment variables", and also occasionally checked the README that came with foam-extend-3.0. The pc that I installed foam-extend-3.0 on is not allowed on sourceforge (company policy...), so I first downloaded foam-extend-3.0_349d2a5.tar.gz using my private pc, then ran foamSystemCheck, and when everything turned out to be OK, I started the installation. Did I skip something essential?
Sorry, I'm completely lost by now. Since you already have a working version of 1.6-ext, have you been able to also get a working version of FOAM-Extend 3.0?

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply


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



All times are GMT -4. The time now is 14:53.