1D Convection Equation
Discretizing
Using Taylor Expansion we have the error term can be found out (truncation error)
where
The Discretized Convection Equation
In the Continuous form, the RHS is
Aug 06, 20241 min read
1D Convection Equation
∂t∂u+c∂x∂u=0Discretizing
∂t∂u+cΔxui−ui−1=0Using Taylor Expansion we have the error term can be found out (truncation error)
ui−1=ui−Δx∂x∂u+2!Δx2∂x2∂2u−…where Δx=(ui−1−ui)
Δxui−ui−1=∂x∂u−2!Δx∂x2∂2u+…The Discretized Convection Equation
∂t∂u+c∂x∂u=Diffusion Termc2!Δx∂x2∂2u−c3!Δx2∂x3∂3u+…In the Continuous form, the RHS is 0