Numerical models of the primitive solar nebula