← Full ADI solver

Implicit Method Calculator

Solve the one-dimensional heat equation using the backward Euler implicit method and fixed temperatures at both ends.

Problem setup

Enter values separated by commas or spaces. The first and last values are held fixed.

Final temperatures

Diffusion number r —

Calculation history

No calculations saved on this page yet.

    Formula

    ∂U/∂t = α ∂2U/∂x2
    r = α Δt / (Δx)2
    −r Ui−1n+1 + (1 + 2r) Uin+1 − r Ui+1n+1 = Uin

    Symbols

    U
    Temperature in a consistent unit throughout the grid.
    t, x
    Time in seconds and position in metres.
    α
    Thermal diffusivity in m²/s.
    Δx, Δt
    Grid spacing in metres and time step in seconds.
    r
    Dimensionless diffusion number.
    i
    Node index. The adjacent nodes are i − 1 and i + 1.
    n
    Time-level index. n + 1 is the next time step.
    Uin
    Temperature at node i and time level n.

    The unknown temperatures at step n + 1 form a tridiagonal system solved at every step. For this diffusion problem, backward Euler has no r ≤ 0.5 stability restriction. Time step size still affects accuracy.

    Worked example

    With α = 1 m²/s, Δx = 1 m, Δt = 0.1 s and initial temperatures [100, 0, 100], r = 0.1. The calculator gives a centre temperature of 16.66666667 after one step. The endpoints stay at 100.

    Try the explicit method or read the ADI method guide.