Giter VIP home page Giter VIP logo

Comments (3)

jperryhouts avatar jperryhouts commented on June 19, 2024

I suspect this is just paraview incorrectly interpolating the edges after the changes to the shell geometry model in PR #242. If that's the case, it would be nice to figure out a way to make it do so, because that's going to look pretty bad in figures.

from aspect.

tjhei avatar tjhei commented on June 19, 2024

Yes, this is due to the manifold changes. The computation is correct, it is just that the graphical output only outputs straight lines (we can not change that). Imagine the longer edge is curved in the computation.

I am not sure how to fix this easily. We could move hanging nodes onto the parent face in the graphical output? @bangerth ?

from aspect.

bangerth avatar bangerth commented on June 19, 2024

Actually, it's a bit more complicated. First, it is true that the visualization does not accurately reflect the reality of the simulation. In ASPECT, every edge is a quartic polynomial, not a straight line (a linear polynomial). However, visualization file formats do not allow to represent this, and consequently visualization programs do not show it. This is at a fundamental level the same issue as discussed in this entry of the deal.II FAQs: https://github.com/dealii/dealii/wiki/Frequently-Asked-Questions#in-my-graphical-output-the-solution-appears-discontinuous-at-hanging-nodes

But, there is also the issue that when you have a hanging node, the quartic polynomial line that represents the long edge goes through points at 1/4, 1/2 and 3/4 of the arc that are on the same radius as the end points. Consequently, it does go through the hanging node. On the other hand, the one quartic line for the long edge does not exactly coincide with the two quartic lines for the two short edges. There is indeed a small gap or overlap between the big and the two adjacent small cells. This does introduce an error in the computations, but it is proportional to the area of the gap/overlap and consequently is O(h^5) for a fourth order polynomial. This is smaller than the discretization error, and consequently is a problem that is commonly ignored.

So, to sum up, there are two problems: A visualization problem we cannot do anything about, and a geometric problem that introduces an error that is negligible.

from aspect.

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.