SearcharxivSearch

arXiv subjects

Wei Huayi

Publications and source records attributed to Wei Huayi.

3 recordsLinked to original sources

A High-Performance, Cross-Platform Open-Source Solver for the Incompressible Navier-Stokes Equations in FEALPy

To address the dual challenges of performance portability across heterogeneous hardware and the high usability barriers of conventional computational fluid dynamics (CFD) software, this paper introduces FEALPy.CFD, a high performance, open-source solver for the incompressible Navier-Stokes equations developed within the FEALPy framework. The solver's core innovation is its backend-agnostic design, which supports multiple computational backends like NumPy, PyTorch, and JAX to enable seamless switching between CPU and GPU computations with minimal code modification, thereby maximizing hardware utilization and code portability. Its highly modular architecture provides a library of composable components for various spatial discretization schemes, greatly simplifying the development and integration of new algorithms.Validation on benchmark cases confirms that the implemented numerical schemes achieve their theoretical orders of convergence. Furthermore, the capability to select a suitable backend architecture for different computational tasks fully leverages the hardware's potential, delivering substantial efficiency gains. By lowering the technical barrier to high-performance, cross-platform fluid dynamics simulation, FEALPy.CFD offers a powerful and accessible tool for academic research, engineering applications, and reproducible computational science.

physics.flu-dyn

Adaptive Finite Element Method for Phase Field Fracture Models Based on Recovery Error Estimates

The phase field model is a widely used mathematical approach for describing crack propagation in continuum damage fractures. In the context of phase field fracture simulations, adaptive finite element methods (AFEM) are often employed to address the mesh size dependency of the model. However, existing AFEM approaches for this application frequently rely on heuristic adjustments and empirical parameters for mesh refinement. In this paper, we introduce an adaptive finite element method based on a recovery type posteriori error estimates approach grounded in theoretical analysis. This method transforms the gradient of the numerical solution into a smoother function space, using the difference between the recovered gradient and the original numerical gradient as an error indicator for adaptive mesh refinement. This enables the automatic capture of crack propagation directions without the need for empirical parameters. We have implemented this adaptive method for the Hybrid formulation of the phase field model using the open-source software package FEALPy. The accuracy and efficiency of the proposed approach are demonstrated through simulations of classical 2D and 3D brittle fracture examples, validating the robustness and effectiveness of our implementation.

math.NA

High-Order Interior Penalty Finite Element Methods for Fourth-Order Phase-Field Models in Fracture Analysis

This paper presents a novel approach for solving fourth-order phase-field models in brittle fracture mechanics using the Interior Penalty Finite Element Method (IP-FEM). The fourth-order model improves numerical stability and accuracy compared to traditional second-order phase-field models, particularly when simulating complex crack paths. The IP-FEM provides an efficient framework for discretizing these models, effectively handling nonconforming trial functions and complex boundary conditions. In this study, we leverage the FEALPy framework to implement a flexible computational tool that supports high-order IP-FEM discretizations. Our results show that as the polynomial order increases, the mesh dependence of the phase-field model decreases, offering improved accuracy and faster convergence. Additionally, we explore the trade-offs between computational cost and accuracy with varying polynomial orders and mesh sizes. The findings offer valuable insights for optimizing numerical simulations of brittle fracture in practical engineering applications.

math.NA