(along bottom row of balls) global tname = string.build("Numerical sol. - age = %1",thermal.age) command table @tabn erase table @tabn name @tname endcommand loop foreach local btp ball.thermal.list local bp = ball.thermal.ball(btp) if ball.pos(bp,2) = 0.0 then local _z =...
3、PFC中dat文件 plot 'jiechu' export bitmap filename [string.build("%1jichu-%2.png",jipei_name,yingbian)] size 2560 1440 ;这里是导出Plot为图片文件名采用占位符的形式,可以文件名统一命名为xxx-x的形式 def export_his if yingbian=15 then command history export 'stressXX1' file [string.bui...
if mech.age-time_record > baocunpinlv then filename=string.build("jieguo%1",count) command save @filename endcommand time_record=mech.age count +=1 endif end set fish callback -1.0 @savefilewall attribute centrotation 0 0 spin 50 clump delete range y -10 -1 solve time 300 注意clum...
geo_count_single)groupName=string.build("geo_%1",n)commandwall import from-geometry @groupName id [n+10000]endcommandendloopenddefdeleWalls(geo_count_single)loop n(1,geo_count_single)commandwall delete walls range id [n+10000]endcommandendloopend...
string.build()函数类似于Python的format()定位函数,技术上讲,这种改变是一种进步。 xx = io.in(string.build('%1 (default:%2):',msg,default)) 测试显示在3DEC和FLAC3D中都存在这个问题,但在UDEC中还未作出改变,string()和string.build()都可以使用,整合时期感觉弄得挺混乱的,估计以后UDEC也会作出相应的...
(n)/cengshu group_string=string.build("keli_%1",n) jieguo_string=string.build("bushu_dist_%1",n) command wall delete walls range id 3 wall create id 3 vertices [-width*0.5*1.5] [dingbuzuobiao] [width*0.5*1.5] [dingbuzuobiao] ball distribute porosity @vsporo radius @rdmin box [...
filename=string.build("jieguo%1",count) command save @filename endcommand time_record=mech.age count +=1 endif endwall attribute centrotation 0 0 spin 50 solve time 50 50s效果不够的话,可以继续运行最后一句话。 最后颗粒表面会稳定在某一个角度,这个角度就是休止角。简单用量角器量,或者用图像处...
filename=string.build("jieguo_%1",count) command model save @filename endcommand time_record=wezz count +=1 endif endfish callback add @savefile -1.0model solve fishhalt @stop_memodel save "result"这里为了节省时间,给了5e-2的应变率,所以应力应变曲线并不是很好看,但是测量圆反应的围压还是比...
[count=1][baocunpinlv=0.05][time_record=mech.age-1]defsavefileifmech.age-time_record > baocunpinlvthenfilename=string.build("jieguo%1",count)commandsave@filenameendcommandtime_record=mech.agecount+=1endifendsetfish callback-1.0@savefile ...
Build限制ACDC操作 call调用data文件,执行吟哇,批处理模式 retum从批处理模式中返回到限制台。或在多级调用中返回上,-级调用文件 continue-pause重新/中止”调用data文件 Fluid设置流体分析条件 7YMPI限制MPT探作 /PARALLEL限制并行计算程序探作 NEW重启新异者 QuitStop/Save-Restore Set”变更全局程序设置 7Thermal”...