Giter Site home page Giter Site logo

Can we apply FESTUNG to hdg? about festung HOT 4 CLOSED

festung avatar festung commented on May 28, 2024
Can we apply FESTUNG to hdg?

from festung.

Comments (4)

reuterbal avatar reuterbal commented on May 28, 2024

Dear Yoczhang,
I hope my earlier reply was helpful.

At the moment there is no HDG-support implemented in FESTUNG whatsoever.
But in principle it's possible, of course, but requires some work on your side. However, I'm not an expert on HDG-methods, thus I cannot make a definite statement and the following is based on the little I know about that method:

As you already pointed out HDG requires different basis functions, which you would have to implement (functions phi() and gradPhi() are the places for that). Additionally, you will have to use other or at least additional quadrature rules (quadRule1D(), quadRule2D() are the functions where they are defined at the moment).

Regarding the integration and assembly of the matrices I'm not sure about the details of the resulting system. If you write down the discretization of your PDE(s) in some detail (like in our first paper) you will notice whether they have a structure similar to ours. In that case you could probably reuse many of our functions for the integration on reference elements and edges (integrateRefElem...() and integrateRefEdge...()) and for the assembly of the local blocks into global matrices (assembleMat...(), assembleVec...()).

I'd be interested to learn what you had to change to make FESTUNG work with HDG.

Best,
Balthasar Reuter

from festung.

yoczhang avatar yoczhang commented on May 28, 2024

Dear @reuterbal
Thanks for your advice, I think I will try it after getting more familiar with the structure of FESTUNG.
Now I'm reading your second paper, your work has a great help to me.

from festung.

reuterbal avatar reuterbal commented on May 28, 2024

Closing this due to inactivity.

from festung.

reuterbal avatar reuterbal commented on May 28, 2024

Dear @yoczhang,
just as an information: have a look at our third paper in series, it contains an HDG discretization of linear advection.
Hope that helps,
Balthasar

from festung.

Related Issues (5)

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.