RPM(reflecting particle membrane)

Dear lammps users:
I want to reproduce the simulation about the water flow in CNT in the following paper: https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.102.184502
in which the delta pressure along the water flow direction is generated by this reflecting particle membrane.
this RPM method allows water cross the membrane from left to right, but reflect with a probability p when the molecules want to cross the membrane from right to left. You can find the explanation figure in the attachment.
However, I have not found any Fix command can be used to generate this reflecting system yet.
Is it possible to use this method with lammps? It would be grateful if anyone can offer me some advices.
Thank you very much.

sincerely yours
peiyu

Screenshot_20200421_193826.jpg

Dear lammps users:
I want to reproduce the simulation about the water flow in CNT in the following paper: https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.102.184502
in which the delta pressure along the water flow direction is generated by this reflecting particle membrane.
this RPM method allows water cross the membrane from left to right, but reflect with a probability p when the molecules want to cross the membrane from right to left. You can find the explanation figure in the attachment.
However, I have not found any Fix command can be used to generate this reflecting system yet.
Is it possible to use this method with lammps?

you would need to do some c++ programming and write a fix of your own. this could be based on fix oneway.

axel.