Dirichlet condition for tangential/normal component

More
5 years 3 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
5 years 3 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.117 seconds