【求助】Table的用法
想用table的方式做一个地震荷载的表格形式,按照帮助中定义文件的方法,死活就Read不进去,有用过的朋友吗,做个介绍吧?2.0Mannual Capter 5. P280
reads file, filename (in the format described below), and places it in
table n.
The file should be formatted and organized in the following form.
Line 1 heading of up to 20 full words, 4 characters per word.
Line 2 np, tdel (number of points and timestep, respectively, where np is an integer and tdel is real)
Line2和3都看明白了,就是Line1不懂,不知何意?看到其中的full word和character是不是计算机术语“全字”和“字符”的概念?
另外,文件做好了以后,怎么Read到Flac3D中?
回复: 【求助】Table的用法
比如要读入t1.txt 到 table 1 中table 1 erase
table 1 read t1.txt
pr table 1
t1.txt文件如下:
step / disp
10 2
0.0
1.1
2.2
3.3
4.4
5.5
6.6
7.7
8.8
9.9
回复: 【求助】Table的用法
非常感谢!原因我也找到了,是因为table后面少了一个参数n。
不过在使用中还是出现了一个问题,会提示错误(如图),不过结果我看是对的。应该无妨大碍。
回复: 【求助】Table的用法
最后1行后面加个回车不然会少读1行
同时出现上述错误
回复: 【求助】Table的用法
果然!最后一个数据我是用tab 1 in ** **来读进去的,多谢指点!
回复: 【求助】Table的用法
用上面的例子,得到如下结果请问X对应的数值是什么意思?数据文件没有这一数据呀。
Table 1\step / disp
Entry X Y
-----------------------------
1 0.0000e+000 0.0000e+000
2 2.0000e+000 1.1000e+000
3 4.0000e+000 2.2000e+000
4 6.0000e+000 3.3000e+000
5 8.0000e+000 4.4000e+000
6 1.0000e+001 5.5000e+000
7 1.2000e+001 6.6000e+000
8 1.4000e+001 7.7000e+000
9 1.6000e+001 8.8000e+000
10 1.8000e+001 9.9000e+000
回复: 【求助】Table的用法
请问如何在地面上的一点上加上一个速度波,用table。谢谢
回复: 【求助】Table的用法
hh199422 wrote:用上面的例子,得到如下结果
请问X对应的数值是什么意思?数据文件没有这一数据呀。
1. X对应的数值是根据第二行的两个数(点数、增量)来计算出来的,当然是从0开始。如果X不是等增量增加,那么就可以将增量值覆为0.0,然后Table会从第三行开始按照每两个数据组成一个(X Y)点来形成表格。
2. 首先将做成的文件读入形成table,然后施加该点处的速度(加速度、力、应力)
apply xacc hist table 1 range **
即可。
回复: 【求助】Table的用法
多谢大侠指点!回复: 【求助】Table的用法
请教lakewater:我在使用
apply xacc hist table 1 range **
命令时,需要在xacc和hist之间加一个数值才能读入,请问该数值是什么值?
我在说明书里没有看到该命令的使用举例.
我的理解是table 1 里已经包含了时间与速度的对应关系及大小,要这个值做什么?不加一个数值就出错.
回复: 【求助】Table的用法
要是你的table文件本来就是速度表格的话,那这个数值就是1。这是为了与apply这个命令的语法统一所进行的。
回复: 【求助】Table的用法
如果是加速度和力呢?是不是这个值和table里的每一个值相乘?回复: 【求助】Table的用法
对的! 还是不怎么明白比如ftab里的table后面的几组数据是什么意思? 我学了好久了还是不知道它的用法 能说说它的用处吗? 请教各位,能否读进去多列数据呢,table中有X1 Y1 X2 Y2 X3 Y3,应该是可以多去多列的啊,怎么设置呢?
新手求助一下,在table中如何定义Y轴的类型呢,具体来讲就是我想要输入一个影响应变速率的函数,我怎么设置才能让我建立的这个表格求出来的应变速率被调用来求应力和应变呢
求指教!! 谢谢~
页:
[1]