heat equation through different media/problem with constant flux at

*To*: mathgroup at smc.vnet.net*Subject*: [mg87787] heat equation through different media/problem with constant flux at*From*: Luigi B <L.Balzano at gmail.com>*Date*: Wed, 16 Apr 2008 22:33:59 -0400 (EDT)

Dear All, I am trying to solve the heat conduction problem in a sequence of three media with different properties. For that I am using NDSolve with my own grid. The code (without the 'tedious' definition of the time dependent boundary conditions) is: \!\(NDSolve[{$B"_(B\_t u[x, t] == alfa[x]*$B"_(B\_{x, 2}u[x, t], u[ x, 0] == TavSInt[0] + \(TavRInt[0] - TavSInt[0]\)\/L* x, u[0, t] == TavSInt[ t], \([L, t]\) == TavRInt[ t]}, u, {x, 0, L}, {t, 0, tmax}, MaxSteps -> 50000, Method - > \ {"\<MethodOfLines\>", \ "\<SpatialDiscretization\>" -> {\ \ "\<TensorProductGrid\>", "\<Coordinates\>" -> {mygrid}}}]\) However, i still do not get a satisfactory result. Probably because I am not including the condition that at the interface between two media the heat flux is constant. How can I do this? Thanks Luigi

**Follow-Ups**:**Re: heat equation through different media/problem with constant flux at***From:*"W_Craig Carter" <ccarter@mit.edu>