欢迎来到天天文库
浏览记录
ID:49368471
大小:805.93 KB
页数:32页
时间:2020-03-01
《ABINIT中文教程.pdf》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Abinit中文教学一.前言(Introduction)在做abinit計算時,基本需要下面三個檔案◎x.in(裡面放計算時所使用的參數,"x"名字可隨意取,但要配合x.files)◎x.file(裡面放inputfiles、outputfiles和pseudopotentialfiles的檔名)◎pseudopotential(可至abinit的官方網頁上download)以下對基本檔案做介紹:1-1x.in儲存計算時所需要的所有參數,有single-datasetmode和multi-datase
2、tmode兩種寫法範例:Si(diamondstructure)的總能計算所用之si.in(single-datamode)kptopt1#Kpointoption(default0.0)ngkpt444#Numberofk-pointstoldfe1.0d-6#Toleranceonthedifferenceoftotalenergyiscf5#SCFcycle,CGbasedontheminim.oftheenergynstep15#Numberofself-consistentfieldstep
3、sdiemac12.0#Macroscopicdielectricconstantdiemacofthesystem#isausefulhelptospeed-uptheSCFprocedureecut3.0#Energycutoffenunit2#Energyunitofoutputnband5#Numberofbandsixc1#ExchangeCorrelationchoicetypat11#Numberoftypesofatomsznucl14#Atomicnumberoftheatomsna
4、tom2#Numberofatomsacell10.1810.1810.18#Equalto3*10.18rprim0.00.50.5#Latticevector0.50.00.50.50.50.0xred0.000.000.00#Basicvector0.250.250.25注意事項:1.x.in裡不能使用tab,且一行最多132個字元2.可以使用分數(1/2=0.5),根號可用sqrt表示(ex.sqrt(9)=3),但根號和分數不能同時用(ex.sqrt(3/4))3."#"和"!"後面的內容程
5、式不讀,可用來儲存舊參數或註解4.使用atomicunit,能量為Hartree=27.211ev,長度用Bohr=0.529Angstroms5.若是要中途停掉job,有兩種選則:一種是在x.in第一行加入"exit",另一則是在job的目錄下加入abinit.exit即可停止1-2x.files儲存計算所需之inputfiles、outputfilesandpseudopotential之檔名例:Si(diamondstructure)的總能計算所用之si.filessi.in(主要inputfi
6、le名)si.out(outputfile名)sii(inputwavefunction、densityorpotential名,ex.sii_WFK)sio(outputwavefunction、densityorpotential名,ex.sio_WFK)si(temporaryfiles名,ex.si_STATS14si.psp(pseudopotential名)1-3執行abinitabinis&log"&"的作用是將abinit執行時,作業系統所產生的錯誤也可以儲存在lo
7、g裡二.總能計算(Totalenergy-Silicon)2-1總能計算kptopt1#Kpointoption(default0.0)ngkpt444#Numberofk-pointstoldfe1.0d-6#Toleranceonthedifferenceoftotalenergyiscf5#SCFcycle,CGbasedontheminim.oftheenergynstep15#Numberofself-consistentfieldstepsdiemac12.0#Macroscopicdie
8、lectricconstantdiemacofthesystem#isausefulhelptospeed-uptheSCFprocedureecut3.0#Energycutoffenunit2#Energyunitofoutputnband5#Numberofbandsixc1#ExchangeCorrelationchoicetypat11#Numberoftypesofatomsznucl14#Atomicnumberoftheatomsnato
此文档下载收益归作者所有