我有一个二维 CFD 代码,它给出了网格上每个点的 x 和 y 流速。我目前正在使用 gnuplot 中的矢量场来可视化数据。我的目标是看看喷发后的羽流延伸了多远,所以如果我能阻止矢量在低于一定量级时出现在现场,那会更干净。有谁知道如何去做?我当前的 gnuplot 脚本如下。我还可以根据需要修改输入文件。
reset
set nokey
set term png
set xrange [0:5.1]
set yrange [0:10.1]
do for [i=0:10] {
set title 'Eruption simulation: Timestep '.i
set output 'path/FlowVel'.sprintf('%04.0f',i).'.png'
plot 'path/Flow'.sprintf('%04.0f',i).'.dat' using 1:2:3:4 with vec
}