crest 发表于 2005-12-12 11:03:46

关于导出hist中的数据的一个例子

有一个例子:
gen zone cyl p0 0 0 0 p1 1 0 0 p2 0 2 0 p3 0 0 1 size 4 5 4
gen zone reflect norm 1,0,0
gen zone reflect norm 0,0,1
model mohr
prop bulk 1.19e10 shear 1.1e10
prop coh 2.72e5 fric 44 ten 2e5
fix x y z range y -.1 .1
fix x y z range y 1.9 2.1
ini yvel 1e-7 range y -.1 .1
ini yvel -1e-7 range y 1.9 2.1
hist gp ydisp 0,0,0
hist zone syy 0,1,0
hist zone syy 1,1,0
hist write 1 file 原点位移.dat
hist write 2 file 中部单元应力.dat
hist write 3 file 边缘单元应力.dat
hist write 1 table 1
hist write 2 table 2
hist write 3 table 3
hist write 2 3 vs 1 file 单压.dat
step 3000

结果在 “原点位移.dat” 文件中 只有:
“Step 1 Y-Displace”
而没有保存下数值,怎么回事?

而且我怎么才能获得table中的数据?
谢谢!

fq8301 发表于 2005-12-12 11:41:08

Re:关于导出hist中的数据的一个例子

帮你改了一下
gen zone cyl p0 0 0 0 p1 1 0 0 p2 0 2 0 p3 0 0 1 size 4 5 4
gen zone reflect norm 1,0,0
gen zone reflect norm 0,0,1
model mohr
prop bulk 1.19e10 shear 1.1e10
prop coh 2.72e5 fric 44 ten 2e5
fix x y z range y -.1 .1
fix x y z range y 1.9 2.1
ini yvel 1e-7 range y -.1 .1
ini yvel -1e-7 range y 1.9 2.1
hist gp ydisp 0,0,0
hist zone syy 0,1,0
hist zone syy 1,1,0
step 3000
hist write 1 file 原点位移.dat
hist write 2 file 中部单元应力.dat
hist write 3 file 边缘单元应力.dat
hist write 1 table 1
hist write 2 table 2
hist write 3 table 3
hist write 2 3 vs 1 file 单压.dat
save a

'print tabel n' will solve your second qusetion

good luck

crest 发表于 2005-12-12 17:31:25

Re:关于导出hist中的数据的一个例子

谢谢大侠!
这里真是一个藏龙卧虎之地,呵呵

sunston 发表于 2006-9-14 17:31:31

这里真是一个藏龙卧虎之地,fq8301,高!

jkjxl 发表于 2008-6-19 14:36:38

又学到一招,谢谢各位了啊

深夜来访电话 发表于 2010-3-2 00:47:33

看看学习,不知道管用不?

深夜来访电话 发表于 2010-3-2 00:53:50

奇怪没有任何数据

silinfe 发表于 2011-7-18 15:31:07

我的也是,谁给解决一下啊!谢谢!

azhekill 发表于 2011-12-7 19:49:48

是不是 his后面用的id 号把idn去掉就行啦   goodluck
页: [1]
查看完整版本: 关于导出hist中的数据的一个例子