applying force to mass center of water molecules

hi dear usesr.thank you for helping. i supposed to simulate in lammps,water flow with 1058 water molecules in nanochannell at 300K .(piseuille flow)
excuse do you know how can i apply a force to center of mass of every eater molecule in lammps ? or if i apply force to Oxygen in each molecule,instead of mass center of water molecules, in your view thie way what percent error it can produce?tnx

I already answered this Q. Did you try what I suggested,
namely apply the force to the O atoms? The O atoms
are 8/9 of the mass of H2O, so you can estimate
the “error” if you want to call it that.

Steve

I already answered this Q. Did you try what I suggested,
namely apply the force to the O atoms? The O atoms
are 8/9 of the mass of H2O, so you can estimate
the "error" if you want to call it that.

not to mention that you can do it "exactly" using fix addforce and an
atom style variable as i explained, too.

axel.