Micro/macro modeling of CVD synthesis