Discretization (BTCS scheme)

Wee

New member
Joined
May 17, 2022
Messages
2
How to discretize the following model using backward time forward space scheme?

ct=2cx2+ρc\frac{\partial c} {\partial t} = \frac {\partial^{\smash{2}} c} {\partial x^{\smash{2}}} + \rho c
The discretized equation is ci,j=Qci1,j+1+Pci,j+1Qci+1,j+1c_{i, j} = -Qc_{i-1, j+1} + Pc_{i, j+1} - Qc_{i+1, j+1}where P=1+2β1+αP = \frac {1+2\beta} {1+\alpha} and Q=β1+αQ = \frac {\beta} {1+\alpha} with β=Δt(Δx)2\beta = \frac {\Delta t} {(\Delta x)^ {\smash{2}}} and α=ρL2DΔt\alpha = \frac {\rho L^{2}} {D} \Delta 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!!!
 
How to discretize the following model using backward time forward space scheme?

ct=2cx2+ρc\frac{\partial c} {\partial t} = \frac {\partial^{\smash{2}} c} {\partial x^{\smash{2}}} + \rho c
The discretized equation is ci,j=Qci1,j+1+Pci,j+1Qci+1,j+1c_{i, j} = -Qc_{i-1, j+1} + Pc_{i, j+1} - Qc_{i+1, j+1}where P=1+2β1+αP = \frac {1+2\beta} {1+\alpha} and Q=β1+αQ = \frac {\beta} {1+\alpha} with β=Δt(Δx)2\beta = \frac {\Delta t} {(\Delta x)^ {\smash{2}}} and α=ρL2DΔt\alpha = \frac {\rho L^{2}} {D} \Delta 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!!!
When you substituted the formula into the model,

What did you get?
Please share your work!
 
Top