Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example for DG poisson #138

Open
RemDelaporteMathurin opened this issue Jul 6, 2023 · 9 comments
Open

Example for DG poisson #138

RemDelaporteMathurin opened this issue Jul 6, 2023 · 9 comments
Labels
enhancement New feature or request

Comments

@RemDelaporteMathurin
Copy link
Contributor

Hi @jorgensd

Are there plans to add a demo for solving the poisson equation using the DG method?

Thanks!
Rem

@jorgensd
Copy link
Owner

jorgensd commented Jul 6, 2023

Hi Rem,
I made a notebook on this a long time ago (main...dokken/dg_tutorial), and it needs some tender love and care to be updated to the main branch, and maybe a review of the mathematics. Maybe @IgorBaratta or @jpdean is willing to help me with this?:)

@jorgensd jorgensd added the enhancement New feature or request label Jul 6, 2023
@jpdean
Copy link

jpdean commented Jul 6, 2023

Sounds good, happy to help. How about DG convection-diffusion though? The convection term doesn't add much difficulty (it's actually easier to understand than the diffusion term), and is often one of the main reasons to use DG. I could update this repo and use it as a starting point. I've also written a tutorial section on DG for convection-diffusion in my thesis which could be used too.

@jorgensd
Copy link
Owner

jorgensd commented Jul 6, 2023

Fine by me!

@RemDelaporteMathurin
Copy link
Contributor Author

RemDelaporteMathurin commented Jul 6, 2023

@jorgensd @jpdean Sure a convection diffusion problem would be even more complete!
Let me know if I can give you a hand

My personal agenda is to impose discontinuities at interfaces between materials, maybe one day we'll have a tutorial about this too! 😃

@jorgensd
Copy link
Owner

jorgensd commented Jul 6, 2023

My personal agenda is to impose discontinuities at interfaces between materials, maybe one day we'll have a tutorial about this too! smiley

Hopefully when @jpdean merges his MeshView assembly into DOLFINx.

@RemDelaporteMathurin
Copy link
Contributor Author

Hopefully when @jpdean merges his MeshView assembly into DOLFINx.

I thought we could "just" specify the jump over some internal boundaries? What is MeshView?

@jorgensd
Copy link
Owner

jorgensd commented Jul 6, 2023

Hopefully when @jpdean merges his MeshView assembly into DOLFINx.

I thought we could "just" specify the jump over some internal boundaries? What is MeshView?

You could, But you would Need to use a DG space for everything. I would like a part mesh Lagrange (continuous) coupled with a continuous solution on another subdomain (with discontinuity between them).

@RemDelaporteMathurin
Copy link
Contributor Author

Oh yes that would be the best!! Please keep me in the loop 🚀

@RemDelaporteMathurin
Copy link
Contributor Author

@jorgensd @jpdean I think I'm almost there with my DG case, just having a hard time finding a tutorial for getting the weak form of the interface condition.

Do you think this is something that could be added to a tutorial too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants