- Thank you received: 0
The orientation of the normal vector on an inner interface
4 years 4 months ago #2966
by salim
The orientation of the normal vector on an inner interface was created by salim
Dear NGSolve developers,
I am not able to solve a transmission problem for the Laplace problem using the hybridized mixed method with static condensation. I wonder if the "element_boundary" method gives a normal vector with the same orientation from both sides of the interface.
Programming the same problem using the "skeleton" NGSolve style gives the right answer.
Best regards,
Salim
I am not able to solve a transmission problem for the Laplace problem using the hybridized mixed method with static condensation. I wonder if the "element_boundary" method gives a normal vector with the same orientation from both sides of the interface.
Programming the same problem using the "skeleton" NGSolve style gives the right answer.
Best regards,
Salim
Attachments:
4 years 4 months ago #2967
by joachim
Replied by joachim on topic The orientation of the normal vector on an inner interface
Hi Salim,
in an element-boundary integral, the normal vector is always pointing outside of the element.
The problem with your 'wrong solution' is that a discontinuous H(div) has no Trace anymore.
To build the right hand side with the jump1 - term, you can do element-boundary integrals everywhere, and multiply with a selection function set to 1 at the interface.
Joachim
in an element-boundary integral, the normal vector is always pointing outside of the element.
The problem with your 'wrong solution' is that a discontinuous H(div) has no Trace anymore.
To build the right hand side with the jump1 - term, you can do element-boundary integrals everywhere, and multiply with a selection function set to 1 at the interface.
Joachim
4 years 4 months ago #2968
by salim
Replied by salim on topic The orientation of the normal vector on an inner interface
Dear Joachim,
Thank you very much for the quick answer and for providing a solution to my problem.
Best,
Salim
Thank you very much for the quick answer and for providing a solution to my problem.
Best,
Salim
Time to create page: 0.106 seconds