sampleDict 是否可以切取圆柱面采集数据?
- 
							
							
							
							
各位好! 我现在在尝试着使用OpenFOAM切取一个圆环面上的数据。我看sampleDict中有一项功能是: distance { // Isosurface from signed/unsigned distance to surface type distanceSurface; signed true; // Definition of surface surfaceType triSurfaceMesh; surfaceName integrationPlane.stl; // Distance to surface distance 0.0; interpolate false; regularise false; // Optional: do not simplify // mergeTol 1e-10; // Optional: fraction of mesh bounding box // to merge points (default=1e-6) }不知道如何使用,是否有朋友使用过这个功能? 谢谢! 
- 
							
							
							
							
@qjh888 
 给你翻译一下:triSurfaceSampling { // Sampling on triSurface type sampledTriSurfaceMesh; surface integrationPlane.stl;//定义你的圆环面在这里 source cells; // 提取网格数据 interpolate true; }:expressionless: 
 https://github.com/OpenFOAM/OpenFOAM-2.1.x/blob/master/applications/utilities/postProcessing/sampling/sample/sampleDict
- 
							
							
							
							
或许可以等计算完成之后,用ParaVIEW后处理: Filter -> PlotOnIntersectionCurve 我做圆柱界面的压力分布历史就用的这个功能。 
- 
							
							
							
							
@random_ran 
 谢谢,不过我需要大量的切面,所以只能用编程来实现…
- 
							
							
							
							
谢谢! 
 我研究一下,然后反馈
 
			
