|
[Sponsors] |
November 13, 2009, 11:04 |
update turbDyMFoam
|
#1 |
Member
antonio segalini
Join Date: Mar 2009
Posts: 75
Rep Power: 17 |
Hi foamers,
i just have installed openfoam-dev with the debian installation. It worked out quicky and easily. Now i want to run a acse i did 6 months ago with a rotating sliding mesh and the solver turbDyMFoam says that it doesn't find the topo changer mixerFvMesh. This is ok. In the old version i have compiled (it was still OF-dev-1.5) i just had to add the library lengine. Here i tried but there is no application folder with the code of turbDyMFoam. Where can i update my turbDyMFoam solver? I tried also to download from the powerlab the dev version and compile it, but when i update the bashrc, it get stucked in an error: cfduser-dev@antonio-desktop:~/OpenFOAM/OpenFOAM-1.5-dev$ . ~/.bashrc -bash: /home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/etc/bashrc: line 188: syntax error near unexpected token `<<<' -bash: /home/cfduser-dev/OpenFOAM/OpenFOAM-1.5-dev/etc/bashrc: line 188: `<<<<<<< .mine' suggestions? thanks in advance |
|
November 24, 2009, 16:26 |
|
#2 |
New Member
Julius
Join Date: Mar 2009
Posts: 27
Rep Power: 17 |
Hi together,
I got exactly the same problem on installing OpenFOAM-1.5-dev on Ubuntu 9.10 64bit. Has anyone a solution yet? Are there missing any libraries? I installed all packages I found on the net and it worked perfectly with the older 1.5-dev a few month ago. The packages installed additionally to the original Ubuntu 9.10 64bit are: - binutils - binutils-dev - build-essential - cmake - fakeroot - flex - g++ - libqt4 - libqt4-dev - libmpfr-dev - libmpfr1ldbl - python2.5 - python2.5-dev Anyone got an idea what could be the reason for this error? Thanks in advance, Julius |
|
November 29, 2009, 21:34 |
|
#3 |
New Member
Julius
Join Date: Mar 2009
Posts: 27
Rep Power: 17 |
Hi together,
commenting out the following two lines (line no. 188 ff) of my OpenFOAM-1.5-dev/etc/bashrc fixed the error. #<<<<<<< .mine ... #>>>>>>> .r1000 I did this after comparing the actual bashrc with an older one where these two lines were nearly the only difference. For me it worked fine. I'm going to describe the compilation errors I had to fix afterwards in another thread. Good luck |
|
November 30, 2009, 11:38 |
|
#4 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
|
||
November 30, 2009, 11:52 |
|
#5 |
New Member
Julius
Join Date: Mar 2009
Posts: 27
Rep Power: 17 |
Hi Bernhard,
thanks for your answer. I wasn't doing anything with svn repositories. I just downloaded the zip-files from Hrvoje's website (http://powerlab.fsb.hr/ped/kturbo/openfoam/release/) where these lines are already included in the bashrc. Maybe just another bug / type-o that should be fixed. Julius |
|
December 4, 2009, 02:05 |
|
#6 |
New Member
Srikara Mahishi
Join Date: Mar 2009
Location: Bangalore
Posts: 22
Rep Power: 17 |
Hello Julien,
I had the same problem that antonio had mentioned. I did what you have suggested and got rid of that problem. But now when I run the command foamInstallationTest I get the following error message: PHP Code:
Thank you, Srikara |
|
December 4, 2009, 05:27 |
|
#7 |
New Member
Julius
Join Date: Mar 2009
Posts: 27
Rep Power: 17 |
Hello Srikara,
at the moment I see two errors on your Installation. The first one is the version of your openmpi. You should change the version in your settings.sh. Compare bigPhils comment on that. http://www.cfd-online.com/Forums/ope...tml#post238056 The second thing is that you should install ssh. On Ubuntu just install by typing sudo aptitude install ssh This will download some packages but the error should not be critical. Now compile the whole project again. Good Luck |
|
December 17, 2009, 04:24 |
|
#8 |
New Member
Srikara Mahishi
Join Date: Mar 2009
Location: Bangalore
Posts: 22
Rep Power: 17 |
Hello Julius,
Thank you very much for the reply and sorry for the late reply. I solved the first problem by setting the compiler installation to OpenFOAM instead of system in openfoam-1.5-dev/etc/settings.sh. For the second problem, is there any particular version of ssh that I should download and install? I am using OpenSuse 10.3 and not Ubuntu. There is nothing inside the folder: OpenFOAM-1.5-dev/applications/binlinux64GccDPOpt folder. Do you have any idea what the problem could be? Thank you very much, Srikara |
|
February 18, 2010, 10:01 |
|
#9 |
Member
Nick Gardiner
Join Date: Apr 2009
Location: Chichester, UK
Posts: 94
Rep Power: 17 |
Hi Srikara
I'm having the same problem in that I've an empty DOpt folder. I know that I can fill this with binaries from OpenFOAM-1.6 but I think the problem is a linking error as I get lots of /usr/bin/ld: cannot find -l... error messages. Sound familiar? Have the objects in the src file have been made? They'll be in various 64GccDPOpt folders in the make files. If so it's the linker ld. Someone did post something about this problem and the fact that it should not be looking in the /usr/bin directory but I haven't found how to change that yet Cheers Nick |
|
February 18, 2010, 12:24 |
|
#10 |
Member
Nick Gardiner
Join Date: Apr 2009
Location: Chichester, UK
Posts: 94
Rep Power: 17 |
Hi again Srikara
Have just copied the files in /home/****/OpenFOAM/OpenFOAM-1.5-dev/lib/linux64GccDPOpt/openmpi-1.3.3 to the level above and this solved the linking problem. Now it all seems to be compiling with no errors and OpenFOAM-1.5-dev/applications/bin/linux64GccDPOpt is filling up! Make sure that you have compiled all the third party and src files without errors first. Cheers N |
|
May 4, 2010, 11:18 |
|
#11 | |
Senior Member
Join Date: Apr 2010
Posts: 151
Rep Power: 16 |
Hello,
I tried to comment the lines 188 an 193, as suggested by Julius. When I ran the bashrc file, my terminal responded like this: System I must mention that my computer passed the foamSystemCheck. Any suggestions? Or does anyone know what the answer "System" means? Quote:
|
||
May 4, 2010, 12:25 |
|
#12 |
New Member
Julius
Join Date: Mar 2009
Posts: 27
Rep Power: 17 |
Hello flowris,
this means that your compiler (gcc) is set to "system". In order to avoid compiling problems you should set it to OpenFOAM. This can be done in the OpenFOAM-1.5-dev/etc/settings.sh (line 111 to 115) and looks like: # Select compiler installation # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # compilerInstall = OpenFOAM | System compilerInstall=OpenFOAM #compilerInstall=System You can also use the "system compiler" but most likely it is not exactly the same version as the one used by the OpenFOAM developers what can cause a lot of trouble (in my case it did). Good luck, regards Julius |
|
June 2, 2010, 09:16 |
|
#13 |
Senior Member
Join Date: Apr 2010
Posts: 151
Rep Power: 16 |
Thanks Julius,
Indeed my system compiler is a wrong version. Remarks: 1. I also had to "steal" the following folders from version 1.6:
2. Unlike NickG in #10 of this thread, I did not (yet) need to move the files in OpenFOAM-1.5-dev/lib/linux64GccDPOpt/openmpi-1.3.3 to the level above After this, foamInstallationTest and the cavity tutorial ran without errors. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic mesh update problem. | David | FLUENT | 3 | March 15, 2012 06:02 |
update the pyhsicaltimestep during a steady-state-run | mvoss | CFX | 4 | April 6, 2009 04:08 |
starCD version update | hervé | Siemens | 6 | March 3, 2008 20:04 |
ICEM geometry update | Omar | CFX | 0 | July 4, 2007 16:55 |
time taken to update solution in unsteady flow | phil | FLUENT | 6 | May 17, 2004 11:12 |