
This block diagram solves the given PDE :
del Y/del TIME = del 2 Y/del DISTANCE 2 * R,
where Y=f(TIME,DISTANCE)
DISTANCE = X / L ( making DISTANCE dimensionless)
R = k/(L*L)
k : thermal conductivity
L : total length of the tube
BC Y(TIME,h)= 100; Y(TIME,1)=10;
The X variable is made dimensionless and R corresponds to the coefficient of the second order partial differential term after making the X variable dimensionless.
Using finite difference method (forward difference) as the technique for solving the PDE, we realise that in order to obtain the value for Y along X at the next TIME increment one has to extract the value of Y along X at the previous TIME increment. |