-
Posted July 28, 2012 at 01:02 by SergeAS -
Using the official pre-built ParaView 3.10.1 version with OpenFOAM
Hi Bruno,
I searched through "paraFoam" and found additional places whereas I had to change OpenFOAM to foam. So now the "paraFoam" script works very well.
Thanks Bruno for solving the problem.
Best Regards,
TobiasPosted July 26, 2012 at 21:50 by tobias.joelsson -
Using the official pre-built ParaView 3.10.1 version with OpenFOAM
Hi Tobias,
You're welcome!
Quote:
Although I advise you to not close the editor until you've tested the script, so you can undo if necessary
Best regards,
BrunoPosted July 26, 2012 at 15:35 by wyldckat -
Using the official pre-built ParaView 3.10.1 version with OpenFOAM
Thank you Bruno!
Great it solve the problem...
But when I run paraFoam it act strange, I got a bug that generate a temporary .OpenFOAM file when it (after your guide point 7.) should generate a .foam file
It cause me some minor problem, to I have to manually reload the .foam file in to paraView.
Is there somewhere else in paraFoam that I have forgot to change from .OpenFOAM to .foam?
Best Regards, and Thanks again for finding the problem with made paraFoam run.
TobiasPosted July 26, 2012 at 05:02 by tobias.joelsson -
Using the official pre-built ParaView 3.10.1 version with OpenFOAM
Hi Tobias,
OK, I think I managed to figure it out: your sh shell is a non-conventional one. That is why the source command won't work the way it's meant to. The source command is an internal command in the shell, which in your case either doesn't work this way or doesn't exist.
The quickest fix is to edit the paraFoam script again and change in the first line:
Code:#!/bin/sh
Code:#!/bin/bash
Best regards,
BrunoPosted July 25, 2012 at 14:33 by wyldckat -
Using the official pre-built ParaView 3.10.1 version with OpenFOAM
Hi Bruno,
First when I write in line
ls -l /home/tobias/OpenFOAM/OpenFOAM-2.0.0/etc/config/paraview.sh
is my reply:
Code:-rw-rw-r-- 1 tobias tobias 4153 Jul 20 15:51 /home/tobias/OpenFOAM/OpenFOAM-2.0.0/etc/config/paraview.sh
source /home/tobias/OpenFOAM/OpenFOAM-2.0.0/etc/config
does not reply anything in Terminal
1. Check if the file does exist or not.
Yes paraview.sh exist inCode:/home/tobias/OpenFOAM/OpenFOAM-2.0.0/etc/config/paraview.sh
2. Checks if source doesn't have a double meaning, i.e. it might also be an application, which it shouldn't be.
I do not really get where I should look for source? In which file?
3. Tests if what paraFoam first complain about does or not occur directly in the command line.
tested in libCode:/home/tobias/OpenFOAM/tobias-2.0.0/run/tutorials/incompressible/icoFoam/1-cavity
Code:/home/tobias/OpenFOAM/OpenFOAM-2.0.0/bin/paraFoam: 54: /home/tobias/OpenFOAM/OpenFOAM-2.0.0/bin/paraFoam: source: not found created temporary '1-cavity.OpenFOAM' /home/tobias/OpenFOAM/OpenFOAM-2.0.0/bin/paraFoam: 257: /home/tobias/OpenFOAM/OpenFOAM-2.0.0/bin/paraFoam: paraview: not found
TobiasPosted July 25, 2012 at 01:34 by tobias.joelsson -
Using the official pre-built ParaView 3.10.1 version with OpenFOAM
Hi Tobias,
I forgot to ask before, but what do these commands do for you:
Code:ls -l /home/tobias/OpenFOAM/OpenFOAM-2.0.0/etc/config/paraview.sh which source source /home/tobias/OpenFOAM/OpenFOAM-2.0.0/etc/config/paraview.sh
- Check if the file does exist or not.
- Checks if source doesn't have a double meaning, i.e. it might also be an application, which it shouldn't be.
- Tests if what paraFoam first complain about does or not occur directly in the command line.
BrunoPosted July 23, 2012 at 17:32 by wyldckat -
Using the official pre-built ParaView 3.10.1 version with OpenFOAM
Hi Bruno,
First, thanks for you replying my question.
Yes, I did step 9, there I in my home dir:
Code:/home/tobias/OpenFOAM/OpenFOAM-2.0.0/bin/paraFoam
Code:paraview3=`$WM_PROJECT_DIR/bin/foamEtcFile config/paraview.sh` \ && source $paraview3 unset paraview3
Code:$WM_PROJECT_DIR/bin/foamEtcFile config/paraview.sh
Code:/home/tobias/OpenFOAM/OpenFOAM-2.0.0/etc/config/paraview.sh
Code:echo $WM_PROJECT_DIR
Code:/home/tobias/OpenFOAM/OpenFOAM-2.0.0
TobiasPosted July 22, 2012 at 20:14 by tobias.joelsson -
Using the official pre-built ParaView 3.10.1 version with OpenFOAM
Hi Tobias,
Did you do the step #9, the one specific to OpenFOAM 2.0?
What happens if you run this command:
Code:$WM_PROJECT_DIR/bin/foamEtcFile config/paraview.sh
Code:echo $WM_PROJECT_DIR
BrunoPosted July 20, 2012 at 08:40 by wyldckat -
Using the official pre-built ParaView 3.10.1 version with OpenFOAM
Hi Bruno,
thank you for the good tutorial 'Using the official pre-built ParaView 3.10.1 version with OpenFOAM ' for installing paraView
I running OpenFOAM 2.0.0 with paraView 3.10.1
with cmake version 2.8.7 cmake 2.8.7-0ubuntu4
My problem is that paraFoam command does not work. When I write paraFoam within a OpenFOAM run case this is the error message:
/home/tobias/OpenFOAM/OpenFOAM-2.0.0/bin/paraFoam:
42: /home/tobias/OpenFOAM/OpenFOAM-2.0.0/bin/paraFoam: source: not found
created temporary 'aachenBomb.OpenFOAM'
/home/tobias/OpenFOAM/OpenFOAM-2.0.0/bin/paraFoam:
244: /home/tobias/OpenFOAM/OpenFOAM-2.0.0/bin/paraFoam: paraview: not found
Thanks!
Best Regards,
TobiasPosted July 20, 2012 at 01:53 by tobias.joelsson -
ParaView 3.12.0 SuperBuild on OpenFOAM
Hi Francois,
I'm sorry, but I haven't had any time to add an option to use a pre-compiled MPI. As for the ImageMagick error, I think I got it too, but it doesn't stop the building process.
In the mean time, there is a new effort to make the SuperBuild feature more interlinked with the system's libraries, as show on the following email at ParaView Users mailing list: http://markmail.org/message/o7q572qmm7w7lkr2
edit: I got some time and inspiration and finally implemented the additional option for using the pre-built Open-MPI, but it's auto-detected. So be sure that the MPI version you want is properly visible (having the OpenFOAM environment up and running should be enough).
Best regards,
BrunoPosted February 12, 2012 at 08:55 by wyldckat
Updated February 12, 2012 at 13:36 by wyldckat (r2 released.) -
Building OpenFOAM 2.0.1 on old Linux OSes - test case Ubuntu 8.04
Hi Hrushikesh,
Quote:
Quote:Code:wmake
My go-to tutorial for learning more about changing and compiling solvers is this one: http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam
edit: thread and respective solution: Building OpenFOAM 2.0.1 on SLES 10 SP1 x86_64
Best regards,
BrunoPosted February 8, 2012 at 03:51 by wyldckat
Updated February 8, 2012 at 16:45 by wyldckat (see "edit:") -
Building OpenFOAM 2.0.1 on old Linux OSes - test case Ubuntu 8.04
Hi Bruno,
I have followed above steps to build OpenFOAm 2.0.1 on SLES 10 SP1 x86_64.
Everything went well till step 14. There was an error in buliding cmake-2.8.3 (How can I attch the mkcmake.log file??). However, I went ahead and followed next steps till end. Now all solvers are running well.
But when I try to compile my own solver,
code: wmake plusPostRANS.C
following error message comes.
make: Nothing to be done for `plusPostRANS.C'.
Can you help me in this?
Thanks
HrushikeshPosted February 8, 2012 at 03:19 by Hrushi -
ParaView 3.12.0 SuperBuild on OpenFOAM
Good Afternoon Bruno,
Well, I was using Suse 11, and I had issues accessing the git repo altogether.. I was getting the message:
Quote:fatal: https://code.google.com/p/unofficial...120//info/refs not found: did you run git update-server-info on the server?
Quote:-- Found ZLIB: /usr/include (found version "1.2.3")
-- Could NOT find ImageMagick (missing: ImageMagick_FOUND)
It would be geat if you could indeed add an option to build using OpenMPI, knowing that is is also most often used when compiling OpenFOAM.
Kind regards,
Francois.Posted January 27, 2012 at 10:24 by Fransje -
ParaView 3.12.0 SuperBuild on OpenFOAM
Hi Francois,
Quote:
Quote:After circumventing the MD5 mismatch issue, my compilation adventures stopped somewhere along the way anyhow, when compiling MPICH2. After trying on two different systems, I had to give up once again.. :-( Paraview wins again by knock-out! Such a difficult beast to tame when things go wrong...
If you can tell me which Linux distribution and version you are using, then I might be able to re-create and debug the build process, to figure out where the crowbar needs to be jammed in
By the way, if my memory doesn't fail me, these instructions were tested on a machine with Ubuntu 11.10 x86_64.
Best regards,
BrunoPosted January 25, 2012 at 17:21 by wyldckat -
ParaView 3.12.0 SuperBuild on OpenFOAM
Dear Bruno,
Thanks for the tip!
Unfortunately there seems to be a few MD5 mismatch issues with at least szip and Boost.. And I also had cmake complain about not being able to find ImageMagick at one point, although the compilation continued.
After circumventing the MD5 mismatch issue, my compilation adventures stopped somewhere along the way anyhow, when compiling MPICH2. After trying on two different systems, I had to give up once again.. :-( Paraview wins again by knock-out! Such a difficult beast to tame when things go wrong...
Anyways, keep up the good work!
Kind regards,
Francois.Posted January 25, 2012 at 10:31 by Fransje -
Using the official pre-built ParaView 3.10.1 version with OpenFOAM
thanks for help.Posted November 29, 2011 at 19:18 by aminakis -
Building OpenFOAM 2.0.1 on old Linux OSes - test case Ubuntu 8.04
thanks a lot brunoPosted October 23, 2011 at 13:10 by ilene2011 -
Building ParaView 3.10.1 with custom Qt 4.6.4
Hi bhomer,
I've got a feeling the problem is that ParaView somehow is installed elsewhere...
OK, lets try this - create a new thread here: http://www.cfd-online.com/Forums/openfoam-installation/ - describe your problem and attach the compressed logs that you've gotten for ParaView, Qt and PV3*. That way I can try and figure out better what's going on!
By the way, Fedora 14 i686 or x86_64?
Best regards,
BrunoPosted October 18, 2011 at 17:19 by wyldckat -
Building ParaView 3.10.1 with custom Qt 4.6.4
Good afternoon,
I followed the yum install instructions given above. This uploaded 9 more files but unfortunately it did not help.
When I execute, from the PV3Readers directory, the following line
wmake libso vtkPV3Readers > make.log 2>&1
I get:
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file vtkPV3Readers.C
could not open file vtkDataArraySelection.h for source file vtkPV3Readers.C
could not open file vtkDataSet.h for source file vtkPV3Readers.C
could not open file vtkMultiBlockDataSet.h for source file vtkPV3Readers.C
could not open file vtkInformation.h for source file vtkPV3Readers.C
SOURCE=vtkPV3Readers.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/bhomer/OpenFOAM/ThirdParty-2.0.1/platforms/linuxGcc/paraview-3.10.1/include/paraview-3.10 -IlnInclude -I. -I/home/bhomer/OpenFOAM/OpenFOAM-2.0.1/src/OpenFOAM/lnInclude -I/home/bhomer/OpenFOAM/OpenFOAM-2.0.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/vtkPV3Readers.o
vtkPV3Readers.C:35:35: fatal error: vtkDataArraySelection.h: No such file or directory
compilation terminated.
make: *** [Make/linuxGccDPOpt/vtkPV3Readers.o] Error 1
Both OpenFOAM and paraview are in place and work. At this point I cannot get the PV3Readers to function.
bhomerPosted October 17, 2011 at 18:51 by bhomer