+

CN101329700A - A method for simulating fluid flow - Google Patents

A method for simulating fluid flow Download PDF

Info

Publication number
CN101329700A
CN101329700A CNA2008101122640A CN200810112264A CN101329700A CN 101329700 A CN101329700 A CN 101329700A CN A2008101122640 A CNA2008101122640 A CN A2008101122640A CN 200810112264 A CN200810112264 A CN 200810112264A CN 101329700 A CN101329700 A CN 101329700A
Authority
CN
China
Prior art keywords
cisgrid
grid
fluid flow
boundary
summit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2008101122640A
Other languages
Chinese (zh)
Other versions
CN101329700B (en
Inventor
杨钦
李吉刚
孟宪海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Grid World Software Technology Ltd By Share Ltd
Original Assignee
Beihang University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beihang University filed Critical Beihang University
Priority to CN2008101122640A priority Critical patent/CN101329700B/en
Publication of CN101329700A publication Critical patent/CN101329700A/en
Application granted granted Critical
Publication of CN101329700B publication Critical patent/CN101329700B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开了一用于模拟流体流动的方法,该流体流动的区域内包括以非规则边界表示的障碍物;其特征在于,包括:创建初始物理空间的结构化网格,通过逐个处理非规则边界将初始物理空间结构化网格演化为复合结构化网格,并且每个非规则边界亦作为零等值面嵌入其中,称为复合隐式结构化网格(CISgird);将CISgrid单元顶点作为计算节点,根据CISgrid的节点连通规则采取有限差分法进行流体流动数值模拟。根据CISgrid的单元内部有效性规则进行流体流动数值模拟的后置处理过程。解决了直接使用结构化网格及有限差分法进行流体流动模拟时不能有效处理非规则边界的问题,避免了采用非结构化网格所带来的复杂网格生成及基于非结构化网格的复杂数值计算问题,有效提高了流体模拟的效率。

Figure 200810112264

The invention discloses a method for simulating fluid flow, the region of fluid flow includes obstacles represented by irregular boundaries; it is characterized in that it includes: creating a structured grid of initial physical space, by processing irregular The boundary evolves the initial physical space structured grid into a composite structured grid, and each irregular boundary is also embedded as a zero isosurface, which is called a composite implicit structured grid (CISgrid); the CISgrid unit vertices are used as Calculate the nodes, and use the finite difference method to simulate the fluid flow according to the node connectivity rules of CISgrid. The post-processing process of fluid flow numerical simulation is carried out according to the internal validity rules of CISgrid. It solves the problem that irregular boundaries cannot be effectively dealt with when directly using structured grids and finite difference method for fluid flow simulation, and avoids the complex grid generation caused by unstructured grids and the unstructured grid-based Complex numerical calculation problems effectively improve the efficiency of fluid simulation.

Figure 200810112264

Description

一种用于模拟流体流动的方法 A method for simulating fluid flow

技术领域 technical field

本发明涉及一种用于模拟流体流动的方法。The invention relates to a method for simulating fluid flow.

背景技术 Background technique

在生活中经常遇到的诸如泄露在海面上的石油的扩散、煤气在建筑物物中的泄露、波浪的变化和发展,以及生产过程中的晶体形成和生长、液体中气泡的逸出和破裂、浇铸和注塑过程等等都是关于流体流动运动界面的问题。为制定有效的求援方案或确保产品的质量,重要的是对上述过程进行准确和有效的模拟。模拟这个过程包括对流体流动行为及流动区域内的边界面进行建模。现有技术的方法已使用计算流体动力学、有限元分析、有限差分法对上述行为进行建模。Frequently encountered in life, such as the diffusion of oil leaked on the sea surface, the leakage of gas in buildings, the change and development of waves, and the formation and growth of crystals in the production process, the escape and rupture of bubbles in liquids , casting and injection molding processes, etc. are all about fluid flow motion interface issues. In order to formulate an effective rescue plan or to ensure the quality of the product, it is important to carry out accurate and effective simulation of the above-mentioned process. Simulating this process involves modeling the fluid flow behavior and the boundary surfaces within the flow region. Prior art methods have used computational fluid dynamics, finite element analysis, finite difference methods to model the behavior described above.

有限差分法是一种用于数值求解关于流体流动行为有效技术,它是将求解区域划分为矩形或正交曲线网格,在网格线交点,即节点上,将描述流体流动行为的控制方程中的每一个微商用差商来代替,从而将连续函数的微分方程离散为网格节点上定义的差分方程,每个方程中包含了本节点及其附近一些节点上的待求函数值,通过求解这些代数方程就可获得所需的数值解。The finite difference method is an effective technique for numerically solving the behavior of fluid flow. It divides the solution area into rectangular or orthogonal curve grids, and at the intersection points of the grid lines, that is, nodes, the governing equations describing the fluid flow behavior will be described. Each differential in is replaced by a difference quotient, so that the differential equation of the continuous function is discretized into a difference equation defined on the grid node. Each equation contains the value of the function to be found on this node and some nearby nodes. Through Solving these algebraic equations yields the desired numerical solution.

当流体流动区域内存在复杂的边界形状时,由于常规的结构化网格不能描述复杂边界形状,导致有限差分法无法适用于相应流体流动行为的控制方程的数值求解,或者在非规则边界附近无法给出满意的数值解。针对复杂边界形状,进行流体流动模拟通常采取的方案是,将流动区域剖分成非结构化网格,然后用有限元方法或有限体积法进行数值求解。然而由于复杂边界形状下的区域剖分本身是一个复杂的计算几何问题,其次是有限元、有限体积法相比有限差分法更复杂,由此增加了流体流动模拟的困难与复杂性。When there is a complex boundary shape in the fluid flow region, because the conventional structured grid cannot describe the complex boundary shape, the finite difference method cannot be applied to the numerical solution of the governing equations of the corresponding fluid flow behavior, or cannot be solved near the irregular boundary. give a satisfactory numerical solution. For complex boundary shapes, the usual solution for fluid flow simulation is to divide the flow region into unstructured grids, and then use the finite element method or finite volume method for numerical solution. However, since the subdivision of regions under complex boundary shapes is a complex computational geometry problem, the finite element and finite volume methods are more complex than the finite difference method, which increases the difficulty and complexity of fluid flow simulation.

发明内容 Contents of the invention

本发明要解决的技术问题是:当流体流动的区域内包含以非规则边界表示的障碍物时,提供一种模拟流体流动的方法,从而可以更精确和高效的实现流体模拟。The technical problem to be solved by the present invention is to provide a method for simulating fluid flow when the region of fluid flow contains obstacles represented by irregular boundaries, so that fluid simulation can be realized more accurately and efficiently.

本发明解决其技术问题所采用的技术方案是:一种用于模拟流体流动的方法,该流体流动的区域内包括以非规则边界表示的障碍物,其特征在于,包括:The technical solution adopted by the present invention to solve the technical problem is: a method for simulating fluid flow, the fluid flow region includes obstacles represented by irregular boundaries, and is characterized in that it includes:

创建覆盖流体流动区域的初始物理空间结构化网格;Create an initial physical space structured grid covering the fluid flow area;

将流体流动区域的初始物理空间网格转化为嵌入非规则边界的的复合结构化网格,以下将上述嵌入非规则边界的复合结构化网格称为复合隐式结构化网格(Compound ImplicitStructural Grid),记为CISgrid;The initial physical space grid of the fluid flow area is converted into a compound structured grid embedded with irregular boundaries. The above-mentioned compound structured grid embedded with irregular boundaries is called a compound implicit structural grid (Compound Implicit Structural Grid) ), denoted as CISgrid;

根据CISgrid的节点连通规则进行流体流动的数值模拟;Numerical simulation of fluid flow according to the node connectivity rules of CISgrid;

根据CISgrid的单元内部有效性规则进行流体流动数值模拟的后置处理过程。The post-processing process of fluid flow numerical simulation is carried out according to the internal validity rules of CISgrid.

所述的流体流动区域的初始物理空间结构化网格,在二维情形是四边形网格,在三维情形是六面体网格;对二维情形,所述表示流动区域内障碍物的非规则边界可以是任何数学形式描述的折线段、曲线段的有限集;对三维情形,所述非规则边界可以是任何数学形式描述的平面片、曲面片的有限集;并且对任意给定的非规则边界元素,它总是可以在逻辑上将空间一分为二,分成左边和右边,或内部和外部。The initial physical space structured grid of the fluid flow area is a quadrilateral grid in a two-dimensional case, and a hexahedral grid in a three-dimensional case; for a two-dimensional case, the irregular boundaries representing obstacles in the flow area can be is a finite set of polyline segments and curve segments described in any mathematical form; for three-dimensional cases, the irregular boundary can be a finite set of plane and surface patches described in any mathematical form; and for any given irregular boundary element , it can always logically divide the space in two, into left and right, or inside and outside.

所述的CISgrid网格是结构化网格在非规则边界处进行扩展而得到。The CISgrid grid is obtained by expanding the structured grid at irregular boundaries.

所述的CISgrid具有如下特征:The CISgrid has the following characteristics:

CISgrid是在所述流体流动区域的初始物理空间网格基础上演化形成的,CISgrid在空间上与所述流体流动区域的初始物理空间网格完全重合;The CISgrid is evolved and formed on the basis of the initial physical space grid of the fluid flow area, and the CISgrid is completely coincident with the initial physical space grid of the fluid flow area in space;

CISgrid的网格单元形式与所述流体流动区域的初始物理空间网格的单元形式相同,即在二维情形是四边形网格,在三维情形是六面体网格;The grid unit form of CISgrid is the same as the unit form of the initial physical space grid of the fluid flow region, that is, a quadrilateral grid in a two-dimensional case, and a hexahedral grid in a three-dimensional case;

任意流体流动区域的初始物理网格单元的空间位置处的CISgrid网格单元数不小于1。The number of CISgrid grid units at the spatial position of the initial physical grid unit in any fluid flow area is not less than 1.

所述流体流动区域的初始物理空间网格向CISgrid网格的转化是通过对非规则边界逐个处理而实现的,对给定非规则边界Γ的处理方法是:The conversion of the initial physical space grid of the fluid flow region to the CISgrid grid is realized by processing the irregular boundaries one by one, and the processing method for a given irregular boundary Γ is:

把非规则边界Γ穿过的、且与Γ上的点具有拓扑相容性的CISgrid网格单元分裂成同空间位置的两个CISgrid网格单元G1、G2,并分别附加“位于边界Γ左边”、“位于边界Γ右边”的拓扑信息结点;Split the CISgrid grid unit that crosses the irregular boundary Γ and is topologically compatible with the points on Γ into two CISgrid grid units G 1 and G 2 at the same spatial position, and attach "located on the boundary Γ The topological information nodes on the left side of the boundary Γ and on the right side of the boundary Γ;

检查单元Gi,i=1,2的顶点,如果某个顶点P相对边界Γ的实际左右方位与Gi上记录的上述关于边界Γ的拓扑信息描述矛盾,则进行顶点替换——如果共顶点P位置的所有CISgrid网格单元中存在异于Gi的、且其上记录的关于边界Γ的拓扑信息与Gi的一致的单元G′,则用G′的位于位置P处的顶点P′替换Gi的顶点P;否则,创建一个新顶点P′替换顶点P,新顶点P′具有与被替换顶点P相同的空间位置。Check the vertices of unit G i , i=1, 2, if the actual left and right orientation of a certain vertex P relative to the boundary Γ is inconsistent with the above-mentioned topological information description about the boundary Γ recorded on G i , then perform vertex replacement—if the common vertex Among all the CISgrid grid units at position P, there is a unit G′ that is different from G i and the topological information about the boundary Γ recorded on it is consistent with that of G i , then use the vertex P’ at position P of G’ Replace the vertex P of G i ; otherwise, create a new vertex P′ to replace the vertex P, and the new vertex P′ has the same spatial position as the replaced vertex P.

对上述所述的空间位置点P与包含该点的CISgrid网格单元G具有拓扑相容性是指:Topological compatibility between the above-mentioned spatial position point P and the CISgrid grid unit G containing this point means:

G所附带的拓扑信息描述表与P点的实际拓扑方位不冲突;The topological information description table attached to G does not conflict with the actual topological orientation of point P;

如果G所附带的拓扑信息描述表中有一个拓扑信息结点宣称G在边界Γ′的左边,而P点实际位于边界Γ′的右边,则P与G拓扑冲突;If there is a topology information node in the topological information description table attached to G that declares that G is on the left side of the boundary Γ', but point P is actually located on the right side of the boundary Γ', then P and G topologically conflict;

特别地,如果G所附带的拓扑信息描述表为空,则G总是与P拓扑相容的;In particular, if the topology information description table attached to G is empty, then G is always topologically compatible with P;

并且,对任意的空间位置点P,所有包含该点的CISgrid网格单元中只有一个CISgrid网格单元与P是拓扑相容的。And, for any spatial position point P, only one CISgrid grid unit among all CISgrid grid units containing this point is topologically compatible with P.

对上述所述的每个非规则边界Γ进行处理以构造CISgrid网格的过程包含了将Γ以零等值面形式嵌入CISgrid网格形成隐式表达的操作:标识为“位于边界Γ左边”或“位于边界Γ右边”的CISgrid网格单元的顶点上总是记录该顶点位置到边界Γ的有向距离信息,顶点位置位于Γ的左侧则具有第一符号,顶点位置位于Γ的右侧则具有相反符号。The process of processing each irregular boundary Γ mentioned above to construct the CISgrid grid includes the operation of embedding Γ into the CISgrid grid in the form of zero isosurface to form an implicit expression: marked as "located on the left side of the boundary Γ" or The directional distance information from the vertex position to the boundary Γ is always recorded on the vertex of the CISgrid grid unit "located on the right side of the boundary Γ". If the vertex position is located on the left side of Γ, it has the first symbol; has the opposite sign.

所述基于CISgrid进行流体流动数值模拟包括使用有限差分方法,计算节点为CISgrid网格单元的顶点。The numerical simulation of fluid flow based on the CISgrid includes using the finite difference method, and the calculation nodes are vertices of the CISgrid grid units.

所述节点连通规则是:两个计算节点是相邻的,当且仅当这两个节点是同一个CISgrid网格单元的顶点,且这两个顶点连线是CISgrid单元的一条边。The node connection rule is: two computing nodes are adjacent if and only if the two nodes are vertices of the same CISgrid grid unit, and the line connecting the two vertices is an edge of the CISgrid unit.

所述单元内部有效性规则是:CISgrid网格单元G内的点P位于G的有效区域,当且仅当位置点P与CISgrid网格单元G具有拓扑相容性。The internal validity rule of the unit is: the point P in the CISgrid grid unit G is located in the valid area of G, if and only if the position point P and the CISgrid grid unit G have topology compatibility.

本发明与现有技术相比所具有的优点是:解决了直接使用结构化网格及有限差分法进行流体流动模拟时不能有效处理非规则边界的问题,避免了采用非结构化网格所带来的复杂网格生成及基于非结构化网格的复杂数值计算问题,有效提高了流体模拟的效率。Compared with the prior art, the present invention has the advantages that it solves the problem that irregular boundaries cannot be effectively dealt with when directly using structured grids and finite difference methods for fluid flow simulation, and avoids the problems caused by the use of unstructured grids. The complex grid generation and complex numerical calculation problems based on unstructured grids have effectively improved the efficiency of fluid simulation.

以下结合附图及具体实施例对本发明进行详细描述,但不作为对本发明的限定。通过结合附图的以下说明和权利要求,可以更清楚地理解本发明的其他目标和业绩,并可以完全理解本发明。The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments, but it is not intended to limit the present invention. Other objects and features of the present invention can be more clearly understood and the present invention can be fully understood by the following description and claims taken in conjunction with the accompanying drawings.

附图说明 Description of drawings

图1在矩形网格上模拟线状污染源平行向外扩散问题;Figure 1 simulates the problem of parallel outward diffusion of linear pollution sources on a rectangular grid;

图2在矩形网格上模拟线状污染源平行向外扩散问题在非规则边界附近无法给出满意模拟效果;Fig. 2 Simulating the problem of parallel outward diffusion of linear pollution sources on a rectangular grid cannot give a satisfactory simulation effect near the irregular boundary;

图3非结构化网格可以表示非规则边界;Figure 3 Unstructured grids can represent irregular boundaries;

图4为一种采用CISgrid网格进行流体流动模拟的流程图;Fig. 4 is a kind of flow chart that adopts CISgrid grid to carry out fluid flow simulation;

图5A二维情形时具有T型相交的曲线边界;In the two-dimensional case of Fig. 5A, there is a T-shaped intersecting curved boundary;

图5B寻找非规则边界500穿过的、且与之具有拓扑相容性的CISgrid网格单元;FIG. 5B finds the CISgrid grid unit that the irregular boundary 500 passes through and is topologically compatible with;

图5C标识为边界500之左侧的CISgrid网格单元;FIG. 5C identifies the CISgrid grid cell to the left of boundary 500;

图5D标识为边界500之右侧的CISgrid网格单元;FIG. 5D identifies the CISgrid grid cell to the right of boundary 500;

图5E寻找非规则边界510穿过的、且与之具有拓扑相容性的CISgrid网格单元;FIG. 5E finds the CISgrid grid unit that the irregular boundary 510 passes through and that is topologically compatible with it;

图5F标识为边界510之左侧的CISgrid网格单元;FIG. 5F identifies the CISgrid grid cell to the left of boundary 510;

图5G标识为边界510之右侧的CISgrid网格单元;FIG. 5G identifies the CISgrid grid cell to the right of boundary 510;

图5H标识为边界500之左侧的580位置处CISgrid网格单元的有效区域;Figure 5H identifies the effective area of the CISgrid grid unit at position 580 on the left side of boundary 500;

图5I标识为边界500之右侧、边界510之左侧的580位置处CISgrid网格单元的有效区域;Fig. 5I marks the effective area of the CISgrid grid unit at the right side of the boundary 500 and the 580 position on the left side of the boundary 510;

图5J标识为边界500之右侧、边界510之右侧的580位置处CISgrid网格单元的有效区域;Fig. 5J marks the effective area of the CISgrid grid unit at position 580 on the right side of the boundary 500 and the right side of the boundary 510;

图6三维情形时具有T型相交的曲面边界;Figure 6 has a T-shaped intersecting curved surface boundary in the three-dimensional situation;

图7~图8分别表示二维情形时传播域中存在障碍物时,点状污染源径向扩散的问题及以渐变色方式显示的模拟效果;Figures 7 to 8 respectively show the problem of radial diffusion of point pollution sources and the simulation results displayed in gradient colors when there are obstacles in the propagation domain in the two-dimensional case;

图9~图12分别表示三维情形时传播域中存在障碍物时,点状污染源径向扩散的问题及以渐变色方式显示的模拟效果。Figures 9 to 12 respectively show the problem of radial diffusion of point pollution sources when there are obstacles in the propagation domain in the three-dimensional situation and the simulation effect displayed in a gradient color mode.

具体实施方式 Detailed ways

在生活中经常遇到的诸如泄露在海面上的石油的扩散、煤气在建筑物物中的泄露、波浪的变化和发展,以及生产过程中的晶体形成和生长、液体中气泡的逸出和破裂、浇铸和注塑过程等等都是关于流体流动运动界面的问题。为制定有效的求援方案或确保产品的质量,重要的是对上述过程进行准确和有效的模拟,上述模拟是通过求解偏微分控制方程——Eikonal方程: | ▿ u ( x ) | = 1 v ( x ) , x∈Rn(其中边界条件为u(x)=φ(x), x ∈ Γ ⋐ R n , ,v(x)为流动速度)来实现的。Eikonal方程是示例性的,也可以使用描述流体流动行为的其它公式而不改变要求保护的本发明的范围。Frequently encountered in life, such as the diffusion of oil leaked on the sea surface, the leakage of gas in buildings, the change and development of waves, and the formation and growth of crystals in the production process, the escape and rupture of bubbles in liquids , casting and injection molding processes, etc. are all about fluid flow motion interface issues. In order to formulate an effective rescue plan or ensure the quality of the product, it is important to carry out accurate and effective simulation of the above process, the above simulation is by solving the partial differential control equation - Eikonal equation: | ▿ u ( x ) | = 1 v ( x ) , x∈R n (where the boundary condition is u(x)=φ(x), x ∈ Γ ⋐ R no , , v(x) is the flow velocity) to achieve. The Eikonal equation is exemplary and other equations describing fluid flow behavior may be used without changing the scope of the claimed invention.

图1示出了在矩形网格上模拟线状污染源平行向外扩散问题,黑点表示线状污染源上的采样点,扩散区域内存在非规则的边界线,流体流动的控制方程为Eikonal方程,其中速度v(x)恒为1,污染源位置处的扩散时间为基准时间0,需要考察污染源扩散至区域内其它位置的时间。由于矩形网格不能描述非规则边界,而有限差分只在网格节点进行计算,这导致有限差分法在非规则边界附近无法给出满意的数值解,见图2,图中具有相同灰度的位置表示污染物到达时间相同。Figure 1 shows the problem of simulating the parallel outward diffusion of linear pollution sources on a rectangular grid. The black dots represent the sampling points on the linear pollution sources. There are irregular boundary lines in the diffusion area. The governing equation of fluid flow is the Eikonal equation, Among them, the velocity v(x) is always 1, and the diffusion time at the location of the pollution source is the reference time 0. It is necessary to investigate the time for the pollution source to diffuse to other locations in the area. Since the rectangular grid cannot describe the irregular boundary, and the finite difference is only calculated at the grid node, this makes the finite difference method unable to give a satisfactory numerical solution near the irregular boundary, as shown in Figure 2. The location indicates the same arrival time of pollutants.

针对非规则边界情形,通常采取的方案是,将待求解的问题域进行非结构化网格剖分,见图3,然后用有限元方法或有限体积法进行数值求解。由此带来的问题是,非规则边界限定条件下的区域剖分本身是一个复杂的计算几何问题,特别是三维情形下生成满足复杂曲面限定的区域四面体剖分;其次是有限元、有限体积法相比有限差分法更复杂,由此增加了流体流动模拟的困难与复杂性。In the case of irregular boundaries, the usual solution is to divide the problem domain to be solved into an unstructured grid, as shown in Figure 3, and then use the finite element method or finite volume method for numerical solution. The resulting problem is that the subdivision of the region under the condition of irregular boundaries is a complex computational geometry problem, especially in the three-dimensional case to generate tetrahedral subdivision of the region that satisfies the limitation of complex surfaces; followed by finite element, finite The volume method is more complex than the finite difference method, which increases the difficulty and complexity of fluid flow simulation.

本发明公开了用于模拟流体流动的方法,用于非规则边界条件下采用有限差分法实现流体流动的模拟,避免了采用非结构化网格所带来的复杂网格生成及基于非结构化网格的复杂数值计算问题,有效提高了流体流动模拟的效率。The invention discloses a method for simulating fluid flow, which is used to realize the simulation of fluid flow by using the finite difference method under irregular boundary conditions, avoiding the complex grid generation caused by the use of unstructured grids and based on unstructured grids. The complex numerical calculation problem of grid effectively improves the efficiency of fluid flow simulation.

本发明中,CISgrid网格是以覆盖流体流动区域的初始结构化网格为基础,通过对非规则边界逐个进行处理而演化得到的,CISgrid网格直观上可认为是结构化网格在非规则边界处进行扩展而得到。进行流体流动模拟时将以CISgrid网格节点为计算节点进行计算,最后根据CISgrid的单元内部有效性规则进行流体流动模拟的后置处理过程,比如可视化时通过内插得到非规则边界附近任意一点的数值解等等。In the present invention, the CISgrid grid is based on the initial structured grid covering the fluid flow area, and is evolved by processing the irregular boundaries one by one. obtained by expanding at the boundary. When performing fluid flow simulation, the CISgrid grid node will be used as the calculation node for calculation, and finally the post-processing process of the fluid flow simulation will be performed according to the internal validity rules of the CISgrid unit. Numerical solutions, etc.

图4为一种采用CISgrid网格进行流体流动模拟的流程图,其特征在于,包括步骤400,创建覆盖流体流动区域的初始物理空间网格;步骤410,进行生成CISgrid的相关预处理;步骤420、步骤430通过对非规则边界逐个进行处理,使得CISgrid网格不断演化并使非规则边界嵌入到CISgrid中;步骤440根据CISgrid的节点连通规则对流体控制方程进行数值求解;步骤450,根据CISgrid的单元内部有效性规则进行流体流动模拟的后置处理过程,如可视化等等。Fig. 4 is a kind of flow chart that adopts CISgrid grid to carry out fluid flow simulation, it is characterized in that, comprises step 400, creates the initial physical space grid that covers fluid flow area; Step 410, carries out the relevant preprocessing that generates CISgrid; Step 420 , step 430, by processing the irregular boundaries one by one, the CISgrid grid is continuously evolved and the irregular boundaries are embedded in the CISgrid; step 440 is numerically solved for the fluid governing equations according to the node connectivity rules of the CISgrid; step 450, according to the CISgrid The post-processing of fluid flow simulation, such as visualization, etc., is carried out by the internal validity rules of the element.

步骤400,创建覆盖流体流动区域的初始物理空间网格。通常根据所求解问题所需精度确定各个坐标轴方向上的网格单元步长,以上述步长将覆盖流体流动区域的一个规则包围盒划分为结构网格,一般在二维情形是矩形网格,在三维情形是长方体网格。Step 400, creating an initial physical space grid covering the fluid flow area. Usually, the step size of the grid unit in the direction of each coordinate axis is determined according to the accuracy required by the problem to be solved, and a regular bounding box covering the fluid flow area is divided into a structural grid with the above step size, generally a rectangular grid in a two-dimensional case , in the 3D case is a cuboid grid.

步骤410,进行生成CISgrid的相关预处理。本发明中所述非规则边界,对二维情形,可以是任何数学形式描述的折线段、曲线段的有限集;对三维情形,所述非规则边界可以是任何数学形式描述的平面片、曲面片的有限集。本发明中总是认为,对任意给定的非规则边界元素,它总是可以在逻辑上将空间一分为二,分成左边和右边,或内部和外部,本发明中总是统一使用左边和右边的术语。生成CISgrid网格的预处理主要包括,对非规则边界进行排序以决定CISgrid网格演化过程中对非规则边界的处理次序。非规则边界排序的规则可以根据当前流体流动行为进行自定义,一般普遍适用的排序规则是:大范围的非规则边界排在小范围的非规则边界之前;如果边界Γ与边界Γ′成T型相交,则边界Γ排在边界Γ′之前。如图5A,则边界500排在边界510之前。如图6,边界610排在边界600之前,边界630排在边界620之前。Step 410, perform related preprocessing for generating CISgrid. The irregular boundaries described in the present invention can be a finite set of broken line segments and curve segments described in any mathematical form for two-dimensional situations; for three-dimensional situations, the irregular boundaries can be plane sheets and curved surfaces described in any mathematical forms A finite set of slices. In the present invention, it is always considered that for any given irregular boundary element, it can always logically divide the space into two, into left and right, or inside and outside, and the left and right are always used uniformly in the present invention right term. The preprocessing of generating the CISgrid mainly includes sorting the irregular boundaries to determine the processing order of the irregular boundaries during the evolution of the CISgrid grid. The rules for sorting irregular boundaries can be customized according to the current fluid flow behavior. The generally applicable sorting rules are: large-scale irregular boundaries are sorted before small-scale irregular boundaries; if the boundary Γ and boundary Γ′ form a T-shaped Intersect, then the boundary Γ ranks before the boundary Γ'. As shown in FIG. 5A , the boundary 500 is arranged before the boundary 510 . As shown in FIG. 6 , border 610 is arranged before border 600 , and border 630 is arranged before border 620 .

本发明提出的CISgrid网格可认为是结构化网格在非规则边界处进行扩展而得到。以下以CISgrid单元为视角阐述CISgrid网格的生成方法——步骤420,即CISgrid网格在对非规则边界逐个处理的过程是如何演化的。The CISgrid grid proposed by the present invention can be considered as the expansion of the structured grid at irregular boundaries. The method for generating the CISgrid grid—step 420 , is described below from the perspective of the CISgrid unit, that is, how the CISgrid grid evolves during the process of processing irregular boundaries one by one.

首先将初始物理空间网格表达为由CISgrid单元组成的集合,每个CISgrid单元包含n个顶点指针(二维情形时n=4,三维情形时n=8),指向相应的顶点数据对象,这时,每个初始物理网格单元顶点位置处只有一个顶点数据对象。First, the initial physical space grid is expressed as a collection of CISgrid units, each CISgrid unit contains n vertex pointers (n=4 in two-dimensional cases, n=8 in three-dimensional cases), pointing to the corresponding vertex data objects, this , there is only one vertex data object at each initial physical grid cell vertex position.

本发明中,构造CISgrid网格过程中对每个非规则边界Γ的处理逻辑是:把非规则边界Γ穿过的、且与Γ上的点具有拓扑相容性的每个CISgrid网格单元G(还可以包括它的邻接单元)分裂成同空间位置的两个CISgrid网格单元,这里将CISgrid网格单元G复制一份后得到的两个单元分别记为G1、G2,并分别附加“位于边界Γ左边”、“位于边界Γ右边”的拓扑信息结点。检查单元Gi(i=1,2)的顶点,如果某个顶点P相对边界Γ的实际左右方位与Gi上记录的上述关于边界Γ的拓扑信息描述矛盾,则进行顶点替换——如果共顶点P位置的所有CISgrid网格单元中存在异于Gi的、且其上记录的关于边界Γ的拓扑信息与Gi的一致的单元G′,则用G′的位于位置P处的顶点P′替换Gi的顶点P;否则,创建一个新顶点P′替换顶点P,新顶点P′具有与被替换顶点P相同的空间位置。In the present invention, the processing logic for each irregular boundary Γ in the process of constructing the CISgrid grid is: each CISgrid grid unit G passing through the irregular boundary Γ and having topological compatibility with the points on Γ (It can also include its adjacent units) split into two CISgrid grid units at the same spatial position. Here, the two units obtained by duplicating the CISgrid grid unit G are denoted as G 1 and G 2 respectively, and are respectively appended Topological information nodes "located on the left side of the boundary Γ" and "located on the right side of the boundary Γ". Check the vertices of the unit G i (i=1, 2), if the actual left and right orientation of a certain vertex P relative to the boundary Γ is inconsistent with the above-mentioned topological information description about the boundary Γ recorded on G i , then perform vertex replacement—if the same In all the CISgrid grid units at the position of vertex P, there is a unit G′ that is different from G i and the topological information about the boundary Γ recorded on it is consistent with that of G i , then the vertex P at position P of G’ is used 'Replace the vertex P of G i ; otherwise, create a new vertex P' to replace the vertex P, and the new vertex P' has the same spatial position as the replaced vertex P.

对给定的非规则边界Γ,寻找非规则边界Γ穿过的、且与Γ上的点具有拓扑相容性的CISgrid网格单元,可按如下线性方式搜索:For a given irregular boundary Γ, to find the CISgrid grid unit that the irregular boundary Γ passes through and has topological compatibility with the points on Γ, can be searched in the following linear manner:

a)从非规则边界Γ上任意取一点P,根据初始结构化网格的参数(网格的基准点,各个方向上的步长信息)定位P点所在的初始物理网格单元,进而确定这个初始物理网格单元上唯一的与P点具有拓扑相容性的CISgrid网格单元G。将G加入到堆栈中S。a) Randomly select a point P on the irregular boundary Γ, locate the initial physical grid unit where P is located according to the parameters of the initial structured grid (grid reference point, step size information in each direction), and then determine this The only CISgrid grid unit G that is topologically compatible with point P on the initial physical grid unit. Add G to stack S.

b)while(堆栈S不为空)b) while (stack S is not empty)

{{

  从堆栈S顶弹出一个元素,记为CISgrid网格单元G′。Pop an element from the top of the stack S, which is denoted as CISgrid grid unit G'.

   if(G′的顶点不全部在边界Γ的单侧)if (the vertices of G' are not all on one side of the boundary Γ)

  {   将与G′相邻的、且未处理过的CISgrid单元放入堆栈S中;{ Put the unprocessed CISgrid unit adjacent to G' into the stack S;

      G′加入到链表C中G' is added to the linked list C

  }}

}}

当堆栈S为空时,链表C中的CISgrid单元就是边界Γ穿过的、且与其上的点具有拓扑相容性的所有CISgrid网格单元。When the stack S is empty, the CISgrid units in the linked list C are all CISgrid grid units that cross the boundary Γ and have topology compatibility with the points on it.

以上所述的与G′相邻的CISgrid单元G″是指G′与G″具有共同指向的顶点对象;所述的空间位置点P与包含该点的CISgrid网格单元G具有拓扑相容性是指:G所附带的拓扑信息描述表与P点的实际拓扑方位不冲突,特别地,如果G所附带的拓扑信息描述表为空,则G总是与P拓扑相容的。The above-mentioned CISgrid unit G" adjacent to G' refers to the vertex object that G' and G" have a common point to; the spatial position point P is topologically compatible with the CISgrid grid unit G containing this point means: the topological information description table attached to G does not conflict with the actual topological orientation of point P, especially, if the topological information description table attached to G is empty, then G is always compatible with the topology of P.

见图5B,边界500是首先被处理的非规则边界:See Figure 5B, boundary 500 is the first irregular boundary to be processed:

(1)其上的点P所在的初始物理网格单元上只有一个CISgrid单元,因此总是与P拓扑相容的。从这个CISgrid单元出发,采用如上的线性搜索,最后链表C中的CISgrid单元就是边界500穿过的、且与其上的点具有拓扑相容性的所有CISgrid网格单元,见图5B的阴影单元。(1) There is only one CISgrid unit on the initial physical grid unit where the point P is located, so it is always compatible with the P topology. Starting from this CISgrid unit, using the above linear search, finally the CISgrid unit in the linked list C is all the CISgrid grid units that cross the boundary 500 and are topologically compatible with the points on it, see the shaded unit in Figure 5B.

(2)按照处理逻辑,需要将上述链表C中的所有CISgrid单元双份,并分别标识为“位于边界Γ左边”、“位于边界Γ右边”的拓扑信息,并且对由此产生的每个CISgrid单元的顶点进行检查。图5C中的阴影单元表示双份后标识为边界500左侧的CISgrid单元,图中小圆点所示位置位于边界500的右侧,因此在这些位置处需产生新的顶点数据对象,并且令上述CISgrid单元中相应的顶点指针指向新创建的顶点数据对象。与此类似的,图5D中的阴影单元表示双份后标识为边界500右侧的CISgrid单元,图中小圆点所示位置位于边界500的左侧,因此在这些位置处需产生新的顶点数据对象,并且令上述CISgrid单元中相应的顶点指针指向新创建的顶点数据对象。(2) According to the processing logic, it is necessary to duplicate all the CISgrid units in the above linked list C, and respectively identify them as topological information "located on the left side of the boundary Γ" and "located on the right side of the boundary Γ", and each CISgrid unit thus generated The vertices of the cell are checked. The shaded unit in Fig. 5C represents the CISgrid unit identified as the left side of the boundary 500 after double copying, and the position shown by the small dot in the figure is located on the right side of the boundary 500, so new vertex data objects need to be generated at these positions, and the above-mentioned The corresponding vertex pointer in the CISgrid cell points to the newly created vertex data object. Similar to this, the shaded cells in Figure 5D represent the CISgrid cells identified as the right side of the boundary 500 after the double copy, and the positions indicated by the small dots in the figure are located on the left side of the boundary 500, so new vertex data need to be generated at these positions object, and let the corresponding vertex pointer in the above CISgrid unit point to the newly created vertex data object.

图5E中,边界510是继边界500之后被处理的非规则边界:In Figure 5E, boundary 510 is an irregular boundary processed after boundary 500:

(1)假设任意取定的位于边界510上的P点位置如图中所示,则P点所在的初始物理网格单元上只有一个CISgrid单元,因此它总是与P拓扑相容的。从这个CISgrid单元出发,采用如上的线性搜索,最后链表C中的CISgrid单元就是边界510穿过的、且与其上的点具有拓扑相容性的所有CISgrid网格单元,参见图5E的填充阴影单元。需要注意的是,图中标识的单元位置580处存在两个CISgrid网格单元:一个标识为边界500的左侧,一个标识为边界500的右侧,由于是通过CISgrid单元相邻关系进行线性搜索的,因此单元位置580处的填充阴影单元应为“标识为边界500右侧”的CISgrid网格单元。(1) Assuming that the position of point P located on the boundary 510 is arbitrarily determined as shown in the figure, there is only one CISgrid unit on the initial physical grid unit where point P is located, so it is always compatible with P topology. Starting from this CISgrid unit, adopt the above linear search, and finally the CISgrid unit in the linked list C is all the CISgrid grid units that cross the boundary 510 and are topologically compatible with the points on it, see the filled shaded unit in Figure 5E . It should be noted that there are two CISgrid grid units at the unit position 580 identified in the figure: one is marked as the left side of the boundary 500, and the other is marked as the right side of the boundary 500, because the linear search is performed through the adjacent relationship of the CISgrid unit Therefore, the filled shaded cell at cell position 580 should be the CISgrid grid cell "identified as the right side of boundary 500".

如果任意取定的、位于边界510上的P点位置恰好为如图5E中所示的Q点,即位于单元位置580处,如前所述,单元位置580处存在两个CISgrid网格单元:一个标识为边界500的左侧,一个标识为边界500的右侧,则与Q点具有拓扑相容性的应是“标识为边界500右侧”的CISgrid单元。从这个CISgrid单元出发,采用如上的线性搜索,最后链表C中的CISgrid单元应与前面所述结果一致,亦即图5E的填充阴影单元。If the arbitrarily selected point P on the boundary 510 is just the point Q as shown in Figure 5E, that is, at the unit position 580, as mentioned above, there are two CISgrid grid units at the unit position 580: One is identified as the left side of the boundary 500, and the other is identified as the right side of the boundary 500, then the CISgrid unit "identified as the right side of the boundary 500" should be topologically compatible with point Q. Starting from this CISgrid unit, using the above linear search, finally the CISgrid unit in the linked list C should be consistent with the result described above, that is, the filled shaded unit in Figure 5E.

(2)按照处理逻辑,需要将上述链表C中的所有CISgrid单元双份,并分别标识为“位于边界Γ左边”、“位于边界Γ右边”的拓扑信息,并且对由此产生的每个CISgrid单元的顶点进行检查。图5F中的填充阴影单元表示双份后,标识为边界510左侧的CISgrid单元,图中小圆点所示位置位于边界510的右侧,因此在这些位置处需产生新的顶点数据对象,并且令上述CISgrid单元中相应的顶点指针指向新创建的顶点数据对象。与此类似的,图5G中的阴影单元表示双份后标识为边界510右侧的CISgrid单元,图中小圆点所示位置位于边界510的左侧,因此在这些位置处需产生新的顶点数据对象,并且令上述CISgrid单元中相应的顶点指针指向新创建的顶点数据对象。(2) According to the processing logic, it is necessary to duplicate all the CISgrid units in the above linked list C, and respectively identify them as topological information "located on the left side of the boundary Γ" and "located on the right side of the boundary Γ", and each CISgrid unit thus generated The vertices of the cell are checked. The filled shaded unit in FIG. 5F represents the CISgrid unit on the left side of the boundary 510 after the double copy, and the position shown by the small dot in the figure is located on the right side of the boundary 510, so new vertex data objects need to be generated at these positions, and Let the corresponding vertex pointer in the above CISgrid unit point to the newly created vertex data object. Similar to this, the shaded cells in FIG. 5G represent the CISgrid cells identified as the right side of the boundary 510 after double copying, and the positions indicated by the small dots in the figure are located on the left side of the boundary 510, so new vertex data need to be generated at these positions object, and let the corresponding vertex pointer in the above CISgrid unit point to the newly created vertex data object.

以上讨论的步骤420——对每个非规则边界Γ进行处理以构造CISgrid网格的过程容易实现步骤430的操作——将Γ以零等值面形式嵌入CISgrid网格形成隐式表达的操作:在那些与边界Γ相关的CISgrid网格单元(即标识为“位于边界Γ左边”或“位于边界Γ右边”的CISgrid网格单元)顶点数据对象上记录该顶点位置到边界Γ的有向距离信息,顶点位置位于Γ的左侧则具有第一符号,顶点位置位于Γ的右侧则具有相反符号。Step 420 discussed above—the process of processing each irregular boundary Γ to construct a CISgrid grid can easily realize the operation of step 430—the operation of embedding Γ in the form of zero isosurface into the CISgrid grid to form an implicit expression: Record the directional distance information from the vertex position to the boundary Γ on the vertex data objects of those CISgrid grid units related to the boundary Γ (that is, the CISgrid grid units identified as "located on the left side of the boundary Γ" or "located on the right side of the boundary Γ") , vertex positions to the left of Γ have the first sign, and vertex positions to the right of Γ have the opposite sign.

如是,构造了在非规则边界处具有网格扩展效果的CISgrid网格。步骤440中进行流体流动数值模拟时,计算节点与CISgrid网格单元的顶点数据对象对应,计算节点连通规则是:两个计算节点是相邻的,当且仅当这两个节点对应的顶点数据对象被认为是属于同一个CISgrid网格单元,且这这两个顶点连线是CISgrid单元的一条边。因此可采取有限差分法进行求解。在已知了节点之间的连通关系,采用有限差分法进行流体流动数值模拟的过程可以认为是业内熟知的。If yes, a CISgrid grid with grid expansion effect at the irregular boundary is constructed. When numerical simulation of fluid flow is performed in step 440, the calculation node corresponds to the vertex data object of the CISgrid grid unit, and the connection rule of the calculation node is: two calculation nodes are adjacent, if and only if the vertex data corresponding to the two nodes Objects are considered to belong to the same CISgrid grid unit, and the line connecting these two vertices is an edge of the CISgrid unit. Therefore, the finite difference method can be used to solve it. The process of numerically simulating fluid flow using the finite difference method can be considered to be well known in the industry when the connectivity relationship between nodes is known.

对任意的空间位置点P,所有包含该点的CISgrid网格单元中只有一个CISgrid网格单元与P是拓扑相容的。因此步骤450中,当需要计算非规则边界附近的P点的数值解时,只需要对包含P点、且与P点具有拓扑相容性的CISgrid网格单元顶点数值解进行内插即可。通过对CISgrid网格单元顶点数据对象上记录的到边界Γ的有向距离进行内插值,可确定单元内部P点到边界Γ的有向距离,进而确定P点在边界Γ的左侧或右侧,如果P点相对边界Γ的方位信息与当前CISgrid上的相对边界Γ的拓扑信息描述不一致,则P点不属于当前CISgrid单元内部有效区域。图5H给出标识为“边界500之左侧”的580位置处CISgrid网格单元的有效区域。图5I给出标识为“边界500之右侧、边界510之左侧”的580位置处CISgrid网格单元的有效区域。图5J给出标识为“边界500之右侧、边界510之右侧”的580位置处CISgrid网格单元的有效区域。For any spatial position point P, only one CISgrid grid unit among all CISgrid grid units containing this point is topologically compatible with P. Therefore, in step 450, when it is necessary to calculate the numerical solution of point P near the irregular boundary, it is only necessary to interpolate the numerical solution of the vertices of the CISgrid grid cells that contain point P and are topologically compatible with point P. By interpolating the directional distance to the boundary Γ recorded on the vertex data object of the CISgrid grid unit, the directional distance from the point P inside the unit to the boundary Γ can be determined, and then it can be determined that the point P is on the left or right side of the boundary Γ , if the orientation information of point P relative to the boundary Γ is inconsistent with the topology information description of the relative boundary Γ on the current CISgrid, then point P does not belong to the valid area inside the current CISgrid unit. Figure 5H shows the valid area of the CISgrid grid cell at location 580 identified as "left side of boundary 500". Figure 5I shows the valid area of the CISgrid grid cell at position 580 identified as "right side of boundary 500, left side of boundary 510". Figure 5J shows the valid area of the CISgrid grid cell at position 580 identified as "Right of Boundary 500, Right of Boundary 510".

综上所述,给出如下实施例。在非规则边界条件下进行流体扩散模拟,流体流动控制方程为Eikonal方程: | ▿ u ( x ) | = 1 v ( x ) , x∈Rn(其中边界条件为u(x)=φ(x), x ∈ Γ ⋐ R n , v(x)为流动速度),方程表明流体将沿边界特征向外传播,这里模拟点状污染源径向向外扩散问题,黑点表示点状污染源,扩散区域内存在非规则的边界线,本发明实施例中取v(x)≡1。初始条件为在点状污染源处Pi处u(pi)=0,pi∈Rn表示污染源位置处的扩散时间为基准时间0,需要考察污染源扩散至区域内其它位置的时间。分别考虑二维及三维情形。图7~图8为二维情形,图9~图12为三维情形。图7、图9中的非规则曲线、曲面边界分别代表二维、三维情形时传播域中的障碍物,图中所示给定点上u(pi)=0。对图7、图9分别生成二维、三维的CISgrid网格并使用有限差分法进行求解,图8是二维情形时数值解采用渐变色方式显示,图10~图12是三维情形时数值解在剖面上采用渐变色方式显示,图中具有相同灰度的位置表示污染物到达时间相同。在这里由于使用CISgrid网格,解决了有限差分法不能有效处理非规则边界的问题,非规则边界附近的点的数值解将由包含这点的、且与之拓扑相容的CISgrid单元顶点上的数值解进行内插值而得。实施例表明,基于二维、三维的CISgrid网格进行非规则区域边界条件下的流体流动模拟具有简单高效的特点,避免了采用非结构化网格所带来的复杂网格生成及基于非结构化网格的复杂数值计算问题,有效提高了流体流动模拟的效率。In summary, the following examples are given. The fluid diffusion simulation is performed under irregular boundary conditions, and the fluid flow governing equation is the Eikonal equation: | ▿ u ( x ) | = 1 v ( x ) , x∈R n (where the boundary condition is u(x)=φ(x), x ∈ Γ ⋐ R no , v(x) is the flow velocity), the equation shows that the fluid will spread outward along the boundary features, here the radial outward diffusion of point pollution sources is simulated, black dots represent point pollution sources, and there are irregular boundary lines in the diffusion area, this In the embodiment of the invention, v(x)≡1 is taken. The initial condition is that u(p i )=0 at P i at the point pollution source, p i ∈ R n means that the diffusion time at the pollution source position is the reference time 0, and the time for the pollution source to spread to other positions in the area needs to be considered. Consider the 2D and 3D cases separately. Figures 7 to 8 are two-dimensional situations, and Figures 9 to 12 are three-dimensional situations. The irregular curves and curved surface boundaries in Fig. 7 and Fig. 9 respectively represent obstacles in the propagation domain in two-dimensional and three-dimensional situations, and u(p i )=0 at a given point shown in the figure. Figure 7 and Figure 9 generate two-dimensional and three-dimensional CISgrid grids respectively and use the finite difference method to solve them. Figure 8 shows the numerical solution in the two-dimensional case in a gradient color display. Figures 10 to 12 show the numerical solutions in the three-dimensional case It is displayed in gradient color on the section, and the positions with the same gray level in the figure indicate that the pollutants arrive at the same time. Here, due to the use of CISgrid grids, the problem that the finite difference method cannot effectively deal with irregular boundaries is solved. The numerical solution of the points near the irregular boundaries will be determined by the numerical value on the vertices of the CISgrid unit that contains this point and is topologically compatible with it. The solution is obtained by interpolation. The embodiment shows that fluid flow simulation based on two-dimensional and three-dimensional CISgrid grids under irregular boundary conditions is simple and efficient, and avoids the complex grid generation and unstructured grid-based The complex numerical calculation problem of grid optimization can effectively improve the efficiency of fluid flow simulation.

当然,本发明还可以有其他多种实施例,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员当可根据本发明作出各种相应的改变和变形,如其它的流体流动控制公式,但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。Of course, the present invention can also have other multiple embodiments, and those skilled in the art can make various corresponding changes and deformations according to the present invention without departing from the spirit and essence of the present invention, such as other fluid Flow control formula, but these corresponding changes and deformations should fall within the scope of protection of the appended claims of the present invention.

Claims (10)

1, a kind of method that is used for model fluid comprises the barrier of representing with non-regular borders in the zone that this fluid flows, and it is characterized in that, comprising:
Create the initial physical space structure grid of covering fluid flow region;
With the initial physical space lattice in fluid flow region territory be converted into embed non-regular borders the composite structure grid, below the composite structure grid of the non-regular borders of above-mentioned embedding is called compound implicit type structure grid (Compound ImplicitStructural Grid), be designated as CISgrid;
Node connection rule according to CISgrid is carried out Numerical simulation of fluid flow;
Carry out the rearmounted processing procedure of fluid flow numerical simulation according to the unit internal availability rule of CISgrid.
2, a kind of method that is used for model fluid according to claim 1 is characterized in that, the initial physical space structure grid in described fluid flow region territory is a quadrilateral mesh in two-dimensional case, is hexahedral mesh in three-dimensional case; To two-dimensional case, the non-regular borders of barrier can be the broken line of any mathematical form description, the finite set of segment of curve in the described expression flow region; To three-dimensional case, described non-regular borders can be the planar chip of any mathematical form description, the finite set of patch; And to any given non-regular borders element, it always can logically be divided into two the space, is divided into the left side and the right, or inside and outside.
3, a kind of method that is used for model fluid according to claim 1 is characterized in that, described CISgrid grid is that structured grid is expanded at non-regular borders place and obtained.
4, a kind of method that is used for model fluid according to claim 1 is characterized in that described CISgrid has following feature:
CISgrid develops to form on the initial physical space lattice basis in described fluid flow region territory, and CISgrid spatially overlaps fully with the initial physical space lattice in described fluid flow region territory;
The grid cell form of CISgrid is identical with the unit form of the initial physical space lattice in described fluid flow region territory, is quadrilateral mesh in two-dimensional case promptly, is hexahedral mesh in three-dimensional case;
The CISgrid grid cell number at place, the locus of the initial physical grid cell in fluid flow region territory is not less than 1 arbitrarily.
5, a kind of method that is used for model fluid according to claim 1, it is characterized in that, the initial physical space lattice in fluid flow region territory realizes by non-regular borders is handled one by one to the conversion of CISgrid grid, to the disposal route of given non-regular borders Γ is:
That non-regular borders Γ is passed and split into two CISgrid grid cell G of isospace position with the CISgrid grid cell that point on the Γ has a topological compatibility 1, G 2, and add the topology information node of " being positioned at the Γ left side, border ", " being positioned at border Γ the right " respectively;
Inspection unit G i, i=1, if 2 summit is orientation, the actual left and right sides and the G of certain summit P retive boundary Γ iThe above-mentioned topology information about border Γ of last record is described contradiction, replaces if then carry out the summit---exist in all CISgrid grid cells of common P position, summit to differ from G iAnd on it the record topology information and G about border Γ iThe unit G ' of unanimity, then with the summit P ' replacement G that is positioned at P place, position of G ' iSummit P; Otherwise, creating a new summit P ' replacement summit P, new summit P ' has the locus identical with being replaced summit P.
6, the disposal route to non-regular borders Γ according to claim 5 is characterized in that, described locus point P has topological compatibility with the CISgrid grid cell G that comprises this point and is meant:
The incidental topology information description list of G does not conflict with the practical topology orientation that P is ordered;
If have a topology information node to declare the left side of G at border Γ ' in the incidental topology information description list of G, and the P point is physically located in the right of border Γ ', then P conflicts with the G topology;
Especially, if the incidental topology information description list of G is empty, then G is always compatible with the P topology;
And to locus point P arbitrarily, all comprise, and to have only a CISgrid grid cell and P in the CISgrid grid cell of this point be that topology is compatible.
7, disposal route to non-regular borders Γ according to claim 5, it is characterized in that, each non-regular borders Γ is handled process with structure CISgrid grid have been comprised Γ has been embedded the operation that the CISgrid grid forms implied expression with zero contour surface form: be designated on the summit of CISgrid grid cell of " being positioned at the Γ left side, border " or " being positioned at border Γ the right " and always write down the directed distance information of this vertex position to border Γ, the left side that vertex position is positioned at Γ then has first symbol, and the right side that vertex position is positioned at Γ then has contrary sign.
8, a kind of method that is used for model fluid according to claim 1 is characterized in that, describedly carries out the fluid flow numerical simulation based on CISgrid and comprises the use finite difference method, and computing node is the summit of CISgrid grid cell.
9, a kind of method that is used for model fluid according to claim 1, it is characterized in that, described node is communicated with rule: two computing nodes are adjacent, if and only if these two summits that node is same CISgrid grid cell, and these two summit lines are limits of CISgrid unit.
10, a kind of method that is used for model fluid according to claim 1, it is characterized in that, described unit internal availability rule is: the some P in the CISgrid grid cell G is positioned at the effective coverage of G, and and if only if, and location point P and CISgrid grid cell G have topological compatibility.
CN2008101122640A 2008-05-22 2008-05-22 A method for simulating fluid flow Active CN101329700B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101122640A CN101329700B (en) 2008-05-22 2008-05-22 A method for simulating fluid flow

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101122640A CN101329700B (en) 2008-05-22 2008-05-22 A method for simulating fluid flow

Publications (2)

Publication Number Publication Date
CN101329700A true CN101329700A (en) 2008-12-24
CN101329700B CN101329700B (en) 2012-03-28

Family

ID=40205507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101122640A Active CN101329700B (en) 2008-05-22 2008-05-22 A method for simulating fluid flow

Country Status (1)

Country Link
CN (1) CN101329700B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101982837A (en) * 2010-09-19 2011-03-02 北京航空航天大学 Fast three-dimensional visualization method based on preprocessing result of finite-element analysis
CN102750259A (en) * 2012-05-24 2012-10-24 空气动力学国家重点实验室 Method for simulating flow around complex configuration by utilizing non-equidistant mapping finite difference
CN102831304A (en) * 2012-08-13 2012-12-19 空气动力学国家重点实验室 Method for simulating flow around complex configuration by using finite difference of geometric conservation
CN102880589A (en) * 2012-08-29 2013-01-16 空气动力学国家重点实验室 Complex configuration flow-around finite difference simulation method for detecting grid quality
CN105427384A (en) * 2015-12-03 2016-03-23 长安大学 Method for generating CFD (Computational Fluid Dynamics) meshes on surface of cylindrical spiral winding body
CN105787162A (en) * 2015-11-23 2016-07-20 南京航空航天大学 Numerical value simulation method for achieving multi-medium interface tracking based on non-structure RKDG
CN106503396A (en) * 2016-11-14 2017-03-15 中国电建集团昆明勘测设计研究院有限公司 Multidimensional hydraulic system transient simulation method based on finite difference method and finite volume method coupling
CN106547972A (en) * 2016-11-04 2017-03-29 中国科学院长春光学精密机械与物理研究所 Fluid line method of topological optimization design based on parametrization Level Set Method
CN113626894A (en) * 2021-08-27 2021-11-09 北京航空航天大学 A tracking method for entity motion interface based on composite implicit boundary

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100442300C (en) * 2006-01-09 2008-12-10 西安交通大学 Implementation method of network-based data resource platform for physical and chemical properties of fluids

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101982837A (en) * 2010-09-19 2011-03-02 北京航空航天大学 Fast three-dimensional visualization method based on preprocessing result of finite-element analysis
CN102750259A (en) * 2012-05-24 2012-10-24 空气动力学国家重点实验室 Method for simulating flow around complex configuration by utilizing non-equidistant mapping finite difference
CN102750259B (en) * 2012-05-24 2015-07-22 空气动力学国家重点实验室 Method for simulating flow around complex configuration by utilizing non-equidistant mapping finite difference
CN102831304A (en) * 2012-08-13 2012-12-19 空气动力学国家重点实验室 Method for simulating flow around complex configuration by using finite difference of geometric conservation
CN102831304B (en) * 2012-08-13 2015-09-16 空气动力学国家重点实验室 A kind of method using the finite-difference modeling of geometry conservation to flow around complex configuration
CN102880589A (en) * 2012-08-29 2013-01-16 空气动力学国家重点实验室 Complex configuration flow-around finite difference simulation method for detecting grid quality
CN102880589B (en) * 2012-08-29 2016-03-09 空气动力学国家重点实验室 A kind of method that finite-difference modeling detecting mesh quality is flowed around complex configuration
CN105787162A (en) * 2015-11-23 2016-07-20 南京航空航天大学 Numerical value simulation method for achieving multi-medium interface tracking based on non-structure RKDG
CN105787162B (en) * 2015-11-23 2019-04-02 南京航空航天大学 The method for numerical simulation of multimedium interface tracking is realized based on non-structural RKDG
CN105427384A (en) * 2015-12-03 2016-03-23 长安大学 Method for generating CFD (Computational Fluid Dynamics) meshes on surface of cylindrical spiral winding body
CN105427384B (en) * 2015-12-03 2018-04-03 长安大学 A kind of method in cylindrical screw winding body Surface Creation CFD grids
CN106547972A (en) * 2016-11-04 2017-03-29 中国科学院长春光学精密机械与物理研究所 Fluid line method of topological optimization design based on parametrization Level Set Method
CN106547972B (en) * 2016-11-04 2019-07-02 中国科学院长春光学精密机械与物理研究所 Topology optimization design method of fluid pipeline based on parametric level set method
CN106503396A (en) * 2016-11-14 2017-03-15 中国电建集团昆明勘测设计研究院有限公司 Multidimensional hydraulic system transient simulation method based on finite difference method and finite volume method coupling
CN106503396B (en) * 2016-11-14 2019-04-12 中国电建集团昆明勘测设计研究院有限公司 Multidimensional hydraulic system transient simulation method based on finite difference method and finite volume method coupling
CN113626894A (en) * 2021-08-27 2021-11-09 北京航空航天大学 A tracking method for entity motion interface based on composite implicit boundary
CN113626894B (en) * 2021-08-27 2024-01-19 北京航空航天大学 Entity motion interface tracking method based on composite implicit boundary

Also Published As

Publication number Publication date
CN101329700B (en) 2012-03-28

Similar Documents

Publication Publication Date Title
CN101329700A (en) A method for simulating fluid flow
Ledoux On the validation of solids represented with the international standards for geographic information
Marco et al. Exact 3D boundary representation in finite element analysis based on Cartesian grids independent of the geometry
CN102306396B (en) Three-dimensional entity model surface finite element mesh automatic generation method
US8463586B2 (en) Machine, program product, and computer-implemented method to simulate reservoirs as 2.5D unstructured grids
CN104331584B (en) A kind of two-dimentional hybrid grid automatic generating method calculated towards boundary-layer
CN102804187B (en) Physical quantity calculation method, numerical analysis method, physical quantity calculation device, and numerical analysis device
EP1710720B1 (en) Method of computer-aided design of a modeled object having several faces
CN104331931B (en) Geological fracture layer PEBI grid processing method for oil reservoir numerical simulation
Ai et al. A vector field model to handle the displacement of multiple conflicts in building generalization
Xu et al. A mapping-based approach to eliminating self-intersection of offset paths on mesh surfaces for CNC machining
CN107622530B (en) An Efficient and Robust Triangulation Network Cutting Method
CN105740497A (en) Simulating the machining of a workpiece
JP2011248889A (en) Computing of closed triangulated polyhedral surface resulted from a first and a second modeled objects
JP4783100B2 (en) Method of converting boundary data into in-cell shape data and its conversion program
US20130297267A1 (en) Method and apparatus for modeling interactions of the fluid with system boundaries in fluid dynamic systems
Wang et al. Isogeometric analysis based on geometric reconstruction models
de Oliveira Miranda et al. Hierarchical template-based quadrilateral mesh generation
CN113466854A (en) High-frequency ground wave radar inversion vector flow velocity method based on ocean power model
CN104732589B (en) Quick hybrid grid generation method
AU2011271175B2 (en) Machine, program product, and computer-implemented method to simulate reservoirs as 2.5D unstructured grids
CN104809258B (en) The adaptive amending method of dough sheet normal vector in electromagnetic scattering simulation modeling
Spainhour et al. Robust containment queries over collections of rational parametric curves via generalized winding numbers
Du et al. Robust computation of implicit surface networks for piecewise linear functions
Ho‐Nguyen‐Tan et al. A new strategy for finite‐element analysis of shell structures using trimmed quadrilateral shell meshes: A paving and cutting algorithm and a pentagonal shell element

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20090109

Address after: Postal code 37, Haidian District, Beijing, Xueyuan Road: 100000

Applicant after: Beihang University

Co-applicant after: Beijing GridWorld Software Technology Co., Ltd.

Address before: No.37 College Road, Haidian District, Beijing, China Post Code: 100000

Applicant before: Beijing University of Aeronautics and Astronautics

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB03 Change of inventor or designer information

Inventor after: Meng Xianhai

Inventor after: Li Jigang

Inventor after: Yang Qin

Inventor after: Liu Xiaodong

Inventor before: Yang Qin

Inventor before: Li Jigang

Inventor before: Meng Xianhai

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: YANG QIN LI JIGANG MENG XIANHAI TO: MENG XIANHAI LI JIGANG YANG QIN LIU XIAODONG

C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: 100083 Haidian District, Xueyuan Road, No. 37,

Patentee after: Beihang University

Patentee after: Beijing grid world software technology Limited by Share Ltd

Address before: 100083 Haidian District, Xueyuan Road, No. 37,

Patentee before: Beihang University

Patentee before: Beijing GridWorld Software Technology Co., Ltd.

TR01 Transfer of patent right

Effective date of registration: 20170606

Address after: 100088 Beijing City, Haidian District Zhichun Road No. 6 (Jinqiu International Building) A block, room 1501

Patentee after: Beijing grid world software technology Limited by Share Ltd

Address before: 100083 Haidian District, Xueyuan Road, No. 37,

Co-patentee before: Beijing grid world software technology Limited by Share Ltd

Patentee before: Beihang University

TR01 Transfer of patent right
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载