Please help me to solve 1D advection equation using dg method in fenicsx
Consider dolfin_dg/demo/dolfinx/advection/dg_linear_advection.py at master · nate-sime/dolfin_dg · GitHub within the
dolfin_dg library by @nate
It’s in 2D, but it shouldn’t be difficult to change it in 1D.
For future reference, please read Read before posting: How do I get my question answered? and in particular consider posting the code that you tried to write on your own.
Post removed by Francesco Ballarin
Do not repeat the same post twice. I am going to close this in favor of (Help me to rectify the error