Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    管道流动

    OpenFOAM
    3
    4
    2982
    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.
    • zhanghan
      zhanghan last edited by CFD中文网

      Time = 1
      
      smoothSolver:  Solving for Ux, Initial residual = 1, Final residual = 0.0615517, No Iterations 5
      smoothSolver:  Solving for Uy, Initial residual = 1, Final residual = 0.0904678, No Iterations 6
      smoothSolver:  Solving for Uz, Initial residual = 1, Final residual = 0.0968292, No Iterations 4
      
      
      --> FOAM FATAL ERROR: 
      Continuity error cannot be removed by adjusting the outflow.
      Please check the velocity boundary conditions and/or run potentialFoam to initialise the outflow.
      Total flux              : 5.43787
      Specified mass inflow   : 0.004
      Specified mass outflow  : 0
      Adjustable mass outflow : 8.2387e-75
      
      
          From function adjustPhi(surfaceScalarField&, const volVectorField&,volScalarField&)
          in file cfdTools/general/adjustPhi/adjustPhi.C at line 114.
      
      FOAM exiting
      
      

      请问有哪位知道这是怎么回事吗???
      望指点!!

      1 Reply Last reply Reply Quote
      • C
        CFD中文网 last edited by CFD中文网

        一般是设置了不符合物理的边界条件所致。贴边界条件看看。

        CFD中国标准用户测试帐号
        目前由徐笑笑登录

        zhanghan 1 Reply Last reply Reply Quote
        • zhanghan
          zhanghan @CFD中文网 last edited by 李东岳

          @cfd-china
          您好!
          边界条件如下,我添加了重力场

              object      p;
          }
          // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
          
          dimensions      [0 2 -2 0 0 0 0];
          
          internalField   uniform 0;
          
          boundaryField
          {
              INLET
              {
                  type            zeroGradient;
              }
          
              OUTLET
              {
                  type            zeroGradient;
              }
          
              WALL
              {
                  type            zeroGradient;
              }
          
          }
          
              object      U;
          }
          // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
          
          dimensions      [0 1 -1 0 0 0 0];
          
          internalField   uniform (0 0 0);
          
          boundaryField
          {
              INLET
              {
                  type            fixedValue;
                  value           uniform (0.1 0 0);
              }
          
              OUTLET
              {
                  type            zeroGradient;
              }
          
              WALL
              {
                  type            fixedValue;
                  value           uniform (0 0 0);
              }
          }
          
          赵 1 Reply Last reply Reply Quote
          • 赵
            赵一铭 @zhanghan last edited by

            @zhanghan 你的压力场进出口不建议设置为全部为zeroGradient。可以把出口设置为固定值。

            1 Reply Last reply Reply Quote
            • First post
              Last post

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