CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Comments

Register Blogs Community New Posts Updated Threads Search

  1. Old Comment
    permalink
    Posted July 28, 2012 at 01:02 by SergeAS SergeAS is offline
  2. Old Comment

    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,
    Tobias
    permalink
    Posted July 26, 2012 at 21:50 by tobias.joelsson tobias.joelsson is offline
  3. Old Comment

    Using the official pre-built ParaView 3.10.1 version with OpenFOAM

    Hi Tobias,

    You're welcome!
    Quote:
    Originally Posted by tobias.joelsson View Comment
    Is there somewhere else in paraFoam that I have forgot to change from .OpenFOAM to .foam?
    Well, when in doubt, open the "paraFoam" script with your favourite text editor, then search and replace every occurrence of "OpenFOAM" for "foam"! That ought to fix it

    Although I advise you to not close the editor until you've tested the script, so you can undo if necessary

    Best regards,
    Bruno
    permalink
    Posted July 26, 2012 at 15:35 by wyldckat wyldckat is offline
  4. Old Comment

    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.

    Tobias
    permalink
    Posted July 26, 2012 at 05:02 by tobias.joelsson tobias.joelsson is offline
  5. Old Comment

    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
    To this:
    Code:
    #!/bin/bash
    Save and try the paraFoam script once again!

    Best regards,
    Bruno
    permalink
    Posted July 25, 2012 at 14:33 by wyldckat wyldckat is offline
  6. Old Comment

    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
    which source and
    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 in
    Code:
    /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 lib
    Code:
     /home/tobias/OpenFOAM/tobias-2.0.0/run/tutorials/incompressible/icoFoam/1-cavity
    when typing paraFoam this is the reply
    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
    Best Regards,
    Tobias
    permalink
    Posted July 25, 2012 at 01:34 by tobias.joelsson tobias.joelsson is offline
  7. Old Comment

    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
    1. Check if the file does exist or not.
    2. Checks if source doesn't have a double meaning, i.e. it might also be an application, which it shouldn't be.
    3. Tests if what paraFoam first complain about does or not occur directly in the command line.
    Best regards,
    Bruno
    permalink
    Posted July 23, 2012 at 17:32 by wyldckat wyldckat is offline
  8. Old Comment

    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
    inserted directly after the first comment box (at line 53) what you wrote:

    Code:
    paraview3=`$WM_PROJECT_DIR/bin/foamEtcFile config/paraview.sh` \
        && source $paraview3
    unset paraview3
    on the command:
    Code:
    $WM_PROJECT_DIR/bin/foamEtcFile config/paraview.sh
    the reply:
    Code:
    /home/tobias/OpenFOAM/OpenFOAM-2.0.0/etc/config/paraview.sh
    on the command:
    Code:
    echo $WM_PROJECT_DIR
    the reply:
    Code:
    /home/tobias/OpenFOAM/OpenFOAM-2.0.0
    Best Regards,
    Tobias
    permalink
    Posted July 22, 2012 at 20:14 by tobias.joelsson tobias.joelsson is offline
  9. Old Comment

    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
    And this command:
    Code:
    echo $WM_PROJECT_DIR
    Best regards,
    Bruno
    permalink
    Posted July 20, 2012 at 08:40 by wyldckat wyldckat is offline
  10. Old Comment

    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,
    Tobias
    permalink
    Posted July 20, 2012 at 01:53 by tobias.joelsson tobias.joelsson is offline
  11. Old Comment

    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,
    Bruno
    permalink
    Posted February 12, 2012 at 08:55 by wyldckat wyldckat is offline
    Updated February 12, 2012 at 13:36 by wyldckat (r2 released.)
  12. Old Comment

    Building OpenFOAM 2.0.1 on old Linux OSes - test case Ubuntu 8.04

    Hi Hrushikesh,

    Quote:
    Originally Posted by Hrushi View Comment
    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??).
    Create a new thread here: http://www.cfd-online.com/Forums/openfoam-installation/ - and attach your log file.

    Quote:
    Originally Posted by Hrushi View Comment
    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'.
    Simply run:
    Code:
    wmake
    That file is mentioned inside the file "Make/files".

    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,
    Bruno
    permalink
    Posted February 8, 2012 at 03:51 by wyldckat wyldckat is offline
    Updated February 8, 2012 at 16:45 by wyldckat (see "edit:")
  13. Old Comment

    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
    Hrushikesh
    permalink
    Posted February 8, 2012 at 03:19 by Hrushi Hrushi is offline
  14. Old Comment

    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?
    Anyways, I was able to access git from an other system, and then copied the folder to my Suse system. However, I still get the same error:
    Quote:
    -- Found ZLIB: /usr/include (found version "1.2.3")
    -- Could NOT find ImageMagick (missing: ImageMagick_FOUND)
    and compilation fails when reaching the MPICH2 point.

    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.
    permalink
    Posted January 27, 2012 at 10:24 by Fransje Fransje is offline
  15. Old Comment

    ParaView 3.12.0 SuperBuild on OpenFOAM

    Hi Francois,


    Quote:
    Originally Posted by Fransje View Comment
    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.
    Looks like you didn't use the source code version from the unofficial project.

    Quote:
    Originally Posted by Fransje View Comment
    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...
    I can add an option on the unofficial project to build with Open-MPI in Linux, instead of MPICH2. Or better yet, use an already existing MPI

    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,
    Bruno
    permalink
    Posted January 25, 2012 at 17:21 by wyldckat wyldckat is offline
  16. Old Comment

    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.
    permalink
    Posted January 25, 2012 at 10:31 by Fransje Fransje is offline
  17. Old Comment
    permalink
    Posted November 29, 2011 at 19:18 by aminakis
  18. Old Comment
    permalink
    Posted October 23, 2011 at 13:10 by ilene2011 ilene2011 is offline
  19. Old Comment

    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,
    Bruno
    permalink
    Posted October 18, 2011 at 17:19 by wyldckat wyldckat is offline
  20. Old Comment

    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.

    bhomer
    permalink
    Posted October 17, 2011 at 18:51 by bhomer bhomer is offline

All times are GMT -4. The time now is 09:56.