A method for simulating ship fire smoke based on gridless vortex column

Through the gridless vortex column method and sub-sampling algorithm, the problem of low accuracy and realism in ship fire smoke simulation is solved, more accurate and stable smoke motion simulation is achieved, and the training effect of virtual fire scenes is improved.

CN118428193BActive Publication Date: 2024-08-30DALIAN MARITIME UNIVERSITY
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410888410.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-08-30
Estimated Expiration
2044-07-04

AI Technical Summary

Technical Problem

Existing ship fire smoke simulation methods have low calculation accuracy and poor realism, making it difficult to effectively simulate complex smoke movements.

Method used

Using a method based on gridless vortex columns, the vortex field is represented by vortex column elements, the self-induced velocity and global induced velocity of the vortex structure are calculated, and the vorticity field is updated using a secondary sampling algorithm to improve the accuracy and stability of smoke simulation. .

Benefits of technology

It improves the realism and calculation accuracy of ship fire smoke simulation, enhances the training effect of virtual fire scenes, and solves the problems of low realism and low accuracy of smoke simulation in the existing technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118428193B
    Figure CN118428193B
Patent Text Reader

Abstract

The present invention provides a ship fire smoke simulation method based on a gridless vortex column, which relates to the field of navigation simulation technology, and includes the following steps: S1, discretizing the vortex field using vortex column elements; initializing the vortex column elements and smoke particles, and starting smoke simulation; S2, calculating the self-induced velocity of the vortex structure through the vortex column elements; S3, calculating the global induced velocity of the vortex structure through the vortex column elements; S4, updating the positions of the vortex column and smoke particles based on the self-induced velocity of the vortex structure and the global induced velocity of the vortex structure; S5, based on the positions of the vortex column and smoke particles updated by S4, using a secondary sampling algorithm to update the vortex field; S6, returning to S2 until the time of smoke movement reaches a set threshold, and terminating the simulation. The present invention designs a discrete geometric structure that can accurately calculate the curvature of the vortex structure, and calculates the self-induced velocity of the vortex structure through the curvature of the vortex structure to simulate a ship fire smoke movement scene with a high sense of reality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of navigation simulation, and in particular to a ship fire smoke simulation method based on a gridless vortex column. Background Art

[0002] Among all ship traffic accidents, ship fires are usually the most serious, often resulting in huge casualties and property losses. Ship fires may be caused by equipment failure, human factors or accidental events. In order to reduce the serious losses caused by ship fires, it is necessary to conduct ship fire drills. An effective training method is to use computer virtual reality technology to reproduce realistic ship fire scenes, and trainees use computers for simulation training. On the one hand, this training method can avoid the huge risks that may be encountered in actual training; on the other hand, it can improve training efficiency without being restricted by factors such as time and venue.

[0003] When conducting virtual ship firefighting training, the environmental realism of the virtual scene can improve the training effect and thus enhance the firefighting ability of firefighters. The smoke generated when a ship catches fire will occupy most of the vision of the people on board, and the toxic substances in the smoke will pose a serious threat to personnel safety and escape. Therefore, realistic smoke simulation helps to improve the training effect of ship fire simulation drills. However, the movement of smoke follows a particularly complex physical mechanism. How to use as little computing power as possible to simulate a more realistic movement effect of ship fire smoke is a difficult point in the field of navigation simulation technology. At present, virtual ship fire scenes mostly use non-physical model methods such as program synthesis and keyframe animation. Although the real-time performance is very high, the calculation accuracy is low and the sense of reality is poor.

[0004] Vortex dynamics is an important branch in the field of computational fluid dynamics, which mainly studies the generation, movement, evolution of vortices, and the interaction between vortices and solids. As a highly swirling fluid, smoke is actually composed of vortices of different scales. Using vortex dynamics theory to physically model smoke is a natural way. At present, the methods for solving the vorticity equation can be divided into two categories according to the discrete form: hybrid particle grid method and meshless method. The hybrid method requires repeated interpolation operations between particles and grids, which will inevitably lead to a decrease in calculation accuracy. The meshless method uses discrete particles to represent the vortex field and calculates the velocity field through the Biot-Savart formula. The discrete forms include vortex sheets, vortex filaments, vortex line segment clouds and vortex particles.

[0005] Each discrete form has its own advantages, but no matter which structure is adopted, the current meshless vortex method uses the generalized Biot-Savart formula to calculate the global velocity field, ignoring the self-induced motion of the vortex structure, which leads to a decrease in the accuracy of the solution. Summary of the invention

[0006] In view of this, the purpose of the present invention is to propose a ship fire smoke simulation method based on gridless vortex columns to solve the technical problems of low calculation accuracy and poor realism of existing fire smoke simulation methods.

[0007] The technical means adopted by the present invention are as follows:

[0008] A ship fire smoke simulation method based on gridless vortex column comprises the following steps:

[0009] S1, discretizing the vortex field using vortex column elements; initializing the vortex column elements and smoke particles, setting initial values ​​for the physical properties of the vortex column and smoke particles, the initial values ​​including velocity, position and vortex intensity, and starting smoke simulation;

[0010] S2, calculate the self-induced velocity of the vortex structure through the vortex column element;

[0011] S3, calculating the global induced velocity of the vortex structure through the vortex column element;

[0012] S4, updating the positions of the vortex column and the smoke particles based on the self-induced velocity of the vortex structure and the global induced velocity of the vortex structure;

[0013] S5, based on the positions of the vortex column and smoke particles updated in S4, using a secondary sampling algorithm to update the vortex field;

[0014] S6. Return to S2 until the smoke movement time reaches the set threshold, and then end the simulation.

[0015] Further, in S1, the vortex column element is composed of two connected segments, a midpoint is set at the connection of the two connected segments, and an endpoint is set at each end of the two segments, and the midpoint and the two endpoints form three vertices;

[0016] The physical properties attached to the vortex column element include the modulus length of the segmented vorticity intensity , the position of the vertex and speed .

[0017] Furthermore, S2 specifically includes the following steps:

[0018] Calculate the self-induced velocity of the vortex structure. The formula for the self-induced velocity of the vortex structure is as follows:

[0019]

[0020] in, is a constant, is the neighborhood range of the vortex tube, is the cross-sectional area of ​​the vortex tube, is the modulus length of the vortex column vorticity intensity, is the position of the midpoint of the vortex column, are the positions of the two endpoints of the vortex column.

[0021] Furthermore, S3 specifically includes the following steps:

[0022] Any position in a given space , it is necessary to traverse the position and vorticity intensity of all vortex columns in the flow field, and use the following formula to calculate a single vortex column About Location The global induced velocity is:

[0023]

[0024] In the formula, Indicates the flow field A vortex column is located at any position in space The global induced velocity, is the smoothness coefficient.

[0025] Furthermore, S4 specifically includes the following steps:

[0026] The third-order Runge-Kutta integral is used to update the position of the vortex column, and the second-order Adams-Bashforth format is used to update the position of the smoke particles;

[0027] The position of the vortex column vertex is updated according to the following formula:

[0028]

[0029] In the formula, yes The position of the vortex column at time express At the moment the vortex column is at position The sum of the global induced velocity and the self-induced velocity, is the time step;

[0030] The position of the smoke particle is updated as follows:

[0031]

[0032] In the formula, It's smoke particles The location at the moment, express The smoke particles are at the position speed, is the time step.

[0033] Further, in S5, the secondary sampling algorithm includes vortex column reconnection, vortex column destruction and vortex column separation;

[0034] S51, when the midpoint distance between two vortex columns is less than the set threshold and the directions are opposite, the flow field is reconnected by traversing all vortex columns in the flow field, and for each vortex column Use the spatial hash table to find all vortexes in the neighborhood of the vortex ; In the vortex column collection Find all the vortex columns Vortex columns in opposite directions , and assembled in the vortex column Find the The nearest vortex ; Set the minimum distance threshold ,if and The distance between , then change the vortex column and The connection relationship of the vertices, the end point position of the vortex column remains unchanged after reconnection, and the midpoint position calculation formula is as follows:

[0035]

[0036] In the formula, , , , this local reconnection operation is similar to the splitting and reconnection phenomena of intersecting and quasi-parallel vortex tubes;

[0037] S52: When the angle between two segments of any vortex column is less than the set threshold, the vortex column destruction operation is used on the flow field; set the minimum angle threshold , and traverse all the vortex columns in the flow field at the same time, and calculate the angle between the two segments of each vortex column ;if , perform the vortex column elimination operation, the endpoint position of the new vortex column remains unchanged, and the midpoint position calculation formula is as follows:

[0038]

[0039] S53: When the vortex column length is greater than the set threshold, the flow field is segmented; the maximum length threshold is set , and traverse all the vortex columns in the flow field at the same time, and calculate the length of each vortex column ;if , the vortex column is divided into two, the endpoint position of the new vortex column remains unchanged, and the midpoint position calculation formula is as follows:

[0040]

[0041] Furthermore, in S3, the steps of parallel calculation of the global velocity field are as follows:

[0042] First, sufficient threads are allocated on the GPU, and the position and vorticity intensity data of the vortex column are transferred from the CPU to the GPU;

[0043] Then, the velocity for a given query position is calculated simultaneously on different threads of the GPU;

[0044] After obtaining the calculation results, the data on the GPU is transferred back to the CPU.

[0045] The present invention also provides a storage medium, which includes a stored program, wherein when the program is run, any of the above-mentioned ship fire smoke simulation methods based on gridless vortex columns is executed.

[0046] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes any of the above-mentioned methods for simulating ship fire smoke based on gridless vortex columns through the computer program.

[0047] Compared with the prior art, the present invention has the following advantages:

[0048] The present invention regards the smoke generated by the fire as a high-vortex fluid, and then uses a gridless vortex method to numerically solve the motion model of the smoke generated by the fire. The present invention designs a vortex column element to represent the vortex field, and by calculating the self-induced velocity of the vortex structure, improves the accuracy of constructing the velocity field, thereby improving the realism of the ship fire smoke simulation; based on the vortex column element, the present invention designs three secondary sampling algorithms for the vortex field, including the reconnection, destruction and segmentation of the vortex column. The secondary sampling mechanism helps to ensure the stability of the smoke movement. The gridless vortex column ship fire smoke simulation method proposed by the present invention includes parallel calculation based on the vortex equation, a self-induced velocity calculation method based on the vortex column element and a secondary sampling algorithm, which solves the problem of poor realism of smoke simulation in virtual fire scenes. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0050] Figure 1 The figure is a flow chart of the method of the present invention.

[0051] Figure 2 This is a structural diagram of the vortex column element of the present invention.

[0052] Figure 3a Schematic diagram of vortex column reconnection. Figure 3b Schematic diagram of vortex column destruction. Figure 3c Schematic diagram of vortex column segmentation. DETAILED DESCRIPTION

[0053] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0054] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0055] like Figure 1 As shown, the present invention provides a ship fire smoke simulation method based on gridless vortex column, uses the vortex equation to model the smoke movement, proposes to use vortex column elements to represent the vortex field, and then calculates the self-induced velocity of the vortex structure to improve the accuracy of constructing the velocity field; based on the vortex column discrete elements, a vortex field secondary sampling algorithm is proposed to track the changes of the vortex structure. Specifically, it includes the following steps:

[0056] S1, using vortex column elements to represent the vorticity field;

[0057] Initialize the vortex column and smoke particles. The vortex column is only used to calculate the changes in the vorticity field and velocity field, and no visualization operation is performed on them; smoke particles are used to visualize the flow field, and move under the action of the velocity field, without affecting the vorticity field and velocity field. Set initial values ​​for the physical properties of the vortex column and smoke particles, including velocity, position, and vorticity intensity.

[0058] The present invention uses a gridless vortex method to numerically simulate the movement of smoke generated by fire, and designs vortex column elements to discretize the vortex field. A new vortex column structure is used to represent the vortex field. The vortex column element consists of three vertices and two segments. The three vertices include a midpoint and two endpoints. The physical properties attached to the vortex column element include the modulus length of the segmented vortex intensity , the position of the vertex and speed . Figure 2 The structure of the vortex column is given. is the position of the midpoint of the vortex column, are the positions of the two endpoints of the vortex column.

[0059] S2, calculate the self-induced velocity of the vortex structure;

[0060] The self-induced velocity of the vortex structure needs to be obtained by calculating the curvature of the vortex structure. The present invention uses vortex column elements to represent the vortex structure, and uses the curvature of the vortex column to approximate the curvature of the vortex structure. There are various vortex structures in smoke, and the self-induced velocity of the vortex structure plays a leading role in the evolution of the columnar vortex structure.

[0061] According to the vortex dynamics theory, the self-induced velocity of the vortex tube can be approximated by the following formula:

[0062] (1)

[0063] In the formula, is the modulus length of the vortex tube vorticity intensity, is the neighborhood range of the vortex tube, is the cross-sectional area of ​​the vortex tube, is the slope of the vortex tube, is the secondary normal of the vortex tube. According to the definition of curvature and secondary normal, the self-induced velocity of the vortex structure can be calculated as follows:

[0064] (2)

[0065] In the formula, and is the modulus and midpoint position of the vortex column vorticity intensity, and are the positions of the left and right endpoints of the vortex column. The thickness of the vortex tube is ignored in the vortex column. It can be regarded as a constant. The self-induced velocity obtained by formula (2) is used to calculate the position change of the vortex column to change the vorticity field. Through this structure, the self-induced velocity of the vortex structure can be accurately calculated, improving the accuracy of constructing the velocity field.

[0066] In addition to calculating the curvature of the vortex column itself, the curvature of other vortex columns in the neighborhood of the vortex column will also affect the self-induced speed. The present invention uses a spatial hash table to access other vortex columns in the neighborhood of the current vortex column, that is, the storage order of the vortex column is determined according to the spatial position of the vortex column, the weighted positions of the three vertices of the vortex column are used as key values, and the grid size is set to the maximum stretching length of the vortex column. Finally, the self-induced speed of the vortex structure is calculated according to the following formula:

[0067] (3)

[0068] In the formula, is the first The self-induced velocity of a vortex column is is the number of vortex columns in the neighborhood of the current vortex column.

[0069] S3, calculate the global induced velocity of the vortex structure;

[0070] The global induced velocity of the vortex structure determines the overall behavior of the flow field. The present invention uses the generalized Biot-Savart formula to calculate the global induced velocity of the vortex structure:

[0071] (4)

[0072] In the formula

[0073] (5)

[0074] In the formula, is the vorticity distribution function around the vortex column, satisfying .Will Substituting into equations (4) and (5), we can obtain the global induced velocity at any position:

[0075] (6)

[0076] In the formula, For any position in space, and is the modulus length and end point position of the vortex column vorticity intensity, The coefficients are set to avoid singularity in the formula. is the number of vortex column elements in space.

[0077] The new positions of the vortex column and smoke particles are calculated by using the sum of the global induced velocity obtained by equation (6) and the self-induced velocity obtained by equation (4), thus realizing the update of the vorticity field and the simulation of smoke motion.

[0078] It can be seen from formula (6) that the calculation of the global velocity field is easy to parallelize. The present invention uses the NVIDIA CUDA platform to realize the parallel calculation of the global velocity field and improve the calculation efficiency of smoke simulation. First, sufficient threads are allocated on the GPU, and the position and vortex intensity data of the vortex column are transferred from the CPU to the GPU. Then, the velocity of a given query position is calculated simultaneously on different threads of the GPU. After obtaining the calculation results, the data on the GPU is transferred back to the CPU.

[0079] S4, updating the positions of the vortex column and smoke particles;

[0080] Update the positions of the vortex column and smoke particles. In order to maintain a balance between calculation accuracy and calculation cost, the present invention uses the third-order Runge-Kutta integral to update the position of the vortex column and the second-order Adams-Bashforth format to update the position of the smoke particles. The position of the vortex column vertex is updated according to the following formula:

[0081] (7)

[0082] In the formula, yes The position of the vortex column at time express At the moment the vortex column is at position The sum of the global induced velocity and the self-induced velocity, is the time step. The position of the smoke particle is updated as follows:

[0083] (8)

[0084] In the formula, It's smoke particles The location at the moment, express The smoke particles are at the position speed, is the time step.

[0085] S5, resampling the vorticity field;

[0086] In order to simulate the dynamic change process of the vortex structure, the present invention designs a secondary sampling algorithm of the vortex field, including the reconnection, destruction and segmentation of the vortex column.

[0087] Vortex column reconnection: perform vortex column reconnection on the flow field, traverse all vortex columns in the flow field, and reconnect each vortex column. Use the spatial hash table to find all vortexes in the neighborhood of the vortex . In the vortex column collection Find all the vortex columns Vortex columns in opposite directions , and assembled in the vortex column Find the The nearest vortex .if and The distance between , then change the vortex column and The connection relationship of the vertices is given by the reconnection mechanism. The end point position of the vortex column remains unchanged after reconnection, and the midpoint position is calculated according to formula (9). The reconnection operation can promote the reconnection of the vortex tube. For any two vortex columns that are very close and have opposite vorticity directions, the reconnection mechanism will re-assign the connection relationship of the vortex column vertices, such as Figure 3aAs shown. The end point position of the vortex column after reconnection is the same as before, and the position of the midpoint of the new vortex column is calculated according to the following formula:

[0088] (9)

[0089] In the formula, , , , and It is The positions of the midpoint and endpoints of the vortex column before it reconnects.

[0090] Vortex destruction: Use vortex destruction operation on the flow field. Set the minimum angle threshold , and traverse all the vortex columns in the flow field at the same time, and calculate the angle between the two segments of each vortex column .if , perform the vortex column elimination operation, the endpoint position of the new vortex column remains unchanged, and the position of the midpoint is calculated using formula (10). When the angle between the two segments of any vortex column is less than a certain degree, the overlapping part of the two segments will cancel each other out in the flow field, so the overlapping part can be destroyed. Figure 3b As shown in the figure, when the segmented angle is less than the set threshold, the segmented structure of the original vortex column is destroyed, and a new vortex column is reconstructed based on the original endpoints. The endpoint position of the new vortex column remains unchanged, and the midpoint position is calculated according to the following formula:

[0091] (10)

[0092] In the formula, It is The position of the end point of the vortex column.

[0093] Vortex Column Segmentation: Use segmentation operation on the flow field. Set the maximum length threshold , and traverse all the vortex columns in the flow field at the same time, and calculate the length of each vortex column .if , the vortex column is divided into two, the endpoint position of the new vortex column remains unchanged, and the position of the midpoint is calculated using equation (11). When the flow field evolves, the vortex column will be continuously pulled. When the vortex column is long, the stability of the flow field will be reduced. The split operation separates the overly long vortex column and splits it into two new vortex columns, such as Figure 3c As shown. The endpoint position of the new vortex column remains unchanged, and the midpoint position is calculated according to the following formula:

[0094] (11)

[0095] In the formula, and It is The positions of the midpoint and endpoints of the vortex column before it splits.

[0096] S5. If the smoke movement time reaches the set threshold, the simulation is terminated; otherwise, the simulation is turned to step B to continue executing the simulation method.

[0097] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A ship fire smoke simulation method based on gridless vortex column, characterized in that: The steps include: S1, discretizing the vortex field using vortex column elements; initializing the vortex column elements and smoke particles, setting initial values ​​for the physical properties of the vortex column and smoke particles, the initial values ​​including velocity, position and vortex intensity, and starting smoke simulation; The vortex column element is composed of two connected segments, a midpoint is set at the connection of the two connected segments, and an endpoint is set at each end of the two segments, and the midpoint and the two endpoints form three vertices; The physical properties attached to the vortex column element include the modulus length of the segmented vorticity intensity , the position of the vertex and speed ; S2, calculate the self-induced velocity of the vortex structure through the vortex column element; S3, calculating the global induced velocity of the vortex structure through the vortex column element; S4, updating the positions of the vortex column and the smoke particles based on the self-induced velocity of the vortex structure and the global induced velocity of the vortex structure; S5, based on the positions of the vortex column and smoke particles updated in S4, using a secondary sampling algorithm to update the vortex field; S6. Return to S2 until the smoke movement time reaches the set threshold, and then end the simulation.

2. The ship fire smoke simulation method based on gridless vortex column according to claim 1 is characterized in that: S2 specifically includes the following steps: Calculate the self-induced velocity of the vortex structure. The formula for the self-induced velocity of the vortex structure is as follows: in, is a constant, is the neighborhood range of the vortex tube, is the cross-sectional area of ​​the vortex tube, is the modulus length of the vortex column vorticity intensity, is the position of the midpoint of the vortex column, are the positions of the two endpoints of the vortex column.

3. The ship fire smoke simulation method based on gridless vortex column according to claim 2 is characterized in that: S3 specifically includes the following steps: Any position in a given space , it is necessary to traverse the positions and vorticity intensities of all vortex columns in the flow field, and use the following formula to calculate the position of a single vortex column The global induced velocity is: In the formula, Indicates the flow field A vortex column is located at any position in space The global induced velocity, is the smoothness coefficient.

4. The ship fire smoke simulation method based on gridless vortex column according to claim 1 is characterized in that: S4 specifically includes the following steps: The third-order Runge-Kutta integral is used to update the position of the vortex column, and the second-order Adams-Bashforth format is used to update the position of the smoke particles; The position of the vortex column vertex is updated according to the following formula: In the formula, yes The position of the vortex column at time express At the moment the vortex column is at position The sum of the global induced velocity and the self-induced velocity, is the time step; The position of the smoke particle is updated as follows: In the formula, It's smoke particles The location at the moment, express The smoke particles are at the position speed, is the time step.

5. The ship fire smoke simulation method based on gridless vortex column according to claim 1 is characterized in that: In S5, the secondary sampling algorithm includes vortex column reconnection, vortex column destruction and vortex column separation; S51, when the midpoint distance between two vortex columns is less than the set threshold and the directions are opposite, the flow field is reconnected by traversing all vortex columns in the flow field, and for each vortex column Use the spatial hash table to find all vortexes in the neighborhood of the vortex ; In the vortex column collection Find all the vortex columns Vortex columns in opposite directions , and assembled in the vortex column Find the The nearest vortex column ; Set the minimum distance threshold ,if and The distance between , change the vortex column and The connection relationship of the vertices, the end point position of the vortex column remains unchanged after reconnection, and the midpoint position calculation formula is as follows: In the formula, , , , this local reconnection operation is similar to the splitting and reconnection phenomena of intersecting and quasi-parallel vortex tubes; S52: When the angle between two segments of any vortex column is less than the set threshold, the vortex column destruction operation is used on the flow field; set the minimum angle threshold , and traverse all the vortex columns in the flow field at the same time, and calculate the angle between the two segments of each vortex column ;if , perform the vortex column elimination operation, the endpoint position of the new vortex column remains unchanged, and the midpoint position calculation formula is as follows: S53: When the vortex column length is greater than the set threshold, the flow field is segmented; the maximum length threshold is set , and traverse all the vortex columns in the flow field at the same time, and calculate the length of each vortex column ;if , the vortex column is divided into two, the endpoint position of the new vortex column remains unchanged, and the midpoint position calculation formula is as follows: 。 6. The ship fire smoke simulation method based on gridless vortex column according to claim 1 is characterized in that: In S3, the steps for parallel calculation of the global velocity field are as follows: First, sufficient threads are allocated on the GPU, and the position and vorticity intensity data of the vortex column are transferred from the CPU to the GPU; Then, the velocity for a given query position is calculated simultaneously on different threads of the GPU; After obtaining the calculation results, the data on the GPU is transferred back to the CPU.

7. A storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is run, the ship fire smoke simulation method based on gridless vortex column as described in any one of claims 1 to 6 is executed.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: The processor executes the ship fire smoke simulation method based on gridless vortex columns as described in any one of claims 1 to 6 through the computer program.

Citation Information

Patent Citations

  • Fire evolution simulation method, and fire evacuation comprehensive simulation method comprising the same

    CN108733876A

  • Virtual welding fume simulation method for green construction

    CN110276169A

  • Simulation method for movement of floating object on liquid surface based on vortex method

    CN115204025A

  • Smoke simulation calculation method based on improved semi-Lagrange method

    CN115906702A

  • Solid-gas two-phase flow simulation program using grid-free method, storage medium with the program stored, and solid-gas two-phase flow simulation device

    JP2009193110A