|
[Sponsors] |
July 22, 2008, 11:25 |
Hello everyone,
this is the f
|
#21 |
New Member
zhangting
Join Date: Mar 2009
Location: Tianjin
Posts: 5
Rep Power: 17 |
Hello everyone,
this is the first time for me to use message board,I hope someone can help me . I want to download openfoam-1.5,but I tried many times and failed.I can't link the source pack and binary pack.Could any one send me this software?I just need the source pack and binary pack double precision.Thanks. |
|
July 22, 2008, 11:48 |
Hi Zhanting,
you need to do
|
#22 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
Hi Zhanting,
you need to download two files available from OpenFOAM website : - OpenFOAM-1.5.General.gtgz - ThirdParty.General.gtgz Follow the instructions to unpack those files. After, you can apply the patches provided by Bernhard - just follow the instructions in this thread. As mentionned, you need to create a case-sensitive image file to run OpenFoam on a Mac; use DiskUtility to do so. You'll need to move the *.gtgz file in the image before decompressing. Good luck ! PO |
|
July 22, 2008, 12:03 |
Hi Zhanting
If I got y
|
#23 |
Senior Member
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17 |
Hi Zhanting
If I got your meaning correctly,it's because some kind problems internet connection.You fail to download the files. I have downloaded the files and upload to a file-share server. If you left your email address,I could send you the link. |
|
July 22, 2008, 12:06 |
Thanks for mentioning it, PO:
|
#24 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Thanks for mentioning it, PO: paraview ALWAYS builds itself as a bundle. To get the paraFoam script to work one has to put a symbolic link to the actual binary (which is in paraview.app/Contents/MacOSX/paraview or so) in the paraview-bin-directory
Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
July 22, 2008, 22:09 |
Hi Pierre,linzhenhua,
Thank y
|
#25 |
New Member
zhangting
Join Date: Mar 2009
Location: Tianjin
Posts: 5
Rep Power: 17 |
Hi Pierre,linzhenhua,
Thank you! Now my problem is that I can't link the following files - OpenFOAM-1.5.General.gtgz - ThirdParty.General.gtgz so I can't unpack those files .Maybe there is some problem with my internet. my email box is zhangting198642@163.com. I just need the source pack OpenFOAM-1.5.General.gtgz and binary pack double precision OpenFOAM-1.5.linuxGccDPOpt.gtgz .Thanks . |
|
July 22, 2008, 23:23 |
Bernhard,
is there a way to
|
#26 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
Bernhard,
is there a way to "bundle" with paraview.app the 3 libs (libvtkPV3Foam.dylib, libPV3FoamReader_SM.dylib and libPV3FoamReader.dylib) in order to have a standlone paraview.app ? The doc says that plugins can be loaded automatically from paraview.app/Contents/MacOS/plugins but I'm not sure where libvtkPV3Foam.dylib should be copied - in paraview.app/Contents/MacOS ? I tried without success ... Here is what I tried tonight : 1) sh Applications/Client/CreateBundle.sh to create the final paraview.app 2) After moving my paraview.app in /Applications, I created /Applications/paraview.app/Contents/MacOS/plugins where I copied the PV3 libs. 3) When trying to launch paraview.app (double-click), it crashes ... 4) I moved /Applications/paraview.app/Contents/MacOS/plugins/libvtkPV3Foam.dylib to /Applications/paraview.app/Contents/MacOS 5) Crashes again when trying to launch the app Thanks PO |
|
July 22, 2008, 23:51 |
Dear FOAMers,
I am trying t
|
#27 |
Member
Kevin Maki
Join Date: Mar 2009
Location: Ann Arbor, MI, USA
Posts: 43
Rep Power: 17 |
Dear FOAMers,
I am trying to build 1.5 on my mac (10.5.4), and the build process stops on the OpenFOAM library. I have applied the 3 patches supplied by Bernard above in this thread. It appears that pointFields is dependent upon cpuTime.H, and is looking for it in the OpenFOAM/lnInclude directory, but I see that cpuTime.H resides in the OSspecific/Unix directory. Here is the output from the compile log: + wmake libo OSspecific/Unix '/Users/kjmaki/OpenFOAM/OpenFOAM-1.5/lib/darwinIntelDPOpt/libOSspecific.o' is up to date. + wmake libso OpenFOAM make: *** No rule to make target `/Users/kjmaki/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/cpuTime.H', needed by `fields/GeometricFields/pointFields/pointFields.dep'. Stop. Then, a little further down the line, I get the all-to-familiar "library not found" errors such as: + wmake libso dynamicFvMesh ld: library not found for -ltriSurface collect2: ld returned 1 exit status make: *** [/Users/kjmaki/OpenFOAM/OpenFOAM-1.5/lib/darwinIntelDPOpt/libdynamicFvMesh.dylib ] Error 1 + wmake libso topoChangerFvMesh ld: library not found for -lfiniteVolume collect2: ld returned 1 exit statusmake: *** [/Users/kjmaki/OpenFOAM/OpenFOAM-1.5/lib/darwinIntelDPOpt/libtopoChangerFvMesh.d ylib] Erro r 1 Has anyone else had this problem, or could someone suggest how I might fix this? Thanks for your help! Kevin |
|
July 23, 2008, 01:19 |
Kevin - are you compiling in a
|
#28 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
Kevin - are you compiling in a case-sensitive image (just want to make sure) ?
|
|
July 23, 2008, 05:28 |
@the bundling issue: one of th
|
#29 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
@the bundling issue: one of the plugin-dylibs needs the OF-Libraries. Usually the won't be in the DYLIB_LIBRARY_PATH for applications started from the GUI (and I DON'T RECOMMEND ADDING THEM). Therefor they will only work for a paraview started from a shell with the correct paths set
@kevins compilation problem: what is strange is that it looks for cpuTime.H in the OpenFOAM/lnInclude when it has moved to OSspecific/Unix/lnInclude in 1.5. You're sure that there are no residuals from a pre-1.5-installation? Just to make sure remove all dep-files with find $FOAM_SRC -name "*.dep" -exec rm {} \; and recompile (check the command before using it, the message board software is surly going to do something very ugly to it) Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
July 23, 2008, 07:56 |
Dear PO and Bernard,
Thanks
|
#30 |
Member
Kevin Maki
Join Date: Mar 2009
Location: Ann Arbor, MI, USA
Posts: 43
Rep Power: 17 |
Dear PO and Bernard,
Thanks for your help! I think the issue was that I had some remnants from my 1.4.1 installation. Kevin |
|
July 23, 2008, 15:49 |
Hi all,
After a couple of fai
|
#31 |
Senior Member
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18 |
Hi all,
After a couple of failed attempts, I've carefully followed the steps suggested by Pierre-Olivier, with Bernhard's patches, but I'm still having the same problem when wmake tries to resolve dependencies. For example: Making dependency list for source file solidBodyMotionFvMesh/solidBodyMotionFunctions/solidBodyMotionFunction/newSolidB odyMotionFunction.C could not open file lduMesh.H for source file solidBodyMotionFvMesh/solidBodyMotionFvMesh.C could not open file fvBoundaryMesh.H for source file solidBodyMotionFvMesh/solidBodyMotionFvMesh.C could not open file surfaceInterpolation.H for source file solidBodyMotionFvMesh/solidBodyMotionFvMesh.C could not open file DimensionedField.H for source file solidBodyMotionFvMesh/solidBodyMotionFvMesh.C could not open file volFieldsFwd.H for source file solidBodyMotionFvMesh/solidBodyMotionFvMesh.C could not open file surfaceFieldsFwd.H for source file solidBodyMotionFvMesh/solidBodyMotionFvMesh.C could not open file slicedVolFieldsFwd.H for source file solidBodyMotionFvMesh/solidBodyMotionFvMesh.C could not open file slicedSurfaceFieldsFwd.H for source file solidBodyMotionFvMesh/solidBodyMotionFvMesh.C could not open file fvPatchFvMeshTemplates.C for source file solidBodyMotionFvMesh/solidBodyMotionFvMesh.C could not open file solidBodyMotionFunction.H for source file solidBodyMotionFvMesh/solidBodyMotionFvMesh.C could not open file addToRunTimeSelectionTable.H for source file solidBodyMotionFvMesh/solidBodyMotionFvMesh.C could not open file volFields.H for source file solidBodyMotionFvMesh/solidBodyMotionFvMesh.C could not open file mathematicalConstants.H for source file solidBodyMotionFvMesh/solidBodyMotionFvMesh.C could not open file transformField.H for source file solidBodyMotionFvMesh/solidBodyMotionFvMesh.C When it compiles, however, the -I options seem correct: SOURCE=solidBodyMotionFvMesh/solidBodyMotionFunctions/solidBodyMotionFunction/ne wSolidBodyMotionFunction.C ; g++-4.2 -DdarwinIntel -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/Volumes/OpenFOAM/OpenFOAM-1.5/src/triSurface/lnInclude -I/Volumes/OpenFOAM/OpenFOAM-1.5/src/meshTools/lnInclude -I/Volumes/OpenFOAM/OpenFOAM-1.5/src/dynamicMesh/lnInclude -I/Volumes/OpenFOAM/OpenFOAM-1.5/src/finiteVolume/lnInclude -IlnInclude -I. -I/Volumes/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude -I/Volumes/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude -fPIC -Ddarwin -c $SOURCE -o Make/darwinIntelDPOpt/newSolidBodyMotionFunction.o The compilation is still going, but I'm afraid it will fail again. I guess I have something wrong in some environment variable, but I cannot find anything strange... Any suggestion? |
|
July 23, 2008, 16:00 |
Hi Francesco,
I'm not sure
|
#32 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
Hi Francesco,
I'm not sure what is the problem. Here are some thoughts ... A) Did you "link" the OpenFOAM-1.5 and Thirdparty directories in your ~/OpenFOAM/ ? Here is what I made before compiling : 1) mkdir ~/OpenFOAM (might already exists in your case) 2) ln -s /Volumes/OpenFOAM/OpenFOAM-1.5 ~/OpenFOAM/OpenFOAM-1.5 3) ln -s /Volumes/OpenFOAM/ThirdParty ~/OpenFOAM/ThirdParty Bernhard - if those links are not set, can it affect the compilation ? B) Did you extract the *.tgz in /Volumes/OpenFOAM directly (case-sensitive) ? PO |
|
July 23, 2008, 16:17 |
Hi Pierre Olivier,
what I'm u
|
#33 |
Senior Member
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18 |
Hi Pierre Olivier,
what I'm used to do, in order to have multiple installations on the same (linux, up to now) machine, is to create specific files to be sourced when needed. In this case, I've created a file containing: export FOAM_INST_DIR=/Volumes/OpenFOAM export WM_PRECISION_OPTION=DP export WM_NCOMPPROCS=2 . /Volumes/OpenFOAM/OpenFOAM-1.5/etc/bashrc and the I've sourced it. Now, for example, FOAM_INST_DIR is /Volumes/OpenFOAM, FOAM_SRC is /Volumes/OpenFOAM/OpenFOAM-1.5/src, WM_THIRD_PARTY_DIR is /Volumes/OpenFOAM/ThirdParty and so on. I extracted the *.gtgz files directly in that directory, from the command line, to avoid any possible case problem in the file names. Francesco |
|
July 23, 2008, 16:24 |
... hey, in fact, those "Makin
|
#34 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
... hey, in fact, those "Making dependency list" and "could not open file" messages are ok - it's just "getting" the needed source files to compile.
everything is fine ! |
|
July 23, 2008, 17:49 |
Just to say that I was a bit p
|
#35 |
Senior Member
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18 |
Just to say that I was a bit pessimistic.
It works! I'll do some tests as soon as possible... Thanks mate! |
|
July 24, 2008, 15:52 |
Paraview compiled as well! Tha
|
#37 |
Senior Member
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18 |
Paraview compiled as well! Thanks for all the suggestions above!
The only issue I've found is that I don't have the time step selection. I can only visualize the first saved time step, but not the others. I've tried only on the simpleFoam/pitzDaily tutorial, but it should not make any difference. Does anyone else have the same problem? Francesco |
|
July 24, 2008, 16:18 |
I don't have this problem.
|
#38 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
I don't have this problem.
I tried with a case where I have 0, 300, 500 and 800 as my time steps and it worked. Regards, PO |
|
July 25, 2008, 15:06 |
Found, time selection is there
|
#39 |
Senior Member
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18 |
Found, time selection is there, it's simply different from previous releases...
Thanks, Francesco |
|
July 28, 2008, 01:48 |
Dear FOAMers,
I am close to
|
#40 |
Member
Kevin Maki
Join Date: Mar 2009
Location: Ann Arbor, MI, USA
Posts: 43
Rep Power: 17 |
Dear FOAMers,
I am close to being able to use paraFoam on my mac, but still no cigar. I applied Bernard's patch. I installed qt 4.3.4. I have built paraview3.3-cvs with no failure. Then I went to $FOAM_UTILITIES/postProcessing/graphics/PV3FoamReader and did the Allwclean and Allwmake. Finally, I placed a link in the OpenFOAM/OpenFOAM-1.5/bin directory to the location of the paraview executale. When I launch paraFoam from a case directory, it fails giving me the message "terminate called after throwing an instance of 'std::length_error'" After sifting through the forums, I have investigated the following items. 1. I have only one PV library ls lib/darwinIntelDPOpt/*PV* lib/darwinIntelDPOpt/libvtkPV3Foam.dylib I should have one other paraview 3 library, right? 2. I have tried to load this library via the plugin loader in paraview, and it says no because it is not a valid Qt plugin. Does anyone have any suggestions? Thanks! Kevin |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New version fluent file open in Old version ? | MANOJKUMAR | FLUENT | 2 | July 10, 2013 05:43 |
Difference between Version 6.3 and Version 6.2 | erikaj | FLUENT | 0 | October 11, 2007 13:36 |
LES with version 6.3 | Steve | FLUENT | 0 | April 26, 2007 16:00 |
SEM in the 3.5 version | Anis | Phoenics | 0 | May 5, 2006 13:41 |
BUG IN VERSION 3.5!!!!!!!! | AERODYNAMIFUN | Phoenics | 0 | May 17, 2004 20:24 |