| ²é¿´: 3152 | »Ø¸´: 6 | ||
[ÇóÖú]
VASP2BOLTZTRAPÇóÖú
|
|
Ó¦Óà vasp2boltztrap³öÏÖ´íÎó /usr/local/lib/python2.7/dist-packages/ase/lattice/spacegroup.py:5: UserWarning: Moved to ase.spacegroup warnings.warn('Moved to ase.spacegroup') Number of electrons not found. Please set the number manually in hte.intrans. get_vasp_bandstructure(): could not find OUTCAR file <./OUTCAR> Traceback (most recent call last): File "si.py", line 39, in <module> vasp2boltz.write_bandstructure_boltztrap(bs) File "/home/weiyidan/computing/µçµ¼ÂÊ/vasp2boltz.py", line 100, in write_bandstructure_boltztrap if bandstructure['nspin']!=1: TypeError: 'NoneType' object has no attribute '__getitem__' poscarÈçÏ NONDEFECT 1.00000000000000 7.6802000999000004 0.0000000000000000 0.0000000000000000 0.0000000000000000 10.8613996505999992 0.0000000000000000 0.0000000000000000 0.0000000000000000 7.6802000999000004 Si 32 Direct 0.0000000000000000 0.1250000000000000 0.5000000000000000 0.7500000000000000 0.0000000000000000 0.0000000000000000 0.0000000000000000 0.2500000000000000 0.7500000000000000 0.0000000000000000 0.2500000000000000 0.2500000000000000 0.2500000000000000 0.0000000000000000 0.0000000000000000 0.0000000000000000 0.1250000000000000 0.0000000000000000 0.2500000000000000 0.3750000000000000 0.7500000000000000 0.5000000000000000 0.1250000000000000 0.0000000000000000 0.2500000000000000 0.3750000000000000 0.2500000000000000 0.2500000000000000 0.0000000000000000 0.5000000000000000 0.5000000000000000 0.2500000000000000 0.2500000000000000 0.5000000000000000 0.2500000000000000 0.7500000000000000 0.7500000000000000 0.0000000000000000 0.5000000000000000 0.7500000000000000 0.3750000000000000 0.7500000000000000 0.5000000000000000 0.1250000000000000 0.5000000000000000 0.7500000000000000 0.3750000000000000 0.2500000000000000 0.0000000000000000 0.6250000000000000 0.5000000000000000 0.7500000000000000 0.5000000000000000 0.0000000000000000 0.0000000000000000 0.7500000000000000 0.7500000000000000 0.0000000000000000 0.7500000000000000 0.2500000000000000 0.2500000000000000 0.5000000000000000 0.0000000000000000 0.0000000000000000 0.6250000000000000 0.0000000000000000 0.2500000000000000 0.8750000000000000 0.7500000000000000 0.5000000000000000 0.6250000000000000 0.0000000000000000 0.2500000000000000 0.8750000000000000 0.2500000000000000 0.2500000000000000 0.5000000000000000 0.5000000000000000 0.5000000000000000 0.7500000000000000 0.2500000000000000 0.5000000000000000 0.7500000000000000 0.7500000000000000 0.7500000000000000 0.5000000000000000 0.5000000000000000 0.7500000000000000 0.8750000000000000 0.7500000000000000 0.5000000000000000 0.6250000000000000 0.5000000000000000 0.7500000000000000 0.8750000000000000 0.2500000000000000 |
» ²ÂÄãϲ»¶
ÊÛSCIÒ»ÇøÎÄÕ£¬ÎÒ:8.O.55.1.O.54,¿ÆÄ¿ÆëÈ«,¿ÉÙ¤¼±
ÒѾÓÐ5È˻ظ´
ÓжàÉÙÈËÊǽñÌì²éϵͳ֪µÀ½á¹ûµÄ£¿
ÒѾÓÐ18È˻ظ´
ÊÛSCI-T0PÎÄÕ£¬ÎÒ:8O.5.5.1.O.54,¿ÆÄ¿ÆëÈ«,¿É+¼±
ÒѾÓÐ5È˻ظ´
ÊÛSCIÎÄÕ£¬ÎÒ:8O.5.5.1O.54,¿ÆÄ¿È«,¿ÉÊ®¼±
ÒѾÓÐ4È˻ظ´
ÊÛSCIÒ»ÇøÎÄÕ£¬ÎÒ:8.O.55.1.O.54,¿ÆÄ¿ÆëÈ«,¿ÉÙ¤¼±
ÒѾÓÐ5È˻ظ´
ÎÒ¾ÍÊÇÉêÇëÒ»¸öÃæÉÏÏîÄ¿¶øÒÑ£¬ÕâÆÀÉóÒâ¼ûÊǰ´ÕÕ½ÜÇàµÄÌõ¼þÆÀµÄ°É£¿
ÒѾÓÐ4È˻ظ´
¹ú×ÔÈ»ÆÀÉóÒâ¼û
ÒѾÓÐ15È˻ظ´
Ϊʲô×ÊÖúÊý¸÷´ó¸ßУ¶¼´´Ð¸ߣ¬×Ô¼ºÉêÇëÔõô¾ÍÕâôÄÑ
ÒѾÓÐ13È˻ظ´
¹ú×ÔÈ»ÃæÉϸ´ÅÌ~»¶ÓÌÖÂÛ
ÒѾÓÐ14È˻ظ´
ϵͳ²é²»µ½
ÒѾÓÐ11È˻ظ´
» ±¾Ö÷ÌâÏà¹Ø¼ÛÖµÌùÍÆ¼ö£¬¶ÔÄúͬÑùÓаïÖú:
Vasp+Boltztrap¼ÆËã×ÔÐý¼«»¯²ÄÁÏÇóÖú
ÒѾÓÐ7È˻ظ´
ÇóÖúboltztrapÀïµÄvasp2boltz.pyÔõôʹÓã¿
ÒѾÓÐ12È˻ظ´
|
ÎÒµÄ py # Example of how to use vasp2boltz.py # Create a .py file with a content similar to the following # It is necessary to have ASE installed: # https://wiki.fysik.dtu.dk/ase/ from ase import io from ase.lattice.spacegroup import Spacegroup import vasp2boltz ao = io.read('POSCAR') # If you do not have spglib installed, you need to add the spacegroup no. # e.g. sg = Spacegroup(216) for the 'F -4 3 m' space group # If you use the conventional cell rather than the primitive unit cell in your # POSCAR file for e.g. I or F spacegroups, you need to add this information. # Example 1: sg = Spacegroup(10) ao.info = {'spacegroup': sg} # Example 2. Here the unit cell in the POSCAR file is cubic (conventional): #sg = Spacegroup(10) #ao.info = {'spacegroup': sg, 'unit_cell': 'conventional'} # Read number of electrons from OUTCAR. foundnelect = False try: for line in open('OUTCAR', 'r'): if 'NELECT' in line: nelect = float(line.split()[2]) foundnelect = True except: pass if not foundnelect: print 'Number of electrons not found. Please set the number manually in hte.intrans.' nelect = 1.0 # The remaining part takes care of writing the files required by BoltzTraP. bs = vasp2boltz.get_vasp_bandstructure() vasp2boltz.write_bandstructure_boltztrap(bs) vasp2boltz.write_structure_boltztrap(ao) vasp2boltz.write_intrans_boltztrap(n_electrons = nelect) |
2Â¥2016-12-14 18:24:17
3Â¥2016-12-15 13:43:44
4Â¥2016-12-27 13:08:16
5Â¥2016-12-27 13:09:32
6Â¥2016-12-27 13:11:21
Áã¶ú¶ä
гæ (СÓÐÃûÆø)
- Ó¦Öú: 0 (Ó×¶ùÔ°)
- ½ð±Ò: 418
- Ìû×Ó: 66
- ÔÚÏß: 152.6Сʱ
- ³æºÅ: 3905060
- ×¢²á: 2015-06-02
- רҵ: Äý¾Û̬ÎïÐÔ II £ºµç×ӽṹ
7Â¥2017-12-22 09:20:06









»Ø¸´´ËÂ¥
ͶƱ:
10