So I do the interp1 trick you demonstrated before?
Variable density in heat diffusion equation
4 views (last 30 days)
Suppose I have a heat diffusion equation:
Where rho(x) is the density, c(x) is the heat capacity and k(x) is thermal diffusivity, all being position dependent. Would I need to specify these as vectors in pdepe instead of simple numbers?