Computing interaction energy between water drop and surface

Dear All,

I want to calculate time dependent interaction energy for water droplet and atom substrate. To accelerate the computation speed I used neigh_modify exclude group carbon carbon. However, I doubted about the effect of this exclusion on calculated interaction energy between water and carbon atom.

So, to do this, I used below commands as follow:

group    left_drop molecule 1 1747
compute cpe left_drop pe/atom
variable v1 atom c_cpe

compute cch left_drop chunk/atom bin/1d z lower 0.01
fix f2 left_drop ave/chunk 10 100 1000 cch v_v1 file profile.data

However, I did not define any surface atom by which its interaction energy with water is calculated. So, I doubted about them.

Any comments concerning the interaction energy of the water molecules and the surface atoms are appreciated …

Hi @Nostalgic,

This command will accelerate computation speed only because you are excluding the atoms from common neighbor lists. This will also remove the computation of forces and energy between them. I don’t know what you expect from it, nor do I know which atoms the carbon group contain, but I highly doubt this leads to meaningful and physical results in a production simulation.

The rest of your input is over-engineering compared to what I understand you want to do and I am not sure you are computing what you say you want to compute, but only a profile of the potential energy of your left_drop group.

Why not simply use compute group/group between your droplet and your surface?

1 Like

Thanks @Germain

For more clarification, I have some water drops (30A radius) on the carbon substrate surface and hereby want to compute the interaction energy for one of these water drops with substrate surface.

So, I follow your suggestion and use compute group/group as follows:

compute c1 left_drop group/group carbon
fix f1 left_drop ave/time 10 100 1000 c_c1 file profile.data

moreover, concerning the neigh_modify exclude group carbon carbon: I think it has no effects on above output data, since it has only neglect the carbon carbon interactions.

Any comments will be highly appreciated …

Well you will not compute any interaction between atoms in the carbon group at all. This means that if you perform any molecular dynamics, be it NVE, NVT or whatever, they will not see one another nor will they interact during the simulation. It’s up to you to consider if this correspond to your simulation settings, but from a physics point of view, it makes little sense considering the system you describe.

1 Like

Some insights on my side :fairy: :fairy:

One possibility is to save a set of configurations from an actual MD simulation where all the forces are duly computed as prescribed in the force field and then you can use this set of configurations as input to a rerun (rerun command — LAMMPS documentation). This would allow you to turn off whatever itneractions you want to turn off using the neigh_modify exclude command. Then you can output the global values of energy concerning the interactions you want as well as possibly local data to build a plot.

On what concerns defining the surface atoms in the substract: I suppose you would need a criterion to decide which atoms belong to the water/substrate interface. Speaking from a different context: in the case of some MOF/polymer interfaces, it has been observed that some thickness of “pure” polymer phase (i.e., outside the region of overlap between with the MOF) to be required before you are able to converge to the density prescribed for the bulk material. I suppose this is one way of defining the length of an interface: how big the thickness before converging to bulk properties is. But also I suppose you could opt for a simplistic approach where you consider the interactions of the bottom of the water droplet and carbon atoms lying within a range of r <= X from it (X being a value set by you).

2 Likes

Thanks all for your valuable comments.

One more important note is to convert interaction energy data from LAMMPS real unit, kcal/(mol.Ă…) into the electronvolts. what is the mole here? Is it water plus carbon moles? If it is true, it should be complicated, Since the drop interacts with a apart of the substarte.

To answer this question you may refer to this very interesting thread that took 29 replies and people clashing to answer that question: Enthalpy units

Or this one Conversion of units in lammps

1 Like

Some general comments:

I hope you saw Stan Moore’s post on your other thread. Your current input means that the group left_drop contains molecules 1 AND 1747. Only those two molecules.

To select a molecule range you need to specify 1:1747. Note the colon.

I am not sure what you want to do with your potential energy calculation. MD potential energies aren’t particularly useful unless measured relative to some sensible reference configuration. (As a simple example – the energy of “the water drop on the surface” includes both the water-carbon adhesion and the water-water deformation, since presumably some surface water molecules will be geometrically frustrated relative to their ideal bulk solvation environment.)

One eV is 23.06 kcal/mol. The mathematical inverse operation is not controversial.