Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

Solving a PDE on a submesh

More
4 years 1 month ago - 4 years 1 month ago #2476 by JSR
I'm trying to solve a PDE system on a 2D domain. The PDE has the form [tex] \partial_tb + \Delta p=\lambda b [/tex] where p is a function that satisfies different equations on different subdomains:
[tex]
\nabla\cdot\frac{1}{b}\nabla p = f(b)\quad\text{ when }b>b_p\\
p=0\qquad \text{ when }b\leq b_p
[/tex]

At each time-step I want to find the region(s) where b>b_p (b_p is a constant, but the region defined by this threshold will change over time), and then solve the PDE for p on that subdomain/submesh.

Is there a way to do this kind of thing (i.e. solving a PDE on a subset of the domain) using NGSolve?
Last edit: 4 years 1 month ago by JSR. Reason: clarification
More
4 years 1 month ago #2478 by christopher
Hi
have you had a look at the NGSolve extension ngsxfem?
github.com/ngsxfem/ngsxfem
I think this is what you are looking for.

Best
Christopher
More
4 years 1 month ago #2481 by JSR
Replied by JSR on topic Solving a PDE on a submesh
That looks like it may do exactly what I want.
Thanks!
Time to create page: 0.148 seconds