Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    关于sonicLiquidFoam中pEqn.H的一个疑问

    OpenFOAM
    2
    4
    3263
    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.
    • Y
      yuan_neu last edited by

                  U = rAU*UEqn.H();
      
                  surfaceScalarField phid
                  (
                      "phid",
                      psi
                     *(
                         (fvc::interpolate(U) & mesh.Sf())
                       + rhorAUf*fvc::ddtCorr(rho, U, phi)/fvc::interpolate(rho)
                      )
                  );
      
                  phi = (rhoO/psi)*phid;
      
                  fvScalarMatrix pEqn//for solution of pEqn, construction with respect to p0 and rho0
                  (
                      fvm::ddt(psi, p)
                    + fvc::div(phi)////??????
                    + fvm::div(phid, p)//=0, if psi=0  
                    - fvm::laplacian(rhorAUf, p)
                  );//
      

      与rhoPimpleFoam相比,为什么多出了第二项 fvc::div(phi)////??????

      1 Reply Last reply Reply Quote
      • Y
        yuan_neu last edited by

        是否与readThermodynamicProperties.H里面的
        dimensionedScalar rhoO("rhoO", rho0 - psi*p0);有关?

        1 Reply Last reply Reply Quote
        • 李东岳
          李东岳 管理员 last edited by

          咦?看看这个:sonicLiquidFoam解析

          线上CFD课程 7月1日报名截止 http://dyfluid.com/class.html
          CFD高性能服务器 http://dyfluid.com/servers.html

          Y 1 Reply Last reply Reply Quote
          • Y
            yuan_neu @李东岳 last edited by

            @李东岳 :kiss:

            1 Reply Last reply Reply Quote
            • First post
              Last post

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