首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 15 毫秒
1.
A hybrid dynamic grid generation technique for two-dimensional (2D) morphing bodies and a block lower-upper symmetric Gauss-Seidel (BLU-SGS) implicit dual-time-stepping method for unsteady incompressible flows are presented for external bio-fluid simulations. To discretize the complicated computational domain around 2D morphing configurations such as fishes and insect/bird wings, the initial grids are generated by a hybrid grid strategy firstly. Body-fitted quadrilateral (quad) grids are generated first near solid bodies. An adaptive Cartesian mesh is then generated to cover the entire computational domain. Cartesian cells which overlap the quad grids are removed from the computational domain, and a gap is produced between the quad grids and the adaptive Cartesian grid. Finally triangular grids are used to fill this gap. During the unsteady movement of morphing bodies, the dynamic grids are generated by a coupling strategy of the interpolation method based on ‘Delaunay graph’ and local remeshing technique. With the motion of moving/morphing bodies, the grids are deformed according to the motion of morphing body boundaries firstly with the interpolation strategy based on ‘Delaunay graph’ proposed by Liu and Qin. Then the quality of deformed grids is checked. If the grids become too skewed, or even intersect each other, the grids are regenerated locally. After the local remeshing, the flow solution is interpolated from the old to the new grid. Based on the hybrid dynamic grid technique, an efficient implicit finite volume solver is set up also to solve the unsteady incompressible flows for external bio-fluid dynamics. The fully implicit equation is solved using a dual-time-stepping approach, coupling with the artificial compressibility method (ACM) for incompressible flows. In order to accelerate the convergence history in each sub-iteration, a block lower-upper symmetric Gauss-Seidel implicit method is introduced also into the solver. The hybrid dynamic grid generator is tested by a group of cases of morphing bodies, while the implicit unsteady solver is validated by typical unsteady incompressible flow case, and the results demonstrate the accuracy and efficiency of present solver. Finally, some applications for fish swimming and insect wing flapping are carried out to demonstrate the ability for 2D external bio-fluid simulations.  相似文献   

2.
《Computers & Structures》2007,85(11-14):712-726
The paper presents a two-dimensional immersed interface technique for the Vortex-In-Cell (VIC) method for simulation of flows past bodies of complex geometry. The particle–mesh VIC algorithm is augmented by a local particle–particle correction term in a Particle–Particle Particle–Mesh (P3M) context to resolve sub-grid scales incurred by the presence of the immersed interface. The particle–particle correction furthermore allows to disjoin mesh and particle resolution by explicitly resolving sub-grid scales on the particles. This P3M algorithm uses an influence matrix technique to annihilate the anisotropic sub-grid scales and adds an exact particle–particle correction term. Free-space boundary conditions are satisfied through the use of modified Green’s functions in the solution of the Poisson equation for the streamfunction. The concept is extended such as to provide exact velocity predictions on the mesh with free-space boundary conditions.The random walk technique is employed for the diffusion in order to relax the need for a remeshing of the computational elements close to solid boundaries. A novel partial remeshing technique is introduced which only performs remeshing of the vortex elements which are located sufficiently distant from the immersed interfaces, thus maintaining a sufficient spatial representation of the vorticity field.Convergence of the present P3M algorithm is demonstrated for a circular patch of vorticity. The immersed interface technique is applied to the flow past a circular cylinder at a Reynolds number of 3000 and the convergence of the method is demonstrated by a systematic refinement of the spatial parameters. Finally, the flow past a cactus-like geometry is considered to demonstrate the efficient handling of complex bluff body geometries. The simulations offer an insight into physically interesting flow behavior involving a temporarily negative total drag force on the section.  相似文献   

3.
We compare the performance of the treecode and the fast multipole method (FMM) on GPUs. These fast algorithms are used to accelerate a vortex particle simulation of two leapfrogging vortex rings. The performance of the treecode and FMM depends strongly on the number of particles, type of hardware, distribution of particles, and the required accuracy. Our results demonstrate that for the accuracy that is required in vortex method simulations the crossover point between the treecode and FMM is around N = 3000 on the CPU. On the GPU, the treecode is able to achieve more acceleration than the FMM, and no clear crossover point is observed.  相似文献   

4.

Coarse grid projection (CGP) is a multiresolution technique for accelerating numerical calculations associated with a set of nonlinear evolutionary equations along with stiff Poisson’s equations. In this article, we use CGP for the first time to speed up incompressible magnetohydrodynamics (MHD) flow simulations. Accordingly, we solve the nonlinear advection–diffusion equation on a fine mesh, while we execute the electric potential Poisson equation on the corresponding coarsened mesh. Mapping operators connect two grids together. A pressure correction scheme is used to enforce the incompressibility constrain. The study of incompressible flow past a circular cylinder in the presence of Lorentz force is selected as a benchmark problem with a fixed Reynolds number but various Stuart numbers. We consider two different situations. First, we only apply CGP to the electric potential Poisson equation. Second, we apply CGP to the pressure Poisson equation as well. The maximum speed-up factors achieved here are approximately 3 and 23, respectively, for the first and second situations. For the both situations, we examine the accuracy of velocity and vorticity fields as well as the lift and drag coefficients. In general, the results obtained by CGP are in an excellent to reasonable range of accuracy. The CGP results are significantly more accurate compared to the numerical simulations of the advection–diffusion and electric potential Poisson equations on pure coarse scale grids.

  相似文献   

5.
Recent advances in the parallelizability of fast N-body algorithms, and the programmability of graphics processing units (GPUs) have opened a new path for particle based simulations. For the simulation of turbulence, vortex methods can now be considered as an interesting alternative to finite difference and spectral methods. The present study focuses on the efficient implementation of the fast multipole method and pseudo-particle method on a cluster of NVIDIA GeForce 8800 GT GPUs, and applies this to a vortex method calculation of homogeneous isotropic turbulence. The results of the present vortex method agree quantitatively with that of the reference calculation using a spectral method. We achieved a maximum speed of 7.48 TFlops using 64 GPUs, and the cost performance was near $9.4/GFlops. The calculation of the present vortex method on 64 GPUs took 4120 s, while the spectral method on 32 CPUs took 4910 s.  相似文献   

6.
目的 流血效果是虚拟手术模拟器视觉效果的重要组成部分,血流与固体交互的庞大计算量使取得实时的流血模拟效果具有很大的挑战性。提出一种基于图形处理单元(GPU)加速的虚拟手术流血效果模拟方法。方法 该方法以Müller等人提出的光滑粒子动力学(SPH)作为基础,采用温度项使粒子具有不同速度模拟血流形成的血槽,同时基于构建均匀空间网格的思想,利用通用并行计算架构(CUDA)多线程并行加速技术完成粒子控制方程的求解和血流与固体交互的计算,从而取得实时的效果。结果 实验结果表明,本文方法能够满足虚拟手术中切割表面流血和血液在器官中流动的模拟需求,在粒子个数为9000时仅需20 ms,对比于纯CPU的实现取得20.15倍的加速比,实现了大量粒子下的实时流血模拟。 结论 本文方法具有较好的灵活性和实时性的特点,可以应用于虚拟手术仿真系统之中。  相似文献   

7.
Enforcing fluid incompressibility is one of the time‐consuming aspects in SPH. In this paper, we present a local Poisson SPH (LPSPH) method to solve incompressibility for particle based fluid simulation. Considering the pressure Poisson equation, we first convert it into an integral form, and then apply a discretization to convert the continuous integral equation to a discretized summation over all the particles in the local pressure integration domain determined by the local geometry. To control the approximation error, we further integrate our local pressure solver into the predictive‐corrective framework to avoid the computational cost of solving a pressure Poisson equation globally. Our method can effectively eliminate the large density deviations mainly caused by the solid boundary treatment and free surface topological change, and show advantage of a higher convergence rate over the predictive‐corrective incompressible SPH (PCISPH).  相似文献   

8.
We propose a hybrid smoothed particle hydrodynamics solver for efficientlysimulating incompressible fluids using an interface handling method for boundary conditions in the pressure Poisson equation. We blend particle density computed with one smooth and one spiky kernel to improve the robustness against both fluid–fluid and fluid–solid collisions. To further improve the robustness and efficiency, we present a new interface handling method consisting of two components: free surface handling for Dirichlet boundary conditions and solid boundary handling for Neumann boundary conditions. Our free surface handling appropriately determines particles for Dirichlet boundary conditions using Jacobi‐based pressure prediction while our solid boundary handling introduces a new term to ensure the solvability of the linear system. We demonstrate that our method outperforms the state‐of‐the‐art particle‐based fluid solvers.  相似文献   

9.
《Parallel Computing》2014,40(5-6):86-99
Simulation of in vivo cellular processes with the reaction–diffusion master equation (RDME) is a computationally expensive task. Our previous software enabled simulation of inhomogeneous biochemical systems for small bacteria over long time scales using the MPD-RDME method on a single GPU. Simulations of larger eukaryotic systems exceed the on-board memory capacity of individual GPUs, and long time simulations of modest-sized cells such as yeast are impractical on a single GPU. We present a new multi-GPU parallel implementation of the MPD-RDME method based on a spatial decomposition approach that supports dynamic load balancing for workstations containing GPUs of varying performance and memory capacity. We take advantage of high-performance features of CUDA for peer-to-peer GPU memory transfers and evaluate the performance of our algorithms on state-of-the-art GPU devices. We present parallel efficiency and performance results for simulations using multiple GPUs as system size, particle counts, and number of reactions grow. We also demonstrate multi-GPU performance in simulations of the Min protein system in E. coli. Moreover, our multi-GPU decomposition and load balancing approach can be generalized to other lattice-based problems.  相似文献   

10.
A numerical solution concept is presented for simulating the transport and deposition to surfaces of discrete, small (nano-)particles. The motion of single particles is calculated from the Langevin equation by Lagrangian integration under consideration of different forces such as drag force, van der Waals forces, electrical Coulomb forces and not negligible for small particles, under stochastic diffusion (Brownian diffusion). This so-called particle Monte Carlo method enables the computation of macroscopic filter properties as well the detailed resolution of the structure of the deposited particles. The flow force and the external forces depend on solutions of continuum equations, as the Navier-Stokes equations for viscous, incompressible flows or a Laplace equation of the electrical potential. Solutions of the flow and potential fields are computed here using lattice-Boltzmann methods. Essential advantage of these methods are the easy and efficient treatment of three-dimensional complex geometries, given by filter geometries or particle covered surfaces. A number of numerical improvements, as grid refinement or boundary fitting, were developed for lattice-Boltzmann methods in previous studies and applied to the present problem. The interaction between the deposited particle layer and the fluid field or the external forces is included by recomputing of these fields with changed boundaries. A number of simulation results show the influence of different effects on the particle motion and deposition.  相似文献   

11.
The lattice Boltzmann method (LBM) has been widely used for the simulations of the incompressible Navier–Stokes (NS) equations. The finite difference Boltzmann method (FDBM) in which the discrete-velocity Boltzmann equation is solved instead of the lattice Boltzmann equation has also been applied as an alternative method for simulating the incompressible flows. The particle velocities of the FDBM can be selected independently from the lattice configuration. In this paper, taking account of this advantage, we present the discrete velocity Boltzmann equation that has a minimum set of the particle velocities with the lattice Bharnagar–Gross–Krook (BGK) model for the three-dimensional incompressible NS equations. To recover incompressible NS equations, tensors of the particle velocities have to be isotropic up to the fifth rank. Thus, we propose to apply the icosahedral vectors that have 13 degrees of freedom to the particle velocity distributions. Validity of the proposed model (D3Q13BGK) is confirmed by numerical simulations of the shear-wave decay problem and the Taylor–Green vortex problem. With respect to numerical accuracy, computational efficiency and numerical stability, we compare the proposed model with the conventional lattice BGK models (D3Q15, D3Q19 and D3Q27) and the multiple-relaxation-time (MRT) model (D3Q13MRT) that has the same degrees of freedom as our proposal. The comparisons show that the compressibility error of the proposed model is approximately double that of the conventional lattice BGK models, but the computational efficiency of the proposed model is superior to that of the others. The linear stability of the proposed model is also superior to that of the lattice BGK models. However, in non-linear simulations, the proposed model tends to be less stable than the others.  相似文献   

12.
We propose a fast and effective technique to improve sub‐grid visual details of the grid based fluid simulation. Our method procedurally synthesizes the flow fields coming from the incompressible Navier‐Stokes solver and the vorticity fields generated by vortex particle method for sub‐grid turbulence. We are able to efficiently animate smoke which is highly turbulent and swirling with small scale details. Since this technique does not solve the linear system in high‐resolution grids, it can perform fluid simulation more rapidly. We can easily estimate the influence of turbulent and swirling effect to the fluid flow.  相似文献   

13.
Using the direct differentiation method, a design sensitivity analysis method for time-dependent incompressible fluids is developed. The fluid behavior is described as the motion of particles involved by the SPH method. In the SPH projection method, instead of changing the fluid density, incompressibility is enforced by the pressure Poisson equation derived from pressure projection, which enable to use larger time steps. In spite of the additional pressure Poisson equation, the computational cost for the design sensitivity is not expensive since the factorized system matrix of pressure Poisson equation can be utilized. Aforementioned computational efficiency is very beneficial for the design sensitivity computation required for every time step in explicit time integration and updated Lagrangian schemes, for which an update scheme of design velocity field is developed using the velocity sensitivity. Through demonstrative numerical examples, the developed DSA method turns out to be efficient and shows excellent agreement with finite differencing.  相似文献   

14.
We propose a geometric multilevel solver for efficiently solving linear systems arising from particle‐based methods. To apply this method to particle systems, we construct the hierarchy, establish the correspondence between solutions at the particle and grid levels, and coarsen simulation elements taking boundary conditions into account. In addition, we propose a new solid boundary handling method to solve a pressure Poisson equation in a unified manner. We demonstrate that our method can handle general fluid simulation scenarios including two‐way fluid‐solid coupling, and the computational cost of this new solver scales nearly linearly with respect to the number of unknowns, unlike previous solvers for particle‐based methods.  相似文献   

15.
The efficient parallelization of fast multipole-based algorithms for the N-body problem is one of the most challenging topics in high performance scientific computing. The emergence of non-local, irregular communication patterns generated by these algorithms can easily create an insurmountable bottleneck on supercomputers with hundreds of thousands of cores. To overcome this obstacle we have developed an innovative parallelization strategy for Barnes–Hut tree codes on present and upcoming HPC multicore architectures. This scheme, based on a combined MPI–Pthreads approach, permits an efficient overlap of computation and data exchange. We highlight the capabilities of this method on the full IBM Blue Gene/P system JUGENE at Jülich Supercomputing Centre and demonstrate scaling across 294,912 cores with up to 2,048,000,000 particles. Applying our implementation pepc to laser–plasma interaction and vortex particle methods close to the continuum limit, we demonstrate its potential for ground-breaking advances in large-scale particle simulations.  相似文献   

16.
In this work we present 2D numerical simulations on the migration of a particle suspended in a viscoelastic fluid under Poiseuille flow. A Giesekus model is chosen as constitutive equation of the suspending liquid. In order to study the sole effect of the fluid viscoelasticity, both fluid and particle inertia are neglected.The governing equations are solved through the finite element method with proper stabilization techniques to get convergent solutions at relatively large flow rates. An Arbitrary Lagrangian–Eulerian (ALE) formulation is adopted to manage the particle motion. The mesh grid is moved along the flow so as to limit particle motion only in the gradient direction to substantially reduce mesh distortion and remeshing.Viscoelasticity of the suspending fluid induces particle cross-streamline migration. Both large Deborah number and shear thinning speed up the migration velocity. When the particle is small compared to the gap (small confinement), the particle migrates towards the channel centerline or the wall depending on its initial position. Above a critical confinement (large particles), the channel centerline is no longer attracting, and the particle is predicted to migrate towards the closest wall when its initial position is not on the channel centerline. As the particle approaches the wall, the translational velocity in the flow direction is found to become equal to the linear velocity corresponding to the rolling motion over the wall without slip.  相似文献   

17.
Efficient high-quality volume rendering of SPH data   总被引:1,自引:0,他引:1  
High quality volume rendering of SPH data requires a complex order-dependent resampling of particle quantities along the view rays. In this paper we present an efficient approach to perform this task using a novel view-space discretization of the simulation domain. Our method draws upon recent work on GPU-based particle voxelization for the efficient resampling of particles into uniform grids. We propose a new technique that leverages a perspective grid to adaptively discretize the view-volume, giving rise to a continuous level-of-detail sampling structure and reducing memory requirements compared to a uniform grid. In combination with a level-of-detail representation of the particle set, the perspective grid allows effectively reducing the amount of primitives to be processed at run-time. We demonstrate the quality and performance of our method for the rendering of fluid and gas dynamics SPH simulations consisting of many millions of particles.  相似文献   

18.
Vorticity confinement methods have been shown to be very effective in the computation of flows involving the convection of thin vortical layers. These are the only Eulerian methods whereby simulations of these layers remain very thin and persist long distances without significant dissipation. Initially developed by Steinhoff and co-workers for incompressible flow, these methods have been used successfully to predict complex flows, particularly involving helicopter rotors. Recently, the method has been extended to a compressible finite-volume form, which will enable the methods to be used for a much broader class of problems. In this paper, we examine the ability of the compressible vortex confinement methodology to handle an important class of vortex-dominated flows involving massive separation from bluff bodies. We evaluate the effectiveness of the method by comparisons with experimental data and available state-of-the-art computations. An important conclusion of the present work is that vortex confinement applied to massively separated flows, without modeling the viscous terms and on an essentially inviscid grid, can result in a reasonable approximation to turbulent separated flows. The computed flow structures and velocity profiles were in good agreement with time-averaged values of the data and with LES simulations even though the confinement approach utilized more than a factor of 50 fewer cells in the computation (20,000 compare to more the 1 million). The success of the method for these classes of flows may be attributed to the accurate calculation of the rotational inviscid flow which dominates the convection of the large-scale flow structures.  相似文献   

19.
Various self-consistent semiconductor device simulation approaches require the solution of Poisson equation that describes the potential distribution for a specified doping profile (or charge density). In this paper, we solve the multi-dimensional semiconductor nonlinear Poisson equation numerically with the finite volume method and the monotone iterative method on a Linux-cluster. Based on the nonlinear property of the Poisson equation, the proposed method converges monotonically for arbitrary initial guesses. Compared with the Newton's iterative method, it is easy implementing, relatively robust and fast with much less computation time, and its algorithm is inherently parallel in large-scale computing. The presented method has been successfully implemented; the developed parallel nonlinear Poisson solver tested on a variety of devices shows it has good efficiency and robustness. Benchmarks are also included to demonstrate the excellent parallel performance of the method.  相似文献   

20.
We present an accurate and efficient finite difference method for solving the Black–Scholes (BS) equation without boundary conditions. The BS equation is a backward parabolic partial differential equation for financial option pricing and hedging. When we solve the BS equation numerically, we typically need an artificial far-field boundary condition such as the Dirichlet, Neumann, linearity, or partial differential equation boundary condition. However, in this paper, we propose an explicit finite difference scheme which does not use a far-field boundary condition to solve the BS equation numerically. The main idea of the proposed method is that we reduce one or two computational grid points and only compute the updated numerical solution on that new grid points at each time step. By using this approach, we do not need a boundary condition. This procedure works because option pricing and computation of the Greeks use the values at a couple of grid points neighboring an interesting spot. To demonstrate the efficiency and accuracy of the new algorithm, we perform the numerical experiments such as pricing and computation of the Greeks of the vanilla call, cash-or-nothing, power, and powered options. The computational results show excellent agreement with analytical solutions.  相似文献   

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

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