Discussion ClosedThis 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 for Boundary PDE

Please login with a confirmed email address before reporting spam

Hello all,

I would like to solve a mathematical problem on a surface in 3D. For this I have used "Coefficient Form Boundary PDE". Now I need a periodic boundary condition between two opposite edges. I tried to solve it manually using Dirichet and Flux/Source, but the boundary condition is always overwritten by the other one.

Does anyone of you have a solution for this problem.

Thanks a lot!

Best,

Giuliano Lombardo



1 Reply Last Post 2023年9月15日 GMT+2 12:29
Nils Malm COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 12 months ago 2023年9月15日 GMT+2 12:29
Updated: 12 months ago 2023年9月15日 GMT+2 12:29

Dear Giuliano Lombardo,

Unfortunately, boundary-level PDE interfaces do not directly support periodic boundary conditions at this point. But you can set the condition up manually. You will first need to define a General Extrusion operator that maps values from the source edge to the target edge. Once you have this operator set up and tested so that you can evaluate something likegenext1(ws)on the target edge, you can move on to the constraint. On the target edge, you simply have to set a constraint of the formgenext1(ws)-ws. The default constraints settings will apply reaction fluxes symmetrically on source and target, which will lead to continuity in both value and flux. That is, you do not have to enforce flux continuity separately.

Best regards,

Nils Malm

Dear Giuliano Lombardo, Unfortunately, boundary-level PDE interfaces do not directly support periodic boundary conditions at this point. But you can set the condition up manually. You will first need to define a General Extrusion operator that maps values from the source edge to the target edge. Once you have this operator set up and tested so that you can evaluate something like *genext1(ws)* on the target edge, you can move on to the constraint. On the target edge, you simply have to set a constraint of the form *genext1(ws)-ws*. The default constraints settings will apply reaction fluxes symmetrically on source and target, which will lead to continuity in both value and flux. That is, you do not have to enforce flux continuity separately. Best regards, Nils Malm

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

Baidu
map