Giter Site home page Giter Site logo

Zipper mesh bug about adflow HOT 7 OPEN

anilyil avatar anilyil commented on August 30, 2024
Zipper mesh bug

from adflow.

Comments (7)

anilyil avatar anilyil commented on August 30, 2024

See the branch anilyil:zipper_fix for the changes.

from adflow.

anilyil avatar anilyil commented on August 30, 2024

A pdf file detailing the efforts can be found here: 2019-03-12_zipper_debug.pdf

from adflow.

shamsheersc19 avatar shamsheersc19 commented on August 30, 2024

@anilyil Any updates on this?

from adflow.

anilyil avatar anilyil commented on August 30, 2024

Not yet, I would say once we have complex ANK working (issue #55), we can tackle this bug again. From where we left off, we think the bug is mostly solved, but we may have other bugs remaining in the zipper code.

from adflow.

sseraj avatar sseraj commented on August 30, 2024

Now that #130 is merged, maybe we can fully resolve this bug. What's left to do here @anilyil? I can help with this.

Also mentioning #12 for easier reference.

from adflow.

anilyil avatar anilyil commented on August 30, 2024

So last we left off is we think we fixed "a" bug that came up when there were multiple zipper meshes in a case, and I think Gaetan also understood why the bug was there and how the fix was fixing it etc. There may be other issues remaining in the code, but I haven't ran into many. One thing I have been seeing with zipper meshes is the fact that some adjoints consistently stall very early on, and I think Sandy mentioned at some point that they were related to the RHS (the zipper computations dont change the partial R / partial state matrix). Maybe we can look into why GMRES is stalling out like that; whether its a numerical accuracy issue or there is something we need to fix with the linear solvers.

I don't think this is a priority and I think efforts are better spent towards the overset/collar mesh tutorials since that know-how is rare in the lab these days.

If you do want to work on this, I think we can come up with a simpler test case like @joanibal has been doing for his stuff to debug any remaining issues. I think one of the issues with the previous tests is that the zipper mesh ends up being so small compared to the rest of the mesh, the inaccuracy due to the bugs get lost in the mix. We can possibly create an overset mesh that results in a significantly larger zipper mesh area. Then we can use complex solvers to fully converge the complex parts (and now we know how they work better too), and we can be more confident about the accuracy of the comparisons etc. Let me know what you think.

from adflow.

sseraj avatar sseraj commented on August 30, 2024

Thanks for the added info. That sounds like a good plan. I'll prioritize the overset/collar mesh tutorials and then come back to this afterwards.

from adflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.