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.
Periodic Boundary Condition in General Form PDE -- No Solution for very Simple Equation
Posted 23 juin 2025, 11:30 UTC−4 Equation-Based Modeling Version 6.0 1 Reply
Please login with a confirmed email address before reporting spam
Dear COMSOL community,
I have a lack in understanding solving PDE with PBC, which I can break down to a very simple example, i.e. finding a solution for .
The height and width of the 2D simulation domain is
, and at the top and bottom a Dirichlet BC (
) should be applied, while at the left and right site a periodic BC should be applied.
Integrating above equation twice, is given as
and from the Dirichlet BC we get
and from the periodic BC
.
However, when implementing this in the COMSOL general form PDE interface and solving using a Stationary Solver, I do not get the result but an error "Failed to find a solution.
The relative error (0.0092) is greater than the relative tolerance.", even not when I use the calculated solution as initial values. However, when replacing the periodic BC at the left and right Interface with a Dirichlet BC , I get the expected result.
Therefore, I have two questions:
- Why don't I get any result when using periodic BC at the left and right interface?
- Why does the periodic BC not overwrite the default Zero Flux 1 BC, but contribute to it? I also implemented what is suggested here, which then overwrites the Zero Flux 1 BC, but I get the same error as using the implemented Periodic Condition.
Attached is a file of the simulation.
Thank you in advance!
Attachments:
