festim-dev / FESTIM-workshop

Learn how to simulate hydrogen transport with FESTIM
Apache License 2.0
17 stars 7 forks source link

Advanced: CG vs DG for trap concentrations in multi-materials #61

Closed RemDelaporteMathurin closed 3 months ago

RemDelaporteMathurin commented 3 months ago

Users don't necessarily know why we need DG in multi-materials. It's to avoid the Gibbs phenomenon at the interfaces or on large gradients

We could have an advanced case showing 2 materials, with a trap defined in only one with and without CG

Also, we could have a trap in only one material but only in say the first micron. We could see the same oscillations