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.

Dirichlet condition for tangential/normal component

More
4 years 7 months ago #1808 by PKonig
Hello everyone,

i'm still a bit new to NGSolve, so despite your (quite enjoyable) i-tutorial there are still some questions arrising.

I wanted to solve the Maxwell-equations for the electric field E on some domain on which i need to impose the boundary condition given by the vector product

n x E = 0

on parts of the domain boundary. How do i implement this in NGSolve? The boundaries are already labelled accordingly.

Greetings,
Philipp
More
4 years 7 months ago #1810 by joachim
Code:
fes = HCurl(mesh, order=2, dirichlet="dirbnd")
Homogenous Dirichlet bc for H(curl) means tangential component 0.
Time to create page: 0.146 seconds