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.

FE-Space with curl and div

More
4 years 11 months ago #1604 by NilsHM
Hi!
I want to try out a formulation that has a curl and a div in the bilinear form.
Is there any way to create a vector finite element space with both operators?
Best
Nils
More
4 years 11 months ago #1608 by mneunteufel
Hello NilsHM,

the VectorH1 space supports the div and grad operator directly.
You can build the curl operator by using the components of the gradient, see attached file

File Attachment:

File Name: curl_div.py
File Size:1 KB
.

Best,
Michael
Attachments:
The following user(s) said Thank You: NilsHM
Time to create page: 0.104 seconds