CyRhmU.jpeg
²é¿´: 4694  |  »Ø¸´: 32
µ±Ç°Ö»ÏÔʾÂú×ãÖ¸¶¨Ìõ¼þµÄ»ØÌû£¬µã»÷ÕâÀï²é¿´±¾»°ÌâµÄËùÓлØÌû

llh2010

ÖÁ×ðľ³æ (ÖøÃûдÊÖ)

[ÇóÖú] ATATÖÐgensqs¹¤¾ßÈçºÎ¸Ä±äÈ¡´úŨ¶È

ÇëÎʸ÷λ¸ßÊÖÃÇ£¬Ê¹ÓÃATATÈí¼þ°üµÄgensqs¹¤¾ß²úÉúsqs½á¹¹Ê±£¬ÈçºÎ¸Ä±äÈ¡´úµÄŨ¶È£¿ÀýÈç¶ÔÓÚÒ»¸öbcc½á¹¹£¬ÌåÐÄÉϵÄÒ»ÖÖÔ­×Ó²»±ä£¬¶øÏëÈÃÁ¢·½Ìå°Ë¸ö¶¥µãÉϵÄÁíÒ»ÖÖÔ­×ÓÓÐÒ»¸ö»ò¼¸¸ö±»ÆäËüÔ­×ÓÈ¡´ú£¬ÇëÎÊÓ¦¸ÃÈçºÎдlat.inºÍconc.inÎļþ¡£
»Ø¸´´ËÂ¥

» ²ÂÄãϲ»¶

֪ʶÒýµ¼ÈËÉú£¬Ñ§Ï°³É¾ÍδÀ´
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

tt-0-8

Òø³æ (СÓÐÃûÆø)

ÒýÓûØÌû:
22Â¥: Originally posted by tt-0-8 at 2012-11-11 11:55:06
还è¦?请教一下,genstr的命令是ä¸?是和gensqs相å?Œå•Šï¼Œå?¯ä»¥å†™æˆ?genstr -n=* >* ,n代表è¦?输出的最多原å­?数?所输出的文件å??是str.outå?—,还是éš?ä¾¿å†™ä¸€ä¸ªï¼Ÿè° ...

£¿£¿£¿ÎÒ·¢µÄÔõô¾Í³ÉÂÒÂëÁË£¿£¡
¼á³Ö¾ÍÊÇʤÀû£¬¹þ¹þ
23Â¥2012-11-11 11:59:00
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû
²é¿´È«²¿ 33 ¸ö»Ø´ð

linggang87

Òø³æ (СÓÐÃûÆø)

¡¾´ð°¸¡¿Ó¦Öú»ØÌû

¡ï ¡ï ¡ï ¡ï ¡ï ¡ï
fzx2008: ½ð±Ò+1, лл»ØÌû£¡ 2012-06-22 08:58:50
llh2010: ½ð±Ò+5, ¡ï¡ï¡ïºÜÓаïÖú 2012-06-22 10:01:17
Â¥Ö÷±íÊöÖÐÃ²ËÆÓиö´íÎó¡£ÖÜÆÚÐԽṹÖÐÁ¢·½Ìå°Ë¸ö¶¥µãÊǵȼ۵ģ¬ÏàµÈÓÚÒ»¸öÔ­×Ó£¬²»´æÔÚÈ¡´úÆäÖм¸¸öµÄÎÊÌâ¡£

¸Ä±äŨ¶ÈÎÒÏë·½·¨¿ÉÒÔÊǸı䳬°ûµÄ´óС¡£±ÈÈç2*2*2µÄÌåÐÄÁ¢·½£¬º¬16¸öÔ­×Ó£¬È¡´ú1¸öÔ­×ÓŨ¶ÈΪ 1/16,È¡´úÁ½¸öÔ­×Ó£¬Å¨¶ÈΪ2/16......

ÖÁÓÚ¾ßÌåÔõôдÄã˵µÄÎļþ£¬²»Á˽⣬±§Ç¸¡£¡£¡£
3Â¥2012-06-21 23:55:49
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

linggang87

Òø³æ (СÓÐÃûÆø)

¡¾´ð°¸¡¿Ó¦Öú»ØÌû

¡ï ¡ï ¡ï ¡ï ¡ï ¡ï ¡ï ¡ï
fzx2008: ½ð±Ò+3, лл·ÖÏí 2012-06-22 08:59:52
llh2010: ½ð±Ò+5, ¡ï¡ï¡ïºÜÓаïÖú 2012-06-22 09:41:26
ÎÒ¿´µ½¹ýÒ»¸öÈËдµÄATAT²úÉúSQSµÄ±Ê¼Ç£¬ÌùÔÚÕâÀÄã¿ÉÒÔ¿´¿´£º

SQS ¡°Tutorial¡±
Amy Bengtson
1 June 2007

Here are my notes on setting up SQS (with many thanks from Yueh-Lin for teaching me).  Setting up the most random SQS cells can be subtle, and my notes aren¡¯t perfect, so please make sure you double check everything here. I make special note of the files you may want to double check with Dane.

For more explanations, please see the atat manual (section 6.1.8):
http://www.its.caltech.edu/~avdw/atat/
http://www.its.caltech.edu/~avdw/atat/manual.pdf

I am using CoFe as an example since it is an SQS structure I have set up in the past.

In order to get sqs structure for 50% Fe in BCC CoFe:

1. Create a lat.in file. This is the structure from which you want to get the disorded structure.  lat.in is of this format:

2.810643  0.000000 0.000000
0.000000 2.810643 0.000000
0.000000 0.000000 2.810643
0.500000 0.500000 0.500000
0.500000 -0.500000 0.500000
0.500000 0.500000 -0.500000
0.000000 0.000000 0.000000 Co,Fe










This lat.in is for primitive BCC with one atom. If your primitive cell has more than 1 atom, then continue to list all atomic positions after 0.000000 0.000000 0.000000 Co,Fe.

2. Make conc.in. This tells ATAT what concentration you want to create.  conc.in is of the same format as lat.in, only with all atomic positions listed.
2.810643 0.000000 0.000000
0.000000 2.810643 0.000000
0.000000 0.000000 2.810643
-1.000000 0.000000 0.000000
0.000000 0.000000 1.000000
0.000000 1.000000 0.000000
-1.000000 1.000000 1.000000 Fe
-0.500000 0.500000 0.500000 Co



3. Now create the clusters by using this command:
corrdump -l lat.in -2=maxradius -clus

The maxradius is the length of the longest pair desired.  A reasonable starting guess is:
-2=3


4. Find the correlation of the clusters you created in step 3.  Here, maxradius should be the same number as in 3.  
corrdump -noe -2=maxradius -rnd -s=conc.in > tcorr.out


5. Generate the sqs structure (disorded structures) using this command:
gensqs -n=Natoms > sqs.out

Where Natoms = the size of the cell you want to create. sqs.out will contain all of the sqs structures, there may be more than 1! The structures will be in the formation of str.out (like conc.in ¨C some conversions will be needed to make them into POSCARs ¨C see step *).


6. In many cases you will find you have many structures in sqs.out.  The problem is how to choose which structures to run.  You can do two things:
a. Redo everything above with a larger maxradius ¨C this will give more correlations to match.  Or you can add another radius to match:
corrdump -l lat.in -2=maxradius -3=another_radius ¨Cclus
corrdump -noe -2=maxradius -3=another_radius  -rnd -s=conc.in > tcorr.out
The ¡°-2¡± matches pairs, the ¡°-3¡± matches triplets.

b. Rank the sqs structures that you have in sqs.out to find the ¡°most random¡± structures.  To do this:
        i. Find the correlation on the sqs structures in sqs.out:
        corrdump -noe -2=LargerRadius -s=sqs.out > tcorr_final.out
You want LargerRadius to be larger than maxradius because you are trying find the correlations beyond the original correlation given in tcorr.out.  Usually you want to rank based on the first 3 pairs.  The columns in tcorr_final.out are:
[point correlation] [1st pair] [2nd pair] [3rd pair] [4th pair] ¡­  
If you don¡¯t have at least 4 columns in your tcorr_final.out, then you need to increase LargerRadius until you have at least 4 columns.
Each row corresponds to an sqs structure in sqs.out

ii. Find the target correlation out to the LargerRadius
corrdump -noe -2= LargerRadius -rnd -s=sqs.out > tcorr_finalRND.out
               
iii. Open tcorr_final.out in excel and rank the structures based on most random.  
       
7. Once you have found which structures from sqs.out you are going to use, split them up and make each structure into its own str.out file.

8. Create a vasp.wrap file that gives the VASP input information. Here is an example:
[INCAR]
SYSTEM = CoFe
ENCUT=455
ISPIND = 2 #makes spin-polarized calc. possible
ISPIN = 2 #does spin-polarized calc.
MAGMOM=  5 5 5 5 5 5 5 5
ISTART = 0     
INIWAV = 1   
NSW = 191  
IBRION = 2
ISIF = 3   
ISMEAR = 1
SIGMA = 0.2
PREC = Accurate
LWAVE = .FALSE.
KPPRA = 17576
KSCHEME=Monkorst-Pack
DOGGA
SUBATOM = s/Co/Co/g
SUBATOM = s/Fe/Fe_pv/g


9. In the directory with sqs.out, create the VASP input files using this command:
runstruct_vasp -nr

10. Run as you normally do.

If you make a mistake and need to start over, remove all of these files:
rm clusters.out corrdump.log gensqs_0_1.stat sqscell.out sqs* sym.out tcorr.out


Important!!! These are the files you should double check with Dane to make sure they were set up correctly.
o        lat.in
o        conc,in
o        tcorr.out
o        rms ranking (show the Excel sheet where you rank tcorr_final.out)
o        And confirm that maxradius is a reasonable value.
4Â¥2012-06-22 00:17:13
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

llh2010

ÖÁ×ðľ³æ (ÖøÃûдÊÖ)

ÒýÓûØÌû:
4Â¥: Originally posted by linggang87 at 2012-06-22 00:17:13
ÎÒ¿´µ½¹ýÒ»¸öÈËдµÄATAT²úÉúSQSµÄ±Ê¼Ç£¬ÌùÔÚÕâÀÄã¿ÉÒÔ¿´¿´£º

SQS ¡°Tutorial¡±
Amy Bengtson
1 June 2007

Here are my notes on setting up SQS (with many thanks from Yueh-Lin for teaching me).  S ...

¶÷£¬·Ç³£¸Ðл£¡Õâ¸ö±Ê¼ÇÎÒÒ²¿´¹ýÁË¡£ËäȻ˵µÄ±È½ÏÇå³þ£¬µ«ÊÇËûÖ»¸ø³öÁËFeºÍCoÊÇ1:1µÄÇé¿ö£¬¾ÍÊǸ÷Õ¼50%¡£Ïë²úÉúÆäËü±ÈÀýÐèÒªÐÞ¸Äconc.inÕâ¸öÎļþ£¬±Ê¼ÇÖÐconc.inÎļþûÓÐ˵Çå³þ»ùʸºÍÔ­×Ó×ø±êÊÇÔõôÀ´µÄ£¬²»ÖªµÀÈçºÎÐ޸ġ£
֪ʶÒýµ¼ÈËÉú£¬Ñ§Ï°³É¾ÍδÀ´
5Â¥2012-06-22 09:40:27
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû
ÐÅÏ¢Ìáʾ
ÇëÌî´¦ÀíÒâ¼û