CFD中文网

    CFD中文网

    • 登录
    • 搜索
    • 最新

    如何在decomposeParDict中使用preservePatches

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

      我是直接这样写的,但是感觉没有生效

      /*--------------------------------*- C++ -*----------------------------------*\
      | =========                 |                                                 |
      | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
      |  \\    /   O peration     | Version:  2.2.2                                 |
      |   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
      |    \\/     M anipulation  |                                                 |
      \*---------------------------------------------------------------------------*/
      FoamFile
      {
          version     2.0;
          format      ascii;
          class       dictionary;
          location    "system";
          object      decomposeParDict;
      }
      // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
      
      //method scotch;
      method simple;
      
      
      numberOfSubdomains 15;
      
      simpleCoeffs
      {
          preservePatches  (frontwall backwall);
          n               ( 1 15 1 );
          delta           0.001;
      }
      
      // ***
      

      请问大家正确的格式是什么?

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