用sample提取水槽底部的壁面切应力失败
-
在controlDict中使用#includeFunc wallShearStress就可以得到wallShearStress的场数据,应该不是东岳老师说的那个原因。
wallShearStress只在边界的patch上面有数据,提取一条线的数据容易选到没有数据的内部网格上?所以没有文件输出吧。
用surfaces提取面上的数据好了#includeEtc "caseDicts/postProcessing/visualization/surfaces.cfg" fields (wallShearStress); surfaces ( bottomWall { type patch; patches ("bottomWall"); interpolate false; invariant true; // Unaffected by mesh motion surfaceFormat foam; //ensight vtk foam } )
-
@学流体的小明 在 用sample提取水槽底部的壁面切应力失败 中说:
在controlDict中使用#includeFunc wallShearStress就可以得到wallShearStress的场数据,应该不是东岳老师说的那个原因。
wallShearStress只在边界的patch上面有数据,提取一条线的数据容易选到没有数据的内部网格上?所以没有文件输出吧。
用surfaces提取面上的数据好了#includeEtc "caseDicts/postProcessing/visualization/surfaces.cfg" fields (wallShearStress); surfaces ( bottomWall { type patch; patches ("bottomWall"); interpolate false; invariant true; // Unaffected by mesh motion surfaceFormat foam; //ensight vtk foam } )
谢谢大佬,这么提取了之后有办法用tecplot后处理吗