Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    Foam::sigSegv::sigHandler(int)错误

    OpenFOAM
    2
    2
    1933
    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.
    • A
      Aeronastro last edited by Aeronastro

      我在自定义边界条件时,出现Foam::sigSegv::sigHandler(int)错误,用了Debug模式运行,定位到了我C文件的这几句:

      const scalarField muEffb = muEff.boundaryField()[patchId];
      const scalarField rhob = rho.boundaryField()[patchId];
      

      在前面已经用lookupObject把muEff和rho这两个场读进来了,而且找到了要提取的边界patchId,不知道为什么这两句有问题?

      下面是错误输出:
      0_1477278094280_0001.png
      在#5定位到C文件的位置

      1 Reply Last reply Reply Quote
      • 1
        100yearsalone last edited by

        你好,请问你这个问题解决了吗?

        1 Reply Last reply Reply Quote
        • First post
          Last post

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