为了对毒气扩散过程进行及时、有效的模拟,将开源计算流体动力学软件Open FOAM与PISO算法(pressure implicit with splitting of operators,压力隐式算子分割算法)相结合,进行城市街区毒气扩散模拟研究.将SIMPLE(semi-implicit method f...为了对毒气扩散过程进行及时、有效的模拟,将开源计算流体动力学软件Open FOAM与PISO算法(pressure implicit with splitting of operators,压力隐式算子分割算法)相结合,进行城市街区毒气扩散模拟研究.将SIMPLE(semi-implicit method for pressure linked equations,压力耦合方程组的半隐式算法)与PISO算法进行了对比,指出以PISO算法为基础的数值模拟在城市街区这类大范围毒气扩散模拟中具有容差性强、计算较为稳定等优点.以福州大学怡山校区为扩散区虚拟地理环境,选用氯气为假定毒气,利用Open FOAM对氯气的扩散传播过程进行了模拟,并与商用软件FLUENT在相同条件下的ρ(Cl2)模拟结果进行了对比.结果表明,结合PISO算法的Open FOAM能够较好地完成复杂虚拟地理环境下的毒气扩散过程模拟,其ρ(Cl2)模拟结果与FLUENT模拟结果的平均偏差小于5%,但在计算效率上却提高了41.89%.展开更多
A general CFD-PBE(computational fluid dynamics-population balance equation) solver for gas–liquid poly-dispersed flows of both low and high gas volume fractions is developed in OpenFOAM(open-source field operation an...A general CFD-PBE(computational fluid dynamics-population balance equation) solver for gas–liquid poly-dispersed flows of both low and high gas volume fractions is developed in OpenFOAM(open-source field operation and manipulation) in this work. Implementation of this solver in OpenFOAM is illustrated in detail. The PBE is solved with the cell average technique. The coupling between pressure and velocity is dealt with the transient PIMPLE algorithm, which is a merged PISO-SIMPLE(pressure implicit split operator-semi-implicit method for pressure-linked equations) algorithm. Results show generally good agreement with the published experimental data, whereas the modeling precision could be improved further with more sophisticated closure models for interfacial forces, the models for the bubble-induced turbulence and those for bubble coalescence and breakage.The results also indicate that the PBE could be solved out the PIMPLE loop to save much computation time while still preserving the time information on variables. This is important for CFD-PBE modeling of many actual gas–liquid problems, which are commonly high-turbulent flows with intrinsic transient and 3 D characteristics.展开更多
神威太湖之光是最新一期Top500榜单上排名第一的超级计算机,峰值性能为125.4PFlops,其计算能力主要归功于国产SW26010众核处理器。OpenFOAM(Open Source Field Operation and Manipulation)是计算流体力学领域使用最广泛的开源软件包,...神威太湖之光是最新一期Top500榜单上排名第一的超级计算机,峰值性能为125.4PFlops,其计算能力主要归功于国产SW26010众核处理器。OpenFOAM(Open Source Field Operation and Manipulation)是计算流体力学领域使用最广泛的开源软件包,但是由于其基于C++实现,与神威太湖之光上的异构众核处理器SW26010的编译器不兼容,因此无法直接在该架构上有效运行。基于SW26010的主核/从核的体系架构移植了OpenFOAM的核心计算代码,并采用混合语言编程实现的方式来解决编译不兼容的问题。此外,通过寄存器通信、向量化和双缓冲等优化手段,单核组的性能较优化后的主核代码提高了8.03倍,较Intel(R)Xeon(R)CPU E5-2695v3的串行执行性能提高了1.18倍。同时,将单核组的实现扩展到了神威太湖之光的大规模集群上,并进行了强可扩展性测试,256个核组上实现了184.9倍的加速。采用的移植方式和优化手段也可以为其他复杂C++程序在神威太湖之光上的应用提供借鉴。展开更多
In this paper,we present our analysis of the non-cavitating and cavitating unsteady performances of the Potsdam Propeller Test Case(PPTC)in oblique flow.For our calculations,we used the Reynolds-averaged Navier-Stokes...In this paper,we present our analysis of the non-cavitating and cavitating unsteady performances of the Potsdam Propeller Test Case(PPTC)in oblique flow.For our calculations,we used the Reynolds-averaged Navier-Stokes equation(RANSE)solver from the open-source OpenFOAM libraries.We selected the homogeneous mixture approach to solve for multiphase flow with phase change,using the volume of fluid(VoF)approach to solve the multiphase flow and modeling the mass transfer between vapor and water with the Schnerr-Sauer model.Comparing the model results with the experimental measurements collected during the SecondWorkshop on Cavitation and Propeller Performance– SMP’15 enabled our assessment of the reliability of the open-source calculations.Comparisons with the numerical data collected during the workshop enabled further analysis of the reliability of different flow solvers from which we produced an overview of recommended guidelines(mesh arrangements and solver setups)for accurate numerical prediction even in off-design conditions.Lastly,we propose a number of calculations using the boundary element method developed at the University of Genoa for assessing the reliability of this dated but still widely adopted approach for design and optimization in the preliminary stages of very demanding test cases.展开更多
文摘为了对毒气扩散过程进行及时、有效的模拟,将开源计算流体动力学软件Open FOAM与PISO算法(pressure implicit with splitting of operators,压力隐式算子分割算法)相结合,进行城市街区毒气扩散模拟研究.将SIMPLE(semi-implicit method for pressure linked equations,压力耦合方程组的半隐式算法)与PISO算法进行了对比,指出以PISO算法为基础的数值模拟在城市街区这类大范围毒气扩散模拟中具有容差性强、计算较为稳定等优点.以福州大学怡山校区为扩散区虚拟地理环境,选用氯气为假定毒气,利用Open FOAM对氯气的扩散传播过程进行了模拟,并与商用软件FLUENT在相同条件下的ρ(Cl2)模拟结果进行了对比.结果表明,结合PISO算法的Open FOAM能够较好地完成复杂虚拟地理环境下的毒气扩散过程模拟,其ρ(Cl2)模拟结果与FLUENT模拟结果的平均偏差小于5%,但在计算效率上却提高了41.89%.
基金Supported by the National Key Research and Development Program(2016YFB0301702)National Natural Science Foundation of China(21776284,21476236)+1 种基金Key Research Program of Frontier Sciences,CAS(QYZDJ-SSW-JSC030)Jiangsu National Synergetic Innovation Center for Advanced Materials
文摘A general CFD-PBE(computational fluid dynamics-population balance equation) solver for gas–liquid poly-dispersed flows of both low and high gas volume fractions is developed in OpenFOAM(open-source field operation and manipulation) in this work. Implementation of this solver in OpenFOAM is illustrated in detail. The PBE is solved with the cell average technique. The coupling between pressure and velocity is dealt with the transient PIMPLE algorithm, which is a merged PISO-SIMPLE(pressure implicit split operator-semi-implicit method for pressure-linked equations) algorithm. Results show generally good agreement with the published experimental data, whereas the modeling precision could be improved further with more sophisticated closure models for interfacial forces, the models for the bubble-induced turbulence and those for bubble coalescence and breakage.The results also indicate that the PBE could be solved out the PIMPLE loop to save much computation time while still preserving the time information on variables. This is important for CFD-PBE modeling of many actual gas–liquid problems, which are commonly high-turbulent flows with intrinsic transient and 3 D characteristics.
文摘神威太湖之光是最新一期Top500榜单上排名第一的超级计算机,峰值性能为125.4PFlops,其计算能力主要归功于国产SW26010众核处理器。OpenFOAM(Open Source Field Operation and Manipulation)是计算流体力学领域使用最广泛的开源软件包,但是由于其基于C++实现,与神威太湖之光上的异构众核处理器SW26010的编译器不兼容,因此无法直接在该架构上有效运行。基于SW26010的主核/从核的体系架构移植了OpenFOAM的核心计算代码,并采用混合语言编程实现的方式来解决编译不兼容的问题。此外,通过寄存器通信、向量化和双缓冲等优化手段,单核组的性能较优化后的主核代码提高了8.03倍,较Intel(R)Xeon(R)CPU E5-2695v3的串行执行性能提高了1.18倍。同时,将单核组的实现扩展到了神威太湖之光的大规模集群上,并进行了强可扩展性测试,256个核组上实现了184.9倍的加速。采用的移植方式和优化手段也可以为其他复杂C++程序在神威太湖之光上的应用提供借鉴。
文摘In this paper,we present our analysis of the non-cavitating and cavitating unsteady performances of the Potsdam Propeller Test Case(PPTC)in oblique flow.For our calculations,we used the Reynolds-averaged Navier-Stokes equation(RANSE)solver from the open-source OpenFOAM libraries.We selected the homogeneous mixture approach to solve for multiphase flow with phase change,using the volume of fluid(VoF)approach to solve the multiphase flow and modeling the mass transfer between vapor and water with the Schnerr-Sauer model.Comparing the model results with the experimental measurements collected during the SecondWorkshop on Cavitation and Propeller Performance– SMP’15 enabled our assessment of the reliability of the open-source calculations.Comparisons with the numerical data collected during the workshop enabled further analysis of the reliability of different flow solvers from which we produced an overview of recommended guidelines(mesh arrangements and solver setups)for accurate numerical prediction even in off-design conditions.Lastly,we propose a number of calculations using the boundary element method developed at the University of Genoa for assessing the reliability of this dated but still widely adopted approach for design and optimization in the preliminary stages of very demanding test cases.