TL;DR
Nektar++ version 5.0 significantly enhances its open-source spectral/hp element method framework, making high-fidelity simulations more accessible and efficient. This release introduces new features for meshing, solvers for aeroacoustics and fluid-structure interaction, improved parallel I/O, in-situ processing, and a user-friendly Python interface, all while maintaining high performance on modern hardware.
What Problem Does This Paper Address?
High-order spectral/hp element methods offer superior accuracy and efficiency for simulating complex physical phenomena, particularly in fluid dynamics. However, their implementation is notoriously challenging, creating a barrier for researchers and engineers who are not specialists in numerical methods. This gap limits the adoption of these powerful techniques. Nektar++ aims to bridge this divide by providing a flexible, high-performance, and scalable platform that simplifies the development and application of these methods, allowing users to focus on the physics rather than the intricate details of the numerical implementation.
Methods
Nektar++ version 5.0 introduces several key developments:
- Software and Performance Enhancements:
- Parallel I/O: A new HDF5-based format for mesh and field data significantly speeds up parallel I/O operations, overcoming bottlenecks associated with traditional XML formats, especially on large HPC systems.
- In-situ Processing: Integration with the FieldConvert utility allows for post-processing of simulation data during runtime, reducing storage requirements and enabling complex global operations that would otherwise be memory-prohibitive.
- Collective Linear Algebra Operations: The new
Collectionslibrary optimizes linear algebra kernels by grouping similar elements, leveraging techniques like sum-factorization and autotuning to adapt to different hardware and problem sizes. - Solver Coupling: An interface using the CWIPI library enables co-simulation between Nektar++ and other solvers, facilitating multi-physics problems.
- Python Interface: A comprehensive Python API, built using Boost.Python, simplifies user interaction, lowers the barrier to entry for new users, and allows seamless integration with Python's scientific ecosystem (e.g., NumPy).
- Numerical Method Developments:
- Method of Moving Frames (MMF): A novel scheme for solving PDEs on embedded curvilinear manifolds and domains, offering accurate solutions on complex surfaces without metric tensors.
- Spatially Variable Polynomial Order: An adaptive procedure that adjusts polynomial order locally based on an error indicator, allowing for efficient refinement in critical regions without uniform high-order discretization.
- Global Mapping: A technique to transform problems into a more convenient coordinate system, enabling efficient quasi-3D simulations and handling of moving boundaries.
- Application-Level Features:
- NekMesh: A new tool for generating high-order curvilinear meshes from CAD geometries, employing an a posteriori approach and offering advanced mesh optimization.
- AcousticSolver: A new solver for aeroacoustic problems, implementing linearized Euler equations and acoustic perturbation equations for accurate noise simulation.
- 'Thick' Strip Model: A novel approach for fluid-structure interaction (FSI) problems, particularly for vortex-induced vibrations (VIV) of long flexible bodies, combining 3D DNS models for individual strips with implicit coupling.
Datasets
Not discussed in the paper. The paper focuses on the software framework and its capabilities, demonstrating its use with various simulation examples rather than specific datasets for training or evaluation.
Key Insights and Ideas
- Democratizing High-Fidelity Simulation: The overarching theme is making advanced spectral/hp element methods more accessible. The Python interface and improved documentation are crucial for this.
- Performance on Modern Hardware: Significant effort has gone into optimizing for current HPC architectures, particularly through the
Collectionslibrary and efficient parallel I/O, addressing memory bandwidth limitations. - Handling Complex Geometries: The development of NekMesh and the Method of Moving Frames directly tackles the challenge of simulating physics on intricate, curved surfaces and domains.
- Multi-Physics and Multi-Solver Coupling: The ability to seamlessly integrate Nektar++ with other solvers opens doors for tackling more complex, real-world problems that involve interactions between different physical phenomena.
- Adaptive Methods for Efficiency: Spatially variable polynomial order and the 'thick' strip model for FSI highlight the trend towards adaptive and reduced-order modeling to achieve computational efficiency without sacrificing accuracy in critical areas.
Key Results
- Performance Gains: The HDF5 parallel I/O format is reported to be significantly faster than the previous XML format, with execution times remaining roughly constant as the number of processes increases.
- Accuracy and Stability: The AcousticSolver demonstrates excellent agreement with analytical solutions for the spinning vortex pair problem, even with a significantly reduced number of degrees of freedom compared to previous methods.
- Efficiency of Adaptive Methods: The adaptive polynomial order procedure successfully refines discretizations in critical regions (e.g., boundary layers) while using lower orders elsewhere, leading to significant computational cost savings.
- Robustness in Complex Scenarios: The 'thick' strip model for VIV successfully captures turbulent structures and demonstrates the advantage of highly-resolved descriptions in FSI. The CompressibleFlowSolver is validated for shock-wave boundary layer interactions.
Limitations and Future Work
- Limitations:
- The paper notes that the global mapping technique for wavy wings can become unstable if the waviness amplitude is too large.
- The 'thick' strip model for FSI assumes homogeneity in the spanwise direction, which is valid for strips much shorter than the oscillation wavelength.
- The paper acknowledges that the efficient use of many-core CPU and GPU systems remains a significant challenge.
- Future Work:
- Continued focus on optimizing for many-core CPU and GPU systems, potentially through matrix-free methods and performance-portable programming models.
- Further development of efficient operators for the spectral/hp element method while maintaining ease of use.
- Expanding the application areas and solver capabilities based on the new framework features.
Summary updated