计算化学公社

 找回密码 Forget password
 注册 Register
Views: 1030|回复 Reply: 1
打印 Print 上一主题 Last thread 下一主题 Next thread

[NWChem] NWChem计算RT_TDDFT报错

[复制链接 Copy URL]

5

帖子

0

威望

283

eV
积分
288

Level 3 能力者

以下是使用NWChem中的tddft计算想得到charge的程序和报错 对着手册做的 不太清楚怎么修改 希望能得到帮助

~A_C1PJVZM)8_2EP{UXUZMF.png (23.42 KB, 下载次数 Times of downloads: 6)

~A_C1PJVZM)8_2EP{UXUZMF.png

4RP)AOYC5{Q10GVJ`~K@O0O.png (12.46 KB, 下载次数 Times of downloads: 7)

4RP)AOYC5{Q10GVJ`~K@O0O.png

2

帖子

0

威望

174

eV
积分
176

Level 3 能力者

2#
发表于 Post on 2024-9-19 16:39:46 | 只看该作者 Only view this author
在.nw的input文件里面加一行print dipole
  1. title "Water TD-PBE0 resonant excitation"
  2. echo
  3. scratch_dir ./scratch
  4. permanent_dir ./perm
  5. start water
  6. ##
  7. ## aug-cc-pvtz / pbe0 optimized
  8. ##
  9. ## Note: you are required to explicitly name the geometry
  10. ##
  11. geometry "system" units angstroms nocenter noautoz noautosym
  12.   O     0.00000000    -0.00001441    -0.34824012
  13.   H    -0.00000000     0.76001092    -0.93285191
  14.   H     0.00000000    -0.75999650    -0.93290797
  15. end
  16. ## Note: We need to explicitly set the "active" geometry even though there is only one geom.
  17. set geometry "system"
  18. ## All DFT and basis parameters are inherited by the RT-TDDFT code
  19. basis
  20. * library 6-31G
  21. end
  22. dft
  23. xc pbe0
  24. end

  25. ## Compute ground state of the system
  26. task dft energy
  27. ##
  28. ## We excite the system with a quasi-monochromatic
  29. ## (Gaussian-enveloped) z-polarized E-field tuned to a transition at
  30. ## 10.25 eV.  The envelope takes the form:
  31. ##
  32. ## G(t) = exp(-(t-t0)^ / 2s^2)
  33. ##
  34. ## The target excitation has an energy (frequency) of w = 0.3768 au
  35. ## and thus an oscillation period of T = 2 pi / w = 16.68 au
  36. ##
  37. ## Since we are doing a Gaussian envelope in time, we will get a
  38. ## Gaussian envelope in frequency (Gaussians are eigenfunctions of a
  39. ## Fourier transform), with width equal to the inverse of the width in
  40. ## time.  Say, we want a Gaussian in frequency with FWHM = 1 eV
  41. ## (recall FWHM = 2 sqrt (2ln2) s_freq) we want an s_freq = 0.42 eV =
  42. ## 0.0154 au, thus in time we need s_time = 1 / s_time = 64.8 au.
  43. ##
  44. ## Now we want the envelope to be effectively zero at t=0, say 1e-8
  45. ## (otherwise we get "windowing" effects).  Reordering G(t):
  46. ##
  47. ## t0 = t - sqrt(-2 s^2 ln G(t))
  48. ##
  49. ## That means our Gaussian needs to be centered at t0 = 393.3 au.
  50. ##
  51. ## The total simulation time will be 1000 au to leave lots of time to
  52. ## see oscillations after the field has passed.
  53. ##

  54. rt_tddft
  55.   tmax 1000.0
  56.   print dipole
  57.   dt 0.2
  58.   field "driver"
  59.     type gaussian
  60.     polarization z
  61.     frequency 0.3768  # = 10.25 eV
  62.     center 393.3
  63.     width 64.8
  64.     max 0.0001
  65.   end
  66.   excite "system" with "driver"
  67. end
  68. task dft rt_tddft
复制代码

本版积分规则 Credits rule

手机版 Mobile version|北京科音自然科学研究中心 Beijing Kein Research Center for Natural Sciences|京公网安备 11010502035419号|计算化学公社 — 北京科音旗下高水平计算化学交流论坛 ( 京ICP备14038949号-1 )|网站地图

GMT+8, 2024-11-23 19:39 , Processed in 0.251161 second(s), 24 queries , Gzip On.

快速回复 返回顶部 返回列表 Return to list