Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
请问paraview能够统计网格数吗?比如液相体积分数在0.5-0.6的网格数有多少。或者其它软件或者程序能够计算出来的方法,有了解的大神指点下,谢谢。
@zwl 可以在主程序里面对mesh的每个cell遍历每个时间步都打印出来:
label count=0; forAll(mesh.cells(),celli) { if((surfacemin< alpha1[celli]) && (alpha1[celli] <surfacemax)) { count++; } }
也可以在matlab或者python中处理
@yfclark 非常感谢。
感谢分享
edit -> find data 如果数据只在网格或者点,可以先用filter point data to cell 或者cell data to point筛一下。