|
[Sponsors] |
[OpenFOAM.org] OpenFOAM 1.6.x Installer for Ubuntu |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 19, 2010, 06:46 |
|
#101 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Mystix,
Quote:
So, as I've written in another post above, please try the experimental script: Quote:
Best regards, Bruno
__________________
|
|||
June 19, 2010, 12:10 |
|
#102 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hello Rickard,
Quote:
Quote:
Best regards, Bruno
__________________
|
|||
June 20, 2010, 16:19 |
|
#103 |
Member
Rickard Hidefjäll
Join Date: Jun 2009
Location: Uppsala, Sweden
Posts: 39
Rep Power: 17 |
Hi Bruno!
As you can see itś 1105378 cells. The stream line in my only case that i have right now after the disk crash is a baling out case. with a complicated pattern. You can see the picture down here and I think itś strange accordingly to the good results with checkMesh, and itś far from the first case. (I know that itś out of this thred but have any one any idea?) Last time a installed on a 10.04 with the experimental script, the first thing a react on was the longer time it took compared to the caelinux 8.04 compilation. I used the installation for a month before the crash. And my over all impression was that it was just the streamline function slowness. The case can be downloaded from if it helps http://www.tooslow.net/rattus/CFD_Pi...ojekt20100612/ Thanks for careing and for a great script! (itś in fact the best) Regards / Rickard __________________________________________________ ___________________________________ Create time Create polyMesh for time = 0 Time = 0 Mesh stats points: 223811 faces: 2282980 internal faces: 2138532 cells: 1105378 boundary patches: 4 point zones: 0 face zones: 0 cell zones: 0 Overall number of cells of each type: hexahedra: 0 prisms: 0 wedges: 0 pyramids: 0 tet wedges: 0 tetrahedra: 1105378 polyhedra: 0 Checking topology... Boundary definition OK. Point usage OK. Upper triangular ordering OK. Face vertices OK. Number of regions: 1 (OK). Checking patch topology for multiply connected surfaces ... Patch Faces Points Surface topology wing 99732 49868 ok (closed singly connected) inlet 5966 3074 ok (non-closed singly connected) outlet 5964 3073 ok (non-closed singly connected) channel 32786 16573 ok (non-closed singly connected) Checking geometry... Overall domain bounding box (-7.48 -10 -7) (7.48 10 7) Mesh (non-empty, non-wedge) directions (1 1 1) Mesh (non-empty) directions (1 1 1) Boundary openness (-1.57009e-18 3.8192e-16 -1.39881e-17) OK. Max cell openness = 2.50878e-16 OK. Max aspect ratio = 729.32 OK. Minumum face area = 3.23484e-10. Maximum face area = 0.247133. Face area magnitudes OK. Min volume = 7.14046e-15. Max volume = 0.0379393. Total volume = 3289.32. Cell volumes OK. Mesh non-orthogonality Max: 67.9315 average: 16.5219 Non-orthogonality check OK. Face pyramids OK. Max skewness = 1.10005 OK. Mesh OK. End __________________________________________________ ________________________ |
|
June 22, 2010, 09:19 |
Help
|
#104 |
New Member
Xiaoguang Yang
Join Date: Jun 2010
Posts: 7
Rep Power: 16 |
Executing /home/xiaoguang/OpenFOAM/OpenFOAM-1.6.x/bin/foamInstallationTest:
Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: xiaoguang-desktop OS: Linux version 2.6.31-22-generic-pae ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /home/xiaoguang/OpenFOAM yes yes $WM_PROJECT_USER_DIR /home/xiaoguang/OpenFOAM/xiaoguang-1.6.x no no $WM_THIRD_PARTY_DIR .../xiaoguang/OpenFOAM/ThirdParty-1.6.x yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $WM_PROJECT_DIR /home/xiaoguang/OpenFOAM/OpenFOAM-1.6.x yes yes yes $FOAM_APPBIN ...1.6.x/applications/bin/linuxGccDPOpt yes yes yes $FOAM_SITE_APPBIN ...penFOAM/site/1.6.x/bin/linuxGccDPOpt no no $FOAM_USER_APPBIN ...1.6.x/applications/bin/linuxGccDPOpt no no $WM_DIR ...oguang/OpenFOAM/OpenFOAM-1.6.x/wmake yes yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $FOAM_LIBBIN ...OAM/OpenFOAM-1.6.x/lib/linuxGccDPOpt yes yes yes $FOAM_SITE_LIBBIN ...penFOAM/site/1.6.x/lib/linuxGccDPOpt no no $FOAM_USER_LIBBIN ...AM/xiaoguang-1.6.x/lib/linuxGccDPOpt no no $MPI_ARCH_PATH ...penmpi-1.3.3/platforms/linuxGccDPOpt yes yes yes ------------------------------------------------------------------------------- Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- gcc 4.3.3 ...OAM/ThirdParty-1.6.x/gcc-4.3.3/platforms/linux/bin/gcc gzip 1.3.12 /bin/gzip tar 1.22 /bin/tar icoFoam WARNING: Conflicting installations: OpenFOAM settings : /home/xiaoguang/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linuxGccDPOpt/icoFoam current path : CRITICAL ERROR ------------------------------------------------------------------------------- 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. I can not solve the problem (icoFoam conflicting installations). Please help me. Thank you very much. |
|
June 22, 2010, 09:31 |
|
#105 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Sunlight and welcome to the forum!
OK, by what you posted, apparently OpenFOAM isn't built yet. We're going to need some more information in order to help you:
Bruno
__________________
|
|
June 22, 2010, 19:34 |
Basic installation questions
|
#106 |
New Member
Anders Rønne Rasmussen
Join Date: Jun 2010
Posts: 1
Rep Power: 0 |
Hello,
The last six month I have been doing some cfd simulations using Comsol. Now I would like to try out OpenFOAM. I have Ubuntu 10.04 on my laptop, but does not have much experience with linux. I went to the page: http://code.google.com/p/openfoam-ubuntu/ and followed the instructions: $ wget http://openfoam-ubuntu.googlecode.com/hg/installOF.sh $ chmod +x installOF.sh $ ./installOF.sh Questions start to arise when I am asked to choose Install settings: what exactly does the five options mean? which one should I choose? Next is ParaView settings. How do I choose among the six options? (I did read a little about ParaView on wikipedia and paraview.org - all this stuff is new to me) Finally I am asked: Build GCC? (otherwise use pre-compiled version). Yes or no? I believe my questions are very basic. However, I haven't been able to find the answers. Can someone help me by supplying some answers, or pointing me in the right direction. Any help is very much appreciated. |
|
June 22, 2010, 19:58 |
|
#107 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Anders and welcome to the forum!
We haven't had the time to get to the documentation part of the script But the script itself should cover the basics on its own. In other words, even if you just keep pressing Enter and ignoring the options dialogs, it should still build a working OpenFOAM+ParaView installation! As for a "customized" guide with options for installing and with some comments, here is a post I made sometime ago: Installing OpenFOAM 1.6 on Ubuntu 10.4 post #6 And a very quick explanation about some of your questions:
Best regards, Bruno
__________________
|
|
June 23, 2010, 03:46 |
|
#108 | |
New Member
Xiaoguang Yang
Join Date: Jun 2010
Posts: 7
Rep Power: 16 |
Quote:
|
||
June 23, 2010, 15:46 |
|
#109 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Sunlight,
We are going to need the following file to figure out what happened: Code:
$HOME/OpenFOAM/OpenFOAM-1.6.x/make.log Code:
tar -czf sunlight_make_log.tar.gz $HOME/OpenFOAM/OpenFOAM-1.6.x/make.log That file will give us a better view of what went wrong. Best regards, Bruno
__________________
|
|
June 23, 2010, 19:36 |
|
#110 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hello Rickard,
I didn't forget about you, I just didn't get the time to get around to testing this before. Quote:
Sooo... follow the instructions available here: http://www.cfd-online.com/Forums/ope...tml#post263925 It's not very detailed, but it should be simple enough to implement Best regards, Bruno
__________________
|
||
June 24, 2010, 02:43 |
|
#111 | |
New Member
Xiaoguang Yang
Join Date: Jun 2010
Posts: 7
Rep Power: 16 |
Quote:
I post the file "sunlight_make_log.tar.gz" as you requested. Please help me. I used Ubuntu 9.10 system only and the system was guided by grub (not grub2). Thank you very much. Best regards, Xiaoguang Yang |
||
June 24, 2010, 08:25 |
|
#112 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Dear Xiaoguang Yang,
Sorry about that problem, but we haven't tested the script with the latest Ubuntu 9.10 and hadn't come across the problem you got The problem is that (for some strange reason) the OpenFOAM's gcc 4.3.3 has become even more incompatible with Ubuntu's 9.10 system libraries. Please do the following steps:
Best regards, Bruno
__________________
|
|
June 24, 2010, 10:20 |
|
#113 |
New Member
Jesper
Join Date: May 2010
Posts: 9
Rep Power: 16 |
Hi,
I've just tried running the script on Ubuntu 9.10. But it seems like all it does, is to download and untar the thirdparty files I dont see any errors or warnings. Am I missing something obvious? Thanks -Jesper |
|
June 24, 2010, 11:37 |
|
#114 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Jesper,
Without looking at the log files, I can only think that all went well... but I'm probably wrong. Please post the file "installOF.log"... or better yet, post the compressed file: Code:
tar -czf installOF_log.tar.gz installOF.log Bruno
__________________
|
|
June 24, 2010, 12:53 |
|
#115 |
New Member
Jesper
Join Date: May 2010
Posts: 9
Rep Power: 16 |
Greetings Bruno,
I have attached the log-file. Best regards Jesper |
|
June 24, 2010, 13:05 |
|
#116 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Jesper,
Indeed this is very strange... does the folder $HOME/OpenFOAM/OpenFOAM-1.6.x exist in your installation? Because the next step after untaring would be to do a git clone! By the way, what options did you choose in the script? Did you have already tried to install OpenFOAM with some other script? If so, did you do a clean up first? Best regards, Bruno
__________________
|
|
June 24, 2010, 13:54 |
|
#117 |
New Member
Jesper
Join Date: May 2010
Posts: 9
Rep Power: 16 |
Hi Bruno,
I've tried the script a couple of times with different options. All with the same result. The first try was just after installing Ubuntu. So it should be clean. For the following tries I simply deleted the created files. In the case of the previously attached log-fie I just used default options all the way through. The $HOME/OpenFOAM/OpenFOAM-1.6.x is not created. Thanks for the quick response! -Jesper |
|
June 24, 2010, 14:14 |
|
#118 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Jesper,
OK, this is really strange... I'm going to have to try the script at home with an Ubuntu 9.10 x86_64 in a VM. I'll try to reproduce the error, but this is really strange. By the way, have you now fully updated 9.10? Or are you still using a "clean with no updates" installation of Ubuntu 9.10 x86_64? Best regards, Bruno
__________________
|
|
June 24, 2010, 15:03 |
|
#119 |
New Member
Jesper
Join Date: May 2010
Posts: 9
Rep Power: 16 |
Hi Bruno,
It is fully updated 9.10. - Jesper |
|
June 24, 2010, 19:25 |
|
#120 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Jesper,
Saddens me to say this, but I'm somewhat stumped I know I've had a similar issue in the past, but somehow managed to fix it. And I've just ran the script in a newly installed and it didn't lock up where it locked up with you! Nonetheless, it didn't work 100% as I expected... so I've found out a couple of bugs and fixed them, so please remove the installOF.sh script you have and download the latest version (i.e., run the 3 command lines from the site again). You don't need to remove the downloaded files that are now in your $HOME/OpenFOAM folder, but you might want to remove the folders inside it, i.e., the folder ThirdParty-1.6 and the link ThirdParty-1.6.x (if it exists). And try again running the installOF.sh script! If it jams up again in the same place... well, I'll try to give you instructions on how to isolate the error or even bypassing some steps that might be causing the issue! Best regards, Bruno
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 12:58 |
OpenFOAM 4.0 Released | CFDFoundation | OpenFOAM Announcements from OpenFOAM Foundation | 2 | October 6, 2017 06:40 |
OpenFOAM Training Beijing 22-26 Aug 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | May 3, 2016 05:57 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 06:36 |
Error compiling OpenFoam 1.6.x with intel compiler icc | mak_04 | OpenFOAM Installation | 5 | October 28, 2011 08:06 |