Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

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

    OpenFOAM
    1
    1
    1121
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 飞
      飞火流星jyj last edited by 李东岳

      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 Reply Last reply Reply Quote
      • First post
        Last post

      CFD中文网 | 东岳流体 | 京ICP备15017992号-2
      论坛登录问题反馈可联系 li.dy@dyfluid.com