- Thank you received: 6
How to define a codimention-1 finite element space on the interface
- Guosheng Fu
- Topic Author
- Offline
- Elite Member
Less
More
4 years 11 months ago #2196
by Guosheng Fu
Hello,
I have a (2D) domain with a closed fitted interface Gamma, and I would like to define a finite element space only on the interface. Then I will use this finite element space to solve the Laplace-Beltrami equation on this interface.
I was thinking of defining a global H1 space on the whole domain, then set false all DOFs away from the interface, and then compress the space. Is this a correct way for the set-up? Or is there more efficient alternatives?
Best,
Guosheng
I have a (2D) domain with a closed fitted interface Gamma, and I would like to define a finite element space only on the interface. Then I will use this finite element space to solve the Laplace-Beltrami equation on this interface.
I was thinking of defining a global H1 space on the whole domain, then set false all DOFs away from the interface, and then compress the space. Is this a correct way for the set-up? Or is there more efficient alternatives?
Best,
Guosheng
- mneunteufel
- Offline
- Premium Member
Less
More
- Thank you received: 59
4 years 11 months ago #2197
by mneunteufel
Replied by mneunteufel on topic How to define a codimention-1 finite element space on the interface
Hi Guosheng ,
your approach should work. It is also possible to define the space only on the interface
However, to draw the solution you need to interpolate it into a global H1 space (see attached code)
Best,
Michael
your approach should work. It is also possible to define the space only on the interface
Code:
fes = H1(mesh, order=2, definedon="", definedonbound="interface")
However, to draw the solution you need to interpolate it into a global H1 space (see attached code)
Best,
Michael
Attachments:
- Guosheng Fu
- Topic Author
- Offline
- Elite Member
Less
More
- Thank you received: 6
4 years 11 months ago #2205
by Guosheng Fu
Replied by Guosheng Fu on topic How to define a codimention-1 finite element space on the interface
Thanks, Michael.
Time to create page: 0.106 seconds