±±¾©Ê¯ÓÍ»¯¹¤Ñ§Ôº2026ÄêÑо¿ÉúÕÐÉú½ÓÊÕµ÷¼Á¹«¸æ
²é¿´: 3448  |  »Ø¸´: 17
µ±Ç°Ö»ÏÔʾÂú×ãÖ¸¶¨Ìõ¼þµÄ»ØÌû£¬µã»÷ÕâÀï²é¿´±¾»°ÌâµÄËùÓлØÌû

·çÓêͬÖÜ113

³¬¼¶°æÖ÷

ÓÅÐ㣡£¡ÓÐľÓУ¡£¡£¡ÓÅÐ㣡£¡ÓÐľÓУ¡£¡£¡ÓÅÐ㣡£¡ÓÐľÓУ¡£¡£¡ÓÅÐ㣡£¡ÓÐľÓУ¡£¡£¡


[½»Á÷] ¡¾ÇóÖú¡¿Çó²úÉú±äÐκóPOSCARµÄ defvector.f ³ÌÐòµÄÔ´Îļþ

×î½ü¸ÕѧϰʹÓÃVASPÈí¼þ£¬¿´ºî²©µÄ˵Ã÷ÊéÖÐÌáµ½¼ÆË㵯ÐÔ³£ÊýÒªÓõ½defvector.f£¬ÇëÎÊÕâ¸ö³ÌÐòÔÚÄÄÀï¿ÉÒÔÕÒµ½ÄØ£¿Íû´ó¼Ò¸øÖ¸µ¼Ö¸µ¼£¬²»Ê¤¸Ð¼¤°¡
»Ø¸´´ËÂ¥

» ²ÂÄãϲ»¶

» ±¾Ö÷ÌâÏà¹Ø¼ÛÖµÌùÍÆ¼ö£¬¶ÔÄúͬÑùÓаïÖú:

» ÇÀ½ð±ÒÀ²£¡»ØÌû¾Í¿ÉÒԵõ½:

²é¿´È«²¿É¢½ðÌù

ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

fangchaoge

³¬¼¶°æÖ÷

ÓÅÐ㣡£¡ÓÐľÓУ¡£¡£¡ÓÅÐ㣡£¡ÓÐľÓУ¡£¡£¡ÓÅÐ㣡£¡ÓÐľÓУ¡£¡£¡ÓÅÐ㣡£¡ÓÐľÓУ¡£¡£¡


ÒýÓûØÌû:
12Â¥: Originally posted by lamb_imr at 2015-04-16 16:31:14
ÈçºÎ±äÒìdefvector.fµÃµ½defvector.xÎļþ°¡£¿

ÇëÎÊLZÖªµÀÈçºÎ´Ódefvector.fµÃµ½defvector.xÁËû£¿Çó´Í½Ì
14Â¥2015-12-01 16:21:54
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû
²é¿´È«²¿ 18 ¸ö»Ø´ð

babaleo

¶Ò»»¹ó±ö

ÓÅÐ㣡£¡ÓÐľÓУ¡£¡£¡ÓÅÐ㣡£¡ÓÐľÓУ¡£¡£¡ÓÅÐ㣡£¡ÓÐľÓУ¡£¡£¡ÓÅÐ㣡£¡ÓÐľÓУ¡£¡£¡


¡ï
sunyang1988(½ð±Ò+1): ллÌáʾ 2011-04-10 00:04:45
·çÓêͬÖÜ113(½ð±Ò+2): 2011-04-10 12:53:42
´ò¿ªÖ¸ÄÏ,¼ô/ÌùÒ»ÏÂdefvector.f,±àÒë.
»ò
Ö±½Ó¸øºî²©Ê¿·¢ÓʼþË÷È¡.
2Â¥2011-04-09 23:40:39
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

songdewang

Ö÷¹ÜÇø³¤

ÓÅÐ㣡£¡ÓÐľÓУ¡£¡£¡ÓÅÐ㣡£¡ÓÐľÓУ¡£¡£¡ÓÅÐ㣡£¡ÓÐľÓУ¡£¡£¡ÓÅÐ㣡£¡ÓÐľÓУ¡£¡£¡


·çÓêͬÖÜ113(½ð±Ò+16): 2011-07-16 21:39:37
C%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
C >this simple program to get the primitive vectors after
C $\delta$ strain, in order to calculate the independent
C elastic constants of solids.
C usage: C!!!!! Please first prepare the undeformed POSCAR in OLDPOS
C >defvector.x
C >type defvector.x > create new POSCAR in file fort.3
C%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  
      program defvector
      real*8 privect,strvect,delta,strten,strain,pos, alat
      dimension privect(3,3),strvect(3,3),strten(3,3),strain(6)
      dimension pos(50,3)
      character*10 bravlat, title, direct
      integer i,j,k,ntype, natomi, nn
      dimension natomi(10)
C%%%%%%%%% Read the undeformed primitive vector and atomic postion %%%%%%%
      open(7,file='OLDPOS')
C%% In first line of OLDPOS, please add the number
C%% of the type of atoms after the title
      read(7,*) title, ntype
      read(7,*) alat
      do i=1,3
      read(7,*) (privect(i,j),j=1,3)
      write(*,*) (privect(i,j),j=1,3)
      enddo
      read(7,*) (natomi(i),i=1,ntype)
      nn=0
      do i =1, ntype
      nn=nn+natomi(i)
      enddo
      read(7,*) direct
      do i=1, nn
      read(7,*) (pos(i,j),j=1,3)
      enddo
C%%%%%%%%% Read the amti of strain %%%%%%%%%%%%%%%
      read(*,*) delta
C%%%%%%%%% Define the strain %%%%%%%%%%%%%%
      strain(1)=0.0
      strain(2)=delta
      strain(3)=delta
      strain(4)=0.0
      strain(5)=0.0
      strain(6)=0.0
C%%%%%%%%% Define the strain tensor %%%%%%%%%%%%%%%%%%%%%%%%
      strten(1,1)=strain(1)+1.0
      strten(1,2)=0.5*strain(6)
      strten(1,3)=0.5*strain(5)
      strten(2,1)=0.5*strain(6)
      strten(2,2)=strain(2)+1.0
      strten(2,3)=0.5*strain(4)
      strten(3,1)=0.5*strain(5)
      strten(3,2)=0.5*strain(4)
      strten(3,3)=strain(3)+1.0
C%%%%%%%%% Transform the primitive vector to the new vector under strain%%%%%
C strvect(i,j)=privect(i,j)*(I+strten(i,j))
      do k=1,3
      do i=1,3
      strvect(i,k)=0.0
      do j=1,3
      strvect(i,k)=strvect(i,k)+privect(i,j)*strten(j,k)
      enddo
      enddo
      enddo
C%%%%%%%% Write the new vector under strain%%%%%%%%%%%%
      do i=1,3
      write(*,100)(strvect(i,j),j=1,3)
      enddo
100   format(3f20.15)
C%%%%%%%%% Create the POSCAR for total energy calculation %%%%%%%%%%%%%%5
      write(3,'(A10)') title
      write(3,'(f15.10)') alat
      do i=1,3
      write(3,100)(strvect(i,j),j=1,3)
      enddo
      write(3,'(10I4)') (natomi(i), i=1,ntype)
      write(3,'(A6)') Direct
      do i=1, nn
      write(3,100) (pos(i,j),j=1,3)
      enddo
C%%%%%%%
      end
4Â¥2011-04-12 10:27:42
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

ufo991

Ö÷¹ÜÇø³¤

ÓÅÐ㣡£¡ÓÐľÓУ¡£¡£¡ÓÅÐ㣡£¡ÓÐľÓУ¡£¡£¡ÓÅÐ㣡£¡ÓÐľÓУ¡£¡£¡ÓÅÐ㣡£¡ÓÐľÓУ¡£¡£¡


¡ï
Сľ³æ: ½ð±Ò+0.5, ¸ø¸öºì°ü£¬Ð»Ð»»ØÌû
ÒýÓûØÌû:
620225Â¥: Originally posted by songdewang at 2011-04-12 10:27:42
C%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
C >this simple program to get the primitive vectors after
C $\delta$ strain, in order to calculate the independent
C elastic co ...

ΪºÎÎÒ±àÒëÄÜͨ¹ý£¬ÔËÐеÄʱºò³öÏÖinvalid number:incomprehensible list input apparent state: unit 7 named OLDPOS
last format: list io
lately reading direct formatted external IO
»òÕßapparent state: unit 5 (unnamed)
last format: list io
lately reading direct formatted external IO
list in: end of file
µÄÎÊÌâÄØ£¿
5Â¥2012-05-30 10:31:31
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû
×î¾ßÈËÆøÈÈÌûÍÆ¼ö [²é¿´È«²¿] ×÷Õß »Ø/¿´ ×îºó·¢±í
[¿¼ÑÐ] 311Çóµ÷¼ÁÒ»Ö¾Ô¸ºÏ·Ê¹¤Òµ´óѧ +11 Çï¶þÊ®¶þ 2026-03-30 11/550 2026-03-31 18:09 by 253863592
[¿¼ÑÐ] 318Çóµ÷¼Á +10 ³Â³¿79 2026-03-30 10/500 2026-03-31 17:37 by 544594351
[¿¼ÑÐ] ²ÄÁÏÓ뻯¹¤£¨0856£©304ÇóBÇøµ÷¼Á +6 Çñgl 2026-03-30 11/550 2026-03-31 16:34 by Çñgl
[¿¼ÑÐ] ÉúÎÑÐ337·ÖÇóµ÷¼Á +4 cgxin 2026-03-30 6/300 2026-03-31 14:18 by ¼Çʱ¾2026
[¿¼ÑÐ] 081200-11408-276ѧ˶Çóµ÷¼Á +4 ´Þwj 2026-03-31 4/200 2026-03-31 11:56 by jp9609
[¿¼ÑÐ] Ò»Ö¾Ô¸Î÷µç085401ÊýÒ»Ó¢Ò»299Çóµ÷¼Á Áù¼¶521 +4 °®³Ô´óѼÀæ 2026-03-31 4/200 2026-03-31 11:51 by ²«»÷518
[¿¼ÑÐ] 083000»·¾³¿ÆÑ§Ó빤³Ìµ÷¼Á£¬×Ü·Ö281 +4 ³È×Ó£¨Ê¤Ò⣩ 2026-03-30 4/200 2026-03-31 00:44 by Linzejun
[¿¼ÑÐ] 285Çóµ÷¼Á +6 AZMK 2026-03-29 9/450 2026-03-30 21:02 by dophin1985
[¿¼ÑÐ] 310Çóµ÷¼Á +10 ÕùÈ¡¾Åµã˯ 2026-03-30 10/500 2026-03-30 16:45 by ztnimte
[¿¼ÑÐ] 342Çóµ÷¼Á +4 ¼ÓÓÍaÀîzs 2026-03-26 4/200 2026-03-30 16:39 by ¾§ÌåÖ®ÃÀ
[¿¼ÑÐ] Çóµ÷¼Á£¬Ò»Ö¾Ô¸ ÄϾ©º½¿Õº½Ìì´óѧ´óѧ £¬080500²ÄÁÏ¿ÆÑ§Ó빤³Ìѧ˶ +6 @taotao 2026-03-26 7/350 2026-03-30 10:43 by ÎÒÊÇС¿µ
[¿¼ÑÐ] 349Çóµ÷¼Á +6 Àîľ×Ó°¡¹þ¹þ 2026-03-25 6/300 2026-03-29 12:47 by Î޼ʵIJÝÔ­
[¿¼ÑÐ] ¸´ÊÔµ÷¼Á +3 raojunqi0129 2026-03-28 3/150 2026-03-28 15:27 by ÂäÉ˼
[¿¼ÑÐ] 081200-314 +3 LILIQQ 2026-03-27 4/200 2026-03-28 09:41 by ±£»¤µØÇòÄãÎÒ×öÆ
[¿¼ÑÐ] 085405 ¿¼µÄ11408Çó¸÷λÀÏʦ´ø×ß +3 Qiuѧing 2026-03-28 3/150 2026-03-28 09:19 by ÀֺǺǵÄ×·ÃÎÈË
[¿¼ÑÐ] 266·ÖÇó²ÄÁÏ»¯¹¤Ò±½ð¿óÒµµÈרҵµÄµ÷¼Á +4 ÍÛºôºßºôºß 2026-03-26 4/200 2026-03-27 17:02 by zhyzzh
[¿¼ÑÐ] ¿¼Ñе÷¼Á +9 СÀ¯ÐÂ±Ê 2026-03-26 9/450 2026-03-27 11:10 by ²»³Ôô~µÄ؈
[¿¼ÑÐ] 292Çóµ÷¼Á +4 ÇóÇóÁËÊÕÏÂÎÒ°É£ 2026-03-26 4/200 2026-03-27 10:37 by zhshch
[¿¼ÑÐ] Ò»Ö¾Ô¸Ìì½ò´óѧ339²ÄÁÏÓ뻯¹¤Çóµ÷¼Á +3 ½­ÍùÂôÓã 2026-03-26 3/150 2026-03-26 09:42 by ÍõСǷi
[¿¼ÑÐ] ²ÄÁÏר˶ 335 ·ÖÇóµ÷¼Á +4 ¾Ü¾øÀ䱩Á¦ 2026-03-25 4/200 2026-03-25 18:45 by haxia
ÐÅÏ¢Ìáʾ
ÇëÌî´¦ÀíÒâ¼û