Znn3bq.jpeg
±±¾©Ê¯ÓÍ»¯¹¤Ñ§Ôº2026ÄêÑо¿ÉúÕÐÉú½ÓÊÕµ÷¼Á¹«¸æ
²é¿´: 399  |  »Ø¸´: 0
µ±Ç°Ö÷ÌâÒѾ­´æµµ¡£

xirainbow

ľ³æ (ÕýʽдÊÖ)

[½»Á÷] ¡¾Ô­´´¡¿Open .out in Xcrysden

ÒÔÏÂÄÚÈÝÀ´×ÔÎҵIJ©¿Í£ºhttp://blog.sina.com.cn/nkasir

    Xcrysden can not open all crystal structure generated by pw.x, although it claims to be able to display the structure from pw.x input and output files, including initial, optimized, latest and all intermediate states. Apparently, there is a bug.

    After almost half a day effort, I finally found the key point. When I try the structure optimization, I add "0 0 1" at the end of each atom position in order to constrain select atom or select component fixed during structure optimization. It is this "0 0 1" that gets in the way of been opened by xcryden.

    Step1: delete all the "0 0 1" character and etc.

    Step2: inspect all the position and forces. They must be orginazed as the following format.

CELL_PARAMETERS (alat)
   1.098978395   0.015002329   0.000000000
   0.098065212   6.539053488   0.000000000
   0.000000000   0.000000000   4.537420345



ATOMIC_POSITIONS (angstrom)
C        0.000000000   0.000000000   0.000000000   
C        0.022030139   1.468984278   0.000000000   
C        1.275361847  -0.618569320   0.000000000   
C        1.304175006   2.097031747   0.000000000   
C        1.339131285   3.670919934   0.000000000   
C        0.131719442   4.189030800   0.000000000




      Forces acting on atoms (Ry/au):



     atom   1 type  1   force =     0.05754538   -0.10755945    0.00000000
     atom   2 type  1   force =     0.06974399    0.04733885    0.00000000
     atom   3 type  1   force =    -0.05915595    0.07242571    0.00000000
     atom   4 type  1   force =    -0.06974941   -0.04993539    0.00000000
     atom   5 type  1   force =    -0.05965341    0.09971706    0.00000000
     atom   6 type  1   force =     0.06126940   -0.06198678    0.00000000


Remember "forces" corresponds to its above coordinates, not below ones.

There must not be any blank line between

CELL_PARAMETERS (alat)
   1.098978395   0.015002329   0.000000000



ATOMIC_POSITIONS (angstrom)
C        0.000000000   0.000000000   0.000000000   



     atom   1 type  1   force =     0.05754538   -0.10755945    0.00000000
     atom   2 type  1   force =     0.06974399    0.04733885    0.00000000
and etc.

I was puzzled by the blank line for almost two hours

[ Last edited by xirainbow on 2009-7-24 at 09:00 ]
»Ø¸´´ËÂ¥

» ²ÂÄãϲ»¶

ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû
Ïà¹Ø°æ¿éÌø×ª ÎÒÒª¶©ÔÄÂ¥Ö÷ xirainbow µÄÖ÷Ìâ¸üÐÂ
×î¾ßÈËÆøÈÈÌûÍÆ¼ö [²é¿´È«²¿] ×÷Õß »Ø/¿´ ×îºó·¢±í
[¿¼ÑÐ] 307Çóµ÷¼Á +14 ³¬¼¶ÒÁ°º´óÍõ 2026-04-06 14/700 2026-04-08 07:03 by Î޼ʵIJÝÔ­
[¿¼ÑÐ] 266µ÷¼Á +5 daya sun 2026-04-07 6/300 2026-04-08 00:08 by daya sun
[¿¼ÑÐ] 285Çóµ÷¼Á +5 ¶ñ·¨´ó¶þµÄÆøÎ¶ß 2026-04-05 8/400 2026-04-07 23:37 by shanqishi
[¿¼ÑÐ] 285Çóµ÷¼Á +6 AZMK 2026-04-07 6/300 2026-04-07 20:13 by shanqishi
[¿¼ÑÐ] ר˶085403£¬291·Ö£¬ÓÐÁ½Æª×¨Àû£¬Ò»¹úÒ»½± +3 ¹þ¼ªßä¹þ¼ªßä 2026-04-07 3/150 2026-04-07 18:21 by À¶ÔÆË¼Óê
[¿¼ÑÐ] 085600²ÄÁÏÓ뻯¹¤£¬Çóµ÷¼Á +5 won_qii 2026-04-07 5/250 2026-04-07 17:10 by à£à£à£0119
[¿¼ÑÐ] ÉúÎïÓëÒ½Ò©273Çóµ÷¼Á +14 ÀóÌâÄÏǽ 2026-04-05 15/750 2026-04-07 16:29 by ¿É¿Ú¿ÉÀÖ²»¼Ó±ùØ
[¿¼ÑÐ] Èí¹¤Ñ§Ë¶299Çóµ÷¼Á +6 useryy 2026-04-07 6/300 2026-04-07 09:50 by vgtyfty
[¿¼ÑÐ] 285Çóµ÷¼Á +8 AZMK 2026-04-04 11/550 2026-04-06 13:56 by BruceLiu320
[¿¼ÑÐ] 081200-11408-276ѧ˶Çóµ÷¼Á +4 ´Þwj 2026-04-04 5/250 2026-04-05 14:06 by imissbao
[¿¼ÑÐ] µ÷¼Á +8 ÐܶþÏëÉϰ¶ 2026-04-04 8/400 2026-04-05 05:27 by houyaoxu
[¿¼ÑÐ] 344²ÄÁÏÓ뻯¹¤µ÷¼Á +9 µ÷¼ÁÉϰ¶«^ 2026-04-03 9/450 2026-04-04 23:10 by happyddm
[¿¼ÑÐ] ÇóÉúÎïѧרҵµ÷¼Á-332·Ö +5 ÔÆ¶äåÞÍäÖ¸ÄÏ 2026-04-04 5/250 2026-04-04 10:05 by rzh123456
[¿¼ÑÐ] 266·Ö£¬Ò»Ö¾Ô¸µçÆø¹¤³Ì£¬±¾¿Æ²ÄÁÏ£¬Çó²ÄÁÏרҵµ÷¼Á +9 ÍÛºôºßºôºß 2026-04-02 9/450 2026-04-03 12:05 by 1753564080
[¿¼ÑÐ] ÍÁľˮÀû328·ÖÇóµ÷¼Á +6 ¼²·çÖª¾¢²Ý666 2026-04-02 6/300 2026-04-03 11:38 by znian
[¿¼ÑÐ] 346Çóµ÷¼Á +5 Ö£³ÏÀÖ 2026-04-02 5/250 2026-04-02 16:38 by SZW_UJN
[¿¼ÑÐ] 266Çóµ÷¼Á +4 ѧԱ97LZgn 2026-04-02 4/200 2026-04-02 13:03 by yulian1987
[¿¼ÑÐ] 261ÇóBÇøµ÷¼Á +5 Ã÷×С¤ 2026-04-01 7/350 2026-04-02 11:17 by ×Þξξ
[¿¼ÑÐ] ²ÄÁÏר˶322·Ö +11 ¹þ¹þ¹þºðºðºð¹þ 2026-04-01 11/550 2026-04-02 10:52 by lnilvy
[¿¼ÑÐ] 324Çóµ÷¼Á +5 ÏëÉÏѧÇóµ÷ 2026-04-01 6/300 2026-04-02 10:16 by sanrepian
ÐÅÏ¢Ìáʾ
ÇëÌî´¦ÀíÒâ¼û