of2006安装完找不到paraview和paraFoam



  • 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



  • 和以前安装好的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没有装上??



  • 哈哈,搞定,我发现/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



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



  • 奇怪了,虽然用起来没什么问题,但是打开的时候还是 会有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'
    
    

Log in to reply
 

CFD中文网 2016 - 2020 | 京ICP备15017992号-2