Menu

#63 Bugs in wall distance caluclation

1.0
accepted
None
2021-06-11
2021-04-26
David Hora
No

Hi all

There are two bugs in the wall distance calculation. The first bug comes from an incomplete application of the following fix and exists since 2014:

https://bugs.openfoam.org/view.php?id=91

https://github.com/OpenCFD/OpenFOAM-1.7.x/commit/9d7fa9f3e0d8972ad0c5d31190d939a4556503b4#diff-b5981067ca501896e4249039f3bc7700a388685bde122301b5b30a8e74df7515

https://sourceforge.net/p/foam-extend/foam-extend-4.1/ci/35af19983b1cf427f31491a135fb07536762efaa/

The second one results in the pattern which is shown in the attached file and is independent from the coupled patches (cyclic, ggi).

Kind regards
David

1 Attachments

Discussion

  • David Hora

    David Hora - 2021-04-26

    since 2010, not 2014. Sorry.

     
  • David Hora

    David Hora - 2021-04-28

    I forgot that we had a discussion about the first bug. Unfortunately with different conclusions. The original bug report can be found here:

    https://sourceforge.net/p/openfoam-extend/ticketsfoamextendrelease/52/

    The second bug is only present in foam-extend-4.1. Version 4.0 is not affected.

     
  • Hrvoje Jasak

    Hrvoje Jasak - 2021-04-29
    • status: open --> accepted
    • assigned_to: Hrvoje Jasak
     
  • Henrik Rusche

    Henrik Rusche - 2021-06-11
    • assigned_to: Hrvoje Jasak --> Henrik Rusche
     
  • Henrik Rusche

    Henrik Rusche - 2021-06-11

    Hi David,
    I will deal with Bug 2 that is apparently caused by 7fe57e under this ticket.
    The original code can fail badly in parallel. It's also quite inefficient. That's in nutshell why I changed it. There are a few (messy) comments in code that try to explain the issue.
    Can you please upload the case to reproduce wallDist_noCyclic.png. Thanks.
    Henrik

     

Log in to post a comment.