Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    运行出错..有知道的吗

    OpenFOAM
    2
    7
    3651
    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.
    • M
      mark last edited by CFD中文网

      MULES: Solving for alpha.fuel
      Liquid phase volume fraction = 0.78646411  Min(alpha.fuel) = 0  Min(alpha.vapor) = 0
      diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
      smoothSolver:  Solving for T, Initial residual = 0.0043509939, Final residual = 5.4162916e-12, No Iterations 2
      #0  Foam::error::printStack(Foam::Ostream&) at ??:?
      #1  Foam::sigFpe::sigHandler(int) at ??:?
      #2  ? in "/lib/x86_64-linux-gnu/libc.so.6"
      #3  Foam::PengRobinsonGas<Foam::specie>::Z(double, double) const at ??:?
      #4  Foam::heRhoThermo<Foam::rhoThermo, Foam::pureMixture<Foam::sutherlandTransport<Foam::species::thermo<Foam::hConstThermo<Foam::PengRobinsonGas<Foam::specie> >, Foam::sensibleEnthalpy> > > >::calculate() at ??:?
      #5  Foam::heRhoThermo<Foam::rhoThermo, Foam::pureMixture<Foam::sutherlandTransport<Foam::species::thermo<Foam::hConstThermo<Foam::PengRobinsonGas<Foam::specie> >, Foam::sensibleEnthalpy> > > >::correct() at ??:?
      #6  Foam::twoPhaseMixtureThermo::correct() at ??:?
      #7  ? at ??:?
      #8  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
      #9  ? at ??:?
      
      
      M 1 Reply Last reply Reply Quote
      • M
        mark @mark last edited by mark

        0_1462882763794_QQ截图20160510202640.png

        1 Reply Last reply Reply Quote
        • W
          wwzhao 教授 last edited by

          floating point exception 浮点溢出,估计哪里的代码被0除了。

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

            程序进行 Time = 2.708e-06, 这种错误是出在哪里呢? 边界条件?还是程序?@wwzhao @cfd-china

            W 1 Reply Last reply Reply Quote
            • W
              wwzhao 教授 @mark last edited by

              @mark 自己写的求解器?看起来是 Foam::PengRobinsonGas<Specie>::Z(scalar, scalar) 这个函数出的问题,你可以对照这个函数的源码仔细检查一下。

              1 Reply Last reply Reply Quote
              • M
                mark last edited by

                是自己的求解器,跑了几个小时才出问题,是不是该检查算例呢?

                W 1 Reply Last reply Reply Quote
                • W
                  wwzhao 教授 @mark last edited by

                  @mark 信息量太少,我无法判断问题原因。不过你可以根据截图中的back trace去找错误。

                  1 Reply Last reply Reply Quote
                  • First post
                    Last post

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