Modeling of particle agglomeration in nanofluids