Skip to content

Question: What is the general approach to assemble differnet PDEs over multiple domains? #1005

Answered by kinnala
willi-z asked this question in Q&A
Discussion options

You must be logged in to vote

In order to solve a PDE on a subdomain (part of the mesh) you would need to eliminate the degrees-of-freedom that are outside of the subdomain and initialize Basis using elements keyword argument to restrict numerical integration to the subdomain. Here is an example which does exactly that: https://github.com/kinnala/scikit-fem/blob/master/docs/examples/ex26.py

If you want to solve different PDEs on different subdomains then you do similar restrictions for all subdomains. If you want to couple the different PDEs at the interfaces of the subdomains then you first need to decide what type of coupling approach you want to use: iterative or monolithic. Perhaps the easiest to start with is ite…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by willi-z
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1004 on January 11, 2023 15:27.