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. 平板降膜边界条件设定(interFoam求解器)

平板降膜边界条件设定(interFoam求解器)

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

    0_1512907622643_2.jpg
    fluent中设置是这样的:
    Boundary A, B and C, D
    are set as periodic boundary conditions. Boundary E is set as no slip
    wall. Boundary F is set as opening pressure boundary.
    不知道在OF怎样设置好

    FoamFile
    {
        version     2.0;
        format      ascii;
        class       volScalarField;
        object      p_rgh;
    }
    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
    
    dimensions      [1 -1 -2 0 0 0 0];
    
    internalField   uniform 100000;
    
    boundaryField
    {
        inlet
        {
            type cyclic;
        }
        gasinlet
        {
            type cyclic;
        }
        outlet1
        {
            type cyclic;
        }
        outlet2
        {
            type cyclic;
        }
        left
        {
           type cyclic;
        }
        right
        {
            type cyclic;
        }
        TWall
        {
           type            fixedFluxPressure;
        }
        
        atmosphere
        {
            type            totalPressure;
            p0              uniform 100000;
            U               U;
            phi             phi;
            rho             rho;
            psi             none;
            gamma           1;
            value           uniform 100000;
        }
    }
    dimensions      [0 1 -1 0 0 0 0];
    
    internalField   uniform (0 0 0);
    
    boundaryField
    {
        inlet
        {
            type cyclic;
        }
        gasinlet
        {
           type cyclic;
        }
       outlet1
        {
           type cyclic;
        }
        outlet2
        {
           type cyclic;
        } 
        left
        {
          type cyclic;
        }
        right
        {
          type cyclic;
        }
        TWall
        {
           type            fixedValue;
           value           uniform (0 0 0);
        }
        
        atmosphere
        {
           type            pressureInletOutletVelocity;
           value           uniform (0 0 0);
        }
    }
    

    体积项用setField,但这样不对,求大神帮忙:big_mouth:

    十分感谢

    1 条回复 最后回复

  • 登录

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