How to discretize the following model using backward time forward space scheme?
∂t∂c=∂x2∂2c+ρc
The discretized equation is ci,j=−Qci−1,j+1+Pci,j+1−Qci+1,j+1where P=1+α1+2β and Q=1+αβ with β=(Δx)2Δt and α=DρL2Δt
I tried to substitute the formula into the model but couldn't get the answer and I don't know that is L. Please help me!!!
∂t∂c=∂x2∂2c+ρc
The discretized equation is ci,j=−Qci−1,j+1+Pci,j+1−Qci+1,j+1where P=1+α1+2β and Q=1+αβ with β=(Δx)2Δt and α=DρL2Δt
I tried to substitute the formula into the model but couldn't get the answer and I don't know that is L. Please help me!!!