CFD中文网

    CFD中文网

    • 登录
    • 搜索
    • 最新

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

    OpenFOAM
    2
    4
    279
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • Z
      zzq704 最后由 李东岳 编辑

      请问各位老师和同学,在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
        zzq704 @zzq704 最后由 李东岳 编辑

        这是我的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 条回复 最后回复 回复 引用
        • 李东岳
          李东岳 管理员 最后由 编辑

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

          CFD高性能服务器 http://dyfluid.com/servers.html

          Z 1 条回复 最后回复 回复 引用
          • Z
            zzq704 @李东岳 最后由 编辑

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

            1 条回复 最后回复 回复 引用
            • First post
              Last post