Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

numerical flux HDG+

More
3 years 7 months ago #3160 by Manuel Sanchez
Hi,

I am trying to implement an HDG+ method. I am having trouble with a term involving the L^2projection of an unknown.

For example, for an element K [tex]u_h \in \mathcal P_{p+1}(K),\quad\mu\in \Pi_{F\in \partial K}\mathcal P_p(F)[/tex]. I would like to compute

[tex]\int_{\partial K} P_{M} uh \mu ds[/tex]

where P_M is the L^2 projection onto the space [tex]\mathcal P_{p+1}(K)[/tex].

Is possible to implement L^2 projection as operators?

I would appreciate any help.

Thanks.
More
3 years 7 months ago #3161 by Guosheng Fu
Replied by Guosheng Fu on topic numerical flux HDG+
Hi Manuel,

To realize the projected jumps, you simply add the flag "highest_order_dc=True" in your facet fe space, and keep the poly degree the same for both volume and facet fespace.
E.g.:
V = L2(mesh, order=4)
M = L2(mesh, order=4, highest_order_dc=True)

The global linear system with such M consists of cubic polynomials on the facet.

Take a look at section 2.2 of this reference.
www.sciencedirect.com/science/article/pii/S004578251630264X

Best,
Guosheng
More
3 years 7 months ago #3162 by Manuel Sanchez
Replied by Manuel Sanchez on topic numerical flux HDG+
Hey Guosheng,

Thanks for your reply. I will check it out and try it.

Best,
Time to create page: 0.148 seconds