SearcharxivSearch

arXiv subjects

Huayi Wei

Publications and source records attributed to Huayi Wei.

14 recordsLinked to original sources

A Unified Variational Functional for Equidistribution and Alignment in Moving Mesh Adaptation

Existing variational mesh functionals often suffer from strong nonlinearity or dependence on empirical parameters.We propose a new variational functional for adaptive moving mesh generation that enforces equidistribution and alignment through an $\boldsymbol A$-pullback formulation, where $\boldsymbol A=\boldsymbol J^{-1}\boldsymbol M^{-1}\boldsymbol J^{-T}$. The functional combines a trace-based term with a logarithmic determinant term, achieving balanced control of mesh size and anisotropy without empirical parameters. We establish coercivity, polyconvexity, existence of minimizers, and geodesic convexity with respect to the inverse Jacobian, and derive a simplified geometric discretization leading to an efficient moving mesh algorithm. Numerical experiments confirm the theoretical properties and demonstrate robust adaptive behavior for function-induced meshes and Rayleigh-Taylor instability simulations.

math.NA

FEALPy: A Cross-platform Intelligent Numerical Simulation Engine

In resent years, the software ecosystem for numerical simulation still remains fragmented, with different algorithms and discretization methods often implemented in isolation, each with distinct data structures and programming conventions. This fragmentation is compounded by the growing divide between packages from different research fields and the lack of a unified, universal data structure, hindering the development of integrated, cross-platform solutions. In this work, we introduce FEALPy, a numerical simulation engine built around a unified tensor abstraction layer in a modular design. It enables seamless integration between diverse numerical methods along with deep learning workflows. By supporting multiple computational backends such as NumPy, PyTorch, and JAX, FEALPy ensures consistent adaptability across CPU and GPU hardware systems. Its modular architecture facilitates the entire simulation pipeline, from mesh handling and assembly to solver execution, with built-in support for automatic differentiation. In this paper, the versatility and efficacy of the framework are demonstrated through applications spanning linear elasticity, high-order PDEs, moving mesh methods, inverse problems and path planning.

math.NA

Implementation and Basis Construction for Smooth Finite Element Spaces

The construction of $C^m$ conforming finite elements on simplicial meshes has recently advanced through the groundbreaking work of Hu, Lin, and Wu (Found. Comput. Math. 24, 2024). Their framework characterizes smoothness via moments of normal derivatives over subsimplices, leading to explicit degrees of freedom and unisolvence, unifying earlier constructions. However, the absence of explicit basis functions has left these spaces largely inaccessible for practical computation. In parallel, multivariate spline theory (Chui and Lai, J. Approx. Theory 60, 1990) enforces $C^m$ smoothness through linear constraints on Bernstein--Bézier coefficients, but stable, locally supported bases remain elusive beyond low dimensions. Building on the geometric decomposition of the simplicial lattice proposed by Chen and Huang (Math. Comp. 93, 2024), this work develops an explicit, computable framework for smooth finite elements. The degrees of freedom defined by moments of normal derivatives are modified to align with the dual basis of the Bernstein polynomials, yielding structured local bases on each simplex. Explicit basis construction is essential not merely for completeness, but for enabling efficient matrix assembly, global continuity, and scalable solution of high-order elliptic partial differential equations. This development closes the gap between theoretical existence and practical realization, making smooth finite element methods accessible to broad computational applications.

math.NA

Global Energy Minimization for Simplex Mesh Optimization: A Radius Ratio Approach to Sliver Elimination

This paper constructs an energy function for simplex mesh based on the radius ratio and develops a corresponding mesh optimization method. The method combines vertex relocation and connectivity improvement, and can effectively remove slivers and improve the overall mesh quality. Based on the structure of the gradient of the energy function, we design a preconditioner, which reduces the number of iterations and improves the efficiency of the optimization algorithm. Numerical experiments show that the proposed method is effective in both sliver removal and mesh quality improvement.

math.NA

SOPTX: A High-Performance Multi-Backend Framework for Topology Optimization

In recent years, topology optimization (TO) has gained widespread attention as a powerful structural design method. However, its application remains challenging due to the deep expertise and extensive development effort required. Traditional TO methods, tightly coupled with computational mechanics like finite element method (FEM), result in intrusive algorithms demanding a comprehensive system understanding. This paper presents SOPTX, a TO package based on FEALPy, which implements a modular architecture that decouples analysis from optimization, supports multiple computational backends (NumPy, PyTorch, JAX), and achieves a non-intrusive design paradigm. Core innovations include: (1) cross-platform design that supports multiple computational backends, enabling efficient algorithm execution on central processing units (CPUs) and flexible acceleration using graphics processing units (GPUs), while leveraging automatic differentiation (AD) technology for efficient sensitivity computation of objective and constraint functions; (2) fast matrix assembly techniques that overcome the performance bottlenecks of traditional numerical integration methods, significantly accelerating finite element computations and enhancing overall efficiency; (3) a modular framework supporting TO problems for arbitrary dimensions and meshes, allowing flexible configuration and extensibility of optimization workflows through a rich library of composable components. Using the density-based method for the classic compliance minimization problem with volume constraints as an example, numerical experiments demonstrate SOPTX's high efficiency in computational speed and memory usage, while showcasing its strong potential for research and engineering applications.

math.AP

Solver-in-the-Loop joint operator learning: fractional Laplace-Beltrami features for interface reconstruction

In this work, we propose a joint operator learning method for reconstructing images of conductivity coefficients from boundary data. Inspired by the idea of employing partial differential equation (PDE) solvers as preconditioners for this inverse problem, we investigate a ``solver-in-the-loop'' training mechanism. It allows the interaction of learnable parameters integrated in a PDE solver module and those in neural networks for reconstructing images. Specifically, we employ a fractional Laplace-Beltrami operator with a learnable fractional order, which transforms boundary data into high-dimensional features. These features then serve as input to a neural network, significantly improving reconstruction accuracy. For this purpose, a Learning-Automated FEM (LA-FEM) package, facilitating this ``solver-in-the-loop'' property, is developed with PyTorch as a backend. The new LA-FEM module conveniently allows the auto-differentiation regarding an objective function to freely propagate through the PDE solver from the forward problem and the coupled neural networks for the inverse problem.

math.NA

Geometric Decomposition and Efficient Implementation of High Order Face and Edge Elements

This study investigates high-order face and edge elements in finite element methods, with a focus on their geometric attributes, indexing management, and practical application. The exposition begins by a geometric decomposition of Lagrange finite elements, setting the foundation for further analysis. The discussion then extends to $H(\rm{div})$-conforming and $H(\rm{curl})$-conforming finite element spaces, adopting variable frames across differing sub-simplices. The imposition of tangential or normal continuity is achieved through the strategic selection of corresponding bases. The paper concludes with a focus on efficient indexing management strategies for degrees of freedom, offering practical guidance to researchers and engineers. It serves as a comprehensive resource that bridges the gap between theory and practice.

math.NA

Virtual Element Methods Without Extrinsic Stabilization

Virtual element methods (VEMs) without extrinsic stabilization in arbitrary degree of polynomial are developed for second order elliptic problems, including a nonconforming VEM and a conforming VEM in arbitrary dimension. The key is to construct local $H(\textrm{div})$-conforming macro finite element spaces such that the associated $L^2$ projection of the gradient of virtual element functions is computable, and the $L^2$ projector has a uniform lower bound on the gradient of virtual element function spaces in $L^2$ norm. Optimal error estimates are derived for these VEMs. Numerical experiments are provided to test the VEMs without extrinsic stabilization.

math.NA

Anisotropic analysis of VEM for time-harmonic Maxwell equations in inhomogeneous media with low regularity

It has been extensively studied in the literature that solving Maxwell equations is very sensitive to the mesh structure, space conformity and solution regularity. Roughly speaking, for almost all the methods in the literature, optimal convergence for low-regularity solutions heavily relies on conforming spaces and highly-regular simplicial meshes. This can be a significant limitation for many popular methods based on polytopal meshes in the case of inhomogeneous media, as the discontinuity of electromagnetic parameters can lead to quite low regularity of solutions near media interfaces, and potentially worsened by geometric singularities, making many popular methods based on broken spaces, non-conforming or polytopal meshes particularly challenging to apply. In this article, we present a virtual element method for solving an indefinite time-harmonic Maxwell equation in 2D inhomogeneous media with quite arbitrary polytopal meshes, and the media interface is allowed to have geometric singularity to cause low regularity. There are two key novelties: (i) the proposed method is theoretically guaranteed to achieve robust optimal convergence for solutions with merely $\mathbf{H}^θ$ regularity, $θ\in(1/2,1]$; (ii) the polytopal element shape can be highly anisotropic and shrinking, and an explicit formula is established to describe the relationship between the shape regularity and solution regularity. Extensive numerical experiments will be given to demonstrate the effectiveness of the proposed method.

math.NA

An adaptive high-order surface finite element method for the self-consistent field theory on general curved surfaces

In this paper, we develop an adaptive high-order surface finite element method (FEM) incorporating the spectral deferred correction method for chain contour discretization to solve polymeric self-consistent field equations on general curved surfaces. The high-order surface FEM is obtained by the high-order surface geometrical approximation and the high-order function space approximation. Numerical results demonstrate that the precision order of these methods is consistent with the theoretical prediction. In order to describe the sharp interface in the strongly segregated system more accurately, an adaptive FEM equipped with a new Log marking strategy is proposed. Compared with the traditional strategy, the Log marking strategy can not only label the elements that need to be refined or coarsened, but also give the refined or coarsened times, which can make full use of the information of a posterior error estimator and improve the ecciency of the adaptive algorithm. To demonstrate the power of our approach, we investigate the self-assembled patterns of diblock copolymers on several distinct curved surfaces. Numerical results illustrate the ecciency of the proposed method, especially for strongly segregated systems with economical discretization nodes.

math.NA

An adaptive virtual element method for the polymer self-consistent field theory

In this paper, we develop a high-order adaptive virtual element method (VEM) to simulate the self-consistent field theory (SCFT) model in arbitrary domains. The VEM is very flexible in handling general polygon elements and can treat hanging nodes as polygon vertices without additional processing. Besides, to effectively simulate the phase separation behavior in strong segregation systems, an adaptive method on polygonal mesh equipped with a new marking strategy is developed. This new marking strategy will indicate the times of marked elements to be refined and coarsened, making full use of the information contained in the current numerical results. Using the halfedge data structure, we can apply the adaptive method to the arbitrary polygonal mesh. Numerical results demonstrate that the developed method is efficient in simulating polymers' phase behavior in complex geometric domains. The accuracy is consistent with theoretical results. The adaptive method can greatly reduce computational costs to obtain prescribed numerical accuracy for strong segregation systems.

math.NA

Piecewise Divergence-Free Nonconforming Virtual Elements for Stokes Problem in Any Dimensions

Piecewise divergence-free nonconforming virtual elements are designed for Stokes problem in any dimensions. After introducing a local energy projector based on the Stokes problem and the stabilization, a divergence-free nonconforming virtual element method is proposed for Stokes problem. A detailed and rigorous error analysis is presented for the discrete method. An important property in the analysis is that the local energy projector commutes with the divergence operator. With the help of a divergence-free interpolation operator onto a generalized Raviart-Thomas element space, a pressure-robust nonconforming virtual element method is developed by simply modifying the right hand side of the previous discretization. A reduced virtual element method is also discussed. Numerical results are provided to verify the theoretical convergence.

math.NA

A finite element method of the self-consistent field theory on general curved surfaces

Block copolymers provide a wonderful platform in studying the soft condensed matter systems. Many fascinating ordered structures have been discovered in bulk and confined systems. Among various theories, the self-consistent field theory (SCFT) has been proven to be a powerful tool for studying the equilibrium ordered structures. Many numerical methods have been developed to solve the SCFT model. However, most of these focus on the bulk systems, and little work on the confined systems, especially on general curved surfaces. In this work, we developed a linear surface finite element method, which has a rigorous mathematical theory to guarantee numerical precsion, to study the self-assembled phases of block copolymers on general curved surfaces based on the SCFT. Furthermore, to capture the consistent surface for a given self-assembled pattern, an adaptive approach to optimize the size of the general curved surface has been proposed. To demonstrate the power of this approach, we investigate the self-assembled patterns of diblock copolymers on several distinct curved surfaces, including five closed surfaces and an unclosed surface. Numerical results illustrate the efficiency of the proposed method. The obtained ordered structures are consistent with the previous results on standard surfaces, such as sphere and torus. Certainly, the proposed numerical framework has the capability of studying the phase behaviors on general surfaces precisely.

cond-mat.soft

Recovery based finite element method for biharmonic equation in two dimensional

We design and numerically validate a recovery based linear finite element method for solving the biharmonic equation. The main idea is to replace the gradient operator $\nabla$ on linear finite element space by $G(\nabla)$ in the weak formulation of the biharmonic equation, where $G$ is the recovery operator which recovers the piecewise constant function into the linear finite element space. By operator $G$, Laplace operator $\Delta$ is replaced by $\nabla\cdot G(\nabla)$. Furthermore the boundary condition on normal derivative $\nabla u\cdot \pmb{n}$ is treated by the boundary penalty method. The explicit matrix expression of the proposed method is also introduced. Numerical examples on uniform and adaptive meshes are presented to illustrate the correctness and effectiveness of the proposed method.

math.NA