[CP2K-user] [CP2K:21999] Re: Tabulated external force potential

Ioachim Dusa ioachimdusa at gmail.com
Wed Dec 10 14:28:52 UTC 2025


Thanks, I was looking more for an option where I can specify the absolute 
coordinates instead of the absolute distance. I am looking to implement a 
complicated form of a confining potential V(z), where the atoms should 
experience it only in the z-direction, for example. 

Could that be done? 

Ole Schütt schrieb am Mittwoch, 10. Dezember 2025 um 13:59:50 UTC:

> This might be what you're looking for:
>
>
> https://manual.cp2k.org/trunk/CP2K_INPUT/FORCE_EVAL/MM/FORCEFIELD/NONBONDED/TABPOT.html
>
> -Ole
>
> On Wednesday, December 10, 2025 at 2:47:58 PM UTC+1 ioach... at gmail.com 
> wrote:
>
>> Dear CP2K community, 
>>
>> I was wondering whether it is possible to specify an external potential 
>> for the force and energy evaluation dependent on the atomic positions using 
>> a tabulated file. FORCE_EVAL/EXTERNAL_POTENTIAL does not seem to have this 
>> option; only FUNCTION for which the analytical form is needed, which in my 
>> case is too complex to implement in the input file. Are there any 
>> workarounds? 
>>
>> Thank you very much for your help!
>>
>

-- 
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+unsubscribe at googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/cp2k/364fba18-d9ad-4954-b6a2-3c671464c5f9n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20251210/b2b4c961/attachment.htm>


More information about the CP2K-user mailing list