OneDimensional SteadyState Convection and Diffusion
From ThermalFluidsPedia
Exact Solution The objective of this subsection is to introduce various discretization schemes of the convectiondiffusion terms through discussion of the onedimensional steady state convection and diffusion problem. For a onedimensional steadystate convection and diffusion problem, the governing equation is

where the velocity, u, is assumed to be known. Both density, ρ, and diffusivity, Г, are assumed to be constants. The continuity equation for this onedimensional problem is

Equation (4.201) is subject to the following boundary conditions:


By introducing the following dimensionless variables

the onedimensional steadystate convection and diffusion problem can be nondimensionalized as

Φ = 0, X = 0 
Φ = 1, X = 1 
where

is the Peclet number that reflects the relative level of convection and diffusion. Pe becomes zero for the case of pure diffusion and becomes infinite for the case of pure advection. The exact solution of eqs. (4.206)  (4.208) can be obtained as

which will be used as a criterion to check the accuracy of various discretization schemes.
Central Difference Scheme
Upwind Scheme
Hybrid Scheme
Exponential and Power Law Schemes
A Generalized Expression of Discretization Schemes