Discontinuous Galerkin Method 2D
6 次查看(过去 30 天)
显示 更早的评论
Hello everyone,
I try to find a discontinuous galerkin method solver of the simple equation :
- div(p(nabla(u))= f on omega u=g on the boundary
Where omega is a square [-1 1]*[-1 1] here with triangular meshes!
Thank you for your help! :)
2 个评论
Mukul Rao
2017-12-4
Hello, can you share why you need the discontinuous Galerkin method for this problem? What kind of discontinuity are you planning to model?
回答(1 个)
Mukul Rao
2017-12-5
Hi Bilal, you could model your domain as two rectangles sharing a common face at y = 0. You can then use the specifyCoefficients function to set different values of parameter "c" ( which corresponds to "p" in your equation), by face value.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Numerical Integration and Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!