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. ICEM里面的网格包含INTERFACE转换问题

ICEM里面的网格包含INTERFACE转换问题

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

    请问各位老师和同学,在ICEM里面分块画的网格,所以包含interface,在openfoam里面打算用cyclicAMI面来设置。但用createPatch -overwrite命令的时候为什么出了下面的错误。

    nm@nm:~/OpenFOAM/nm/cavityceshi2/cavity$ createPatch -overwrite
    /*---------------------------------------------------------------------------*\
      =========                 |
      \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
       \\    /   O peration     | Website:  https://openfoam.org
        \\  /    A nd           | Version:  9
         \\/     M anipulation  |
    \*---------------------------------------------------------------------------*/
    Build  : 9-710dba47639b
    Exec   : createPatch -overwrite
    Date   : Mar 15 2022
    Time   : 17:40:27
    Host   : "nm"
    PID    : 9550
    I/O    : uncollated
    Case   : /home/nm/OpenFOAM/nm/cavityceshi2/cavity
    nProcs : 1
    sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
    fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
    allowSystemOperations : Allowing user-supplied system call operations
    
    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
    Create time
    
    Create polyMesh for time = 0
    
    Reading "createPatchDict"
    
    Adding new patch IF1 as patch 7 from 
    {
        type            cyclicAMI;
        neighbourPatch  IF2;
        transform       noOrdering;
    }
    
    
    
    --> FOAM FATAL ERROR: 
    noOrdering not found in table.  Valid entries: 
    4
    (
    unspecified
    rotational
    none
    translational
    )
    
    
        From function const T& Foam::HashTable<T, Key, Hash>::operator[](const Key&) const [with T = unsigned int; Key = Foam::word; Hash = Foam::string::hash]
        in file lnInclude/HashTableI.H at line 126.
    
    FOAM exiting
    
    Z 1 条回复 最后回复
  • Z 离线
    Z 离线
    zzq704
    在 中回复了 zzq704 最后由 李东岳 编辑
    #2

    这是我的createPatchDict文件。

    /*--------------------------------*- C++ -*----------------------------------*\
    | =========                 |                                                 |
    | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
    |  \\    /   O peration     | Version:  5                                     |
    |   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
    |    \\/     M anipulation  |                                                 |
    \*---------------------------------------------------------------------------*/
    FoamFile
    {
        version     2.0;
        format      ascii;
        class       dictionary;
        object      createPatchDict;
    }
    
    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
    
    pointSync false;
    
    patches
    (
        {
            name IF1;        //交界面的名字
            patchInfo
            {
                type             cyclicAMI;        //交界面类型
                neighbourPatch   IF2;           //与之相匹配的交界面名字
                transform        noOrdering;
            }
            constructFrom        patches;          //使用patches的方法创建cyclicAMI
            patches              (INTERFACE2);    //patches的名字
        }
    
        {
            name IF2;
            patchInfo
            {
                type             cyclicAMI;
                neighbourPatch   IF1;
                transform        noOrdering;
            }
            constructFrom        patches;
            patches              (INTERFACE2.1);
        }
        
    );
    
    // ************************************************************************* //
    
    1 条回复 最后回复
  • 李东岳李 在线
    李东岳李 在线
    李东岳 管理员
    写于 最后由 编辑
    #3

    把你的noOrdering改成none,估计你这个openfoam版本用的不一样

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

    Z 1 条回复 最后回复
  • Z 离线
    Z 离线
    zzq704
    在 中回复了 李东岳 最后由 编辑
    #4

    @李东岳
    好的,我试试。感谢回复:146:

    1 条回复 最后回复

  • 登录

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