### Abstract

We present two efficient iterative Monte Carlo algorithms in the grand canonical ensemble with which the chemical potentials corresponding to prescribed (targeted) partial densities can be determined. The first algorithm works by always using the targeted densities in the kT log (ρ i) (ideal gas) terms and updating the excess chemical potentials from the previous iteration. The second algorithm extrapolates the chemical potentials in the next iteration from the results of the previous iteration using a first order series expansion of the densities. The coefficients of the series, the derivatives of the densities with respect to the chemical potentials, are obtained from the simulations by fluctuation formulas. The convergence of this procedure is shown for the examples of a homogeneous Lennard-Jones mixture and a NaCl-Ca Cl2 electrolyte mixture in the primitive model. The methods are quite robust under the conditions investigated. The first algorithm is less sensitive to initial conditions.

Original language | English |
---|---|

Article number | 124102 |

Journal | Journal of Chemical Physics |

Volume | 128 |

Issue number | 12 |

DOIs | |

Publication status | Published - Apr 9 2008 |

### Fingerprint

### ASJC Scopus subject areas

- Physics and Astronomy(all)
- Physical and Theoretical Chemistry

### Cite this

*Journal of Chemical Physics*,

*128*(12), [124102]. https://doi.org/10.1063/1.2839302