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

yangwenbin99

Í­³æ (СÓÐÃûÆø)

[ÇóÖú] lammps´íÎóÖ¸Õý

#######    poly one layer property ###################
fix                fSpaPolyStress_onelay gPoly ave/spatial 1 5000 5000 x 0.0 1.0 y 0.0 1.0 z 0.0 1.0 c_cStAtPoly[1] c_cStAtPoly[2] c_cStAtPoly[3] c_cStAtPoly[4] c_cStAtPoly[5] c_cStAtPoly[6] units reduced norm sample ave window 5 file Output_PolyStress_Zonelayer_Zdim.PushForce${vForce}_Shear${vShear}

variable        vPolyOneLayStressXX equal (f_fSpaPolyStress_onelay[1][5]/v_vPolyVol)*v_vPolyAtNum
variable        vPolyOneLayStressYY equal (f_fSpaPolyStress_onelay[1][6]/v_vPolyVol)*v_vPolyAtNum
variable        vPolyOneLayStressZZ equal (f_fSpaPolyStress_onelay[1][7]/v_vPolyVol)*v_vPolyAtNum
variable        vPolyOneLayStressXY equal (f_fSpaPolyStress_onelay[1][8]/v_vPolyVol)*v_vPolyAtNum
variable        vPolyOneLayStressXZ equal (f_fSpaPolyStress_onelay[1][9]/v_vPolyVol)*v_vPolyAtNum
variable        vPolyOneLayStressYZ equal (f_fSpaPolyStress_onelay[1][10]/v_vPolyVol)*v_vPolyAtNum

variable        vShearRate equal v_vShear/v_vPolyLenZ  #1/picoseconds
variable        vViscosity equal v_vPolyOneLayStressXZ/v_vShearRate #bars.picoseonds
variable        vFriction equal v_vPolyOneLayStressXZ/v_vPolyOneLayStressZZ
fix                 fprint all print 5000 "${vStep} ${vFriction} ${vShearRate} ${vViscosity} ${vPolyOneLayStressXX} ${vPolyOneLayStressYY} ${vPolyOneLayStressZZ} ${vPolyOneLayStressXY} ${vPolyOneLayStressXZ} ${vPolyOneLayStressYZ}" screen no file Output_OneLayPoly.PushForce${vForce}_Shear${vShear}

#####################################################
dump                dumpAllAtom all atom 10000 Output_DumpAllAtom.PushForce${vForce}_Shear${vShear}.lammpstrj

dump_modify        dumpAllAtom append yes

run                 2000000
ÔËÐÐÕâ¶Îʱ³öÏÖ±¨¾¯
#####################################################
dump                dumpAllAtom all atom 10000 Output_DumpAllAtom.PushForce${vForce}_Shear${vShear}.lammpstrj
dump                dumpAllAtom all atom 10000 Output_DumpAllAtom.PushForce0.0256385733_Shear${vShear}.lammpstrj
dump                dumpAllAtom all atom 10000 Output_DumpAllAtom.PushForce0.0256385733_Shear0.1.lammpstrj

dump_modify        dumpAllAtom append yes

run                 2000000
WARNING: One or more atoms are time integrated more than once
Memory usage per processor = 10.7241 Mbytes
Step Temp E_pair E_mol TotEng Press Volume
1000000    293.33568   -8684.8822    26.956317   -8550.2806   -4489.6865    43454.026
ERROR: Variable formula fix array is accessed out-of-range
ÈçºÎ¸ÄÕý£¬¸÷λ´óÏɰïæ
»Ø¸´´ËÂ¥

» ²ÂÄãϲ»¶

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

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

jiaoyixiong

ÈÙÓþ°æÖ÷ (Ö°Òµ×÷¼Ò)

´íÎó£º Variable formula fix array is accessed out-of-range

http://muchong.com/bbs/viewthread.php?tid=3946850
3Â¥2013-03-21 10:22:03
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû
²é¿´È«²¿ 4 ¸ö»Ø´ð
×î¾ßÈËÆøÈÈÌûÍÆ¼ö [²é¿´È«²¿] ×÷Õß »Ø/¿´ ×îºó·¢±í
[¿¼ÑÐ] 303Çóµ÷¼Á +7 SereinQ 2026-04-10 8/400 2026-04-10 21:08 by gong120082
[¿¼ÑÐ] ÉúÎïѧ308·ÖÇóµ÷¼Á£¨Ò»Ö¾Ô¸»ª¶«Ê¦´ó£©×ö¹ý·Ö×ÓʵÑé +8 ÏàÐűػá¹ââÍòÕ 2026-04-07 9/450 2026-04-10 21:03 by zhouxiaoyu
[¿¼ÑÐ] 085404 298·ÖÇóµ÷¼Á +10 ºôÀ²ºôÀ²ºôºôºô 2026-04-10 11/550 2026-04-10 16:44 by wangy0907
[¿¼ÑÐ] ²ÄÁϸ´ÊÔÇóµ÷¼Á +20 xhhdjdjsjks 2026-04-09 20/1000 2026-04-10 10:25 by ËïСС12457
[¿¼ÑÐ] Çó +6 »¯¹¤×¨Ë¶323·Ö 2026-04-04 6/300 2026-04-10 10:04 by may_ÐÂÓî
[¿¼ÑÐ] Ò»Ö¾Ô¸»ªÖÐũ΢ÉúÎ288·Ö£¬ÈýÄêʵÑé¾­Àú +10 ´úfish 2026-04-09 10/500 2026-04-10 09:49 by potatoÃÃ
[¿¼ÑÐ] ÉúÎïÓëÒ½Ò©µ÷¼Á +5 Ê®Æßsa 2026-04-05 5/250 2026-04-10 08:14 by kangsm
[¿¼ÑÐ] ²ÄÁÏÓ뻯¹¤371Çóµ÷¼Á +17 ÅãÁÕ¿´º£ 2026-04-04 18/900 2026-04-10 07:51 by 314126402
[¿¼ÑÐ] 289Çóµ÷¼Á +4 L1ttleTiger 2026-04-04 4/200 2026-04-09 19:53 by xiayizhi
[¿¼ÑÐ] Ò»Ö¾Ô¸»ª¹¤085600 331·Ö +6 ÌìÏÂww 2026-04-09 6/300 2026-04-09 18:59 by l_paradox
[¿¼ÑÐ] 085600²ÄÁÏÓ뻯¹¤×¨Ë¶329 Çóµ÷¼Á +24 ¶îcc 2026-04-06 25/1250 2026-04-09 16:01 by wp06
[¿¼ÑÐ] 286Çóµ÷¼Á +19 Faune 2026-04-08 20/1000 2026-04-09 08:36 by ŶŶ123
[¿¼ÑÐ] 318Çóµ÷¼Á +13 ykyhsa 2026-04-05 15/750 2026-04-08 21:37 by wj165256
[¿¼ÑÐ] ²ÄÁÏ¿ÆÑ§Ó빤³Ì320Çóµ÷¼Á£¬080500 +12 »Æ¹ÏζÊíÆ¬ 2026-04-06 12/600 2026-04-08 16:26 by luoyongfeng
[¿¼ÑÐ] 085602µ÷¼Á ³õÊÔ×Ü·Ö335 +3 19123253302 2026-04-06 3/150 2026-04-07 18:00 by jp9609
[¿¼ÑÐ] 22408 318·ÖÇóµ÷¼Á +4 ÇڷܵÄСÁý°ü 2026-04-06 6/300 2026-04-07 15:05 by Ö½º×555
[¿¼ÑÐ] һ־Ը̫ԭÀí¹¤´óѧ¼ÆËã»ú¼¼Êõר˶348£¬Çóµ÷¼ÁÖ¸µ¼ +3 nexious 2026-04-05 3/150 2026-04-07 08:19 by jp9609
[¿¼ÑÐ] 22408 331·ÖÇóµ÷¼Á +4 y__1 2026-04-06 4/200 2026-04-06 17:26 by ÍÁľ˶ʿÕÐÉú
[¿¼ÑÐ] Ò»Ö¾Ô¸¶«±±´óѧ085901ÍÁľר˶345Çóµ÷¼Á +3 zxt11111 2026-04-04 3/150 2026-04-04 14:21 by ÍÁľ˶ʿÕÐÉú
[¿¼ÑÐ] Çóµ÷¼Á +3 ũҵ¹¤³ÌÓëÐÅÏ¢¼ 2026-04-04 3/150 2026-04-04 12:19 by Éá¶øºóµÃ
ÐÅÏ¢Ìáʾ
ÇëÌî´¦ÀíÒâ¼û