Using PDEPE to model a hollow cylinder?
3 次查看(过去 30 天)
显示 更早的评论
I'm trying to model a chemical reaction within the thick wall of a long hollow cylinder. It is a 1D (x,t) PDE as a linked system of 2 or 3 parameters (temperature, reaction state, maybe pressure) with a heat transfer boundary condition on the inner or outer wall (and possibly both) and heat release within the material (which is porous and reacting with a gas).
I was meaning to use PDEPE but I see from the documentation that for intervals a<x<b that one can only set conditions at x=a or x=b, not both, and also that for a cylinderical geometry the solver only models solid cylinders with a=0.
is this correct? Is there a work-around or should I take a Method of Lines approach and use ODE45 instead? Or code my own solver from scratch?
Also, if I were able to use PDEPE, how could the function that sets [c, f, s] sum at the whole-mesh values of x to determine the system pressure? I've looked at the documentation example and this function seems to be called with scalar arguments, for one node at a time.
Thanks
Roger
3 个评论
Bill Greene
2020-8-26
If
and
, then the mathematics requires a symmetry condition at the center; pdepe is just sort of helping you out there. Since you have
, that doesn't apply.



Beyond that, I suggest you edit your equation to include your equations along with boundary and initial conditions.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Thermal Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!