FEA

Tecplot利用录制宏提取线段上的变量值

2021-05-06  本文已影响0人  cugliming

手动提取

Tecplot从体中手动提取线段中的变量值其实很简单:
Data > extract > Extract Precise Line > 选择从Volume提取到File中 > 选择文件保存的位置 > Extract,如下:

Extract Precise Line
输入线段起止坐标,及其他信息

宏操作

步骤

如果提取的点数量比较多,并且存在反复测试的过程,可采用录制宏的方式。

示例

#!MC 1410
$!ExtendedCommand 
  CommandProcessorID = 'Extract Precise Line'
  Command = 'XSTART = 421165.430124548 YSTART = 4245828.56172159 ZSTART = 1375.28132474252 XEND = 421165.430124548 YEND = 4245828.56172159 ZEND = -20000 NUMPTS = 100 EXTRACTTHROUGHVOLUME = T EXTRACTTOFILE = T EXTRACTFILENAME = \'G:\Project-2\4_Prestressing\material_13\k-values\P1_Alxa.dat\' '
$!ExtendedCommand 
  CommandProcessorID = 'Extract Precise Line'
  Command = 'XSTART = 688109.051488323 YSTART = 4270212.83482693 ZSTART = 1381.08790233204 XEND = 688109.051488323 YEND = 4270212.83482693 ZEND = -20000 NUMPTS = 100 EXTRACTTHROUGHVOLUME = T EXTRACTTOFILE = T EXTRACTFILENAME = \'G:\Project-2\4_Prestressing\material_13\k-values\P2_Ordos.dat\' '

解释

对应上述手动操作的过程,宏代码其实很好理解:

上一篇下一篇

猜你喜欢

热点阅读