OpenFOAM

OpenFOAM 2.1.0官方版本发布

Posted by on 12/21/2011 in OpenFOAM | 1 comment

时隔半年,在被SGI收购后,现归属SGI/OpenCFD的OpenFOAM小组在2012年12月19日在其官方网站发布了最近的OpenFOAM 2.1.0官方版本。相关信息请参见OpenFOAM官方网站www.openfoam.com。新版OpenFOAM增加了一些新的功能: 任意网格交界面(AMI) 在新版本中采用了全新的可并行的任意网格交界面 (或称“GGI”),可以在模拟中采用滑移交界面和和非连通边界。适用于旋转体几何 (如旋转机械) ,因此方便用户在周期性边界中使用及在不同网格间区域中得耦合计算(如表面膜和体内部流动)。 更多… 多相流模型 发行版包括:...

Read More

OpenFOAM代码优化

Posted by on 12/3/2011 in OpenFOAM | 1 comment

Why: Profiling allows you to learn where your program spent its time and which functions called which other functions while it was executing. This information can show you which pieces of your program are slower than you expected, and might be candidates for rewriting to make your program execute faster. It can also tell you which functions are being called more or less often than you expected. This may help you spot bugs that had otherwise been unnoticed. How: You can use gprof in Linux. For OpenFOAM, Add an environmental variable in the .bashrc (or .cshrc) file:  export WM_COMPILE_OPTION=Prof Source the .bashrc file and recompile the OpenFOAM. Then, you will find...

Read More

OpenFOAM on BlueGene/P

Posted by on 12/3/2011 in OpenFOAM | 0 comments

I am working with the OpenFOAM (OF) 1.5.x on the supercomputer BlueGene/P (BGP). Just as a friend in EPFL Switzerland said, compiling OF on the BGP with the local compilers is nightmare. However, I have done. Some notes: Generally speaking, cross-compiling is needed because the login nodes of the BGP are 64bits, whereas the computing nodes are 32bits; Besides the normal settings (bashrc, setting.sh) OF ask us to do on other system, some other settings are needed; The make rules of c, c++ and general in the directory wmake/rules/linuxPPC64Gcc should be changed when one compile the libraries. The “options” files in...

Read More

ParaView 3.8.0 含Python和batch模式以及MPI的编译安装

Posted by on 12/1/2011 in OpenFOAM, ParaView | 2 comments

ParaView 3.8.0 含Python和batch模式以及MPI的编译安装

OpenFOAM里自带的ParaView是不支持Python脚本的,不易于做一些重复性的后处理工作,实际上ParaView是支持Python的,如果熟悉Python的朋友可以借鉴ParaView的相关资料写出Python程序, 不太熟悉的也没关系,ParaView3.8.0 可以支持记录宏的方式把你的操作记录下来变成Python脚本,这样下次在做类似的工作时,只需要简单调整一下脚本就好用咯! 此外ParaView还支持MPI并行方式进行后处理.但这些功能在OpenFOAM所带的包里并包含.那么可以通过下载ParaView官方预编译包,以及自己编译的方式增加这些功能.     1...

Read More

在OpenFOAM里创建V2f湍流模型

Posted by on 12/1/2011 in OpenFOAM | 2 comments

在OpenFOAM里创建V2f湍流模型

湍流是流体力学领域一个重要的研究方向。工程界的湍流计算也是极为热门。许多从事复杂湍流问题计算的工程师和研究人员苦于商业软件里湍流模型太少,想要实现一些新模型或者对原始模型进行修正时又限制重重而无从下手,OpenFOAM则是一个很好的开放平台,为复杂湍流问题的计算提供了更为自由的使用方法。 OpenFOAM...

Read More

领先一步的基于GPU的CFD技术

Posted by on 12/1/2011 in OpenFOAM, 解决方案 | 0 comments

领先一步的基于GPU的CFD技术

...

Read More