User Tools

Site Tools


quantumespresso:フォノンの状態密度と分散

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
quantumespresso:フォノンの状態密度と分散 [2018/11/04 19:34]
koudai 作成
quantumespresso:フォノンの状態密度と分散 [2020/11/19 02:49]
koudai [固有振動モードの可視化]
Line 9: Line 9:
 <file - Si.scf.in> <file - Si.scf.in>
 &control &control
-   calculation='scf', +  calculation = 'scf', 
-   prefix='Si' +  prefix      = 'Si' 
-   pseudo_dir = './', +  pseudo_dir  = './pseudo', 
-   outdir='./tmp/'+  outdir      = './tmp/'
 / /
 &system &system
-   ibrav=2, celldm(1)=10.2, nat=2, ntyp=1, +  ibrav     = 2, 
-   ecutwfc=18.0+  celldm(1) = 10.2656, 
 +  nat       = 2, 
 +  ntyp      = 1, 
 +  ecutwfc   50.0
 / /
 &electrons &electrons
 +  conv_thr = 1.0d-12
 / /
 ATOMIC_SPECIES ATOMIC_SPECIES
- Si  28.086  Si.pz-vbc.UPF+ Si  28.0855  Si.pbesol-n-kjpaw_psl.1.0.0.UPF
 ATOMIC_POSITIONS (alat) ATOMIC_POSITIONS (alat)
  Si 0.00 0.00 0.00  Si 0.00 0.00 0.00
Line 36: Line 40:
 <file - Si.ph.in> <file - Si.ph.in>
 phonons of Si phonons of Si
- &inputph +&inputph 
-  tr2_ph=1.0d-14, +  tr2_ph = 1.0d-14, 
-  prefix='Si'+  prefix = 'Si', 
-  amass(1)=28.08+  outdir = './tmp/', 
-  outdir='./tmp/', +  fildyn = 'Si.dyn', 
-  fildyn='Si.dyn', +  ldisp  = .true., 
-  ldisp=.true., +  nq1    = 4, 
-  nq1=4, +  nq2    = 4, 
-  nq2=4, +  nq3    = 4, 
-  nq3=4, +/
- /+
 </file> </file>
  
Line 55: Line 58:
 実行は次のようにする。 実行は次のようにする。
  
-  $ ph.x < si.ph.in > si.ph.out+  $ ph.x < Si.ph.in > Si.ph.out
  
-フォノンの計算には時間がかかるので注意。+フォノンの計算には時間がかかるので、メッシュのとりすぎに注意。
  
 ===== 実空間へのフーリエ変換 ===== ===== 実空間へのフーリエ変換 =====
Line 64: Line 67:
 次のファイルを用意する。 次のファイルを用意する。
  
-<file - q2r.in>+<file - Si.q2r.in>
 &input &input
   fildyn = 'Si.dyn'   fildyn = 'Si.dyn'
Line 74: Line 77:
 出力先はSi.fcになる。 実行は次のようにする。 出力先はSi.fcになる。 実行は次のようにする。
  
-  $ q2r.x < q2r.in > q2r.out+  $ q2r.x < Si.q2r.in > Si.q2r.out
  
 以上で準備は終了である。 以上で準備は終了である。
Line 85: Line 88:
 次の入力ファイルを用意する。 次の入力ファイルを用意する。
  
-<file - matdyn.phdos.in>+<file - Si.matdyn.phdos.in>
 &input &input
-  flfrc = 'si.fc' +  flfrc = 'Si.fc' 
-  fldos = 'si.phdos'+  fldos = 'Si.phdos'
   asr = 'crystal'   asr = 'crystal'
   dos = .true.   dos = .true.
Line 108: Line 111:
 実行は次のようにする。 実行は次のようにする。
  
-  $ matdyn.x < matdyn.phdos.in > matdyn.phdos.out+  $ matdyn.x < Si.matdyn.phdos.in > Si.matdyn.phdos.out 
 + 
 +下図は Si.phdos に出力されたデータをプロットした。
  
 {{:quantumespresso:phdos.png?400|}} {{:quantumespresso:phdos.png?400|}}
Line 115: Line 120:
 ===== 分散 ===== ===== 分散 =====
  
-分散の場合は計算する波数点の経路を指定する。+分散の場合は計算する波数点の経路(デカルト座標で、単位は格子定数aを使って2π/a)を指定する。
  
-<file - matdyn.freq.in>+<file - Si.matdyn.freq.in>
 &input &input
   asr = 'crystal'   asr = 'crystal'
-  flfrc = 'si.fc' +  flfrc = 'Si.fc' 
-  flfrq = 'si.freq'+  flfrq = 'Si.freq'
   q_in_band_form=.true.   q_in_band_form=.true.
 / /
Line 136: Line 141:
 実行はさきほどと同様。 実行はさきほどと同様。
  
-  $ matdyn.x < matdyn.freq.in > matdyn.freq.out+  $ matdyn.x < Si.matdyn.freq.in > Si.matdyn.freq.out
  
 結果はSi.freqに出力される。 結果はSi.freqに出力される。
Line 142: Line 147:
  
   $ plotband.x   $ plotband.x
-  Input file > si.freq+  Input file > Si.freq
   Reading 6 bands at 41 k-points   Reading 6 bands at 41 k-points
   Range: 0.0000 510.2482eV Emin, Emax > 0, 550   Range: 0.0000 510.2482eV Emin, Emax > 0, 550
Line 159: Line 164:
 {{:quantumespresso:ph_dispersion.png?400|}} {{:quantumespresso:ph_dispersion.png?400|}}
  
 +  * GNUPLOTでプロットしたい場合は Si.freq.gp に出力されているものを使うと便利です。
 +
 +
 +==== 固有振動モードの可視化 ====
  
 +  * [[https://www.materialscloud.org/work/tools/interactivephonon|Interactive phonon visualizer]]を使えば、フォノンの各エネルギーに対応する固有振動モードを可視化することができます。
 +  * Si.scf.in と matdyn.modes の2つのファイルをアップロードしてください。matdyn.modesはmatdyn.xを実行すると自動的に生成されます。
 ===== 注意 ===== ===== 注意 =====
  
quantumespresso/フォノンの状態密度と分散.txt · Last modified: 2021/06/27 22:04 (external edit)