Repository navigation
UCNS3D 4.0
UCNS3D 4.0 is a major release of the solver, introducing a new performance-portable code architecture with GPU acceleration support while preserving the high-order unstructured CFD capabilities of the existing CPU code.
This release represents a substantial restructuring of the solver internals to target modern heterogeneous HPC systems. The codebase has been reorganised to support both traditional MPI/OpenMP CPU execution and accelerator-enabled execution through an OpenMP target/XPU path.
Major new functionality
- GPU acceleration support for selected high-order finite-volume workflows.
- New OpenMP target/XPU execution path for accelerator-capable systems.
- Reworked compute kernels for improved portability across CPU and GPU architectures.
- Improved organisation of the main computational stages, including reconstruction, flux evaluation, residual/update operations, and halo/boundary communication.
- Support for multi-node CPU execution and GPU-enabled execution from the same solver framework.
- Updated build infrastructure and compiler options for accelerator-aware compilation.
- Improved memory layout and data-movement structure for modern HPC platforms.
- Continued support for high-order unstructured simulations on mixed-element meshes.
Performance and portability improvements
- Reduced dependency on architecture-specific assumptions in core numerical kernels.
- Further simplification and consolidation of duplicated 2D/3D logic.
- Improved stack/heap memory usage for large-scale runs.
- Cleaner separation of computation and communication phases.
- Portability-oriented replacement or removal of routines that inhibit accelerator compilation.
- Improved compatibility with modern compiler toolchains used on CPU and GPU HPC systems.
Numerical methods and solver capabilities
UCNS3D 4.0 retains the established high-order finite-volume functionality of previous releases, including:
- MUSCL, WENO, CWENO, ADDA, and MOOD-type high-order reconstruction workflows.
- Compressible inviscid and viscous flow simulations on unstructured meshes.
- MPI/OpenMP parallel execution for distributed-memory CPU systems.
- Existing turbulence, boundary-condition, and post-processing workflows where supported by the selected build path.
The GPU path is introduced as part of this release and will continue to expand in future versions. Users are encouraged to validate their particular physics model, reconstruction option, and compiler/backend combination before production use.
Bug fixes and robustness improvements
- Fixes and cleanups related to compiler portability.
- Improved consistency between CPU and accelerator-oriented execution paths.
- Corrections in reconstruction, limiting, and gradient-related workflows.
- Improved treatment of memory allocation and data mapping for accelerator builds.
- General code clean-up following the v3.x optimisation releases.
Notes for users
This is a major release and users should perform a clean rebuild before running existing cases.
For CPU-only workflows, the code should remain familiar to existing UCNS3D users. For GPU-enabled workflows, users should check the relevant compiler options, OpenMP target support, and case-specific build parameters before running production simulations.
Please report issues, compiler-specific problems, or validation differences through the GitHub issue tracker.