Question: Consider the solution to the unsteady diffusion equation by the method of lines and centered finite differences with a spacing x. The initial condition is
Consider the solution to the unsteady diffusion equation
by the method of lines and centered finite differences with a spacing x. The initial condition is c(x, 0) = 0 and the left boundary condition satisfies no-flux. At the start of the process, concentration at the boundary at x = L is instantaneously increased to some value cA. Write the ODEs and initial conditions for (i) the left node, (ii) the interior nodes, and (iii) the right node. If you solve this problem with implicit Euler, what numerical method should you use to compute the concentrations ci(k+1) from the values of ci(k)?
at = a2c D- 2
Step by Step Solution
3.48 Rating (145 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
