Dear CP2K users and experts.
I am trying to simulate the interaction of a surface with a liquid layer under a high pressure using ab initio molecular dynamics. The system is illustrated in the figure below (I have some specific reasons that I need to use vacuum). In order to apply the load to the top slab an external force acting on the layer is needed.

&EXTERNAL_POTENTIAL
ATOMS_LIST 1..20
FUNCTION (A/B)*Z
PARAMETERS A B
UNITS [eV] [angstrom]
VALUES 0.5 1.0
&END EXTERNAL_POTENTIAL
That would applied a constant normal (along z direction) force of 0.5 eV/A (this value is chosen randomly) to the chosen atoms. I wonder if the above setting will work?
I appreciate any advises and recommendations.