| 3 | 1/1 | 返回列表 |
| 查看: 2119 | 回復: 2 | ||||
mashuai222銀蟲 (初入文壇)
|
[求助]
求助:VASP中用ISIF=3優(yōu)化晶格常數(shù)時,如何只讓一個方向變化,其他方向不變 已有2人參與
|
|
小弟新手上路,VASP中如何設置參數(shù)可以在結構優(yōu)化時只改變一個方向的晶格常數(shù),其他兩個方向的不變? 不知哪位高手有空指教,小弟不勝感激! |
精華網帖收集 |

木蟲 (小有名氣)
|
這個得VASP編譯的時候把constr_cell_relax.F這個文件里面的一些參數(shù)做一下更改,比如:!----------------------------------------------------------------------- ! ! At present, VASP does not allow to relax the cellshape selectively ! i.e. for instance only cell relaxation in x direction. ! To be more precisse, this behaviour can not be achived via the INCAR ! or POSCAR file. ! However, it is possible to set selected components of the stress tensor ! to zero. ! The most conveninent position to do this is the routines ! CONSTR_CELL_RELAX (constraint cell relaxation). ! FCELL contains the forces on the basis vectors. ! These forces are used to modify the basis vectors according ! to the following equations: ! ! A_OLD(1:3,1:3)=A(1:3,1:3) ! F90 style ! DO J=1,3 ! DO I=1,3 ! DO K=1,3 ! A(I,J)=A(I,J) + FCELL(I,K)*A_OLD(K,J)*STEP_SIZE ! ENDDO ! ENDDO ! ENDDO ! where A holds the basis vectors (in cartesian coordinates). ! !----------------------------------------------------------------------- SUBROUTINE CONSTR_CELL_RELAX(FCELL) USE prec REAL(q) FCELL(3,3) ! orthorhombic system relaxation in a and b Saa=FCELL(1,1) Sbb=FCELL(2,2) FCELL=0 FCELL(1,1)=Saa FCELL(2,2)=Sbb ! just one simple example ! relaxation in x directions only ! SAVE=FCELL(1,1) ! FCELL=0 ! F90 style: set the whole array to zero ! FCELL(1,1)=SAVE ! relaxation in z direction only ! SAVE=FCELL(3,3) ! FCELL=0 ! F90 style: set the whole array to zero ! FCELL(3,3)=SAVE RETURN END SUBROUTINE |
鐵桿木蟲 (著名寫手)
暫時離開小木蟲
| 3 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 296求調劑 +4 | 汪。! 2026-03-31 | 7/350 |
|
|---|---|---|---|---|
|
[考研] 266分求材料化工冶金礦業(yè)等專業(yè)的調劑 +7 | 哇呼哼呼哼 2026-03-26 | 7/350 |
|
|
[考研] 307分求調劑 +14 | (o~o) 2026-03-31 | 15/750 |
|
|
[考研] 0817化工學碩調劑 +11 | 努力上岸中! 2026-03-31 | 11/550 |
|
|
[考研] 總分343,求生物學調劑 +6 | 深刻的凱撒 2026-03-26 | 6/300 |
|
|
[考研] 材料專碩306英一數(shù)二 +7 | z1z2z3879 2026-03-31 | 7/350 |
|
|
[考研] 【調劑】一志愿廈大生物與醫(yī)藥調劑 +3 | Echo蝦米 2026-03-31 | 3/150 |
|
|
[考研] 本2一志愿C9-333分,材料科學與工程,求調劑 +9 | 升升不降 2026-03-31 | 9/450 |
|
|
[考研] 336材料求調劑 +10 | 陳瀅瑩 2026-03-26 | 12/600 |
|
|
[考研]
|
小羊36 2026-03-30 | 4/200 |
|
|
[考研] 學碩274求調劑 +17 | Li李魚 2026-03-26 | 17/850 |
|
|
[考研] 本科211安全工程,初試290分,求調劑 +3 | 2719846834 2026-03-28 | 3/150 |
|
|
[考研] 08工科,295,接受跨專業(yè)調劑 +6 | lmnlzy 2026-03-30 | 6/300 |
|
|
[考研] 370求調劑 +3 | 080700調劑 2026-03-30 | 3/150 |
|
|
[考研] 哈爾濱工業(yè)大學材料與化工專碩378求調劑 +3 | 塔比烏斯 2026-03-30 | 3/150 |
|
|
[考研] 327求調劑 +5 | 小卡不卡. 2026-03-29 | 5/250 |
|
|
[考研] 調劑考研 +3 | 王杰一 2026-03-29 | 3/150 |
|
|
[考研] 復試調劑 +3 | raojunqi0129 2026-03-28 | 3/150 |
|
|
[考研] 315分求調劑 +7 | 26考研上岸版26 2026-03-26 | 7/350 |
|
|
[考研] 081200-11408-276學碩求調劑 +4 | 崔wj 2026-03-26 | 4/200 |
|