[CP2K-user] [CP2K:18422] Re: Prnting forces/stres tensors

Fabian belleflamme.fabian at gmail.com
Wed Feb 8 10:11:29 UTC 2023


Hello Hossein,

The MOTION&PRINT section prints the forces and stress tensor (by default) 
after each iteration to a file in your run directory.  

What you are looking for is in the PRINT section of FORCE_EVAL:

&PRINT
  &FORCES
  &END FORCES
  &STRESS_TENSOR
  &END STRESS_TENSOR
&END PRINT 

Kind regards,
Fabian


Hossein Mirhosseini schrieb am Dienstag, 7. Februar 2023 um 16:13:33 UTC+1:

> With the following MOTION/PRINT section, forces and stress tensors are not 
> printed after every SCF. What is the criterion to print them? Is it 
> possible to print forces after each SCF?
>
> &MOTION
>    &GEO_OPT
>       MAX_ITER 200
>       OPTIMIZER LBFGS
>       TYPE MINIMIZATION
>    &END GEO_OPT
>    &PRINT
>       &CELL ON
>       &END CELL
>       &FORCES ON
>       &END FORCES
>       &STRESS ON
>       &END STRESS
>       &TRAJECTORY
>          FORMAT XYZ
>       &END TRAJECTORY
>    &END PRINT
>

-- 
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 on the web visit https://groups.google.com/d/msgid/cp2k/fc621db9-bca6-41c2-b3f5-0fcc17ce32c1n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20230208/096cb1bf/attachment.htm>


More information about the CP2K-user mailing list