Virtual domain extension for imposing boundary conditions in flow simulation using pre-trained local neural operator
Ximeng Ye, Hongyu Li, Zhen-Guo Yan
TL;DR
The paper tackles the challenge of reusing a pre-trained local neural operator (LNO) for flow predictions across varying boundary conditions by introducing Virtual Domain Extension (VDE). VDE treats BC imposition as determining values on an extended region beyond the physical domain, leveraging the LNO’s inherent domain corrosion to encode boundary information. It proposes three BC-imposition strategies for non-extendable BCs (direct imposition, pressure symmetry, and backpropagation-based optimization) and shows that the synchronous optimization approach delivers the most accurate predictions across test cases, while extendable BCs are handled via padding. Numerical results for Poiseuille flow, flow around a cylinder, and flow around a vehicle demonstrate substantial improvements in boundary accuracy and overall flow fields when using optimization-based BC imposition, validating VDE as a practical pathway to reuse pre-trained LNOs in diverse CFD applications. The work thus provides a general framework to reliably impose BCs in LNO-based flow predictions and points to future enhancements in LNO accuracy and BC generalization, with code available for reproducibility.
Abstract
This paper builds up a virtual domain extension (VDE) framework for imposing boundary conditions (BCs) in flow simulation using pre-trained local neural operator (LNO). It creates extended virtual domains to the input function to compensate for the corrosion nature of computational domains during LNO inference, thus turns the implementation of BC into the determination of field values on the extended domain. Several strategies to calculate the field values are proposed and validated in solving numerical examples, including padding operation, direct imposition, pressure symmetry, and optimization by backpropagation, and compared with boundary imposition in traditional solvers. It is found that the large time interval of LNO induces a relatively wide near-boundary domain to be processed, thus imposing BC on only a few nodes near the boundary following the immersed boundary conception in traditional solvers can hardly achieve high accuracy. With appropriate values assigned on the extended virtual domains, VDE can accurately impose BCs and lead to reasonable flow field predictions. This work provides a guidance for imposing BCs reliably in LNO prediction, which could facilitate the reuse of pre-trained LNO in more applications.
