Lattice Boltzmann-based solver for high-speed flows
By introducing the entropy solver and Galilean invariant operator into the Lattice Boltzmann method, the stability problem in high-speed compressible flow is solved, achieving higher simulation accuracy and stability, and is suitable for high Mach numbers and high temperature ratios. application.
Patent Information
- Application Number
- CN201910126500.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-02-13
- Filing Date
- 2019-02-20
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2039-02-20
AI Technical Summary
The existing Lattice Boltzmann method has stability problems when simulating high-speed compressible flow. Especially in applications with high Mach numbers and high temperature ratios, the traditional collision operator easily becomes unstable, resulting in errors and numerical artifacts.
Adopting an entropy solver based on Lattice Boltzmann, by introducing an additional set of grid point vectors to represent entropy, using first-order effects of non-equilibrium contributions and Galilean invariant operators, removing high-order error terms, avoiding second-order velocity terms, and providing More stable collision model.
Achieving stability and high-accuracy transient results for high-speed applications, especially effective in complex grid resolutions and high temperature specific flows, reducing noise levels and numerical artifacts, improving simulation accuracy and stability.
Smart Images

Figure CN110175342B_ABST
Abstract
Description
Background Art
[0001] The Lattice Boltzmann method (LBM) is a class of computational fluid dynamics (CFD) methods used for fluid simulation. Instead of solving the Navier-Stokes equations, the discrete Boltzmann equations are solved with collision models such as Bhatnagar-Gross-Krook (BGK) to simulate the flow of Newtonian fluids. By simulating the flow and collision processes on a finite number of particles, the intrinsic particle interactions reveal the microscopic world of viscous flow behavior applicable to a larger mass. Summary of the invention
[0002] According to one aspect, a method for simulating fluid flow on a computer includes simulating the movement of a fluid across a grid, the movement of the fluid being simulated to model the movement of particles across the grid; storing a set of state vectors for each grid position in the grid in a computer-accessible memory, each of the state vectors including a plurality of entries corresponding to a particular momentum state among possible momentum states at the corresponding grid position; simulating the time evolution of entropy of the flow by collecting an incoming set of distributions from adjacent grid positions for a collision operation, calculating a scalar value for each position by a computer, determining an output distribution as the product of the collision operation and the addition of a heat source; and modifying the flow by the computer performing advection of particles to subsequent grid positions for a time interval.
[0003] The above aspects may include one or more of the following features.
[0004] The activity of simulating fluid flow includes simulating fluid flow based in part on a first set of discrete grid point rates, and the method also includes simulating the time evolution of entropy quantity based in part on a second set of discrete grid point rates. The second set of discrete grid point rates has the same grid point rate as the first set of discrete grid point rates. The method also includes calculating by a computer a high-order error term from an incoming grid point set vector, determining an average value of the high-order error term, and subtracting the average value of the high-order error term from a collision operator. An additional heat source term is calculated and added to the second state, and the method also includes calculating by a computer the effects of heating by fluid viscosity and heating by fluid conduction and calculating by a computer entropy diffusion and removing the entropy diffusion from the additional heat source term. The method also includes calculating by a computer a set of physical quantities at grid positions in a grid. The method provides a Lattice Boltzmann entropy solver that avoids second-order velocity terms. The collision operator involves non-equilibrium calculations without any second-order terms of velocity. The method also includes providing a grid point vector q iThe entropy is solved by an additional set of to denote the specific entropy s, and the time evolution of these states is given by:
[0005]
[0006] where q i is the grid vector, x is the direction, c i is the velocity of the state, Δt is the change in time t, is the equilibrium lattice vector, τ q is the relaxation time, V is is the non-equilibrium contribution, p is the pressure, and Qs is the additional heat source. The collision operator in this method is related to the following equation:
[0007]
[0008] Other aspects include computer program products and apparatus, such as computers and data processing systems.
[0009] One or more of the above aspects may provide one or more of the following advantages. The entropy solver avoids the term a(ρvv), which would otherwise introduce errors (e.g., particularly for instabilities in high-speed flows) because the term is related to Ma 2 (rate squared). Therefore, this entropy solver is stable for high-speed applications. In the context of the Lattice Boltzmann method, the LB-based entropy solver is effective for solving high-speed applications that require highly accurate transient results with compressibility effects. Applications with high temperature ratios also benefit from the LB entropy solver due to the enhanced stability provided by its unique collision model.
[0010] This application claims priority under 35 U.S.C. §119 to U.S. Provisional Patent Application Serial No. 62 / 632,584, filed on February 20, 2018, entitled “LatticeBoltzmann based solver for high speed flows,” the entire contents of which are incorporated herein by reference. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 A system for simulating fluid flow is depicted, the system including an entropy solver for compressible flow.
[0012] Figure 2 A flow chart illustrating the operation of formulating a Lattice Boltzmann model simulation with an entropy solver is depicted.
[0013] Figure 3Depicts a flow chart of simulation operations using the Lattice Boltzmann model with an entropy solver.
[0014] Figure 4A , 4B The simulated flows are depicted separately for the fluid dynamics and Lattice Boltzmann based techniques.
[0015] Figure 5 It is a graph of sound pressure level (SPL) versus frequency.
[0016] Figure 6A-6B is a graph of the simulated directional angle versus frequency and sound pressure level.
[0017] 7 and 8 illustrate velocity components of two LBM models represented in Euclidean space (prior art).
[0018] Fig. 9 is a flow chart of the process followed by a physical process simulation system.
[0019] FIG. 10 is a perspective view of a microblock (prior art).
[0020] Figures 11A-11B are Figure 1 Illustration of the lattice structure used by the system (prior art).
[0021] 12 and 13 illustrate variable resolution techniques (prior art).
[0022] FIG. 14 illustrates the movement of particles (prior art).
[0023] FIG. 15 illustrates the area affected by bins of a surface (prior art).
[0024] FIG. 16 illustrates a flow chart of surface dynamics (prior art).
[0025] 17 is a flow chart of a process for performing surface dynamics (prior art).
[0026] Fig.18 The diagram shows the movement of particles from voxels to the surface.
[0027] FIG. 19 is a screen shot representing a fluid simulation (prior art).
[0028] The details of one or more embodiments of the invention are set forth in the drawings and the description below. Other features, objects, and advantages of the invention will be apparent from the description and drawings, and from the claims. DETAILED DESCRIPTION
[0029] One method used to simulate fluid flow is the so-called Lattice Boltzmann model (LBM). In a physical process simulation system based on the LBM, the fluid flow is represented by the value of a distribution function, which is evaluated at a set of discrete velocities using the well-known Lattice Boltzmann equation (see Equation 1 below) that describes the time evolution of the distribution function. The distribution function involves two processes: a flow process and a collision process.
[0030]
[0031]
[0032] where ξ and u are the dimensionless grid vector and velocity, respectively, and where f i (x,t) is the value of the grid point c at position x at time t. i The particle distribution function is is the equilibrium distribution, and τ is the characteristic relaxation time.
[0033] The flow process is when a fluid pocket starts at a grid location and then moves along one of the velocity vectors to the next grid location. At that time, the "collision factor" is calculated, that is, the effect of the nearby fluid pocket on the starting fluid pocket. Fluid can only move to one other grid location, so proper choice of velocity vectors is necessary so that all components of all velocities are multiples of a common velocity.
[0034] The right hand side of the first equation is the "collision operator" mentioned earlier, which represents the change in the distribution function due to collisions between fluid pockets. A specific form of the collision operator is the Bhatnagar, Gross, and Krook (BGK) operator. The collision operator forces the distribution function to a prescribed value given by the second equation, which is the "equilibrium" form.
[0035] according to The BGK operator is constructed so that the distribution function approaches a well-defined local equilibrium, regardless of the details of the collision:
[0036]
[0037] where the parameter τ represents the characteristic relaxation time to reach equilibrium via collisions. When dealing with particles (e.g., atoms or molecules), the relaxation time is usually taken as a constant value.
[0038] From this simulation, conventional fluid variables (such as mass p and fluid velocity u) are obtained as a simple summation of Eq. 2.
[0039]
[0040] where ρ and u are the fluid density and velocity mentioned above respectively.
[0041] Due to symmetry considerations, the set of velocity values is chosen in such a way that they form a certain lattice structure when spanned in the configuration space. The dynamics of this discrete system obeys the Lattice Boltzmann equation (LBE) of the form
[0042] f i (x+c i Δt, t+Δt)-f i (x, t) = C i (x, t)
[0043] The collision operator is usually in the form of BGK, as described above.
[0044] By properly choosing the equilibrium distribution form, it can be theoretically proved that the Lattice Boltzmann equations produce the correct fluid dynamics. i The (x, t)-derived hydrodynamic moments obey the Navier-Stokes equations in the macroscopic limit. These moments are defined by equation (3) above.
[0045] c i and w i The collective value of defines the LBM model. The LBM model can be efficiently implemented on a scalable computer platform and runs with strong robustness for time-unstable flows and complex boundary conditions.
[0046] The standard technique for obtaining the macroscopic equations of motion of a fluid system from the Boltzmann equations is the Chapman-Enskog method, in which a continuum approximation of the full Boltzmann equation is employed. In a fluid system, small perturbations of density travel at the speed of sound. In gas systems, the speed of sound is generally determined by the temperature. The importance of the effect of compressibility in a flow is measured by the ratio of the characteristic velocity to the speed of sound, which is called the Mach number. For further explanation of conventional LBM-based physical process simulation systems, reference is made to application US-2016-0188768-A1, incorporated by reference above.
[0047] Thermal Lattice Boltzmann Model
[0048] The LBM described by Equations 1 and 2 is only applicable to solving slow flows with uniform temperature. For thermal flows, a separate solver is usually introduced to solve the energy equations, and the calculated temperatures are coupled back into the Lattice Boltzmann method. The temperature equations can be solved by finite difference methods or by introducing an additional set of grid vectors.
[0049] A unique LBM-based temperature solver is used. In this LBM-based temperature solver, an additional set of grid vectors is used to represent a specific scalar, i.e., the temperature that accompanies the flow vector and moves from one grid point to another. It has several advantages and is described in more detail in the published patent application US20130151221A1, the entire contents of which are incorporated herein by reference.
[0050] This paper uses a similar transport mechanism for the entropy solver, as discussed below.
[0051] Once the temperature is known, it is coupled to the fluid LBM solver. The conventional approach adopts the following equilibrium distribution (Eq. 4) for the heat flow in the time evolution of the LBM (Eq. 1).
[0052]
[0053] where ξ, u, and θ are the dimensionless grid vector, dimensionless velocity, and dimensionless pressure, respectively. However, for applications with high temperature ratios, the term θ-1 will become negative, which makes the solver unstable.
[0054] Specific details of the coupling technique for making the equilibrium distribution positive during collision for a relatively wide range of flow conditions are described in detail in the co-pending U.S. Patent Publication US-2016-0188768-A1 to Pradeep Gopalakrishnan et al., entitled “Temperature Coupling Algorithm for Hybrid Thermal Lattice Boltzmann Method,” the entire contents of which are incorporated herein by reference.
[0055] The BGK collision operator set forth in Equation 1 has a relatively low stability range. Although the operator of Equation 1 is useful for low Mach (Mach < 0.6) and low temperature ratio applications, the operator of Equation 1 tends to become unstable in higher Mach (Mach> 0.6) and higher temperature ratio applications. A temperature solver suitable for high subsonic and transonic applications in the aerospace field requires a more stable collision operator based on a Galilean-invariant operator with a relatively high stability range. The specific details of this collision operator are described in detail in U.S. Patent No. 9,576,087, the entire contents of which are incorporated herein by reference.
[0056] Energy Conservation in High-Speed Compressible Flow
[0057] For high-speed flows, especially those with Mach numbers above 0.3, the effects on the energy of the fluid due to compressibility and the change in viscosity of the fluid due to heating are non-negligible. The energy equation for compressible flow given by Equation 5 accounts for this compressibility effect.
[0058]
[0059] where e is the internal energy, V is the velocity, k is the thermal conductivity, and Φ is the dissipation function, representing the rate at which mechanical energy becomes thermal energy due to viscosity. For incompressible flow, the pressure work term, the third term on the left side of Eq. 5, and the viscous dissipation term drop out, and Eq. 5 becomes a typical convection-diffusion scalar equation that is relatively easy to solve.
[0060] However, solving Equation 5 as a whole using the finite difference method or other methods results in instability due to the presence of the divergent velocity term. To avoid this term, energy conservation is enforced by a more feasible option, namely, by solving the entropy equation (Equation 6) given below:
[0061]
[0062] where s is the entropy of the system.
[0063] Lattice Boltzmann-based entropy solver for compressible flows
[0064] The entropy equation (Equation 6) can be solved using traditional methods like finite volume or finite difference methods. For complex problems, the grid has multiple resolution levels and has complex boundary conditions. Traditional methods have difficulty calculating the gradients for these cases, which introduce strong grid dependence and numerical artifacts.
[0065] This paper describes an entropy solver based on the Lattice Boltzmann (LB) Figure 1 ), which can handle these complex problems. Solving for entropy uses an additional grid vector q i The second set of states are introduced to represent the specific entropy "s". The time evolution of these states is given by:
[0066]
[0067] where p is the pressure, and Q s is an additional source (eg, an additional heat source). Equation 7 together with Equation 1 carries the entropy term from one grid point to another, and the entropy conservation equation (Equation 8) is obtained as the product of the two equations.
[0068]
[0069] where S is the total entropy. This approach transports the total entropy as a scalar term on the advective flow, similar to the mechanism employed for LBM-based temperature solvers as described in U.S. Patent Publication US-2016-0188768-A1. This approach for transporting entropy has several advantages, including relatively smooth transitions near different grid levels and near complex boundaries.
[0070] The second term on the right side of Equation 7 is the so-called regularized collision operator. In the BGK collision operator (given by Equation 1), the difference between the actual state and the equilibrium state is calculated, called the "non-equilibrium part". This non-equilibrium part is relaxed so that the actual state will relax to the equilibrium state.
[0071] However, this operator involves all orders of non-equilibrium effects, which is not necessary for conservation. Moreover, involving all orders of non-equilibrium effects may lead to instability. On the other hand, the operator used in Equation 7 only considers the first-order effects of non-equilibrium contributions (the first-order moments calculated by multiplying the grid vectors), as follows:
[0072]
[0073] This filtered unbalanced part is then multiplied by the Galilean invariant operator c i -V.
[0074] Reference now Figure 1 , describes a system 10 including an LB-based entropy solver 34b for high-speed and compressible flows. The system 10 in this implementation is based on a client-server or cloud-based architecture and includes a server system 12 and a client system 14 implemented as a massively parallel computing system 12 (standalone or cloud-based). The server system 12 includes a memory 18, a bus system 11, an interface 20 (e.g., a user interface / network interface / display or monitor interface, etc.), and a processing device 24. In the memory 18 is a grid preparation engine 32 and a simulation engine 34.
[0075] Although Figure 1The grid preparation engine 32 is shown in the memory 18, but the grid preparation engine can be a third-party application executed on a different system from the server 12. Regardless of whether the grid preparation engine 32 is executed in the memory 18 or on a different system from the server 12, the grid preparation engine 32 receives the user-provided grid definition 30, and the grid preparation engine 32 prepares the grid and sends (and / or stores) the prepared grid to the simulation engine 34. The simulation engine 34 includes a collision interaction module 34a, an LB-based solver module 34b for high-speed flow, a boundary module 34c, and an advection particle collision interaction module 34d. The system 10 accesses a data repository 38 that stores 2D and / or 3D grids (Cartesian and / or curvilinear), coordinate systems, and libraries.
[0076] Reference now Figure 2 , a process 40 for simulating a fluid flow around a representation of a physical object is shown. In the example to be discussed herein, the physical object is an airfoil. However, the use of an airfoil is merely illustrative, as the physical object can be of any shape, and in particular can have (one or more) planes and / or curved surfaces. The process 40 receives 42 from a client system 14 or retrieves a mesh (or grid) for the simulated physical object from a data repository 38, for example. In other embodiments, an external system or server 12 generates a mesh for the simulated physical object based on user input. The process pre-calculates 44 geometric quantities from the retrieved mesh, and performs a dynamic Lattice Boltzmann model simulation 46 using the pre-calculated geometric quantities corresponding to the retrieved mesh. The Lattice Boltzmann model simulation includes a simulation 46a of the evolution of the particle distribution, an evaluation 46b of the entropy solver, and an advection 46c of the particles and entropy to the next cell in the LBM mesh.
[0077] refer to Figure 3 , the simulation process 46 is based on (for example, adapted for use with the LB-based solver module 34b for high-speed flows ( Figure 1 ) of the modified Lattice Boltzmann equation (LBE) to simulate the evolution of the particle distribution. Process 46 (see Figure 2 ) performs a collision operation 46a, a simulation of the time evolution of entropy 46b, followed by an advection 46c of the particles to the next cell in LBM space.
[0078] Simulating the time evolution of entropy 46b includes collecting 52 an incoming set of distributions from adjacent grid locations from the collision operation, and collecting 54 an additional set of grid vectors representing a specific scalar (e.g., entropy) that moves from one grid point to another on the flow vector. Simulating the time evolution of entropy also includes calculating 56 by the computer a set of scalar values for each location in the grid. The computer then determines 58 the outgoing distribution as the product of the collision operation equation 7 and the additional heat source Qs.
[0079] The collision operator is stabilized by computer computing 60 the higher order error terms from the incoming grid point set vector and subtracting 62 the corresponding averages from the normal collision operator. An additional heat source term is computed 64 and added to 66 the second state and is the result of the computer computing the effect of the additional heat source heating the fluid by fluid viscosity and heating the fluid by fluid conduction. The entropy diffusion is computed by the computer and the result of the computed entropy diffusion is removed 68 from the additional heat source term.
[0080] Treatment of heat sources due to diffusion
[0081] Without any additional heat source, the LBM-based scalar solver will produce the typical scalar convection-diffusion equation as follows:
[0082]
[0083] The value k s Depends on τ q The addition of a heat source term (considering the difference between Eq. 6 and Eq. 10 given below) will restore the correct behavior of the entropy equation.
[0084]
[0085] Enhanced entropy collision operator for high-speed flows
[0086] As mentioned in the above mentioned US patent 9,576,087, a special collision operator for flow regimes is described. It has a wide range of stability and can be applied to high Mach applications.
[0087] However, at high Mach number flows, the collision operator used for entropy becomes unstable.
[0088] The Chapman-Enskog expansion theory is applied to the evolution of the flow and entropy states (Eq. 1 and Eq. 7) to recover the Navier-Stokes equations and the entropy scalar equation. The diffusion term arises due to the collision operation, and errors in it may make the entropy solver unstable.
[0089] Considering the first-order calculation of the unbalanced component (Equation 9), in this case, by using Taylor series expansion and using the basic grid point requirement of LBM, the first-order unbalanced component can be approximated as:
[0090]
[0091] In the above expression, the entropy gradient multiplied by the pressure (pδ) is the only required component, while the additional term (ρvv) introduces errors. The term (ρvv) is the main cause of instabilities, especially for high-speed flows, because this term is related to Ma 2 (rate squared) is proportional.
[0092] A modification to the above non-equilibrium calculation is performed as follows to remove this term.
[0093]
[0094] The above unbalanced components remove the high-order error terms and provide a stable entropy solver for high-speed applications. Substituting equations (11) and (13) into equation (7), the full form of the entropy evolution is given by:
[0095]
[0096] LB-based entropy solver capabilities
[0097] The LB entropy solver discussed above is effective for solving high-speed applications that require highly accurate transient results with compressibility effects. Applications with high temperature ratios also benefit from the LB entropy solver due to the enhanced stability provided by its unique collision model.
[0098] This section presents a benchmark study to illustrate the potential advantages of LB-based entropy solvers for compressible flows, especially associated with high speed, variable mesh resolution, complex geometry, and high temperature specific flows. The simulation results are compared with experimental results and a typical finite difference FD-based entropy solver.
[0099] Reference now Figure 4A and 4B , presents the results of simulations conducted for nozzle flow at 0.901 Mach when the temperature of the injection nozzle was 2.702 times higher than the atmospheric temperature. In order to predict the accurate noise generated by the nozzle, it is necessary to obtain more accurate transient results.
[0100] Figure 4A The pressure oscillation 50a is shown for the FD method, and Figure 4B A pressure oscillation 50b is shown for the LB-based method.
[0101] The FD method produces a high level of noise 54a near the nozzle 52a outlet, which involves complex boundary conditions affecting the flow downstream 56a of the nozzle 52a due to the variable resolution. The LB-based method has a cleaner (i.e., lower) level of noise 54b for the nozzle 52b outlet, and also maintains fine structure downstream 56b of the nozzle.
[0102] Reference now Figure 5 , plots the sound pressure level (SPL) in decibels versus frequency in Hz. The figure compares the simulated SPL with experimental results for the FD and LB methods (with entropy solver). Due to numerical artifacts, the FD method predicts noise levels much higher than the experimental results (especially at frequencies above 1KHz), while the LB-based method performs relatively well compared to the experimental results.
[0103] Reference now Fig. 6A and 6B , showing the accuracy of the LB-based solver in predicting the sound pressure level maps compared to experiments.
[0104] 7 , the first model (2D-1) 100 is a two-dimensional model including 21 velocities. Among the 21 velocities, one velocity (105) represents a particle that does not move; three groups of four velocities represent particles that move at a normalized velocity (r) (110-113), at two times the normalized velocity (2r) (120-123), or at three times the normalized velocity (3r) (130-133) along the positive or negative direction of the x-axis or y-axis of the grid point; and two groups of four velocities represent particles that move at a normalized velocity (r) (140-143) or at two times the normalized velocity (2r) (150-153) relative to both the x-grid point axis and the y-grid point axis.
[0105] As also shown in Fig. 8, the second model (3D-1) 200 is a three-dimensional model including 39 velocities, each of which is represented by one of the arrows in Fig. 6. Of the 39 velocities, one velocity represents a particle that does not move; three groups of six velocities represent particles that move at a normalized velocity (r), twice the normalized velocity (2r), or three times the normalized velocity (3r) in the positive or negative direction of the x, y, or z grid points; eight velocities represent particles that move at a normalized velocity (r) relative to all three x, y, z grid point axes; and twelve represent particles that move at twice the normalized velocity (2r) relative to two of the x, y, z grid point axes.
[0106] More complex models may also be used, such as a 3D-2 model including 101 velocities and a 2D-2 model including 37 velocities.
[0107] For the three-dimensional model 3D-2 with 101 velocities, one velocity represents a particle that does not move (group 1); three groups of six velocities represent particles that move at a normalized velocity (r), twice the normalized velocity (2r), or three times the normalized velocity (3r) along the positive or negative direction of the x, y, or z axis of the grid (groups 2, 4, and 7); and three groups of eight velocities represent particles that move at a normalized velocity (r), twice the normalized velocity (2r), or three times the normalized velocity (3r) relative to all three x, y, and z grid axes (groups 3, 8, and 9). and 10); twelve velocities representing particles moving at twice the normalized velocity (2r) relative to two of the x, y, z grid axes (Group 6); twenty-four velocities representing particles moving at a normalized velocity (r) and twice the normalized velocity (2r) relative to two of the x, y, z grid axes but not relative to the remaining axes (Group 5); and twenty-four velocities representing particles moving at a normalized velocity (r) relative to two of the x, y, z grid axes and at three times the normalized velocity (3r) relative to the remaining axes (Group 9).
[0108] For the two-dimensional model 2D-2, among the 37 velocities, one velocity represents a particle that does not move (Group 1); three groups of four velocities represent particles that move at a normalized velocity (r), twice the normalized velocity (2r), or three times the normalized velocity (3r) in the positive or negative direction of the x or y axis of the grid (Groups 2, 4, and 7); two groups of four velocities represent particles that move at a normalized velocity (r) or twice the normalized velocity (2r) relative to both the x and y grid axes; eight velocities represent particles that move at a normalized velocity (r) relative to one of the x and y grid axes and at twice the normalized velocity (2r) relative to the other axis; and eight velocities represent particles that move at a normalized velocity (r) relative to one of the x and y grid axes and at three times the normalized velocity (3r) relative to the other axis.
[0109] The LBM models described above provide a specific class of efficient and robust discrete velocity dynamic models for numerical simulation of two-dimensional and three-dimensional flows. Such models include a specific set of discrete velocities and weights associated with these velocities. The velocities correspond to grid points of Cartesian coordinates (in Euclidean space) in velocity space, which facilitates accurate and efficient implementation of discrete velocity models, particularly of the type known as Lattice Boltzmann models. Using such models, flows can be simulated with high fidelity.
[0110] refer to Fig. 9, a physical process simulation system operates according to process 300 to simulate a physical process such as fluid flow. Prior to simulation, the simulation space is modeled as a collection of voxels (302). Typically, the simulation space is generated using a computer-aided design (CAD) program. For example, a CAD program can be used to draw a microdevice located in a wind tunnel. Thereafter, the data generated by the CAD program is processed to add a grid structure with appropriate resolution and to account for objects and surfaces within the simulation space.
[0111] The resolution of the grid can be chosen based on the Reynolds number of the system being simulated. The Reynolds number is related to the viscosity of the flow (ν), the characteristic length of objects in the flow (L), and the characteristic velocity of the flow (u):
[0112] Re=uL / v. Equation (I.5)
[0113] The characteristic length of an object represents the large-scale characteristics of the object. For example, if the flow around a microdevice is being simulated, the height of the microdevice can be considered the characteristic length. When the flow around a small area of the object is of interest (e.g., the side mirror of a car), the resolution of the simulation can be increased, or a region of increased resolution can be used around the area of interest. As the resolution of the grid increases, the size of the voxel decreases.
[0114] The state space is represented as f i (x, t), where f i represents the number of elements or particles per unit volume in state i at the lattice site represented by the three-dimensional vector x at time t (i.e., the particle density in state i). For a known time increment, this number of particles is simply referred to as f i (x). The combination of all states of the lattice sites is denoted by f(x).
[0115] The number of states is determined by the number of possible velocity vectors within each energy level. The velocity vectors consist of integer linear rates in a space with three dimensions x, y, and z. For multi-species simulations, the number of states increases.
[0116] Each state i represents a different velocity vector at a particular energy level (i.e., energy level zero, one, or two). The velocity c of each state i Expressed as its "rate" in each of the three dimensions:
[0117] c i =(c ix , c iy , c iz ) Equation (I.6)
[0118] The zero energy state represents a stationary particle that does not move in any dimension, i.e., c 停止=(0,0,0). The one state represents a particle with a ±1 velocity in one of the three dimensions and zero velocity in the other two. The two state represents a particle with a ±1 velocity in all three dimensions, or a ±2 velocity in one of the three dimensions and zero velocity in the other two.
[0119] Generating all possible permutations of the three energy levels gives a total of 39 possible states (one energy zero state, 6 energy one states, 8 energy three states, 6 energy four states, 12 energy eight states, and 6 energy nine states).
[0120] Each voxel (i.e., each grid site) is represented by a state vector f(x). The state vector completely defines the state of the voxel and includes 39 entries. These 39 entries correspond to one energy zero state, 6 energy one states, 8 energy three states, 6 energy four states, 12 energy eight states, and 6 energy nine states. By using this set of velocities, the system can generate Maxwell-Boltzmann statistics for the achieved equilibrium state vector.
[0121] For processing efficiency, voxels are grouped into 2x2x2 volumes called microblocks. Microblocks are organized to allow parallel processing of voxels and minimize the overhead associated with data structures. The shorthand notation for a voxel in a microblock is defined as N i (n), where n represents the relative position of the grid site within the microblock, and n∈{0,1,2,...,7}.
[0122] The microblock is shown in FIG. 10 .
[0123] 11A and 11B, the surface S (FIG. 11A) is represented in the simulation space (FIG. 11B) as a facet F α A collection of:
[0124] S={F α Equation (1.7) Where α is an index that enumerates a particular facet. Facets are not limited to voxel boundaries, but are typically of the order of magnitude or slightly smaller than the size of the voxels adjacent to the facet, so that the facet affects a relatively small number of voxels. To implement surface dynamics, properties are assigned to facets. Specifically, each facet F α With unit normal (n α ), surface area (A α )、Center position(x α ) and the surface element distribution function (f i (α)).
[0125] Referring to FIG. 12 , different levels of resolution can be used in different regions of the simulation space to improve processing efficiency. Typically, the region 650 surrounding the object 655 is of most interest and is therefore simulated at the highest resolution. Because the effect of viscosity decreases with distance from the object, regions 660, 665 with increasing distances from the object 655 are simulated using progressively lower levels of resolution (i.e., expanded voxel volumes).
[0126] 13, lower levels of resolution can be used to simulate regions 770 around less important features of object 775, while the highest resolution level is used to simulate regions 780 (e.g., leading and trailing surfaces) around the most important features of object 775. Peripheral region 785 is simulated using the lowest resolution level and maximum voxels.
[0127] Identify voxels affected by surfels
[0128] Reference again Fig. 9 Once the simulation space has been modeled (302), voxels that are affected by one or more facets are identified (304). Voxels can be affected by facets in a number of ways. First, voxels that intersect one or more facets are affected because the voxel has a reduced volume relative to non-intersecting voxels. This occurs because the facets and the material beneath the surface represented by the facets occupy a portion of the voxel. The fractional factor P f (x) indicates the portion of the voxel that is not affected by the panel (i.e., the portion that can be occupied by the fluid or other material for which the flow is simulated). For non-intersecting voxels, P f (x) is equal to 1.
[0129] Voxels that interact with one or more bins by transferring particles to or receiving particles from a bin are also identified as voxels affected by the bin. All voxels that intersect a bin will include at least one state for receiving particles from a bin and at least one state for transferring particles to a bin. In most cases, additional voxels will also include these states.
[0130] Referring to FIG14 , for a non-zero velocity vector c i For each state i, the face F α From the parallelepiped G iα The area defined by the parallelepiped G receives particles or transfers particles to the area. iα has a height determined by the velocity vector c i and the unit normal n of the surface element α The vector dot product (|c i n i |) and the surface area A of the bin α The cardinality of the definition is defined so that the parallelepiped Giα The volume V iα equal:
[0131] V ia =|c i n a |A a Equation (I.8)
[0132] When the velocity vector of the state points to the surface element (|c i n i |<0), the bin F α From the volume V iα Receive the particle, and when the velocity vector of the state points away from the surface element (|c i n i |>0), the bin F α As will be discussed below, when another facet occupies the parallelepiped G iα This expression must be modified when is part of (which may occur near non-convex features such as interior corners).
[0133] Panel F α The parallelepiped G iα The number of voxels or parts thereof depends on the size of the facet relative to the size of the voxel, the energy of the state, and the orientation of the facet relative to the grid structure. The number of voxels affected increases with the size of the facet. Thus, as described above, the size of the facet is typically selected to be the size of a voxel located near the facet or smaller than the size of the voxel.
[0134] From the parallelepiped G iα The portion of the overlapping voxels N(x) is defined as V iα (x). Using this term, between voxel N(x) and surface F α The flux of particles moving between states i is Γ iα (x) is equal to the density of state i in that voxel (N i (x)) multiplied by the volume of the region overlapping with the voxel (V iα (x)):
[0135] Γ iα (x) = N i (x)V iα (x) Equation (I.9)
[0136] When the parallelepiped G iα When intersecting one or more polygons, the following conditions are met:
[0137] V iα =∑V α (x)+∑Viα (β) Equation (I.10) The first sum is considered with G iα For all voxels that overlap, the second term considers iα All the face elements intersecting. When the parallelepiped G iα When there is no intersection with another polygon, this expression simplifies to:
[0138] V iα =∑V iα (x) Equation (I.11)
[0139] Execute simulation
[0140] Reference again Fig. 9 Once the voxels affected by one or more facets are identified (304), a timer is initialized to begin the simulation (306). During each time increment of the simulation, the movement of particles from voxel to voxel is simulated by an advection phase (308-316), which takes into account the interaction of particles with surface facets. Next, a collision phase (318) simulates the interaction of particles within each voxel based in part on the use of the entropy solver discussed above. Thereafter, the timer is incremented (320). If the incremented timer does not indicate that the simulation is complete (322), the advection and collision phases (308-320) are repeated. If the incremented timer indicates that the simulation is complete (322), the results of the simulation are stored and / or displayed (324).
[0141] like Fig. 9 As shown in , a "parallel path" is used for advection of the entropy state. This parallel path generally includes parallel actions 308'-318', followed by advection evaluation using an entropy solver 34b. The entropy state moves 314' between voxels along a three-dimensional straight line grid, similar to the voxel-to-voxel movement 314 discussed above. As long as the incrementing timer does not indicate that the simulation is complete, the process repeats (322).
[0142] 1. Boundary conditions for surfaces
[0143] In order to correctly model the interaction with the surface, each cell must satisfy four boundary conditions. First, the combined mass of particles received by the cell must equal the combined mass of particles transferred by the cell (i.e., the net mass flux to the cell must equal zero). Second, the combined energy of particles received by the cell must equal the combined energy of particles transferred by the cell (i.e., the net energy flux to the cell must equal zero). Both of these conditions are satisfied by requiring the net mass flux at each energy level (i.e., energy levels one and two) to equal zero.
[0144] The other two boundary conditions are related to the net momentum of the particle interacting with the surface element. For a surface without surface friction (referred to herein as a sliding surface), the net tangential momentum flux must be equal to zero, and the net normal momentum flux must be equal to the local pressure at the surface element. Therefore, the normal n perpendicular to the surface element α The components of the combined received and transferred momentum (i.e., the tangential components) must be equal, and the normal n parallel to the surface element α The difference between the components of the combined received and transferred momentum (i.e., the normal component) must equal the local pressure at the surface element. For non-sliding surfaces, the friction of the surface reduces the combined tangential momentum of the particles transferred by the surface element relative to the combined tangential momentum of the particles received by the surface element by a factor related to the amount of friction.
[0145] 2. Collection from voxels to surfaces
[0146] As a first step in simulating the interaction between particles and the surface, particles are collected from voxels and provided to facets (308). As described above, voxels N(x) and facets F α The flux of particles in state i is:
[0147] Γ iα (x) = N i (x)V iα (x) Equation (I.12)
[0148] Therefore, for the pointing element F α Each state (c i n α <0), provided by the voxel to the face F α The number of particles is:
[0149] Γ iα V→F=∑ X Γ iα (x) = ∑ X N i (x)V iα (x) Equation (I.13)
[0150] Only V iα (x) Voxels with non-zero values must be summed. As mentioned above, the size of the bin is chosen so that V iα (x) has non-zero values only for a small number of voxels. Since V iα (x) and P f (x) can have non-integer values, so Γ α (x) is stored and processed as a real number.
[0151] 3. Move from panel to panel
[0152] Next, the particle moves between the bins (310). If used for bin F α The incoming state (c i n α <0) parallelepiped G iα With another facet F β intersect, then by the surface element F α The part of the particles in state i received will come from the surface element F β Specifically, the facet F α will receive the β The state i of the generated particle is part of it.
[0153] This relationship is shown in Figure 15, where the bin F β Intersecting parallelepipeds G iα A portion of 1000 is equal to the surface element F α Intersecting parallelepipeds G iβ As mentioned above, the intersecting portion is represented by V iα (β). Using this term, the panel F β and face element F α The flux of particles between states i can be described as:
[0154] Γ iα (β,t-1)=Γ i (β)V iα (β) / V iα Equation (I.14)
[0155] where Γ i (β,t-1) is the value of the bin F during the previous time increment. β The measure of the particle i in the state generated. Therefore, for the pointing surface element F α Each state (c i n α <0), provided by other bins to bin F α The number of particles is:
[0156] Γ iαF→F =∑ β Γ iα (β)=∑ β Γ i (β, t-1)V iα (β) / V iα Equation (1.15) and the total flux of particles in state i entering the surface element is:
[0157]
[0158] The state vector N(α) for the bin, also called the bin distribution function, has M entries corresponding to the M entries of the voxel state vector. M is the number of discrete grid point rates. The input state of the bin distribution function N(α) is set to be, for c i n α < 0, equal to the flux of particles entering those states divided by the volume V iα :
[0159] N i (α) = Γ iIN (α) / V iα Equation (I.17)
[0160] The bin distribution function is a simulation tool used to generate output flux from bins, and does not necessarily represent actual particles. To generate accurate output flux, values are assigned to the other states of the distribution function. Use the technique described above for filling the inward state to fill the outward state:
[0161] N i (α) = Γ iOTHER (α) / V iα Equation (I.18)
[0162] For c i n α ≥ 0, where the above is used to generate Γ iIN (α) Technical determination of Γ iOTHER (α), but applying this technique to all states except the incoming state (c i n α <0) (c i n α ≥0). In another method, the previous Γ can be used iOUT (α) value generation Γ iOTHER (α), such that:
[0163] Γ iOTHER (α, t) = Γ iOUT (α, t-1). Equation (I.19)
[0164] For the parallel state (c i n α =0), V iα and V iα (x) are all zero. i In the expression of (α), V iα (x) appears in the numerator (according to the iOTHER (α) expression), and V iα appears in the denominator (according to the i (α)). Thus, N for the parallel statei (α) indicates that V iα and V iα When (x) approaches zero, N i The values of the states with zero velocity (i.e., the stationary state and the states (0, 0, 0, 2) and (0, 0, 0, -2)) are initialized at the beginning of the simulation based on the initial conditions of temperature and pressure. These values are then adjusted over time.
[0165] 4. Performing panel surface dynamics
[0166] Next, surface dynamics are performed on each facet to satisfy the above Fig. 9 (312) Four boundary conditions are discussed.
[0167] The process for performing surface dynamics for a bin is illustrated in Figure 16. First, for all i, the momentum associated with the bin F is determined by determining the combined momentum P(α) of the particles at the bin. α Vertical combined momentum (1105):
[0168]
[0169] Therefore, the normal momentum P n (α) is determined as:
[0170] P n (α) = n α ·P(α). Equation (I.21)
[0171] This normal momentum (1110) is then removed using a push / pull technique to produce N n- (α). According to this technique, the particle moves between states in a manner that affects only the normal momentum. The push / pull technique is described in U.S. Patent No. 5,594,671, which is incorporated by reference.
[0172] Afterwards, N n- (α) particles collide to produce a Boltzmann distribution N n-β (α)(1115). As described below with respect to implementing fluid dynamics, this can be accomplished by applying a collision rule set to N n- (α) to realize the Boltzmann distribution.
[0173] Determine the (1120) bin F based on the incoming flux distribution and the Boltzmann distribution α The outgoing flux distribution of . First, the incoming flux distribution Γ i The difference between (α) and the Boltzmann distribution is determined as:
[0174] ΔΓi (α) = Γ iIN (α)-N n-βi (α)V iα Equation (I.22)
[0175] Using this difference, for n α c i >0, the outgoing flux distribution is:
[0176] Γ iOUT (α) = N n-βi (α)V iα -.Δ.Γ i *(α), equation (I.23) where i* is a state with the opposite direction to state i. For example, if state i is (1, 1, 0, 0), then state i* is (-1, -1, 0, 0). To account for skin friction and other factors, for n α c i > 0, the outgoing flux distribution can be further refined as:
[0177] Γ iOUT (α) = N n-Bi (α)V iα -ΔΓ i *(α)+C f (n α ·c i )-[N n-βi *(α)-N n-βi (α)]V iα +(n α ·c i )(t 1α ·c i )ΔN j,1 V iα +(n α ·c i )(t 2α ·c i )ΔN j,2 V iα
[0178] Equation (I.24) where C f is a function of skin friction, t iα is perpendicular to n α The first tangent vector, t 2α is with n α and t 1α are perpendicular to the second tangent vector, and ΔN j,1 and ΔN j,2 is the distribution function corresponding to the energy (j) of state i and the indicated tangent vector. These distribution functions are determined according to the following formula:
[0179]
[0180] where j is equal to 1 for the level 1 state and equal to 2 for the level 2 state.
[0181] Γ iOUT The function of each term of the equation (α) is as follows. The first and second terms enforce the normal momentum flux boundary conditions so that the collision is valid in producing a Boltzmann distribution, but includes an anomaly in the tangential momentum flux. The fourth and fifth terms correct for this anomaly, which may arise from discrete effects or non-Boltzmann structures due to inadequate collisions. Finally, the third term adds a specified amount of skin fraction to enforce the desired change in the tangential momentum flux on the surface. The friction coefficient C is described below. f It is important to note that all terms involving vector manipulation are geometric factors that can be calculated before starting the simulation.
[0182] From this, the tangential velocity is determined as:
[0183] u i (α)=(P(α)-P n (α)n α ) / ρ, Equation (I.26)
[0184] where ρ is the density of the bin distribution:
[0185] ρ=∑ i N i (α) Equation (I.27)
[0186] As mentioned above, the difference between the incoming flux distribution and the Boltzmann distribution is determined as:
[0187] ΔΓ i (α) = Γ ilN (α)-N n-βi (α)V iα Equation (I.28)
[0188] Then, the outgoing flux distribution becomes:
[0189] Γ iOUT (α) = N n-βi (α)V iα -ΔΓ i* (α)+C f (n α c i )[N n-βi* (α)-N n-βi (α)]V iα Equation (I.29)
[0190] This corresponds to the first two rows of the outgoing flux distribution determined by the previous technique, but without the need to correct for the anomalous tangential flux.
[0191] Using either method, the resulting flux distribution satisfies all momentum flux conditions, namely:
[0192]
[0193] where p α It is the face element F α The equilibrium pressure at , and based on the average density and temperature values of the voxels providing particles to that panel, and u α is the average velocity at the surface.
[0194] To ensure that the mass and energy boundary conditions are met, the difference between the input energy and the output energy is measured for each energy level j:
[0195]
[0196] where index j represents the energy of state i. Then for c ji n α >0, use this energy difference to generate the difference term:
[0197]
[0198] This difference term is used to modify the outgoing flux so that for c ji n α >0, the flux becomes:
[0199] Γ αjiOUTf =Γ αjiOUT +δΓ αji
[0200] Equation (I.33) This operation corrects the mass and energy fluxes while keeping the tangential momentum flux unchanged. If the flow is roughly uniform and close to equilibrium near the cell, then the adjustment is small. The resulting normal momentum flux after the adjustment is slightly changed to a value based on the equilibrium pressure of the neighborhood average properties plus a correction due to the inhomogeneous or non-equilibrium properties of the neighborhood.
[0201] 5. Moving from voxel to voxel
[0202] Reference again Fig. 9, particles are moved between voxels along a three-dimensional straight line grid (314). This voxel-to-voxel movement is the only movement operation performed on voxels that do not interact with the surface element (i.e., voxels that are not located near the surface). In a typical simulation, voxels that are not located close enough to the surface to interact with the surface make up the majority of the voxels.
[0203] Each separate state represents a particle moving along the grid at an integer rate in each of the three dimensions (x, y, and z). Integer rates include: 0, ±1, and ±2. The sign of the rate indicates the direction the particle is moving along the corresponding axis.
[0204] For voxels that do not interact with surfaces, the move operation is computationally very simple. During each time increment, the entire population of a state moves from its current voxel to its destination voxel. At the same time, the particles of the destination voxel move from that voxel to their own destination voxel. For example, a level 1 particle moving in the +1x and +1y directions (1,0,0) moves from its current voxel to a voxel that is +1 in the x direction and 0 in the other directions. The particle ends up in the same state (1,0,0) at its destination voxel as it was before the move. Interactions within a voxel will likely change the population of particles in that state based on local interactions with other particles and surfaces. If this is not the case, then the particle will continue to move along the grid at the same rate and direction.
[0205] For voxels that interact with one or more surfaces, the move operation becomes slightly more complicated. This can result in one or more fractional particles being transferred to a surfel. This transfer of fractional particles to a surfel results in fractional particles remaining in the voxel. These fractional particles are transferred to the voxels occupied by the surfel.
[0206] 17, when a portion 900 of the state i particle for voxel 905 moves to bin 910 (308), the remaining portion 915 moves to voxel 920 (where bin 910 is located and from which the state i particle is directed). iα (x) is equal to 0.25 (i.e., one quarter of the voxel and the parallelepiped G iα intersect), then 6.25 particles will move to the surface element F α And 18.75 particles will move to the area defined by the surface element F α Since multiple surfels can intersect a single voxel, the number of particles in state i that transition to a voxel N(f) occupied by one or more surfels is:
[0207]
[0208] where N(x) is the source voxel.
[0209] 6. Scattering from Surfets to Voxels
[0210] Next, the outgoing particles from each bin are scattered to the voxel (316). Essentially, this is the reverse of the collection of particles moving from voxel to bin. α The number of particles in state i that move to voxel N(x) is:
[0211]
[0212] Where P f (x) Consider the volume reduction of some voxels. Therefore, for each state i, the total number of particles pointing from the surface element to the voxel N(x) is:
[0213]
[0214] After scattering particles from bins to voxels, combining them with particles advected in from surrounding voxels, and integerizing the result, some directions in some voxels may underflow (become negative) or overflow (exceed 255 in an eight-bit implementation). This will result in a gain or loss of these quantities after mass, momentum, and energy are truncated to fit within the allowed range of values. To prevent this from happening, the out-of-bounds mass, momentum, and energy are accumulated before truncation of the offending state. For the energy to which the state belongs, an amount of mass equal to the value gained (due to underflow) or lost (due to overflow) is added back to a randomly (or sequentially) selected state with the same energy and which does not itself suffer from overflow or underflow. The additional momentum resulting from this addition of mass and energy is accumulated and added to the momentum resulting from the truncation. By adding mass only to the same energy state, both mass and energy are corrected when the mass counter reaches zero. Finally, the momentum is corrected using a push / pull technique until the momentum accumulator returns to zero.
[0215] 7. Perform fluid dynamics
[0216] Execution Fluid Dynamics(318) Fig. 9 This step can be referred to as microdynamics or intra-voxel operations. Similarly, the advection process can be referred to as inter-voxel operations. The microdynamics operation described below can also be used for particles at collision bins to produce a Boltzmann distribution.
[0217] The fluid dynamics are ensured in the Lattice Boltzmann equation model by a special collision operator called the BGK collision model. This collision model mimics the dynamics of the distribution in real fluid systems. The collision process can be well described by equations I.1 and the right-hand side of equation I.2. After the advection step, the conserved quantities of the fluid system, specifically density, momentum and energy, are obtained from the distribution function using equation I.3. From these quantities, the f in equation (I.2) is obtained. eq The equilibrium distribution function represented by is fully specified by equation (I.4). The velocity vector set c i , the choice of weights (all listed in Table 1) together with Equation I.2 ensures that the macroscopic behavior obeys the correct fluid dynamics equations.
[0218] refer to Fig.18 , the system generates 1200 a distribution of particle transport, wherein entropy determination is separate from collision operations. In this example, the distribution function includes advection, and entropy determination is included in the distribution portion by enhancing advection with entropy determination (rather than enhancing particle collisions with entropy determination). Generally speaking, advection includes transport of particles (e.g., from one region to another in a horizontal direction).
[0219] In operation, the system simulates (1202) transport of particles in a volume of fluid in a grid velocity set, wherein the transport causes collisions between particles. The system also generates (1204) a distribution of particles based on a distribution function for the transport of the particles, wherein the distribution function includes a thermodynamic step and a particle collision step, and wherein the thermodynamic step is substantially independent of and separate from the particle collision step.
[0220] In the example of FIG. 12 , the system also determines ( 1204 ) a post-collision distribution function f of a collision at a particular location x in the fluid volume at a particular time t. i ′(x,t), where f i ′(x,t)=f i (x,t)+C i (x, t), where C i is the collision operator, and f i is the distribution function of the particles before the collision.
[0221] The system is in 1206 according to Equation 7 by using the grid vector q ito solve for entropy and transport to represent a particular entropy. Equation 7 and Equation 1 carry entropy from one grid point to another, effectively providing entropy as a scalar that advects with the advection of fluid flow, as discussed in U.S. Patent Publication No. US-2016-0188768-A1 for the advection of scalars such as temperature. This technique provides smooth transitions near different grid levels and near complex boundaries.
[0222] Variable resolution
[0223] Variable resolution may also be employed (as discussed in US 2013 / 0151221 A1) and voxels of different sizes would be used, for example coarse voxels and fine voxels.
[0224] FIG. 19 shows a screen shot of a fluid simulation. A fluid simulation using the entropy solver method described above will provide a similar description of the fluid simulation and any conventional corresponding calculated data output. However, when an object with a curved surface (e.g., an actual physical object) is modeled, this fluid simulation using the entropy solver method described above can perform fluid simulation faster, and / or use less computing resources than other methods, and can also be used to model objects in high Mach number fluid flows while maintaining a relatively stable entropy solver for applications that require highly accurate transient results with compressibility effects.
[0225] Hardware and software implementation
[0226] The system 10 may generally be implemented as any of a variety of different electrical or electronic computing or processing devices, and may perform any combination of the various steps discussed above to control the various components of the disclosed thermal management system.
[0227] The system 10 may generally and optionally include any one or more of a processor (or multiple processors), a memory, a storage device, and an input / output device. Some or all of these components may be interconnected using a system bus, such as Figure 1 . The processor is capable of processing instructions for execution. In some embodiments, the processor is a single-threaded processor. In certain embodiments, the processor is a multi-threaded processor. Typically, the processor is capable of processing instructions stored in a memory or on a storage device to display graphical information for a user interface on an input / output device and to perform the various monitoring and control functions discussed above. Processors suitable for use in the systems disclosed herein include general-purpose and special-purpose microprocessors, as well as the sole processor or one of multiple processors of any type of computer or computing device.
[0228] The memory stores information within the system and may be a computer-readable medium, such as a volatile or non-volatile memory. The storage device is capable of providing mass storage for the system 10. In general, the storage device may include any non-transitory tangible medium configured to store computer-readable instructions. For example, the storage device may include computer-readable media and associated components, including: magnetic disks, such as internal hard disks and removable disks; magneto-optical disks; and optical disks. Storage devices suitable for tangibly embodying computer program instructions and data include all forms of non-volatile memory, including, for example, semiconductor memory devices, such as EPROM, EEPROM, and flash memory devices; magnetic disks, such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks. The processor and memory unit of the system disclosed herein may be supplemented by or incorporated into an ASIC (application-specific integrated circuit).
[0229] The input / output device provides input / output operations for the system 10 and may include a keyboard and / or a pointing device. In some embodiments, the input / output device includes a display unit for displaying a graphical user interface and system related information.
[0230] The features described herein, including components for performing various measurement, monitoring, control, and communication functions, may be implemented in digital electronic circuit systems, or in computer hardware, firmware, or a combination thereof. The method steps may be implemented in a computer program product tangibly embodied in an information carrier (e.g., in a machine-readable storage device) for execution by a programmable processor (e.g., of system 10), and the features may be performed by a programmable processor executing such a program of instructions to perform any of the steps and functions described above. A computer program suitable for execution by one or more system processors includes a set of instructions that may be used, directly or indirectly, to cause a processor or other computing device executing the instructions to perform certain activities, including the various steps discussed above.
[0231] Computer programs suitable for use with the systems and methods disclosed herein may be written in any form of programming language, including compiled or interpreted languages, and may be deployed in any form, including as stand-alone programs or as modules, components, subroutines, or other units suitable for use in a computing environment.
[0232] Many implementations have been described. However, it should be understood that various modifications may be made without departing from the spirit and scope of the claims. Therefore, other implementations are within the scope of the following claims.
Claims
1. A method for simulating fluid flow on a computer, the method comprising: simulating movement of a fluid across the grid, said movement of the fluid being simulated to model movement of particles across said grid; storing, in a computer-accessible memory, a set of state vectors for each grid position in the grid, each of the state vectors comprising a plurality of entries corresponding to a particular momentum state among possible momentum states at the corresponding grid position; The temporal evolution of the entropy of the fluid flow is simulated by: For a collision operation, collecting an incoming distribution set from adjacent grid positions, the incoming distribution set representing a particle distribution at the adjacent grid positions; The scalar value in each position is calculated by a computer; The outgoing distribution is determined as the product of the collision operating equation and the additional heat source; and modifying the fluid flow by performing, by a computer, advection of the particles to subsequent grid locations for a time interval.
2. The method of claim 1, wherein the activity of simulating a fluid flow comprises simulating the fluid flow based in part on a first set of discrete grid point velocities, and the method further comprises: The time evolution of the entropy quantity is simulated based in part on a second set of discrete grid point rates.
3. The method of claim 2, wherein the second set of discrete grid point rates and the first set of discrete grid point rates are the same grid point rates.
4. The method of claim 1, further comprising: The computer calculates the high-order error terms based on the grid point set vectors input; determining an average value of the higher-order error terms; as well as The average of the higher order error terms is subtracted from the collision operator.
5. The method of claim 1 , wherein an additional heat source term is calculated and added to the second state, and the method further comprises: The effects of heating by fluid viscosity and heating by fluid conduction are calculated by computer. The entropy diffusion is calculated by a computer and removed from the additional heat source term.
6. The method of claim 1, further comprising: A set of physical quantities at grid positions in the grid is calculated by a computer.
7. The method of claim 1, wherein the Lattice Boltzmann entropy solver avoids second order velocity terms.
8. The method of claim 1, wherein the collision operator involves a non-equilibrium calculation without any second order terms of velocity.
9. The method of claim 1, further comprising: By providing the grid point vector q i The entropy is solved by an additional set of to denote the specific entropy s, and the time evolution of these states is given by where q i is the grid vector, x is the direction, c i is the velocity of the state, Δt is the change in time t, is the equilibrium lattice vector, τ q is the relaxation time, V is the velocity, is the nonequilibrium contribution, p is the pressure, and Qs is the additional heat source.
10. The method of claim 9, wherein the collision operator is related to:
11. A computing system configured to simulate fluid flow, the computing system comprising: one or more processor devices; a memory operatively coupled to the one or more processor devices, the memory storing computing instructions to cause the one or more processor devices to: simulating movement of a fluid across the grid, said movement of the fluid being simulated to model movement of particles across said grid; storing in the memory a set of state vectors for each grid position in the grid, each of the state vectors comprising a plurality of entries corresponding to a particular momentum state among possible momentum states at the corresponding grid position; The temporal evolution of the entropy of the fluid flow is simulated by the following instructions: For a collision operation, collecting an incoming distribution set from adjacent grid positions, the incoming distribution set representing a particle distribution at the adjacent grid positions; The scalar value in each position is calculated by a computer; The outgoing distribution is determined as the product of the collision operating equation and the additional heat source; as well as The fluid flow is modified by a computer performing advection of the particles to subsequent grid locations for a time interval.
12. The system of claim 11, wherein the instructions for simulating the activity of fluid flow include instructions for: simulating fluid flow based in part on a first set of discrete grid point velocities; The time evolution of the entropy quantity is simulated based in part on a second set of discrete grid point rates.
13. The system of claim 12, wherein the second set of discrete grid point rates are the same grid point rates as the first set of discrete grid point rates.
14. The system of claim 11, further comprising instructions for: Calculate the high-order error terms based on the input grid point set vector; determining an average value of the higher-order error terms; and The average of the higher order error terms is subtracted from the collision operator.
15. The system of claim 11, wherein an additional heat source term is calculated and added to the second state, and the system further comprises instructions for: Calculate the effects of heating through fluid viscosity and heating through fluid conduction, The entropy diffusion is calculated by a computer and removed from the additional heat source term.
16. The system of claim 11, further comprising instructions for: A set of physical quantities is calculated for grid locations in the grid.
17. The system of claim 11, wherein the Lattice Boltzmann entropy solver avoids second order velocity terms.
18. The system of claim 11, wherein the collision operator involves a non-equilibrium calculation without any second order terms of velocity.
19. The system of claim 11, further comprising instructions for: By providing the grid point vector q i The entropy is solved by an additional set of to denote the specific entropy s, and the time evolution of these states is given by where q i is the grid vector, x is the direction, c i is the velocity of the state, Δt is the change in time t, is the equilibrium lattice vector, τ q is the relaxation time, V is the velocity, is the nonequilibrium contribution, p is the pressure, and Qs is the additional heat source.
20. The system of claim 19, wherein the collision operator is related to:
21. A computer program product tangibly stored on a non-transitory hardware storage device, the computer program product comprising executable instructions for configuring a computing system to: simulating movement of a fluid across the grid, said movement of the fluid being simulated to model movement of particles across said grid; storing in a memory a set of state vectors for each grid position in the grid, each of the state vectors comprising a plurality of entries corresponding to a particular momentum state among possible momentum states at the corresponding grid position; The temporal evolution of the entropy of the fluid flow is simulated by the following instructions: For a collision operation, collecting an incoming distribution set from adjacent grid positions, the incoming distribution set representing a particle distribution at the adjacent grid positions; The scalar value in each position is calculated by a computer; The outgoing distribution is determined as the product of the collision operating equation and the additional heat source; as well as The fluid flow is modified by a computer performing advection of the particles to subsequent grid locations for a time interval.
