|
[Sponsors] |
July 28, 2008, 04:23 |
I've also had the "terminate c
|
#41 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40 |
I've also had the "terminate called after throwing an instance of 'std::length_error'" but *only* with the internal vtk OpenFOAM reader.
Using the reader module from OpenFOAM, or an updated reader from Takuya works fine (for me). |
|
July 28, 2008, 04:32 |
Hi Mark,
Thanks for the res
|
#42 |
Member
Kevin Maki
Join Date: Mar 2009
Location: Ann Arbor, MI, USA
Posts: 43
Rep Power: 17 |
Hi Mark,
Thanks for the response. I am not sure what you mean by the reader module from OpenFOAM, versus the internal vtk OpenFOAM reader. Could you provide more details? Thanks! Kevin |
|
July 28, 2008, 04:56 |
The reader module (extension .
|
#43 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40 |
The reader module (extension .OpenFOAM)
implemented in applications/utilities/postProcessing/graphics/PV3FoamReader/ Works well. The internal vtk reader (extension .foam) implemented in ParaView3.3-cvs/VTK/IO/vtkOpenFOAMReader.{cxx,h} The standard internal vtk reader (pulled from cvs) is generally unsuitable for a number of reasons. Takuya has made a number of modifications that vastly improve the quality of the code, but it has not yet been checked into the paraview/vtk cvs. |
|
August 8, 2008, 15:30 |
Kevin,
Are you still in ita
|
#44 |
Member
Sung-Eun Kim
Join Date: Mar 2009
Posts: 76
Rep Power: 17 |
Kevin,
Are you still in italy? I hope you're having a good time. Have you had luck with ParaView3.3-cvs on your MAC? Sung-Eun |
|
August 8, 2008, 17:17 |
Can someone tell me what's the
|
#45 |
Member
Sung-Eun Kim
Join Date: Mar 2009
Posts: 76
Rep Power: 17 |
Can someone tell me what's the best way to get paraview3.3-cvs up and running on MAC OS X?
|
|
August 8, 2008, 17:30 |
Good afternoon,
Bernhard al
|
#46 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
Good afternoon,
Bernhard already released a patch in this thread; paraview compiles and runs well. Also, Takuya released an updated native reader in this thread last week : http://www.cfd-online.com/OpenFOAM_D...tml?1218010478 Regards, Pierre-Olivier |
|
August 27, 2008, 09:20 |
Hi Bernhard,
I tried to app
|
#47 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
Hi Bernhard,
I tried to apply your patch to version 1.5.x - looks that minor changes will be needed. Do you have some time to have a look at it ? Best regards, PO |
|
August 28, 2008, 11:49 |
I'll try to recompile the patc
|
#48 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
I'll try to recompile the patched version over the weekend.
What is the concrete problem?
__________________
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 |
|
September 1, 2008, 06:11 |
Hi PO!
The "problem" is tha
|
#49 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Hi PO!
The "problem" is that lex.yy.c is a machine generated file and is left out in the patched version (the way it always should have been). Just tell patch not to patch it and everything else should work fine. But. I have added a third patch-file that changes two minor things: - the conjugate heat transfer solver gets compiled (this was an issue with the ancient gcc that comes with the Mac). Now all the solvers should compile on MacOSX - if the lib or function object mechanism can't load a dynamic-library it tries again and replaces the .so with .dylib. That way you don't have to edit the controlDict every time you move a case from a Linux-machine to a Mac) OpenFOAM-1.5-Mac-v3.patch 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 |
|
September 1, 2008, 09:11 |
Awesome Bernhard, thanks !
|
#50 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
Awesome Bernhard, thanks !
PO |
|
September 5, 2008, 13:32 |
Hi everybody,
I have a prob
|
#51 |
New Member
łukasz
Join Date: Mar 2009
Posts: 2
Rep Power: 0 |
Hi everybody,
I have a problem with compilation openFOAM. I made case-sensitive image and untar on it OpenFOAM and ThirdParty. then i made all step that Pierre adviced. There were no problems till step 8 and particularly till: "source etc/bashrc" (I made it from the /Volumes/openFOAM directory) terminal returned : "This seems to be an Intel-Mac please tell me the output of 'uname -p'. Bernhard. -bash: /Users/hugo/OpenFOAM/OpenFOAM-1.5/bin/foamCleanPath: No such file or directory -bash: /Users/hugo/OpenFOAM/OpenFOAM-1.5/bin/foamCleanPath: No such file or directory -bash: /Users/hugo/OpenFOAM/OpenFOAM-1.5/bin/foamCleanPath: No such file or directory -bash: /Users/hugo/OpenFOAM/OpenFOAM-1.5/etc/settings.sh: No such file or directory -bash: /Users/hugo/OpenFOAM/OpenFOAM-1.5/etc/aliases.sh: No such file or directory -bash: /Users/hugo/OpenFOAM/OpenFOAM-1.5/etc/apps/paraview3/bashrc: No such file or directory -bash: /Users/hugo/OpenFOAM/OpenFOAM-1.5/etc/apps/cint/bashrc: No such file or directory -bash: /Users/hugo/OpenFOAM/OpenFOAM-1.5/bin/foamCleanPath: No such file or directory -bash: /Users/hugo/OpenFOAM/OpenFOAM-1.5/bin/foamCleanPath: No such file or directory -bash: /Users/hugo/OpenFOAM/OpenFOAM-1.5/bin/foamCleanPath: No such file or directory " When I try to compile openFOAM despite that problem (so I type from /Volumes/openFOAM directory "./Allwmake") then I get : "+ cd . + cd wmake/src + make Makefile:61: /rules/darwinIntel/general: No such file or directory Makefile:62: /rules/darwinIntel: No such file or directory make: *** No rule to make target `/rules/darwinIntel'. Stop." There is , of course, lot of sheet like this too : "+ wmake libso lagrangian/basic ./Allwmake: line 9: wmake: command not found" I don't paste all message cause it's pretty long. So I guess there is a problem with directory. Why makefile search all important file in my home directory and not in Volume I made? What I have to do to make it right? |
|
September 5, 2008, 14:21 |
read the bashrc file,there are
|
#52 |
Senior Member
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17 |
read the bashrc file,there are some text like below:I guess you should change it . Or just keep it as it is,but do a soft link to your home directory,as I do.
#!!User: # either set $FOAM_INST_DIR before sourcing this file or set # $foamInstall below to where OpenFOAM is installed # # Location of FOAM installation # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ foamInstall=$HOME/$WM_PROJECT # foamInstall=~$WM_PROJECT # foamInstall=/usr/local/$WM_PROJECT # foamInstall=/opt/$WM_PROJECT |
|
September 8, 2008, 11:28 |
Hi Hugo!
The scripts assume
|
#53 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Hi Hugo!
The scripts assume that the image is mounted (or at least symlinked to) /Users/hugo/OpenFOAM/ Either do that or change the foamInstall-variable the way linzhenhua suggested 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 |
|
September 12, 2008, 16:54 |
Hi !
Of course soft link so
|
#54 |
New Member
łukasz
Join Date: Mar 2009
Posts: 2
Rep Power: 0 |
Hi !
Of course soft link solved my problem. I want to share with You my small discover ( I know that You know that but for me it's a bit strange), well before I wrote my first post I tried to set this soft link but not in terminal -i tried do this from finder (I thought that shortcut is the same as soft link) and what I discovered shocked me - it is not. Anyway, Thank You Linzhenhua and Bernhard. |
|
October 23, 2008, 20:51 |
Hi,
I am new to this openFO
|
#55 |
New Member
sesha
Join Date: Mar 2009
Posts: 23
Rep Power: 17 |
Hi,
I am new to this openFOAM installation. I have tried installing openFOAM on OSX10.5 and came across the error 'Hunk #2 failed at 92'. I had applied Open*v1.patch, Open*v2.patch and Third*.patch in that order. I have just seen the Open*v3.patch above. My question is, do I have to apply all the patches one ofter the other or just Open*v3.patch and Third*.patch have to applied? Thanks |
|
October 27, 2008, 08:57 |
Hi all,
Now that my instal
|
#56 |
New Member
Benjamin Berger
Join Date: Mar 2009
Location: Gembloux, Namur, Belgique
Posts: 13
Rep Power: 17 |
Hi all,
Now that my installation of OpenFOAM 1.5 works fine on Ubuntu and that I have a little time to watch it, I'm tring to install OpenFOAM on Mac OS X.5.5... I found this step-by-step tutorial: http://www.mathlab.mtu.edu/~yegong/html/Research_OpenFOAM.html#1.2_Install_OpenF OAM-1.5_on_Mac_O_SX_10.5 But, when I'm reaching step c), the extracting, I got this message in Terminal: http://pix.nofrag.com/3/7/d/9646987f...7872f4a7d.html Can someone tell me what to do or is there a better tutorial to install it on Mac OS X? Can I continue the tutorial without solving this error? I'm totally new to OpenFOAM and CFD so if you could help me, I'll try to give an hand back later! |
|
October 27, 2008, 10:05 |
Hi Benjamin!
The error mess
|
#57 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Hi Benjamin!
The error message you're posting means that the tar you're trying to decompress has a problem. The directory you're doing this in is on a case-sensitive file-system? I'm not sure, but maybe there is another error-message further "up". Try something like tar 2>&1 {whatever your parameters are} | tee tar.log and have a look at the tar.log file whether there is an error elsewhere 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 |
|
October 27, 2008, 10:38 |
Thank you Bernhard with this v
|
#58 |
New Member
Benjamin Berger
Join Date: Mar 2009
Location: Gembloux, Namur, Belgique
Posts: 13
Rep Power: 17 |
Thank you Bernhard with this very very quick answer!
The file I'm trying to decompress is the Thirdparty .gtgz that I downloaded on the OpenCFD website, the one for all platforms. I don't know if my file-system is case sensitive, it is journaled Mac OS, is there a command to know if it is case sensitive? I'll try your comand as soon as I get back under Mac OS Thank you again Benjamin |
|
October 27, 2008, 12:57 |
Hi Benjamin!
A case-sensiti
|
#59 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Hi Benjamin!
A case-sensitive file-system is absolutely essential for OpenFOAM and the usual OS X filesystems are NOT case-sensitive (in fact DON'T make your system partition on OS X case-sensitive, it will end in tears). To quote from the recipie you mentioned above: "a) Make sure your system is case sensitive. If not, build a case sensitive partition in your hard disk, and install OpenFOAM in this partition." I personally recommend a disk-image but that is a question of personal taste 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 |
|
October 28, 2008, 05:35 |
Ok, thank you I did not notice
|
#60 |
New Member
Benjamin Berger
Join Date: Mar 2009
Location: Gembloux, Namur, Belgique
Posts: 13
Rep Power: 17 |
Ok, thank you I did not notice that my system file wasn't case sensitive! As I don't have much spacedisk for the moment, I'll wait till next week when I'll receive my new Mac and try to make a case sensitive disk image where I'll install OpenFOAM!
For the moment, I'm using a pre-compiled version for Mac OS that you can find here: http://www.ifdmavt.ethz.ch/education...foam/of-macosx It works, I still only have problem with the pre-compiled paraview! Thank you for your help Bernard! Maybe a last question: why is it better to release sources than a pre-compiled version? |
|
|
|
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 |