管道流动



  • 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
    
    

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



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



  • @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);
        }
    }
    

  • 管理员

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


登录后回复
 

与 CFD 中国 的连接断开,我们正在尝试重连,请耐心等待