Volume penalization for inhomogeneous Neumann boundary conditions modeling scalar flux in complicated geometry

Teluo Sakurai,Katsunori Yoshimatsu,Naoya Okamoto,Kai Schneider
DOI: https://doi.org/10.1016/j.jcp.2019.04.008
2019-05-10
Abstract:We develop a volume penalization method for inhomogeneous Neumann boundary conditions, generalizing the flux-based volume penalization method for homogeneous Neumann boundary condition proposed by Kadoch et al. [J. Comput. Phys. 231 (2012) 4365]. The generalized method allows us to model scalar flux through walls in geometries of complex shape using simple, e.g. Cartesian, domains for solving the governing equations. We examine the properties of the method, by considering a one-dimensional Poisson equation with different Neumann boundary conditions. The penalized Laplace operator is discretized by second order central finite-differences and interpolation. The discretization and penalization errors are thus assessed for several test problems. Convergence properties of the discretized operator and the solution of the penalized equation are analyzed. The generalized method is then applied to an advection-diffusion equation coupled with the Navier-Stokes equations in an annular domain which is immersed in a square domain. The application is verified by numerical simulation of steady free convection in a concentric annulus heated through the inner cylinder surface using an extended square domain.
Numerical Analysis,Fluid Dynamics
What problem does this paper attempt to address?
The main problem that this paper attempts to solve is to develop a Volume Penalization (VP) method for handling inhomogeneous Neumann boundary conditions in complex geometries. Specifically, the author aims to extend the existing Volume Penalization method for homogeneous Neumann boundary conditions so as to be able to simulate scalar fluxes through walls. This method allows the use of simple computational domains (such as Cartesian domains) to solve the governing equations, thereby simplifying numerical simulations in complex geometries. ### Main Problems and Solutions 1. **Limitations of Existing Methods**: - Numerical modeling of multi - physical problems in complex geometries remains a challenge in computational fluid dynamics. - In particular, for problems such as heat and mass exchange, traditional numerical methods are difficult to handle accurate simulations under complex boundary conditions. 2. **Advantages of the Volume Penalty Method**: - The volume penalty method treats the solid as a porous medium and introduces a penalty parameter \(\eta\) to handle boundary conditions, making it possible to impose complex boundary conditions in a simple computational domain. - This method can effectively simulate scalar fluxes through walls while maintaining flux continuity. 3. **Specific Implementation**: - The paper first verifies the effectiveness of this method on the one - dimensional Poisson equation and analyzes the penalty error and discretization error. - Then, the method is extended to the two - dimensional Poisson equation and applied to more complex geometries. - Finally, the method is applied to the two - dimensional steady - state free convection problem coupling the Navier - Stokes equations and the convection - diffusion equations. ### Mathematical Formula Representation - **One - Dimensional Poisson Equation**: \[ -\frac{d^2 w(x)}{dx^2}=f(x) \quad \text{for } x \in \Omega_f \] where \(\Omega_f = \{x|0 < x < \pi\}\), and inhomogeneous Neumann boundary conditions are imposed: \[ \left.\frac{dw}{dx}\right|_{x = 0}=\left.\frac{dw}{dx}\right|_{x=\pi}=\alpha \] - **Volume Penalty Representation**: \[ -\frac{d}{dx}\left(\theta\frac{dv}{dx}+\chi\alpha\right)=(1 - \chi)f \] where, \[ \theta(x)=1-\chi(x)+\eta\chi(x) \] \(\chi(x)\) is a mask function, defined as: \[ \chi(x)= \begin{cases} 0 & \text{for } 0 < x < \pi\\ \frac{1}{2} & \text{at } x = 0,\pi\\ 1 & \text{for } \pi < x < 2\pi \end{cases} \] ### Summary This paper successfully extends the volume penalty method so that it can handle inhomogeneous Neumann boundary conditions, thus providing an effective method for scalar flux simulation in complex geometries. Through detailed mathematical derivations and numerical experiments, the feasibility and accuracy of this method are proved.