- Thank you received: 0
Dirichlet condition for tangential/normal component
5 years 3 months ago #1808
by PKonig
Dirichlet condition for tangential/normal component was created 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
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
5 years 3 months ago #1810
by joachim
Homogenous Dirichlet bc for H(curl) means tangential component 0.
Replied by joachim on topic Dirichlet condition for tangential/normal component
Code:
fes = HCurl(mesh, order=2, dirichlet="dirbnd")
Time to create page: 0.117 seconds