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. foam-extend-4.0 求解器fsiFoam,decomposePar 报错

foam-extend-4.0 求解器fsiFoam,decomposePar 报错

已定时 已固定 已锁定 已移动 OpenFOAM
12 帖子 2 发布者 5.2k 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
回复
  • 在新帖中回复
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • G 离线
    G 离线
    Gunther
    写于 最后由 编辑
    #1

    foam-extend-4.0 求解器fsiFoam,并行方法是scotch,decomposePar -cellDist 操作出现如下问题。跪求大佬解答!附上两个log文件。

    log.decomposePar log.decomposePar.solid

    
    /*---------------------------------------------------------------------------*\
    | =========                 |                                                 |
    | \\      /  F ield         | foam-extend: Open Source CFD                    |
    |  \\    /   O peration     | Version:     4.0                                |
    |   \\  /    A nd           | Web:         http://www.foam-extend.org         |
    |    \\/     M anipulation  | For copyright notice see file Copyright         |
    \*---------------------------------------------------------------------------*/
    Build    : 4.0
    Exec     : decomposePar -cellDist
    Date     : May 17 2024
    Time     : 10:04:23
    Host     : dyfluid
    PID      : 65508
    CtrlDict : "/home/dyfluid/fe40_tanhao/fsiFoam/cylinderAsidePlate/cylinderAsidePlate_Re100_1.5D_laminar_inlet/fluid/system/controlDict"
    Case     : /home/dyfluid/fe40_tanhao/fsiFoam/cylinderAsidePlate/cylinderAsidePlate_Re100_1.5D_laminar_inlet/fluid
    nProcs   : 1
    SigFpe   : Enabling floating point exception trapping (FOAM_SIGFPE).
    
    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
    Create time
    
    Time = 0
    Create mesh for region region0
    
    Calculating distribution of cells
    --> FOAM Warning : 
        From function dlLibraryTable::open(const fileName& functionLibName)
        in file db/dlLibraryTable/dlLibraryTable.C at line 124
        could not load libmpi.so.1: cannot open shared object file: No such file or directory
    --> FOAM Warning : 
        From function decompositionMethod::loadExternalLibraries()
        in file decompositionMethod/decompositionMethod.C at line 508
        Loading of decomposition library libparMetisDecomp.so unsuccesful. Some decomposition methods may not be  available
    Selecting decompositionMethod scotch
    1 条回复 最后回复
  • 李东岳李 离线
    李东岳李 离线
    李东岳 管理员
    写于 最后由 编辑
    #2

    你换个fe40别的算例,比如pisoFoam,找个算例用scotch分解一下,看看能不能分解。

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

    G 1 条回复 最后回复
  • G 离线
    G 离线
    Gunther
    在 中回复了 李东岳 最后由 编辑
    #3

    @李东岳 李老师您好!首先感谢您的回复。我在fe-40的tutorial中找到pisoFoam的算例——cavity。执行decomposePar依旧存在上述问题。无论是用scotch还是simple均会存在上述问题。目前我是在dyfluid下载的虚拟机上运行的。

    /*---------------------------------------------------------------------------*\
    | =========                 |                                                 |
    | \\      /  F ield         | foam-extend: Open Source CFD                    |
    |  \\    /   O peration     | Version:     4.0                                |
    |   \\  /    A nd           | Web:         http://www.foam-extend.org         |
    |    \\/     M anipulation  | For copyright notice see file Copyright         |
    \*---------------------------------------------------------------------------*/
    Build    : 4.0
    Exec     : decomposePar
    Date     : May 17 2024
    Time     : 14:35:59
    Host     : dyfluid
    PID      : 69780
    CtrlDict : "/home/dyfluid/fe40_tanhao/pisoFoam/cavity/system/controlDict"
    Case     : /home/dyfluid/fe40_tanhao/pisoFoam/cavity
    nProcs   : 1
    SigFpe   : Enabling floating point exception trapping (FOAM_SIGFPE).
    
    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
    Create time
    
    Time = 0
    Create mesh for region region0
    
    Calculating distribution of cells
    --> FOAM Warning : 
        From function dlLibraryTable::open(const fileName& functionLibName)
        in file db/dlLibraryTable/dlLibraryTable.C at line 124
        could not load libmpi.so.1: cannot open shared object file: No such file or directory
    --> FOAM Warning : 
        From function decompositionMethod::loadExternalLibraries()
        in file decompositionMethod/decompositionMethod.C at line 508
        Loading of decomposition library libparMetisDecomp.so unsuccesful. Some decomposition methods may not be  available
    Selecting decompositionMethod scotch
    
    

    之前一直没有注意到这个Warning,反正都能算,但有时reconstructPar的结果会出现混乱。如图1所示。这张图片是paraview在case type 为 Reconstructed Case 时显示的。cgi-bin_mmwebwx-bin_webwxgetmsgimg_&MsgID=4854121309350350526&skey=@crypt_b72978c9_358c7d96cb1033dde636a9561be86dc6&mmweb_appid=wx_webfilehelper.jpg

    然而如果不进行reconstructPar,在paraview在case type 为 Decomposed Case 时则显示内容如图2所示。用单核跑的结果仍为图2所示。
    cgi-bin_mmwebwx-bin_webwxgetmsgimg_&MsgID=8067256724055081697&skey=@crypt_b72978c9_358c7d96cb1033dde636a9561be86dc6&mmweb_appid=wx_webfilehelper.jpg

    李老师请多指教!!!

    1 条回复 最后回复
  • 李东岳李 离线
    李东岳李 离线
    李东岳 管理员
    写于 最后由 编辑
    #4

    http://dyfluid.com/download.html

    是这个新版本虚拟机么

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

    G 1 条回复 最后回复
  • G 离线
    G 离线
    Gunther
    在 中回复了 李东岳 最后由 编辑
    #5

    @李东岳 李老师您好!不是这个最新版的,是之前下载的,目前最新版不包含fe40。fsiFoam基于fe40好安装一些

    1 条回复 最后回复
  • 李东岳李 离线
    李东岳李 离线
    李东岳 管理员
    写于 最后由 编辑
    #6

    我一会装个fe40,没问题之后更新一下这个虚拟机,就是需要时间,上传以及压缩比较费时间

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

    G 1 条回复 最后回复
  • G 离线
    G 离线
    Gunther
    在 中回复了 李东岳 最后由 编辑
    #7

    @李东岳 感谢李老师:140:

    1 条回复 最后回复
  • 李东岳李 离线
    李东岳李 离线
    李东岳 管理员
    写于 最后由 编辑
    #8

    @Gunther

    你试一下,切换到别的OpenFOAM版本下,decomposePar,然后切换回fe40进行计算。

    等我编译完了发上来

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

    1 条回复 最后回复
  • 李东岳李 离线
    李东岳李 离线
    李东岳 管理员
    写于 最后由 李东岳 编辑
    #9

    记录一下,由于fe40太老了,在ubuntu2204下面编译以下问题,给我卡住了1个小时..

    1. sigFpe.C文件要改malloc
    2. scotch要用6.0.4,不能用6.0.0
    3. scotch要自己编译
    4. fe41默认lib创建so连接,要不然还是找不到

    已更新:http://dyfluid.com/download.html

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

    G 1 条回复 最后回复
  • G 离线
    G 离线
    Gunther
    在 中回复了 李东岳 最后由 编辑
    #10

    @李东岳 谢谢李老师指导!!!

    李东岳李 1 条回复 最后回复
  • 李东岳李 离线
    李东岳李 离线
    李东岳 管理员
    在 中回复了 Gunther 最后由 编辑
    #11

    @Gunther 这个版本可以了么

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

    G 1 条回复 最后回复
  • G 离线
    G 离线
    Gunther
    在 中回复了 李东岳 最后由 编辑
    #12

    @李东岳 这回好使了,谢谢李老师 :)

    1 条回复 最后回复

  • 登录

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