Dear all,
I
am trying to solve the magnetohydrodynamics (MHD) equations
using the discontinuous Galerkin method with deal.II.
Currently, I face the problem of the divergence free condition
of the magnetic field, .
One of the ways I want to address this problem is using locally
divergence free elements,
i.e. an FE basis that fulfils
on the cell.
(Face jumps of the normal component can still introduce
divergence globally - I plan to use different methods to deal
with that.)
I found that this topic was already discussed in the forum before:
But
I donβt see that it made it into deal.II.
Am I missing something? Does deal.II have a divergence free FE
basis?
Or does someone already have/know of an implementation?
If
not, what would be the best way to go about implementing it?
After a short look in the documentation, seems like implementing
a new TensorPolynomial
and using with in the FE_DGVector
is a possibility?
Thanks for your help!
Best,
Florian Schulze
Thank you, Wolfgang,
I'll have a look and try my luck implementing them. If I am
successful I'm happy to share my results :)
Best,
Florian
-- Florian Schulze PhD Student Max-Planck-Institut fΓΌr Kernphysik Saupfercheckweg 1 69117 Heidelberg Tel.: +49 6221 516-591