Tecplot云图——数据文本格式1
直接看图:i=9和j=29代表的是物面网格两个方向的数据点个数。程序实现ofstream out3("船体表面压力系数.dat");out3 << "Variables=\"x\" \"y\" \"z\" \"p\"" << endl;out3 << "Zone i=" << NY << " j=" <<...
·
直接看图:
i=9和j=29代表的是物面网格两个方向的数据点个数。
程序实现
ofstream out3("船体表面压力系数.dat");
out3 << "Variables=\"x\" \"y\" \"z\" \"p\"" << endl;
out3 << "Zone i=" << NY << " j=" << NX << endl;
for (int i = 0; i < NB; i++)
{
out3 << fixed << setw(w_char) << setprecision(n_deci) << control_point[0][i] << fixed << setw(w_char) << setprecision(n_deci) << control_point[1][i] << fixed << setw(w_char) << setprecision(n_deci) << control_point[2][i] << fixed << setw(w_char) << setprecision(n_deci) << Cpi[i] << endl;
}
out3.close();
tecplot处理结果
更多推荐
已为社区贡献1条内容
所有评论(0)