I'm quite new in Mathematica.
I have a problem with obtaining the right solution for multi-layer 1D heat transfer problem.
It seems that boundary condition not working.
Could you advise something?
I am looking to solve the diffusion equation with a discontinuous jump in the diffusion coefficient. In 1D, the diffusion equation for $u(t,x)$ is:
\partial_t u = \partial_x (D \partial_x u),
I'm going to solve the Laplacian equation of the electrostatic field, which consists of two triangular regions, a rectangular region, a square, and on the intersection of the two regions of $$y=x$$, ...