From: Krishnamoorthy on
Hey. I am looking for a code which solves 1 D transient heat equation using crank nicolson method.The physical domain has inhomogeneous boundary condition. The left side has Neumann (Varying Heat Flux) BC. The right side and initial condition has Drichlet (constant temperature) BC. If anyone has code for the above said problem,Please let me know.Thanks for reading the message
From: mat001 on
"Krishnamoorthy " <krishbeag(a)gmail.com> wrote in message <hosn31$2b3$1(a)fred.mathworks.com>...
> Hey. I am looking for a code which solves 1 D transient heat equation using crank nicolson method.The physical domain has inhomogeneous boundary condition. The left side has Neumann (Varying Heat Flux) BC. The right side and initial condition has Drichlet (constant temperature) BC. If anyone has code for the above said problem,Please let me know.Thanks for reading the message

http://en.wikipedia.org/wiki/Crank%E2%80%93Nicolson_method

read method and try to implement.