How to fix gibbs ensemble

Hi All,

I have a small doubt.

We can use fix nve for the microcanonical ensemble(NVE).
We can use fix nvt or fix nve and fix langevin for the canonical ensemble(NVT).

I want to run an ensemble where the chemical potential( μ), pressure(P), and temperature(T) are fixed.
How can I do this kind of ensemble simulation in the LAMMPS?

regards,
Santosh

If you are referring to the Gibbs ensemble, it was mentioned here a long time ago:

I have never seen it in LAMMPS, but I may be wrong.

Simon

Thank you, Simon, for the quick response.

Yeah, I have seen that grand canonical Monte Carlo (GCMC) command in the LAMMPS.

I am doing MD. I am trying to make a condensate using the cubic box. Basically, what I want is to make a two-phase liquid and vapour phase coexist in the cubic box using a grand canonical ensemble.

Santosh

In that case, you should take a look at true Monte Carlo codes (GOMC, iRASPA, and many more). Although LAMMPS has some Monte Carlo moves implemented, it focuses more on molecular dynamics.

Ok,
I will take a look at GOMC and iRASPA. I will also try LAMMPS GCMC.

thank you, Simon.

We are currently working on implementing Gibbs Ensemble Monte Carlo (GEMC) in LAMMPS. We hope to have it completed in the next few months.

Basically, what I want is to make a two-phase liquid and vapour phase coexist in the cubic box using a grand canonical ensemble.

This sounds more like a two-phase MD simulation. GEMC has two simulations boxes for the two phases.

5 Likes

Thank you, Stamoor.