首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 31 毫秒
1.
We consider in this paper random batch particle methods for efficiently solving the homogeneous Landau equation in plasma physics. The methods are stochastic variations of the particle methods proposed by Carrillo et al. [J. Comput. Phys.: X 7: 100066, 2020] using the random batch strategy. The collisions only take place inside the small but randomly selected batches so that the computational cost is reduced to $\mathcal{O}(N)$ per time step. Meanwhile, our methods can preserve the conservation of mass, momentum, energy and the decay of entropy. Several numerical examples are performed to validate our methods.  相似文献   

2.
Random batch algorithms are constructed for quantum Monte Carlo simulations. The main objective is to alleviate the computational cost associated with the calculations of two-body interactions, including the pairwise interactions in the potential energy, and the two-body terms in the Jastrow factor. In the framework of variational Monte Carlo methods, the random batch algorithm is constructed based on the over-damped Langevin dynamics, so that updating the position of each particle in an $N$-particle system only requires$\mathcal{O}(1)$ operations, thus for each time step the computational cost for $N$ particles is reduced from$\mathcal{O}(N^2)$ to$\mathcal{O}(N)$. For diffusion Monte Carlo methods, the random batch algorithm uses an energy decomposition to avoid the computation of the total energy in the branching step. The effectiveness of the random batch method is demonstrated using a system of liquid $^4$He atoms interacting with a graphite surface.  相似文献   

3.
We have developed efficient numerical algorithms for solving 3D steady-state Poisson-Nernst-Planck (PNP) equations with excess chemical potentials described by the classical density functional theory (cDFT). The coupled PNP equations are discretized by a finite difference scheme and solved iteratively using the Gummel method with relaxation. The Nernst-Planck equations are transformed into Laplace equations through the Slotboom transformation. Then, the algebraic multigrid method is applied to efficiently solve the Poisson equation and the transformed Nernst-Planck equations. A novel strategy for calculating excess chemical potentials through fast Fourier transforms is proposed, which reduces computational complexity from $\mathcal{O}$($N^2$) to $\mathcal{O}$($NlogN$), where $N$ is the number of grid points. Integrals involving the Dirac delta function are evaluated directly by coordinate transformation, which yields more accurate results compared to applying numerical quadrature to an approximated delta function. Numerical results for ion and electron transport in solid electrolyte for lithium-ion (Li-ion) batteries are shown to be in good agreement with the experimental data and the results from previous studies.  相似文献   

4.
The applicability of the Poisson-Boltzmann model for micro- and nanoscale electroosmotic flows is a very important theoretical and engineering problem. In this contribution we investigate this problem at two aspects: first the high ionic concentration effect on the Boltzmann distribution assumption in the diffusion layer is studied by comparisons with the molecular dynamics (MD) simulation results; then the electrical double layer (EDL) interaction effect caused by low ionic concentrations in small channels is discussed by comparing with the dynamic model described by the coupled Poisson-Nernst-Planck (PNP) and Navier-Stokes (NS) equations. The results show that the Poisson-Boltzmann (PB) model is applicable in a very wide range: (i) the PB model can still provide good predictions of the ions density profiles up to a very high ionic concentration (∼ 1 M) in the diffusion layer; (ii) the PB model predicts the net charge density accurately as long as the EDL thickness is smaller than the channel width and then overrates the net charge density profile as the EDL thickness increasing, and the predicted electric potential profile is still very accurate up to a very strong EDL interaction (λ/W ∼10).  相似文献   

5.
In order to solve the partial differential equations that arise in the Hartree-Fock theory for diatomic molecules and in molecular theories that include electron correlation, one needs efficient methods for solving partial differential equations. In this article, we present numerical results for a two-variable model problem of the kind that arises when one solves the Hartree-Fock equations for a diatomic molecule. We compare results obtained using the spline collocation and domain decomposition methods with third-order Hermite splines to results obtained using the more-established finite difference approximation and the successive over-relaxation method. The theory of domain decomposition presented earlier is extended to treat regions that are divided into an arbitrary number of subregions by families of lines parallel to the two coordinate axes. While the domain decomposition method and the finite difference approach both yield results at the micro-Hartree level, the finite difference approach with a 9-point difference formula produces the same level of accuracy with fewer points. The domain decomposition method has the strength that it can be applied to problems with a large number of grid points. The time required to solve a partial differential equation for a fine grid with a large number of points goes down as the number of partitions increases. The reason for this is that the length of time necessary for solving a set of linear equations in each subregion is very much dependent upon the number of equations. Even though a finer partition of the region has more subregions, the time for solving the set of linear equations in each subregion is very much smaller. This feature of the theory may well prove to be a decisive factor for solving the two-electron pair equation, which – for a diatomic molecule – involves solving partial differential equations with five independent variables. The domain decomposition theory also makes it possible to study complex molecules by dividing them into smaller fragments thatare calculated independently. Since the domain decomposition approach makes it possible to decompose the variable space into separate regions in which the equations are solved independently, this approach is well-suited to parallel computing.  相似文献   

6.
A fully discrete discontinuous Galerkin method is introduced for solving time-dependent Maxwell's equations. Distinguished from the Runge-Kutta discontinuous Galerkin method (RKDG) and the finite element time domain method (FETD), in our scheme, discontinuous Galerkin methods are used to discretize not only the spatial domain but also the temporal domain. The proposed numerical scheme is proved to be unconditionally stable, and a convergent rate $\mathcal{O}((∆t)^{r+1}+h^{k+1/2})$ is established under the $L^2$ -norm when polynomials of degree at most $r$ and $k$ are used for temporal and spatial approximation, respectively. Numerical results in both 2-D and 3-D are provided to validate the theoretical prediction. An ultra-convergence of order $(∆t)^{2r+1}$ in time step is observed numerically for the numerical fluxes w.r.t. temporal variable at the grid points.  相似文献   

7.
In this paper, we will develop a fast iterative solver for the system of linear equations arising from the local discontinuous Galerkin (LDG) spatial discretization and additive Runge-Kutta (ARK) time marching method for the KdV type equations. Being implicit in time, the severe time step ($∆t$=$\mathcal{O}(∆x^k)$, with the $k$-th order of the partial differential equations (PDEs)) restriction for explicit methods will be removed. The equations at the implicit time level are linear and we demonstrate an efficient, practical multigrid (MG) method for solving the equations. In particular, we numerically show the optimal or sub-optimal complexity of the MG solver and a two-level local mode analysis is used to analyze the convergence behavior of the MG method. Numerical results for one-dimensional, two-dimensional and three-dimensional cases are given to illustrate the efficiency and capability of the LDG method coupled with the multigrid method for solving the KdV type equations.  相似文献   

8.
We study the two-component Camassa-Holm (2CH) equations as a model for the long time water wave propagation. Compared with the classical Saint-Venant system, it has the advantage of preserving the waves amplitude and shape for a long time. We present two different numerical methods—finite volume (FV) and hybrid finite-volume-particle (FVP) ones. In the FV setup, we rewrite the 2CH equations in a conservative form and numerically solve it by the central-upwind scheme, while in the FVP method, we apply the central-upwind scheme to the density equation only while solving the momentum and velocity equations by a deterministic particle method. Numerical examples are shown to verify the accuracy of both FV and FVP methods. The obtained results demonstrate that the FVP method outperforms the FV method and achieves a superior resolution thanks to a low-diffusive nature of a particle approximation.  相似文献   

9.
This paper proposes a high order deep neural network (HOrderDNN) for solving high frequency partial differential equations (PDEs), which incorporates the idea of "high order" from finite element methods (FEMs) into commonly-used deep neural networks (DNNs) to obtain greater approximation ability. The main idea of HOrderDNN is introducing a nonlinear transformation layer between the input layer and the first hidden layer to form a high order polynomial space with the degree not exceeding $p$, followed by a normal DNN. The order $p$ can be guided by the regularity of solutions of PDEs. The performance of HOrderDNN is evaluated on high frequency function fitting problems and high frequency Poisson and Helmholtz equations. The results demonstrate that: HOrderDNNs($p > 1$) can efficiently capture the high frequency information in target functions; and when compared to physics-informed neural network (PINN), HOrderDNNs($p > 1$) converge faster and achieve much smaller relative errors with same number of trainable parameters. In particular, when solving the high frequency Helmholtz equation in Section 3.5, the relative error of PINN stays around 1 with its depth and width increase, while the relative error can be reduced to around 0.02 as $p$ increases (see Table 5).  相似文献   

10.
We investigate the nonlinear dynamics of a moving interface in a Hele-Shaw cell subject to an in-plane applied electric field. We develop a spectrally accurate numerical method for solving a coupled integral equation system. Although the stiffness due to the high order spatial derivatives can be removed using a small scale decomposition technique, the long-time simulation is still expensive since the evolving velocity of the interface drops dramatically as the interface expands. We remove this physically imposed stiffness by employing a rescaling scheme, which accelerates the slow dynamics and reduces the computational cost. Our nonlinear results reveal that positive currents restrain finger ramification and promote the overall stabilization of patterns. On the other hand, negative currents make the interface more unstable and lead to the formation of thin tail structures connecting the fingers and a small inner region. When no fluid is injected, and a negative current is utilized, the interface tends to approach the origin and break up into several drops. We investigate the temporal evolution of the smallest distance between the interface and the origin and find that it obeys an algebraic law $(t_∗−t)^b,$ where $t_∗$ is the estimated pinch-off time.  相似文献   

11.
We introduce and study a parallel domain decomposition algorithm for the simulation of blood flow in compliant arteries using a fully-coupled system of nonlinear partial differential equations consisting of a linear elasticity equation and the incompressible Navier-Stokes equations with a resistive outflow boundary condition. The system is discretized with a finite element method on unstructured moving meshes and solved by a Newton-Krylov algorithm preconditioned with an overlapping restricted additive Schwarz method. The resistive outflow boundary condition plays an interesting role in the accuracy of the blood flow simulation and we provide a numerical comparison of its accuracy with the standard pressure type boundary condition. We also discuss the parallel performance of the implicit domain decomposition method for solving the fully coupled nonlinear system on a supercomputer with a few hundred processors.  相似文献   

12.
We propose an idea to solve the Gross–Pitaevskii equation for dark structures inside an infinite constant background density $ρ_∞$=${|ψ_∞|}^2$, without the introduction of artificial boundary conditions. We map the unbounded physical domain $\mathbb{R}^3$ into the bounded domain ${(−1,1)}^3$ and discretize the rescaled equation by equispaced 4th-order finite differences. This results in a free boundary approach, which can be solved in time by the Strang splitting method. The linear part is solved by a new, fast approximation of the action of the matrix exponential at machine precision accuracy, while the nonlinear part can be solved exactly. Numerical results confirm existing ones based on the Fourier pseudospectral method and point out some weaknesses of the latter such as the need of a quite large computational domain, and thus a consequent critical computational effort, in order to provide reliable time evolution of the vortical structures, of their reconnections, and of integral quantities like mass, energy, and momentum. The free boundary approach reproduces them correctly, also in finite subdomains, at low computational cost. We show the versatility of this method by carrying out one- and three-dimensional simulations and by using it also in the case of Bose–Einstein condensates, for which $ψ$→0 as the spatial variables tend to infinity.  相似文献   

13.
Nonlinear filter problems arise in many applications such as communications and signal processing. Commonly used numerical simulation methods include Kalman filter method, particle filter method, etc. In this paper a novel numerical algorithm is constructed based on samples of the current state obtained by solving the state equation implicitly. Numerical experiments demonstrate that our algorithm is more accurate than the Kalman filter and more stable than the particle filter.  相似文献   

14.
The objective of this paper is to seek an alternative to the numerical simulation of the Navier-Stokes equations by a method similar to solving the BGK-type modeled lattice Boltzmann equation. The proposed method is valid for both gas and liquid flows. A discrete flux scheme (DFS) is used to derive the governing equations for two distribution functions; one for mass and another for thermal energy. These equations are derived by considering an infinitesimally small control volume with a velocity lattice representation for the distribution functions. The zero-order moment equation of the mass distribution function is used to recover the continuity equation, while the first-order moment equation recovers the linear momentum equation. The recovered equations are correct to the first order of the Knudsen number (Kn); thus, satisfying the continuum assumption. Similarly, the zero-order moment equation of the thermal energy distribution function is used to recover the thermal energy equation. For aerodynamic flows, it is shown that the finite difference solution of the DFS is equivalent to solving the lattice Boltzmann equation (LBE) with a BGK-type model and a specified equation of state. Thus formulated, the DFS can be used to simulate a variety of aerodynamic and hydrodynamic flows. Examples of classical aeroacoustics, compressible flow with shocks, incompressible isothermal and non-isothermal Couette flows, stratified flow in a cavity, and double diffusive flow inside a rectangle are used to demonstrate the validity and extent of the DFS. Very good to excellent agreement with known analytical and/or numerical solutions is obtained; thus lending evidence to the DFS approach as an alternative to solving the Navier-Stokes equations for fluid flow simulations.  相似文献   

15.
The simulation of multiphase flows is an outstanding challenge, due to the inherent complexity of the underlying physical phenomena and to the fact that multiphase flows are very diverse in nature, and so are the laws governing their dynamics. In the last two decades, a new class of mesoscopic methods, based on minimal lattice formulation of Boltzmann kinetic equation, has gained significant interest as an efficient alternative to continuum methods based on the discretization of the NS equations for non ideal fluids. In this paper, three different multiphase models based on the lattice Boltzmann method (LBM) are discussed, in order to assess the capability of the method to deal with multiphase flows on a wide spectrum of operating conditions and multiphase phenomena. In particular, the range of application of each method is highlighted and its effectiveness is qualitatively assessed through comparison with numerical and experimental literature data.  相似文献   

16.
Discontinuous Galerkin (DG) and matrix-free finite element methods with a novel projective pressure estimation are combined to enable the numerical modeling of magma dynamics in 2D and 3D using the library deal.II. The physical model is an advection-reaction type system consisting of two hyperbolic equations to evolve porosity and soluble mineral abundance at local chemical equilibrium and one elliptic equation to recover global pressure. A combination of a discontinuous Galerkin method for the advection equations and a finite element method for the elliptic equation provide a robust and efficient solution to the channel regime problems of the physical system in 3D. A projective and adaptively applied pressure estimation is employed to significantly reduce the computational wall time without impacting the overall physical reliability in the modeling of important features of melt segregation, such as melt channel bifurcation in 2D and 3D time dependent simulations.  相似文献   

17.
Even though there are various fast methods and preconditioning techniques available for the simulation of Poisson problems, little work has been done for solving Poisson's equation by using the Helmholtz decomposition scheme. To bridge this issue, we propose a novel efficient algorithm to solve Poisson's equation in irregular two dimensional domains for electrostatics through a quasi-Helmholtz decomposition technique–the loop-tree basis decomposition. It can handle Dirichlet, Neumann or mixed boundary problems in which the filling media can be homogeneous or inhomogeneous. A novel point of this method is to first find the electric flux efficiently by applying the loop-tree basis functions. Subsequently, the potential is obtained by finding the inverse of the gradient operator. Furthermore, treatments for both Dirichlet and Neumann boundary conditions are addressed. Finally, the validation and efficiency are illustrated by several numerical examples. Through these simulations, it is observed that the computational complexity of our proposed method almost scales as $\mathcal{O}$$(N)$, where $N$ is the triangle patch number of meshes. Consequently, this new algorithm is a feasible fast Poisson solver.  相似文献   

18.
Stochastic collocation methods as a promising approach for solving stochastic partial differential equations have been developed rapidly in recent years. Similar to Monte Carlo methods, the stochastic collocation methods are non-intrusive in that they can be implemented via repetitive execution of an existing deterministic solver without modifying it. The choice of collocation points leads to a variety of stochastic collocation methods including tensor product method, Smolyak method, Stroud 2 or 3 cubature method, and adaptive Stroud method. Another type of collocation method, the probabilistic collocation method (PCM), has also been proposed and applied to flow in porous media. In this paper, we discuss these methods in terms of their accuracy, efficiency, and applicable range for flow in spatially correlated random fields. These methods are compared in details under different conditions of spatial variability and correlation length. This study reveals that the Smolyak method and the PCM outperform other stochastic collocation methods in terms of accuracy and efficiency. The random dimensionality in approximating input random fields plays a crucial role in the performance of the stochastic collocation methods. Our numerical experiments indicate that the required random dimensionality increases slightly with the decrease of correlation scale and moderately from one to multiple physical dimensions.  相似文献   

19.
Are extensions to continuum formulations for solving fluid dynamic problems in the transition-to-rarefied regimes viable alternatives to particle methods? It is well known that for increasingly rarefied flow fields, the predictions from continuum formulation, such as the Navier-Stokes equations lose accuracy. These inaccuracies are attributed primarily to the linear approximations of the stress and heat flux terms in the Navier-Stokes equations. The inclusion of higher-order terms, such as Burnett or high-order moment equations, could improve the predictive capabilities of such continuum formulations, but there has been limited success in the shock structure calculations, especially for the high Mach number case. Here, after reformulating the viscosity and heat conduction coefficients appropriate for the rarefied flow regime, we will show that the Navier-Stokes-type continuum formulation may still be properly used. The equations with generalization of the dissipative coefficients based on the closed solution of the Bhatnagar-Gross-Krook (BGK) model of the Boltzmann equation, are solved using the gas-kinetic numerical scheme. This paper concentrates on the non-equilibrium shock structure calculations for both monatomic and diatomic gases. The Landau-Teller-Jeans relaxation model for the rotational energy is used to evaluate the quantitative difference between the translational and rotational temperatures inside the shock layer. Variations of shear stress, heat flux, temperatures, and densities in the internal structure of the shock waves are compared with, (a) existing theoretical solutions of the Boltzmann solution, (b) existing numerical predictions of the direct simulation Monte Carlo (DSMC) method, and (c) available experimental measurements. The present continuum formulation for calculating the shock structures for monatomic and diatomic gases in the Mach number range of 1.2 to 12.9 is found to be satisfactory.  相似文献   

20.
We present a high-order discontinuous Galerkin (DG) scheme to solve the system of helically symmetric Navier-Stokes equations which are discussed in [28]. In particular, we discretize the helically reduced Navier-Stokes equations emerging from a reduction of the independent variables such that the remaining variables are: $t$, $r$, $ξ$ with $ξ=az+bϕ$, where $r$, $ϕ$, $z$ are common cylindrical coordinates and $t$ the time. Beside this, all three velocity components are kept non-zero. A new non-singular coordinate $η$ is introduced which ensures that a mapping of helical solutions into the three-dimensional space is well defined. Using that, periodicity conditions for the helical frame as well as uniqueness conditions at the centerline axis $r=0$ are derived. In the sector near the axis of the computational domain a change of the polynomial basis is implemented such that all physical quantities are uniquely defined at the centerline.For the temporal integration, we present a semi-explicit scheme of third order where the full spatial operator is split into a Stokes operator which is discretized implicitly and an operator for the nonlinear terms which is treated explicitly. Computations are conducted for a cylindrical shell, excluding the centerline axis, and for the full cylindrical domain, where the centerline is included. In all cases we obtain the convergence rates of order $\mathcal{O}(h^{k+1})$ that are expected from DG theory.In addition to the first DG discretization of the system of helically invariant Navier-Stokes equations, the treatment of the central axis, the resulting reduction of the DG space, and the simultaneous use of a semi-explicit time stepper are of particular novelty.  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号