The equations of carafe.gasdynamics, declared on the code that implements them and checked by the tests.
The binary diffusion coefficient of hard spheres (Chapman-Cowling, first approximation).
- diffusion
- D=16nπd23μ2πkT,n=kTp,μ=ma+mbmamb
- Assumes
- hard spheres, the first Chapman–Cowling approximation; d the mean of the two diameters; good to tens of percent
- References
- Chapman and Cowling, The Mathematical Theory of Non-Uniform Gases (hard spheres, first approximation)
Two-species compressible gas in 1D or 2D; see the module docstring.
- species
- ∂tρg,m+∇⋅(ρg,mu)=∓∇⋅Jm+Sg,m,Jm=−ρD∇Y,Y=ρρm
- momentum
- ∂t(ρu)+∇⋅(ρuu+p)=Su
- energy
- ∂tE+∇⋅((E+p)u)=−∇⋅(Jm(hm−hg))+∇⋅(κ∇T)+SE,hs=(γ−1)msγkT
- state
- p=nkT,n=mgρg+mmρm,E=γ−1p+21ρ∣u∣2,γ=35
- wall
- emitted at Ts: Φm, Φm2mπkTs, 2kTsΦ;sticking s4nmvˉ;heat α4nvˉ2k(T−Tw)
- ion exchange
- Su=ρsν(ui−u),SE=u⋅Su+21ρsν∣ui−u∣2+23nskν(Ti−T)
- Order
- 2
- Assumes
- argon and sputtered metal as one compressible gas with one velocity and temperature, in 1D or 2D (y periodic); no viscosity
- MUSCL on the primitives (van Leer by default; minmod, MC, none), HLLC with the species as passive fractions, SSP-RK3 at CFL 0.4
- diffusion and conduction after each step by backward Euler, tridiagonal axis by axis; sputtered atoms at Ts=Em/2k
- the continuum limit at Knudsen numbers 0.1–1; the order is that of a smooth wave with the unlimited reconstruction
- References
- Hecimovic and von Keudell, J. Phys. D 51, 453001 (2018)
- Toro, Riemann Solvers and Numerical Methods for Fluid Dynamics (HLLC; not cited by the code)
- Built from