Use this file to discover all available pages before exploring further.
CompFlowLab solves the coupled conservation equations for mass, momentum, total energy, and species mass fractions:∂t∂q+∂x∂f−∂x∂fv=Hwhere q is the vector of conserved variables defined asq=ρρuρh0−pρYlHere, ρ is the density, u is the velocity in the x-direction, and Yl is the mass fraction of the lth species. The total specific enthalpy h0 is defined ash0=h+21u2=l∑NhlYl+21u2
The fluxes are decomposed into inviscid f and viscous fv components:f=ρuρu2+pρuh0ρuYl,fv=0τxxuτxx−qxρDl∂x∂YlHere, Dl denotes the effective diffusion coefficient of the lth species into the mixture. In practice, this approximates multicomponent diffusion as the binary diffusion of each species into a mixture.
The source term H accounts for chemical reactions and includes one entry per species equation representing the production or destruction rate of the lth species, ωl:H=000ωl