Question: Please use python Consider the following differencing of the heat equation: u j n + 1 - u j n t = D [ u
Please use python
Consider the following differencing of the heat equation:
Spot the difference. What has changed with respect to the FTCS scheme?
This scheme is known as a "fully implicit" scheme, or "backward time" as the spatial derivatives are evaulated at timestep ie the timestep in the future.
We can rearrange the equation to the following form:
where:
This is in the form of a matrix equation:
where is a constant coefficient matrix, is known the values and are our unknowns the values
We therefore have three steps:
Set up the coefficient matrix
Set up the initial conditions as we did for FTCS
At each time step solve the linear algebra problem for
asketch a diagram showing how the n row depends on row n
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
