在OpenFOAM中对辐射传输模拟的离散位数方法的优化和并行化:共享和分布式内存方法的层次组合
Jose Moreno-SanSegundo1, Cintia Casado1, David Concha2
1Department of Chemical and Environmental Technology, Universidad Rey Juan Carlos, Móstoles, Madrid, 28933, Spain.
Open research Europe
|August 30, 2023
概括
这项研究优化了OpenFOAM中的离散序列方法 (DOM),减少了75%的内存,并实现了15倍的加速度. 这些进步使复杂的辐射传输模拟更容易获得.
科学领域:
- 计算流体动力学 计算流体动力学
- 辐射传输现象 辐射传输现象
- 数字方法 数字方法.
背景情况:
- 离散序列法 (DOM) 是复杂的辐射传输的内存密集型.
- 开源的CFD平台OpenFOAM面临着DOM内存需求的局限性.
- 高效的辐射传输模拟对于各种科学和工程应用至关重要.
研究的目的:
- 在OpenFOAM中显著减少DOM模拟的内存和计算时间.
- 为了提高辐射传输建模的可扩展性和速度.
- 扩大DOM模拟在复杂场景中的适用性.
主要方法:
- 对辐射源实施了特定的数据结构.
- 优化了流量存储,并为减少内存引入了微小代码修改.
- 开发了一个分层并行化策略,每个节点的多线程.
- 优化关键代码段以提高性能.
主要成果:
- 在DOM模拟中实现了75%的内存需求减少.
- 通过等级并行化和代码优化实现了15x的全球加速度因子.
- 为复杂的辐射传输问题展示了增强的可扩展性.
结论:
- 在OpenFOAM中优化的DOM实现大大降低了计算成本.
- 这些改进使得以前无法实现的复杂辐射传输模拟成为可能.
- 这项研究为辐射传输建模的先进应用开辟了新的途径.
相关概念视频
Maxwell-Boltzmann Distribution: Problem Solving
1.6K
Individual molecules in a gas move in random directions, but a gas containing numerous molecules has a predictable distribution of molecular speeds, which is known as the Maxwell-Boltzmann distribution, f(v).
This distribution function f(v) is defined by saying that the expected number N (v1,v2) of particles with speeds between v1 and v2 is given by
This distribution function f(v) is defined by saying that the expected number N (v1,v2) of particles with speeds between v1 and v2 is given by
1.6K
Radiation Pressure: Problem Solving
394
The radiation pressure applied by an electromagnetic wave on a perfectly absorbing surface equals the energy density of the wave. The wave's momentum also gets transferred to the surface when an electromagnetic wave is entirely absorbed by it. The rate at which momentum is transmitted to an absorbing surface perpendicular to the propagation direction equals the force on the surface.
The average value of the rate of momentum transfer divided by the absorbing area represents the average force...
The average value of the rate of momentum transfer divided by the absorbing area represents the average force...
394
Mechanistic Models: Compartment Models in Algorithms for Numerical Problem Solving
79
Mechanistic models play a crucial role in algorithms for numerical problem-solving, particularly in nonlinear mixed effects modeling (NMEM). These models aim to minimize specific objective functions by evaluating various parameter estimates, leading to the development of systematic algorithms. In some cases, linearization techniques approximate the model using linear equations.
In individual population analyses, different algorithms are employed, such as Cauchy's method, which uses a...
In individual population analyses, different algorithms are employed, such as Cauchy's method, which uses a...
79
Parallel Processing
179
The brain processes sensory information rapidly due to parallel processing, which involves sending data across multiple neural pathways at the same time. This method allows the brain to manage various sensory qualities, such as shapes, colors, movements, and locations, all concurrently. For instance, when observing a forest landscape, the brain simultaneously processes the movement of leaves, the shapes of trees, the depth between them, and the various shades of green. This enables a quick and...
179
Fast Decoupled and DC Powerflow
233
The fast decoupled power flow method addresses contingencies in power system operations, such as generator outages or transmission line failures. This method provides quick power flow solutions, essential for real-time system adjustments. Fast decoupled power flow algorithms simplify the Jacobian matrix by neglecting certain elements, leading to two sets of decoupled equations:
233
Turbulent Flow: Problem Solving
156
Carbonation is a process used to dissolve carbon dioxide gas in a liquid, commonly used in the production of carbonated beverages. Achieving efficient carbonation requires careful control of temperature, pressure, and flow conditions. By adjusting these parameters, carbonation efficiency can be maximized, producing a higher concentration of CO2 in the liquid.
Temperature is a key factor in CO2 solubility. In this case, the CO2 gas and the liquid are cooled to 20°C. Lower temperatures...
Temperature is a key factor in CO2 solubility. In this case, the CO2 gas and the liquid are cooled to 20°C. Lower temperatures...
156


