SearcharxivSearch

arXiv subjects

Jiawang Zhang

Publications and source records attributed to Jiawang Zhang.

4 recordsLinked to original sources

A well-balanced weakly compressible SPH formulation for free-surface flows and its GPU implementation

This study proposes a well-balanced formulation of weakly compressible smoothed particle hydrodynamics (WCSPH) for free-surface flows, which preserves hydrostatic equilibrium exactly at the discrete level--a property essential for reliable long-term simulations. Although well-balanced schemes are well established for mesh-based methods, the property remains largely unaddressed in WCSPH, where the particle approximation of the pressure gradient fails to balance the gravitational force exactly. The imbalance stems from two difficulties: the nonlinearity of the pressure-gradient-over-density term, and the approximation error of gradients evaluated by particle summation. The first is resolved by introducing an auxiliary potential variable that recasts the nonlinear term as the gradient of a single scalar, which reduces to a linear function of position under hydrostatic conditions. The second is resolved by a Riemann-based gradient approximation with kernel correction, which is first-order consistent and recovers linear fields exactly. These two ingredients ensure that the discrete potential gradient balances gravitational force exactly. Widely used techniques, including $\delta-$SPH, particle shifting and tensile instability control, are readily incorporated. The formulation is further extended to three dimensions and implemented on GPU with architecture-tailored optimizations. Hydrostatic tests with rectangular, triangular and Gaussian bottom topographies show that the proposed formulation attains the well-balanced property to machine precision, reducing the spurious velocity error of conventional SPH from $10^{-3}$ to the order of $10^{-13}$. More complex benchmarks confirm its robustness, accuracy and low pressure oscillation, with simulations of up to 17.53 million particles performed on a single consumer-grade GPU.

physics.comp-ph

Adaptive finite volume-particle method for free surface flows

This study proposes a novel adaptive finite volume-particle method (AFVPM) for accurate and efficient free surface flow simulations. The proposed AFVPM synergistically combines the Eulerian finite volume method (FVM) on unstructured meshes with the Lagrangian smoothed particle hydrodynamics (SPH) approach. Specifically, the mesh-based FVM is employed in the bulk flow regions to leverage its computational efficiency and numerical accuracy, while a weakly compressible SPH formulation is applied in the vicinity of the interface to maintain robust free-surface tracking capabilities. A key innovation of this framework is a block-based dynamic and adaptive conversion strategy between Eulerian mesh regions and Lagrangian particle regions and a buffer region-based cell-particle algorithm is designed to ensure seamless data communication across the Eulerian mesh-Lagrangian particle interface. Furthermore, isothermal gas-kinetic scheme (GKS) incorporating gravitational effects is utilized to calculate the fluxes in the mesh regions. The performance and reliability of the proposed AFVPM are validated through a series of benchmark cases that involve complex free surface phenomena. Numerical results demonstrate that AFVPM achieves superior accuracy and efficiency compared to full SPH approaches.

physics.comp-ph

Treatment of Wall Boundary Conditions in High-Order Compact Gas-Kinetic Schemes

The boundary layer represents a fundamental structure in fluid dynamics, where accurate boundary discretization significantly enhances computational efficiency. This paper presents a third-order boundary discretization for compact gas-kinetic scheme (GKS). Wide stencils and curved boundaries pose challenges in the boundary treatment for high-order schemes, particularly for temporal accuracy. By utilizing a time-dependent gas distribution function, the GKS simultaneously evaluates fluxes and updates flow variables at cell interfaces, enabling the concurrent update of cell-averaged flow variables and their gradients within the third-order compact scheme. The proposed one-sided discretization achieves third-order spatial accuracy on boundary cells by utilizing updated flow variables and gradients in the discretization for non-slip wall boundary conditions. High-order temporal accuracy on boundary cells is achieved through the GKS time-dependent flux implementation with multi-stage multi-derivative methodology. Additionally, we develop exact no-penetration conditions for both adiabatic and isothermal wall boundaries, with extensions to curved mesh geometries to fully exploit the advantages of high-order schemes. Comparative analysis between the proposed one-sided third-order boundary scheme, third-order boundary scheme with ghost cells, and second-order boundary scheme demonstrates significant performance differences for the third-order compact GKS. Results indicate that lower-order boundary cell treatments yield substantially inferior results, while the proposed third-order treatment demonstrates superior performance, particularly on coarse grid configurations.

math.NA

RPBG: Towards Robust Neural Point-based Graphics in the Wild

Point-based representations have recently gained popularity in novel view synthesis, for their unique advantages, e.g., intuitive geometric representation, simple manipulation, and faster convergence. However, based on our observation, these point-based neural re-rendering methods are only expected to perform well under ideal conditions and suffer from noisy, patchy points and unbounded scenes, which are challenging to handle but defacto common in real applications. To this end, we revisit one such influential method, known as Neural Point-based Graphics (NPBG), as our baseline, and propose Robust Point-based Graphics (RPBG). We in-depth analyze the factors that prevent NPBG from achieving satisfactory renderings on generic datasets, and accordingly reform the pipeline to make it more robust to varying datasets in-the-wild. Inspired by the practices in image restoration, we greatly enhance the neural renderer to enable the attention-based correction of point visibility and the inpainting of incomplete rasterization, with only acceptable overheads. We also seek for a simple and lightweight alternative for environment modeling and an iterative method to alleviate the problem of poor geometry. By thorough evaluation on a wide range of datasets with different shooting conditions and camera trajectories, RPBG stably outperforms the baseline by a large margin, and exhibits its great robustness over state-of-the-art NeRF-based variants. Code available at https://github.com/QT-Zhu/RPBG.

cs.CV