美文网首页
OpenFOAM提取单元中心坐标教程

OpenFOAM提取单元中心坐标教程

作者: jing131313 | 来源:发表于2018-12-18 15:03 被阅读0次

1、安装后处理工具cellcenters

在终端中输入:

mkdir -p WM_PROJECT_USER_DIR/applications/utilities/postProcessing/miscellaneous
cd $WM_PROJECT_USER_DIR/applications/utilities/postProcessing/miscellaneous
git clone https://peterjvonk@bitbucket.org/peterjvonk/cellcenters.git cellCenters
cd cellCenters
wmake

2、使用说明

cellCenters -help

查看帮助说明

cellCenters -latestTime

只提取最后时刻的单元中心坐标

mpirun -np <number of processors> cellCenters -parallel

并行提取所有时刻单元中心坐标
输出文件存储路径和每个时刻的速度文件路径相同。

参考资料:https://bitbucket.org/peterjvonk/cellcenters

相关文章

网友评论

      本文标题:OpenFOAM提取单元中心坐标教程

      本文链接:https://www.haomeiwen.com/subject/wtklkqtx.html