how i can solve the following PDE using periodic boundry coditions
15 views (last 30 days)
Show older comments
lulu on 28 Jan 2020
Answered: Josh Meyer on 30 Jan 2020
clear all,close all
Josh Meyer on 30 Jan 2020
Periodic boundary conditions require that when something leaves one boundary with a certain velocity, it enters the boundary on the other side with the same velocity. In other words:
So, you would need to modify your values for the qL and qR coefficients in transistorBC to incorporate the flux term (which generally includes the above partial derivative). The boundary conditions are written in the standardized form:
The flux term f is defined in the main pdefun function. In your case, you have f = 0 so would not be able to do this without also redefining your flux term (which would also change what equation you're solving).
More Answers (0)
Find more on Structural Mechanics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!