Menu

#78 Immersed boundary and rhoPimpleFoam: immersedBoundary::gradientInternalCoeffs() not implemented

1.0
open
None
2025-02-26
2022-08-29
No

Hi!

I've been attempting to use the immersed boundary wall condition for a compressible case using rhoPimpleFoam. However, I get an error message:
"""
--> FOAM FATAL ERROR:
Not implemented

From function immersedBoundary::gradientInternalCoeffs()
in file lnInclude/fvPatchField.H at line 473.

FOAM aborting
"""

I believe it is caused by using the immersed boundary wall in the Temperature field. It seems to be some problem in class inheritance between IB and thermal patch field...
I also happened to find a solution that didn't work for me in a Chinese forum that mentioned that Mr. Jasak was already informed about the problem - I don't speak any Mandarin though :(. https://zhuanlan.zhihu.com/p/389383026

Is there any solution for this problem? What could I do to workaround it?
Any information would be really helpful. Thank you for your time!

Thanks,

Daniel Cardoso

1 Attachments

Related

Tickets: #78

Discussion

  • Hrvoje Jasak

    Hrvoje Jasak - 2022-08-29

    Hi, The code fails in the thermo package because h boundary condition on the immersed boundary patch is set to a default patch field type (immersed boundary) that should not be used. There are options on how to fix this, ie either specify the h field or change the hBoundaryTypes to support immersed boundary.
    This is broken in the entire OpenFOAM, for all coupled implicit or special boundary types which are not spefically listed in functions such as hBoundaryTypes or heBoundaryTypes. A good virtual function needs to be added and the entire hBoundaryTypes system decentralised.

    This is a 2-week job (for me) and I cannot do it without a support contract or similar.

     
  • Saj Xod

    Saj Xod - 2025-02-26

    Hi Dr. Jasak,

    I have also encountered this issue while solving a dam-break problem using the immersed boundary method. I am aware that this error is related to the boundary condition of alpha. However, in the document you provided as an introduction to IBS, this problem was mentioned as one of the solved cases using this solver, specifically stating that it was solved with navalIBFoam.

    Could you please clarify whether there is a workaround or if there have been any updates regarding this issue?

    Best regards

     
    • Hrvoje Jasak

      Hrvoje Jasak - 2025-02-27

      Fixed in nextRelease branch

      On 26/02/2025 16:47, Saj Xod wrote:

      Hi Dr. Jasak,

      I have also encountered this issue while solving a dam-break problem
      using the immersed boundary method. I am aware that this error is
      related to the boundary condition of alpha. However, in the document you
      provided as an introduction to IBS, this problem was mentioned as one of
      the solved cases using this solver, specifically stating that it was
      solved with navalIBFoam.

      Could you please clarify whether there is a workaround or if there have
      been any updates regarding this issue?

      Best regards


      [tickets:#78] https://sourceforge.net/p/foam-extend/tickets/78/
      Immersed boundary and rhoPimpleFoam:
      immersedBoundary::gradientInternalCoeffs() not implemented

      Status: open
      Milestone: 1.0
      Created: Mon Aug 29, 2022 06:17 AM UTC by Daniel Cardoso
      Last Updated: Mon Aug 29, 2022 10:22 AM UTC
      Owner: Hrvoje Jasak
      Attachments:

      Hi!

      I've been attempting to use the immersed boundary wall condition for a
      compressible case using rhoPimpleFoam. However, I get an error message:
      """
      --> FOAM FATAL ERROR:
      Not implemented

      |From function immersedBoundary::gradientInternalCoeffs() in file
      lnInclude/fvPatchField.H at line 473. |

      FOAM aborting
      """

      I believe it is caused by using the immersed boundary wall in the
      Temperature field. It seems to be some problem in class inheritance
      between IB and thermal patch field...
      I also happened to find a solution that didn't work for me in a Chinese
      forum that mentioned that Mr. Jasak was already informed about the
      problem - I don't speak any Mandarin though :(.
      https://zhuanlan.zhihu.com/p/389383026
      https://zhuanlan.zhihu.com/p/389383026

      Is there any solution for this problem? What could I do to workaround it?
      Any information would be really helpful. Thank you for your time!

      Thanks,

      Daniel Cardoso


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/foam-extend/tickets/78/
      https://sourceforge.net/p/foam-extend/tickets/78/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #78


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.