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

Johann Pototschnig pototschnig.johann at gmail.com
Thu Dec 11 12:16:45 UTC 2025


It is possible to give an external field via cube file or function: 
https://manual.cp2k.org/trunk/CP2K_INPUT/FORCE_EVAL/DFT/EXTERNAL_POTENTIAL.html

Johann

On Wednesday, December 10, 2025 at 3:32:12 PM UTC+1 Ioachim Dusa wrote:

> 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/b6735aa3-d1ee-4de3-9d25-bb6a2f4f089an%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20251211/03978e52/attachment.htm>


More information about the CP2K-user mailing list