Hi everyone !
I need some help!!
I can't find something neither on the web, nor in the Matlab PDE documentation to get the information. It deals with periodic boundary conditions. I have read assempde(), pdebound, assemb, and it is always the same result : they do not treat the periodic boundary conditions. (only von Newman and Dirichlet)
I'm using the parabolic() solver with "square" geometry, and for the boundaries "squareb1" (Dirichlet only)
For instance, in the documentation PDE2012, impossible to find something on "squareb2","squareb4""squareb5", but I guess they only use a mix of von Newman and Dirichlet.
I just need von Newman conditions for y=±1, and periodic boundary conditions for x=±1. But I don't know how to proceed. I know I only need to write something like x(1)=x(end) or p(1,1)=p(1,end) (for the geometry) or u(1,:)=u(end,:) (for the solution) but I don't know how, and where. Inside the squareb1.m file ? Directly in the script code ?
What is amazing is that I spent hours to find to examples code dealing with periodic boundary conditions on Matlab and find nothing clear or interesting.
Thanks in advance !
Jonathan