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.1 mergeMeshes 失败

求助:foam-extend-4.1 mergeMeshes 失败

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

    用Gambit生成两套网格(背景网格和重叠网格,.msh格式)导入fe41后(fluentMeshtoFoam *.msh),分别将两套网格(cosntant文件夹和system文件夹)放在不同的文件夹中。随后使用mergeMeshes操作出现问题。

    > mergeMeshes .. oversetCylinder_fluentMesh . oversetCylinder 
    /*---------------------------------------------------------------------------*\
    | =========                 |                                                 |
    | \\      /  F ield         | foam-extend: Open Source CFD                    |
    |  \\    /   O peration     | Version:     4.1                                |
    |   \\  /    A nd           | Web:         http://www.foam-extend.org         |
    |    \\/     M anipulation  | For copyright notice see file Copyright         |
    \*---------------------------------------------------------------------------*/
    Build  : 4.1-70b064d0f326
    Exec   : mergeMeshes .. oversetCylinder_fluentMesh . oversetCylinder
    Date   : Sep 02 2024
    Time   : 20:54:18
    Host   : "gunther-All-Series"
    PID    : 16409
    CtrlDict : "/home/gunther/TANHAO_fe41/oversetCylinder_fluentMesh/system/controlDict"
    Case   : /home/gunther/TANHAO_fe41/oversetCylinder_fluentMesh
    nProcs : 1
    sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
    allowSystemOperations : Disallowing user-supplied system call operations
    
    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
    Master:      ".." "oversetCylinder_fluentMesh"  region region0
    mesh to add: "." "oversetCylinder"  region region0
    
    Create Times
    Reading master mesh for time = 0
    Create mesh
    
    Reading mesh to add for time = 0
    Create mesh
    
    --> FOAM Warning : 
        From function Foam::forces::forces(const word&, const objectRegistry&, const dictionary&, const bool)
        in file forces/forces.C at line 209
        No fvMesh available, deactivating.
    
    
    --> FOAM FATAL ERROR: 
    Attempt to cast type mergePolyMesh to type fvMesh
    
        From function refCast<To>(From&)
        in file /home/gunther/foam/foam-extend-4.1/src/foam/lnInclude/typeInfo.H at line 114.
    
    FOAM aborting
    
    Aborted (core dumped)
    
    

    出现“Attempt to cast type mergePolyMesh to type fvMesh”的提示。在网上没有搜到相关的解决办法,跪求大佬指点!!!

    1 条回复 最后回复
  • G 离线
    G 离线
    Gunther
    写于 最后由 编辑
    #2

    搬运大佬🅲🅵🅳.ⓒⓞⓐⓒⓗ的解决办法,实测好用:

    “根据你的描述,估计是 system/controlDict 里面有 functionObjects,可能是一个,也有可能两个都有,针对你的 case,应该是 forces 的部分,如果把这部分屏蔽了,应该可以了。”

    1 条回复 最后回复

  • 登录

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