Using pdepe for 1d transcient heat conduction through a composite wall
Show older comments
I have four adjacent slabs each modelled by a pde. My problem is how to handle the boundary conditions at the interfaces. I know that the temperature and the first partial derivative are continuous across the perfect interface. I want to know how to define the bcfun function at the interfaces
Accepted Answer
More Answers (1)
Krishnaraj Sambath
on 7 Oct 2016
0 votes
@James: There's a subtlety to Bill's response. You need to update both c & f as rhoi*Cpi & ki, respectively, and not just f as ki / (rhoi * Cpi) and leaving c as 1 for all layers. Doing it the latter way will impose incorrect conditions at the interfaces.
Categories
Find more on 1-D Partial Differential Equations 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!