Skip to content
  • 最新
  • 版块
  • 东岳流体
  • 随机看[请狂点我]
皮肤
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • 默认(不使用皮肤)
  • 不使用皮肤
折叠
CFD中文网

CFD中文网

  1. CFD中文网
  2. OpenFOAM
  3. of2006安装完找不到paraview和paraFoam

of2006安装完找不到paraview和paraFoam

已定时 已固定 已锁定 已移动 OpenFOAM
6 帖子 3 发布者 5.3k 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
回复
  • 在新帖中回复
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • S 离线
    S 离线
    Samuel-Tu
    写于 最后由 Samuel-Tu 编辑
    #1
    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 条回复 最后回复
  • S 离线
    S 离线
    Samuel-Tu
    写于 最后由 编辑
    #2

    和以前安装好的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 条回复 最后回复
  • S 离线
    S 离线
    Samuel-Tu
    写于 最后由 编辑
    #3

    哈哈,搞定,我发现/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 条回复 最后回复
  • 李东岳李 在线
    李东岳李 在线
    李东岳 管理员
    写于 最后由 编辑
    #4

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

    http://dyfluid.com/index.html
    需要帮助debug算例的看这个 https://cfd-china.com/topic/8018

    1 条回复 最后回复
  • S 离线
    S 离线
    Samuel-Tu
    写于 最后由 编辑
    #5

    奇怪了,虽然用起来没什么问题,但是打开的时候还是 会有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 条回复 最后回复
  • V 离线
    V 离线
    veen
    写于 最后由 编辑
    #6

    今天解决了这个问题
    先在$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 条回复 最后回复

  • 登录

  • 登录或注册以进行搜索。
  • 第一个帖子
    最后一个帖子
0
  • 最新
  • 版块
  • 东岳流体
  • 随机看[请狂点我]