Two-dimensional simulation of a hot-filament chemical vapor deposition reactor