Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    of2006安装完找不到paraview和paraFoam

    OpenFOAM
    3
    6
    1075
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Samuel-Tu last edited by Samuel-Tu

      saumuel@saumuel:~/OpenFOAM/OpenFOAM-v2006/tutorials/incompressible/icoFoam/cavity/cavity$ paraFoam
      
      Invalid $PV_PLUGIN_PATH and -plugin-path= not defined
      No supplementary ParaView/OpenFOAM reader modules
      Using builtin reader: paraFoam -vtk
      
      Created temporary 'cavity.foam'
      /home/saumuel/OpenFOAM/OpenFOAM-v2006/bin/paraFoam: 420: /home/saumuel/OpenFOAM/OpenFOAM-v2006/bin/paraFoam: paraview: not found
      
      saumuel@saumuel:~/OpenFOAM/OpenFOAM-v2006/tutorials/incompressible/icoFoam/cavity/cavity$ paraview
      
      Command 'paraview' not found, but can be installed with:
      
      sudo apt install paraview
      
      
      

      奇怪了,安装完of2006后可以icoFoam,blockMesh,但是我打开不了paraFoam或者paraview

      1 Reply Last reply Reply Quote
      • S
        Samuel-Tu last edited by

        和以前安装好的of1806对比paraFoam -help,确实of2006少了一行东西

        saumuel@saumuel:~$ paraFoam -help
        
        Usage: paraFoam [OPTION] [--] [PARAVIEW_OPTION]
        options:
          -block            use blockMesh reader (uses .blockMesh extension)
          -case <dir>       specify alternative case directory, default is the cwd
          -region <name>    specify alternative mesh region
          -touch            create the file (eg, .blockMesh, .OpenFOAM, .foam, ...)
          -touch-all | -touchAll
                            create .blockMesh, .foam, .OpenFOAM files (for all regions)
          -touch-proc       same as '-touch' but for each processor
          -vtk | -builtin   use VTK builtin OpenFOAM reader (uses .foam extension)
          -help |-help-full print the usage
          --help            paraview help
        
        Start paraview with the OpenFOAM libraries and reader modules.
        Note that paraview options begin with double dashes.
        
          paraview=/home/saumuel/OpenFOAM/ThirdParty-v1806/platforms/linux64Gcc/ParaView-5.5.2/bin/paraview
        
        
        saumuel@saumuel:~/OpenFOAM/OpenFOAM-v2006/tutorials/incompressible/icoFoam/cavity/cavity$ paraFoam -help
        
        Usage: paraFoam [OPTION] [--] [PARAVIEW_OPTION]
        options:
          -block            Use blockMesh reader (.blockMesh extension)
          -vtk              Use VTK builtin OpenFOAM reader (.foam extension)
          -case <dir>       Specify alternative case directory, default is the cwd
          -region <name>    Specify alternative mesh region
          -touch            Create the file (eg, .blockMesh, .OpenFOAM, .foam, ...)
          -touch-all        Create .blockMesh, .foam, .OpenFOAM files (for all regions)
          -help             Display short help and exit
          -help-full        Display full help and exit
        
        Start paraview with the OpenFOAM libraries and reader modules.
        Note that paraview options begin with double dashes.
        
        Uses paraview=
        
        

        看起来像是paraview没有装上??

        1 Reply Last reply Reply Quote
        • S
          Samuel-Tu last edited by

          哈哈,搞定,我发现/home/saumuel/OpenFOAM/ThirdParty-v2006/platforms/linux64Gcc/里面没有ParaView-5.6.3这个文件夹,觉得是没装上,所以我就到ThirdParty-v2006里面./makeParaView了一下,装好了之后发现OpenFOAM/ThirdParty-v2006/platforms/linux64Gcc/里就有ParaView-5.6.3了。。
          东岳流体里面paraview安装过程是下面这样的

          ./makeParaView
          wmRefresh
          cd $FOAM_UTILITIES/postProcessing/graphics/PVReaders
          ./Allwclean
          ./Allwmake
          

          但是我没找到$FOAM_UTILITIES/postProcessing/graphics/PVReaders这个文件夹。。
          这个命令的目的是要干啥呢./Allwclean ./Allwmake

          1 Reply Last reply Reply Quote
          • 李东岳
            李东岳 管理员 last edited by

            2006做了调整,是少了很多东西,sudo apt install paraview这种方法最快速

            CFD课程 改成线上了 http://dyfluid.com/class.html
            CFD高性能服务器 http://dyfluid.com/servers.html

            1 Reply Last reply Reply Quote
            • S
              Samuel-Tu last edited by

              奇怪了,虽然用起来没什么问题,但是打开的时候还是 会有warning

              Invalid $PV_PLUGIN_PATH and -plugin-path= not defined
              No supplementary ParaView/OpenFOAM reader modules
              Using builtin reader: paraFoam -vtk
              
              Created temporary 'platePimple.foam'
              
              
              1 Reply Last reply Reply Quote
              • V
                veen last edited by

                今天解决了这个问题
                先在$WM_THIRD_PARTY_DIR编译paraFoam并执行wmRefresh
                到$WM_PROJECT_DIR/modules/visualization路径下执行 ./Allwclean && ./Allwmake && wmRefresh
                转到$WM_PROJECT_DIR路径下执行 ./Allwmake && wmRefresh

                命令:

                cd $WM_THIRD_PARTY_DIR
                ./makeParaView
                wmRefresh

                cd $WM_PROJECT_DIR/modules/visualization
                ./Allwclean && ./Allwmake && wmRefresh

                cd $WM_PROJECT_DIR
                ./Allwmake && wmRefresh

                1 Reply Last reply Reply Quote
                • First post
                  Last post

                CFD中文网 | 东岳流体 | 京ICP备15017992号-2