Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Boundary condition for weak PDE form

Please login with a confirmed email address before reporting spam

Hola,

I've been doing some simulation coupling RF and PDE (weak form) application modes. There are something about boundary condition in weak form confusing me.

As said in documentation, boundary conditions are automatically included in weak form when they are utilized to cancel surface integrals. Therefore there's no need to enforce them explicitly as boundary conditions or constraint. However, I find it is not true. COMSOL can give some solution, but it's easy to see that the boundary conditions are not fulfilled by checking postprocessing results. If the boundary conditions are enforced, I get reasonable results.

On the other hand, when I enforce all boundary conditions explicitly, sometimes errors occur during solving, saying something like "not convergent". It seems to me the equation system is overdetermined, so that no solution is found. (Is it right to think this way?)

Above all, I'm confused by these inconsistent observations...

Anybody knows about this issue? Thanks!

3 Replies Last Post Mar 2, 2012, 6:31 a.m. EST

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Mar 2, 2012, 4:31 a.m. EST
Some additional observation:

When all boundary conditions are enforced, the result (not convergent) looks physically reasonable except singularly large values occur at some points around boundaries. The boundary conditions are consistent, at least in the sense of physics, I guess thus the solution looks correct. However, I have no idea where those singular points come from.

Thanks!
Some additional observation: When all boundary conditions are enforced, the result (not convergent) looks physically reasonable except singularly large values occur at some points around boundaries. The boundary conditions are consistent, at least in the sense of physics, I guess thus the solution looks correct. However, I have no idea where those singular points come from. Thanks!

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Mar 2, 2012, 5:38 a.m. EST
Hi

it would be easier for us to follow you if we had a model too look at ;)

--
Good luck
Ivar
Hi it would be easier for us to follow you if we had a model too look at ;) -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Mar 2, 2012, 6:31 a.m. EST
Hi, Ivar

Thanks for your reply!

Attached is the model. But it's not easy to describe what I'm doing in the model. I will try to explain it.

The circular region in the model is divided into two parts. The upper part is modeled by non-vacuum permittivity in RF module. Physically, the lower part is the same material. However, as kinda of numerical experiment, I want to numerically realize the material property by coupling the vacuum Maxwell's equations with a PDE. In principle, both ways are equivalent. The tricky thing is the interface between the two semi-circles.

In the attached model file, Dirichlet boundary conditions are explicitly imposed as constraints on the interface. The result is basically the same as that when I model both regions with the permittivity. You can see extremely large field appears along the interface.

On the other hand, if no constraints are imposed on the interface, the result is almost perfect.

I suddenly realize you don't have v3.5a on your pc right after I wrote the above description... Anyway I upload the model file. See below for the download link. Maybe the file is too big to upload here.

ifile.it/6cptq21/Modelfile.mph
Hi, Ivar Thanks for your reply! Attached is the model. But it's not easy to describe what I'm doing in the model. I will try to explain it. The circular region in the model is divided into two parts. The upper part is modeled by non-vacuum permittivity in RF module. Physically, the lower part is the same material. However, as kinda of numerical experiment, I want to numerically realize the material property by coupling the vacuum Maxwell's equations with a PDE. In principle, both ways are equivalent. The tricky thing is the interface between the two semi-circles. In the attached model file, Dirichlet boundary conditions are explicitly imposed as constraints on the interface. The result is basically the same as that when I model both regions with the permittivity. You can see extremely large field appears along the interface. On the other hand, if no constraints are imposed on the interface, the result is almost perfect. I suddenly realize you don't have v3.5a on your pc right after I wrote the above description... Anyway I upload the model file. See below for the download link. Maybe the file is too big to upload here. http://ifile.it/6cptq21/Modelfile.mph

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.