²é¿´: 1020  |  »Ø¸´: 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 ¸ö»Ø´ð
×î¾ßÈËÆøÈÈÌûÍÆ¼ö [²é¿´È«²¿] ×÷Õß »Ø/¿´ ×îºó·¢±í
[¿¼ÑÐ] Ò»Ö¾Ô¸Éî´ó£¬0703»¯Ñ§£¬×Ü·Ö302£¬Çóµ÷¼Á +4 ÆßÔÂ-ÆßÆß 2026-03-21 4/200 2026-03-21 18:20 by ѧԱ8dgXkO
[¿¼ÑÐ] 313Çóµ÷¼Á +4 ËÁÈþ·¡Ò¼22 2026-03-19 4/200 2026-03-21 17:33 by ColorlessPI
[¿¼ÑÐ] 277²ÄÁÏ¿ÆÑ§Ó빤³Ì080500Çóµ÷¼Á +6 ×ÔÓɼå±ý¹û×Ó 2026-03-16 6/300 2026-03-21 17:21 by ѧԱ8dgXkO
[¿¼ÑÐ] 346Çóµ÷¼Á[0856] +4 WayneLim327 2026-03-16 7/350 2026-03-21 04:02 by JourneyLucky
[¿¼ÑÐ] ²ÄÁϹ¤³Ì£¨×¨£©Ò»Ö¾Ô¸985 ³õÊÔ335Çóµ÷¼Á +3 hiloiy 2026-03-17 4/200 2026-03-21 03:04 by JourneyLucky
[¿¼ÑÐ] »ª¶«Ê¦·¶´óѧ-071000ÉúÎïѧ-293·Ö-Çóµ÷¼Á +3 Ñо¿ÉúºÎÑþÃ÷ 2026-03-18 3/150 2026-03-21 01:30 by JourneyLucky
[¿¼ÑÐ] Ò»Ö¾Ô¸ÄϾ©Àí¹¤´óѧ085701×ÊÔ´Óë»·¾³302·ÖÇóµ÷¼Á +4 ¿ûè÷ÎÀ¶Ó 2026-03-18 6/300 2026-03-20 23:02 by JourneyLucky
[¿¼ÑÐ] ¿¼Ñе÷¼ÁÇóÑ§Ð£ÍÆ¼ö +3 ²®ÀÖ29 2026-03-18 5/250 2026-03-20 22:59 by JourneyLucky
[¿¼ÑÐ] Ò»Ö¾Ô¸ËÕÖÝ´óѧ²ÄÁÏÇóµ÷¼Á£¬×Ü·Ö315£¨Ó¢Ò»£© +5 sbdksD 2026-03-19 5/250 2026-03-20 22:10 by luoyongfeng
[¿¼ÑÐ] 295¸´ÊÔµ÷¼Á +8 ¼òľChuFront 2026-03-19 8/400 2026-03-20 20:44 by zhukairuo
[¿¼ÑÐ] ÕÐÊÕµ÷¼Á˶ʿ +4 lidianxing 2026-03-19 12/600 2026-03-20 12:25 by lidianxing
[¿¼ÑÐ] 0703»¯Ñ§µ÷¼Á +4 18889395102 2026-03-18 4/200 2026-03-19 16:13 by 30660438
[¿¼ÑÐ] 085600²ÄÁÏÓ뻯¹¤µ÷¼Á 324·Ö +10 llllkkkhh 2026-03-18 12/600 2026-03-19 14:33 by llllkkkhh
[¿¼ÑÐ] 286Çóµ÷¼Á +6 lemonzzn 2026-03-16 10/500 2026-03-19 14:31 by lemonzzn
[¿¼ÑÐ] 0703»¯Ñ§µ÷¼Á +5 pupcoco 2026-03-17 8/400 2026-03-19 13:58 by houyaoxu
[¿¼ÑÐ] 0854¿É¿çµ÷¼Á£¬Ò»×÷Ò»ÏîºËÐÄÂÛÎÄÎåÏîרÀû£¬Ê¡¡¢¹ú¼¶Ö¤Êé40+ÊýÒ»Ó¢Ò»287 +8 СÀî0854 2026-03-16 8/400 2026-03-18 14:35 by ²«»÷518
[¿¼ÑÐ] ÉúÎïѧ071000 329·ÖÇóµ÷¼Á +3 ÎÒ°®ÉúÎïÉúÎﰮΠ2026-03-17 3/150 2026-03-18 10:12 by macy2011
[¿¼ÑÐ] 290Çóµ÷¼Á +3 p asserby. 2026-03-15 4/200 2026-03-17 16:35 by wangkm
[¿¼ÑÐ] ÓÐûÓеÀÌú/ÍÁľµÄÏëµ÷¼ÁÄÏÁÖ£¬¸ø×Ô¼ºÕÐʦµÜÖС« +3 TqlXswl 2026-03-16 7/350 2026-03-17 15:23 by TqlXswl
[¿¼ÑÐ] ²ÄÁϹ¤³Ìר˶274Ò»Ö¾Ô¸211Çóµ÷¼Á +6 Ñ¦ÔÆÅô 2026-03-15 6/300 2026-03-17 11:05 by ѧԱh26Tkc
ÐÅÏ¢Ìáʾ
ÇëÌî´¦ÀíÒâ¼û