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).
师兄师姐们,请问有哪位知道我怎样能把openfoam有限体积法计算保存在体心的数据的对应坐标导出来吗?? 多谢
输出(write)网格坐标:mesh.c()即可
write
mesh.c()
您好!请问,openfoam如何输出体心的坐标,可以选择性的输出比如只输出壁面上的网格中心坐标吗?
const fvPatchList& patches = mesh.boundary(); forAll(patches, patch) { Info << patches[patch].name() << nl; const fvPatch& currPatch = patches[patch]; forAll(currPatch, face) { Info << abs_[0].boundaryField()[patch][face].Cf() << nl; } }