解决LES生成流场可视化文件出错问题

This commit is contained in:
hechao 2021-07-10 09:18:45 +08:00
parent 74e38625bb
commit 6fe10d81a0
2 changed files with 6 additions and 6 deletions

View File

@ -185,11 +185,11 @@ int flowInitStep = 0;
// IMPORTANT WARNING: The file index should be ignored, // IMPORTANT WARNING: The file index should be ignored,
// e.g. if the partitioned grid is rae2822_hybrid2d__4_0.fts, // e.g. if the partitioned grid is rae2822_hybrid2d__4_0.fts,
// Please use 'rae2822_hybrid2d__4.fts' here! // Please use 'rae2822_hybrid2d__4.fts' here!
// PlotFieldType: If dump out the whole field results to tecplot or not, 0 / 1. // plotFieldType: If dump out the whole field results to tecplot or not, 0 / 1.
string gridfile = "./grid/cylinder_270w_split120.fts"; string gridfile = "./grid/cylinder_270w_split120.fts";
int walldistMethod = 0; int walldistMethod = 0;
int PlotFieldType = 1; int plotFieldType = 1;
// ----------------- Advanced Parameters, DO NOT care it ---------------- // ----------------- Advanced Parameters, DO NOT care it ----------------
// nVisualVariables: Number of variables want to be dumped for tecplot visualization. // nVisualVariables: Number of variables want to be dumped for tecplot visualization.

View File

@ -171,11 +171,11 @@ int flowInitStep = 100;
// IMPORTANT WARNING: The file index should be ignored, // IMPORTANT WARNING: The file index should be ignored,
// e.g. if the partitioned grid is rae2822_hybrid2d__4_0.fts, // e.g. if the partitioned grid is rae2822_hybrid2d__4_0.fts,
// Please use 'rae2822_hybrid2d__4.fts' here! // Please use 'rae2822_hybrid2d__4.fts' here!
// PlotFieldType: If dump out the whole field results to tecplot or not, 0 / 1. // plotFieldType: If dump out the whole field results to tecplot or not, 0 / 1.
string gridfile = "./grid/cylinder_les_unstr__120.fts"; string gridfile = "./grid/cylinder_les_unstr__120.fts";
int walldistMethod = 0; int walldistMethod = 0;
int PlotFieldType = 1; int plotFieldType = 1;
// ----------------- Advanced Parameters, DO NOT care it ---------------- // ----------------- Advanced Parameters, DO NOT care it ----------------
// nVisualVariables: Number of variables want to be dumped for tecplot visualization. // nVisualVariables: Number of variables want to be dumped for tecplot visualization.
@ -188,8 +188,8 @@ int PlotFieldType = 1;
// Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!! // Important Warning: Array size of visualVariables MUST be equal to nVisualVariables!!!
// Variables order must from small to big. // Variables order must from small to big.
int nVisualVariables = 8; int nVisualVariables = 10;
int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 15]; int visualVariables[] = [0, 1, 2, 3, 4, 5, 6, 11, 12, 15];
// limitVariables: Limit model (It is useful only if limitVector is 0). // limitVariables: Limit model (It is useful only if limitVector is 0).
// 0 -- limit only for pressure and denstiny, then get the min value. // 0 -- limit only for pressure and denstiny, then get the min value.