A method and device for simulating post-earthquake fire spread considering building collapse
By combining earthquake collapse simulation and fire numerical simulation platform for building complexes, sparse grid division technology is used to solve the problem of low computational efficiency in the post-earthquake fire spread simulation of building complexes, achieving more accurate simulation results, and preventing cities Disaster reduction provides strong support.
Patent Information
- Application Number
- CN202410077172.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-18
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-01-18
AI Technical Summary
When performing post-earthquake fire spread simulation of building complexes, the calculation efficiency is low and it is difficult to accurately reflect the true form of building complexes, resulting in inaccurate simulation results and ineffective support for urban post-earthquake rescue.
By establishing a geometric model of the target building complex, an earthquake collapse simulation is carried out, a numerical fire simulation platform is introduced, and a sparse grid division is divided by combining large vortex simulation and parallel computing theory, the calculation efficiency and simulation accuracy are improved, and the accurate simulation of fire spread after earthquake of the building complex is achieved. .
The balance between the calculation efficiency and accuracy of the post-earthquake fire spread simulation of building complexes is achieved, and reliable data support is provided for urban planning and post-earthquake emergency rescue, which improves the effectiveness of disaster prevention and mitigation work.
Smart Images

Figure CN118094697B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method and device for simulating the spread of fire after an earthquake taking building collapse into consideration. Background Art
[0002] Earthquakes, as the "first of many disasters", not only directly cause serious damage to buildings, but also trigger a variety of secondary disasters, which in turn aggravate the damage and seriously hinder the development of the economic level. According to earthquake damage data from China and abroad, fire is the most common and dangerous secondary disaster caused by earthquakes. In order to reduce the risk of casualties and property losses, it is very necessary to conduct fire disaster analysis in areas with densely populated urban buildings that may have fire hazards or high population density, and formulate corresponding emergency plans.
[0003] With the development of computer hardware technology and the continuous improvement of fire simulation software, the use of numerical simulation methods to conduct fire safety research has become a new trend. Many scholars have used numerical simulation software to conduct fire safety analysis, but most of them are studies on single buildings. A small number of studies on regional fires cannot be carried out in depth due to the limitations of modeling quantity and calculation time. There is still a lack of research on post-earthquake fire simulation of regional building complexes. The main reason for this is that the three-dimensional post-earthquake fire spread simulation of large-scale building complexes is that the modeling is difficult and the calculation efficiency is low in the refined simulation of post-earthquake building complex fires. The numerical simulation of large-scale building complexes requires a lot of calculations, which consumes a lot of computer resources and results in a particularly long calculation time. Specifically, the numerical simulation of building complexes requires a lot of physical calculations, including building heat conduction, combustion reaction, and smoke diffusion. In the solution process, as the scale of the building complex increases, the amount of calculation also increases accordingly.
[0004] Therefore, there is an urgent need to establish a post-earthquake fluid dynamics model that can accurately reflect the real form and characteristics of building complexes, and achieve a balance between computational efficiency and simulation accuracy, so as to better simulate the process of post-earthquake fire spread in building complexes and provide data support for urban post-earthquake rescue. Summary of the invention
[0005] In order to solve the technical problems in the prior art that it is difficult to consider the collapse of buildings after an earthquake in fire spread and the calculation efficiency is low, the embodiment of the present invention provides a method and device for simulating the spread of fire after an earthquake taking into account the collapse of buildings. The technical solution is as follows:
[0006] On the one hand, a post-earthquake fire spread simulation method considering building collapse is provided, the method is implemented by a post-earthquake fire spread simulation device, and the method comprises:
[0007] S1. Establish a geometric model of the target building complex, simulate the earthquake collapse of the geometric model, and obtain earthquake damage morphological data of the building complex.
[0008] S2. Import the earthquake damage morphological data of the building complex into the fire numerical simulation platform to obtain the post-earthquake numerical model of the building complex.
[0009] S3. Divide the numerical model of the post-earthquake building complex into a sparse grid with height taken into consideration, and perform sparse grid accelerated calculation of the post-earthquake fire spread simulation of the building complex based on large eddy simulation and parallel computing theory to obtain the simulation results of the post-earthquake fire spread of the building complex.
[0010] Optionally, the step of establishing a geometric model of the target building complex in S1, performing earthquake collapse simulation on the geometric model, and obtaining earthquake damage morphological data of the building complex includes:
[0011] S11. Establish a geometric model of the target building complex, define parameters of the target building complex according to the collected building material data, and obtain a geometric model after the parameters are defined.
[0012] S12. Construct a ground geometric grid, and obtain a building complex model according to the ground geometric grid and the geometric model defined by parameters.
[0013] S13. Input seismic waves to the building complex model to simulate building complex damage and obtain building complex seismic damage morphological data.
[0014] Optionally, the step S2 of importing the earthquake damage morphological data of the building complex into the fire numerical simulation platform to obtain a post-earthquake numerical model of the building complex includes:
[0015] S21. Import the earthquake damage morphological data of the building complex into the fire numerical simulation platform to obtain the simulation results of the building complex model.
[0016] S22. Use the three-dimensional modeling function to optimize and adjust the simulation results of the building complex model and establish a post-earthquake building complex pixel model.
[0017] S23. Add combustion information to the post-earthquake building complex pixel model, and establish a calculation domain according to the size of the post-earthquake building complex pixel model to obtain a post-earthquake building complex numerical model.
[0018] Optionally, in S3, the post-earthquake building complex numerical model is divided into sparse grids taking into account height, and the post-earthquake fire spread simulation of the building complex is simulated by sparse grid acceleration calculation based on large eddy simulation and parallel computing theory to obtain the post-earthquake fire spread simulation results of the building complex, including:
[0019] S31. Using the multi-partition method, the computational domain of the post-earthquake building complex numerical model is divided into non-uniform grids in the height direction to obtain the divided computational subdomains.
[0020] The divided calculation subdomains include: the fire source core area, the plume area and the hot smoke layer area.
[0021] The multi-partition method is shown in the following formula (1):
[0022]
[0023] Where h is the height from the subdomain boundary to the fire source, h r is the heat release rate of the fire source.
[0024] S32. Determine the basic grid accuracy according to the heat release rate of the fire source and the environmental parameters, perform preliminary grid division on the divided calculation subdomain according to the basic grid accuracy, and obtain the calculation domain after the preliminary grid division.
[0025] S33. Perform large eddy simulation on the computational domain after preliminary grid division, collect turbulent flow field data according to two-dimensional slices set at different heights, calculate relevant calculation parameters, and then calculate the filter grid scale.
[0026] S34. The grid ratio coefficient is calculated according to the filter grid scale, and the basic grid accuracy is adjusted according to the grid ratio coefficient to obtain a multi-zone grid division result; wherein, the adjustment principles include: for the fire source core area and the heat plume area, the threshold is set to 0.5-1; for the hot smoke layer area, the threshold is set to 1-2, that is, the optimized grids in the core area and the hot plume area must be smaller than the filter grid accuracy and larger than half of the filter scale; for the hot smoke layer area, the optimized grid must be larger than the filter scale and smaller than one times the filter scale.
[0027] S35. Use fire dynamic simulation software to run and solve the post-earthquake building complex numerical model and multi-zone grid division results to obtain the post-earthquake fire spread simulation results of the building complex.
[0028] Optionally, in S32, determining the basic grid accuracy according to the fire source heat release rate and the environmental parameters, and performing preliminary grid division on the divided calculation subdomain according to the basic grid accuracy, includes:
[0029] S321. Calculate the characteristic diameter D of the fire source based on the heat release rate of the fire source and environmental parameters. * , as shown in the following formula (2):
[0030]
[0031] Where Q is the preset fire source heat release rate, ρ is the air density of the external environment of the simulation area, and c P is the specific heat capacity of air at a set pressure, T is the temperature of the external environment of the simulation area, and g is the acceleration of gravity.
[0032] S322. Determine the basic grid accuracy according to the characteristic diameter of the fire source, and perform preliminary grid division on the divided calculation subdomain according to the basic grid accuracy.
[0033] Optionally, in S33, large eddy simulation is performed on the computational domain after preliminary grid division, turbulent flow field data is collected according to two-dimensional slices set at different heights, relevant calculation parameters are calculated, and then the filter grid scale is calculated, including:
[0034] S331, obtain turbulent flow field data according to the calculation domain after preliminary grid division, and calculate the flow field Reynolds number R according to the turbulent flow field data e , as shown in the following formula (3):
[0035]
[0036] Where ρ′ is the gas density; v is the average velocity; μ is the kinematic viscosity; and d is the cross-sectional diameter.
[0037] S332. Calculate the turbulence intensity I according to the flow field Reynolds number, as shown in the following formula (4):
[0038] I=0.16R e -1 / 8 (4)
[0039] S333. According to the turbulence intensity, the total turbulent kinetic energy K is calculated as shown in the following formula (5):
[0040] K = 1.5 × (vI) 2 (5)
[0041] S334. Calculate the turbulent dissipation rate ε based on the total turbulent kinetic energy, as shown in the following formula (6):
[0042]
[0043] In the formula, C m is an empirical constant and L is the turbulence scale.
[0044] S335. Calculate the filter grid size Δ according to the turbulence dissipation rate c , as shown in the following formula (7):
[0045]
[0046] In the formula, C k is the Kolmogorov constant, and M is the kinetic energy ratio.
[0047] Optionally, the basic grid accuracy is adjusted according to the grid ratio coefficient in S34 to obtain a multi-partition grid division result, including:
[0048] S341. Adjust the basic grid accuracy according to the grid ratio coefficient to obtain an optimized grid.
[0049] S342. Determine whether the optimized grids in the fire source core area and the plume area are smaller than the filter grid scale and larger than half the filter grid scale, and whether the optimized grid in the hot smoke layer area is larger than the filter grid scale and smaller than one times the filter grid scale.
[0050] If yes, the multi-partition meshing results are output.
[0051] If not, the grid is encrypted or coarsened according to the partitions, and the process goes to step S342.
[0052] On the other hand, a post-earthquake fire spread simulation device considering building collapse is provided, and the device is applied to a post-earthquake fire spread simulation method considering building collapse, and the device comprises:
[0053] The data acquisition module is used to establish a geometric model of the target building complex, simulate the earthquake collapse of the geometric model, and obtain the earthquake damage morphological data of the building complex.
[0054] The model building module is used to import the earthquake damage morphological data of the building complex into the fire numerical simulation platform to obtain the post-earthquake numerical model of the building complex.
[0055] The output module is used to divide the post-earthquake building complex numerical model into sparse grids taking into account height, and to perform sparse grid accelerated calculation of the post-earthquake fire spread simulation of the building complex based on large eddy simulation and parallel computing theory to obtain the post-earthquake fire spread simulation results of the building complex.
[0056] Optionally, the data acquisition module is further used to:
[0057] S11. Establish a geometric model of the target building complex, define parameters of the target building complex according to the collected building material data, and obtain a geometric model after the parameters are defined.
[0058] S12. Construct a ground geometric grid, and obtain a building complex model according to the ground geometric grid and the geometric model defined by parameters.
[0059] S13. Input seismic waves to the building complex model to simulate building complex damage and obtain building complex seismic damage morphological data.
[0060] Optionally, the model building module is further configured to:
[0061] S21. Import the earthquake damage morphological data of the building complex into the fire numerical simulation platform to obtain the simulation results of the building complex model.
[0062] S22. Use the three-dimensional modeling function to optimize and adjust the simulation results of the building complex model and establish a post-earthquake building complex pixel model.
[0063] S23. Add combustion information to the post-earthquake building complex pixel model, and establish a calculation domain according to the size of the post-earthquake building complex pixel model to obtain a post-earthquake building complex numerical model.
[0064] Optionally, the output module is further configured to:
[0065] S31. Using the multi-partition method, the computational domain of the post-earthquake building complex numerical model is divided into non-uniform grids in the height direction to obtain the divided computational subdomains.
[0066] The divided calculation subdomains include: the fire source core area, the plume area and the hot smoke layer area.
[0067] The multi-partition method is shown in the following formula (1):
[0068]
[0069] Where h is the height from the subdomain boundary to the fire source, h r is the heat release rate of the fire source.
[0070] S32. Determine the basic grid accuracy according to the heat release rate of the fire source and the environmental parameters, perform preliminary grid division on the divided calculation subdomain according to the basic grid accuracy, and obtain the calculation domain after the preliminary grid division.
[0071] S33. Perform large eddy simulation on the computational domain after preliminary grid division, collect turbulent flow field data according to two-dimensional slices set at different heights, calculate relevant calculation parameters, and then calculate the filter grid scale.
[0072] S34. The grid ratio coefficient is calculated according to the filter grid scale, and the basic grid accuracy is adjusted according to the grid ratio coefficient to obtain a multi-zone grid division result; wherein, the adjustment principles include: for the fire source core area and the heat plume area, the threshold is set to 0.5-1; for the hot smoke layer area, the threshold is set to 1-2, that is, the optimized grids in the core area and the hot plume area must be smaller than the filter grid accuracy and larger than half of the filter scale; for the hot smoke layer area, the optimized grid must be larger than the filter scale and smaller than one times the filter scale.
[0073] S35. Use fire dynamic simulation software to run and solve the post-earthquake building complex numerical model and multi-zone grid division results to obtain the post-earthquake fire spread simulation results of the building complex.
[0074] Optionally, the output module is further configured to:
[0075] S321. Calculate the characteristic diameter D of the fire source based on the heat release rate of the fire source and environmental parameters. * , as shown in the following formula (2):
[0076]
[0077] Where Q is the preset fire source heat release rate, ρ is the air density of the external environment of the simulation area, and c P is the specific heat capacity of air at a set pressure, T is the temperature of the external environment of the simulation area, and g is the acceleration of gravity.
[0078] S322. Determine the basic grid accuracy according to the characteristic diameter of the fire source, and perform preliminary grid division on the divided calculation subdomain according to the basic grid accuracy.
[0079] Optionally, the output module is further configured to:
[0080] S331, obtain turbulent flow field data according to the calculation domain after preliminary grid division, and calculate the flow field Reynolds number R according to the turbulent flow field data e , as shown in the following formula (3):
[0081]
[0082] Where ρ′ is the gas density; v is the average velocity; μ is the kinematic viscosity; and d is the cross-sectional diameter.
[0083] S332. Calculate the turbulence intensity I according to the flow field Reynolds number, as shown in the following formula (4):
[0084] I=0.16R e -1 / 8 (4)
[0085] S333. According to the turbulence intensity, the total turbulent kinetic energy K is calculated as shown in the following formula (5):
[0086] K = 1.5 × (vI) 2 (5)
[0087] S334. Calculate the turbulent dissipation rate ε based on the total turbulent kinetic energy, as shown in the following formula (6):
[0088]
[0089] In the formula, C m is an empirical constant and L is the turbulence scale.
[0090] S335. Calculate the filter grid size Δ according to the turbulence dissipation rate c , as shown in the following formula (7):
[0091]
[0092] In the formula, C k is the Kolmogorov constant, and M is the kinetic energy ratio.
[0093] Optionally, the output module is further configured to:
[0094] S341. Adjust the basic grid accuracy according to the grid ratio coefficient to obtain an optimized grid.
[0095] S342. Determine whether the optimized grids in the fire source core area and the plume area are smaller than the filter grid scale and larger than half the filter grid scale, and whether the optimized grid in the hot smoke layer area is larger than the filter grid scale and smaller than one times the filter grid scale.
[0096] If yes, the multi-partition meshing results are output.
[0097] If not, the grid is encrypted or coarsened according to the partitions, and the process goes to step S342.
[0098] On the other hand, a post-earthquake fire spread simulation device is provided, comprising: a processor; a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, any one of the above-mentioned post-earthquake fire spread simulation methods taking into account building collapse is implemented.
[0099] On the other hand, a computer-readable storage medium is provided, wherein at least one instruction is stored in the storage medium, and the at least one instruction is loaded and executed by a processor to implement any one of the above-mentioned post-earthquake fire spread simulation methods considering building collapse.
[0100] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least:
[0101] In the embodiment of the present invention, based on the physical engine, the earthquake collapse simulation of the target building complex is completed. Combined with the fire numerical simulation platform, the influence of the post-earthquake form of the building complex on the spread of fire can be considered, and a more realistic fire spread simulation of the post-earthquake building complex can be performed. By using a sparse grid acceleration algorithm in the height direction and improving the calculation efficiency through non-uniform grid division, a balance between the calculation efficiency and simulation accuracy of the fire spread simulation is achieved. It provides data support for urban planning and post-earthquake emergency rescue, and is conducive to the implementation of urban disaster prevention and mitigation work. BRIEF DESCRIPTION OF THE DRAWINGS
[0102] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0103] Figure 1 is a flow chart of a post-earthquake fire spread simulation method taking building collapse into consideration, provided by an embodiment of the present invention;
[0104] Figure 2 This is a schematic diagram of the change of the calculation domain of a building complex after an earthquake provided by an embodiment of the present invention;
[0105] Figure 3 is a grid optimization flow chart provided by an embodiment of the present invention;
[0106] Figure 4 The pre-earthquake building model provided by an embodiment of the present invention;
[0107] Figure 5 The post-earthquake building model provided by an embodiment of the present invention;
[0108] Figure 6 It is a block diagram of a post-earthquake fire spread simulation device taking building collapse into consideration provided by an embodiment of the present invention;
[0109] Figure 7 It is a structural schematic diagram of a post-earthquake fire spread simulation device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0110] The technical solution of the present invention is described below in conjunction with the accompanying drawings.
[0111] In the embodiments of the present invention, words such as "exemplarily" and "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "example" in the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "example" is intended to present the concept in a specific way. In addition, in the embodiments of the present invention, the meaning expressed by "and / or" can be both, or it can be either of the two.
[0112] In the embodiments of the present invention, "image" and "picture" can sometimes be used interchangeably. It should be noted that when the difference between them is not emphasized, the meanings they intend to express are the same. "of", "corresponding, relevant" and "corresponding" can sometimes be used interchangeably. It should be noted that when the difference between them is not emphasized, the meanings they intend to express are the same.
[0113] In the embodiments of the present invention, sometimes a subscript such as W1 may be mistakenly written as a non-subscript such as W1. When the difference is not emphasized, the meanings to be expressed are consistent.
[0114] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.
[0115] The embodiment of the present invention provides a post-earthquake fire spread simulation method taking into account building collapse, which can be implemented by a post-earthquake fire spread simulation device, which can be a terminal or a server. Figure 1 The flowchart of the post-earthquake fire spread simulation method considering building collapse is shown in FIG. The processing flow of the method may include the following steps:
[0116] S1. Establish a geometric model of the target building complex, simulate the earthquake collapse of the geometric model, and obtain earthquake damage morphological data of the building complex.
[0117] Optionally, the above step S1 may include S11-S13:
[0118] S11. Establish a geometric model of the target building complex, define parameters of the target building complex according to the collected building material data, and obtain a geometric model after the parameters are defined.
[0119] In a feasible implementation, a geometric model of the target building complex is established in the three-dimensional physical engine platform Blender, and based on the collected building material data, the material, density, contact characteristics, friction coefficient, bonding strength and other parameters of each cluster are defined separately to analyze the collapsed buildings and their three-dimensional forms under the action of the target earthquake.
[0120] S12. Construct a ground geometric grid, and obtain a building complex model according to the ground geometric grid and the geometric model defined by parameters.
[0121] In one feasible implementation, a ground geometry grid is constructed, and the positions of all ground points intersecting with the building geometry are first calibrated. Then constraints are used to connect the model to the ground, and finally, the model is extended to the entire building complex model, and constraints are used to connect the still independent components in the model.
[0122] S13. Input seismic waves to the building complex model to simulate building complex damage and obtain building complex seismic damage morphological data.
[0123] In a feasible implementation, earthquake waves are input, and the structural collapse simulation plug-in BCB (BulletConstraints Builder) is used to simulate the damage of the building model caused by the ground motion generated by the earthquake, and the earthquake damage form of the building complex is exported in FBX (FilmBoX) format.
[0124] To generate seismic waves, you need to call the Create Artificial Earthquake Motion function. This function provides two ways to input seismic motion. One is to adjust the amplitude, frequency, duration and random seed number of the input seismic wave to generate different artificial seismic wave data; the other is to import a seismic wave file in .csv format, which includes t[s], x[m / s 2 ], y[m / s 2 ]、z[m / s 2 ] earthquake data, which is derived from available real historical earthquake record files.
[0125] Furthermore, when the researchers start the simulation using the first method, the algorithm will first read all the wave parameters previously configured through the interface, including frequency, amplitude, duration, and random seed number. The seed number is used to generate the initial earthquake data. Modifying its value will change the characteristics of the earthquake motion. The algorithm will generate artificial earthquake motion data based on the noise function. If there is no real earthquake motion data available, this is also a good way to generate artificial earthquakes.
[0126] During simulation, BCB creates a dynamic world using its rules (such as force fields), adds physical objects (such as building models and the ground), and then performs the following steps for each frame:
[0127] (1) Broad-phase collision detection: The physics simulator uses AABB (Axis-Aligned Bounding Box) to generate a list of object pairs that may collide. The list is represented in the form of a tree.
[0128] (2) Narrow phase collision detection: If two objects are candidates for collision in the previous phase, this phase verifies the collision, in this case using the cuboid collision shapes previously set for each component.
[0129] (3) Add parameters: Add forces, mass, inertia, velocity, etc. to the modules that collide, and use these constraints to ensure the consistency of force exchange between earthquakes and building components.
[0130] (4) List update: Check whether the position of each component has changed. If so, update its position information.
[0131] (5) Loop: Return to step (1) until the physical simulation ends.
[0132] After completing the simulation, BCB will automatically call the timeline function to visualize the simulation results and export the output damage morphology simulation results in FBX format.
[0133] S2. Import the earthquake damage morphological data of the building complex into the fire numerical simulation platform to obtain the post-earthquake numerical model of the building complex.
[0134] Optionally, the above step S2 may include the following steps S21-S23:
[0135] S21. Import the FBX file containing the attribute information such as the post-earthquake shape and height of the building complex into the fire numerical simulation platform Pyrosim to obtain the simulation result of the building complex model.
[0136] S22. Use the three-dimensional modeling function to optimize and adjust the simulation results of the building complex model and establish a post-earthquake building complex pixel model.
[0137] S23. Add combustion information such as building materials and fire sources to the post-earthquake building complex pixel model according to the numerical simulation requirements, and establish a calculation domain according to the size of the post-earthquake building complex pixel model to obtain the post-earthquake building complex numerical model.
[0138] S3. Divide the numerical model of the post-earthquake building complex into a sparse grid with height taken into consideration, and perform sparse grid accelerated calculation of the post-earthquake fire spread simulation of the building complex based on large eddy simulation and parallel computing theory to obtain the simulation results of the post-earthquake fire spread of the building complex.
[0139] Among them, the original fire protection distance of the building complex after the earthquake will be destroyed by the falling objects generated by the earthquake. Partitioning its model in the traditional two-dimensional plane will reduce the accuracy of numerical simulation. Partitioning it in the height direction is a more appropriate grid division method, such as Figure 2 As shown, the sparse grid division considering height is performed, and the sparse grid accelerated calculation of the post-earthquake fire simulation of the building group is performed based on the large eddy simulation and parallel computing theory. The specific steps are as follows S31-S35 (as shown Figure 3 shown):
[0140] S31. Using the multi-partition method, the computational domain of the post-earthquake building complex numerical model is divided into non-uniform grids in the height direction to obtain the divided computational subdomains.
[0141] The divided calculation subdomains include: the fire source core area, the plume area and the hot smoke layer area.
[0142] The multi-partition method is shown in the following formula (1):
[0143]
[0144] Where h is the height from the subdomain boundary to the fire source, h r is the heat release rate of the fire source.
[0145] S32. Determine the basic grid accuracy according to the heat release rate of the fire source and other environmental parameters, perform preliminary grid division on the divided calculation subdomain according to the basic grid accuracy, and obtain the calculation domain after the preliminary grid division.
[0146] Optionally, the above step S32 may include S321-S322:
[0147] S321. Calculate the characteristic diameter D of the fire source based on the heat release rate of the fire source and other environmental parameters. * , as shown in the following formula (2):
[0148]
[0149] In the formula, Q is the heat release rate of the fire source set by the researchers, ρ is the air density of the external environment of the simulation area, and c P is the specific heat capacity of air at a set pressure, T is the temperature of the external environment of the simulation area, and g is the acceleration of gravity.
[0150] S322. Determine the basic grid accuracy according to the characteristic diameter of the fire source, and perform preliminary grid division on the divided calculation subdomain according to the basic grid accuracy.
[0151] In a feasible implementation method, the ratio D of the characteristic diameter of the fire source to the grid accuracy is calculated. * / δ x , according to the dimensionless ratio D * / δ x Determine the basic grid accuracy. The recommended value range is as shown in formula (3). Based on this, the computational domain is initially divided into grids:
[0152] 4 <D * / δ x <16 (3)
[0153] Dimensionless number D * / δ x Represents the number of grids per unit length. The larger its value is, the smaller the precision of the uniform grid will be, the higher the accuracy of the simulation calculation will be, and the closer the result of the numerical simulation will be to the actual result. However, the computing resources occupied will also increase significantly, and the time required to complete the simulation will also be longer.
[0154] S33. Perform large eddy simulation on the computational domain after preliminary grid division, collect turbulent flow field data according to two-dimensional slices set at different heights, calculate relevant calculation parameters, and then calculate the filter grid scale.
[0155] In a feasible implementation, a large eddy simulation is carried out to collect turbulent flow field data such as velocity and viscosity based on two-dimensional slices set at different heights, and relevant calculation parameters such as turbulent kinetic energy and dissipation rate are calculated, and then the filter grid scale is calculated.
[0156] Optionally, the above step S33 may include the following steps S331-S335:
[0157] S331, obtain turbulent flow field data according to the calculation domain after preliminary grid division, and calculate the flow field Reynolds number R according to the turbulent flow field data e , as shown in the following formula (4):
[0158]
[0159] Where ρ′ is the gas density; v is the average velocity; μ is the kinematic viscosity; d is the cross-sectional diameter. If the cross-sectional area is non-circular, use formula (5) to replace it:
[0160]
[0161] Where A is the cross-sectional area and P is the cross-sectional perimeter.
[0162] S332. Calculate the turbulence intensity I according to the flow field Reynolds number, as shown in the following formula (6):
[0163] I=0.16R e -1 / 8 (6)
[0164] S333. Calculate the total turbulent kinetic energy K according to the turbulence intensity, as shown in the following formula (7):
[0165] K = 1.5 × (vI) 2 (7)
[0166] S334. Calculate the turbulent dissipation rate ε based on the total turbulent kinetic energy, as shown in the following formula (8):
[0167]
[0168] In the formula, C m is an empirical constant, with a value of 0.09, and L is the turbulence scale, which is calculated according to formula (9):
[0169] L=0.07d (9)
[0170] Where d is the cross-sectional diameter.
[0171] S335. Calculate the filter grid size Δ according to the turbulence dissipation rate c , as shown in the following formula (10):
[0172]
[0173] In the formula, C k is the Kolmogorov constant, whose value is generally 1.4, and M is the kinetic energy proportion coefficient, which means the proportion of sub-grid turbulent kinetic energy in the total turbulent kinetic energy when performing large eddy simulation under the filter scale selected in the inertial sub-region.
[0174] Research results from many scholars have pointed out that when the proportion reaches 20%, the corresponding grid size can effectively collect observations of relevant parameters such as velocity in the turbulent flow field, so M is taken as 0.2; K is the total turbulent kinetic energy in the flow field; ε is the turbulent dissipation rate.
[0175] S34. The grid ratio coefficient is calculated according to the filter grid scale, and the basic grid accuracy is adjusted according to the grid ratio coefficient to obtain a multi-zone grid division result; wherein, the adjustment principles include: for the fire source core area and the heat plume area, the threshold is set to 0.5-1; for the hot smoke layer area, the threshold is set to 1-2, that is, the optimized grids in the core area and the hot plume area must be smaller than the filter grid accuracy and larger than half of the filter scale; for the hot smoke layer area, the optimized grid must be larger than the filter scale and smaller than one times the filter scale.
[0176] Optionally, the above step S34 may include the following steps S341-S344:
[0177] S341. The calculation formula of the grid ratio coefficient defined by the basic adjustment index is as shown in formula (11). The basic grid accuracy is adjusted according to the grid ratio coefficient. The principles are as follows: for the fire source core area and the heat plume area, the threshold of σ is set to 0.5-1; for the hot smoke layer area, the threshold of σ is set to 1-2, that is, the optimized grids in the core area and the hot plume area should be smaller than the filter grid accuracy and larger than half of the filter scale; for the hot smoke layer area, the optimized grids should be larger than the filter scale and smaller than one times the filter scale;
[0178]
[0179] In the formula, Δ c is the filtering grid size; Δ is the optimized grid size.
[0180] S342, determination condition: whether the global grid ratio coefficient of the computational domain meets the set threshold;
[0181] S343, if step S37 is judged as false, the grid is encrypted or coarsened according to the partition, and after the processing is completed, the judgment is continued until step S37 is judged as true;
[0182] S344. If step S37 is judged to be true, directly end the mesh optimization process and output the multi-partition mesh division result.
[0183] S35. Use fire dynamic simulation software to run and solve the post-earthquake building complex numerical model and multi-zone grid division results to obtain the post-earthquake fire spread simulation results of the building complex.
[0184] In a feasible implementation, based on the three-dimensional voxelized fluid dynamics model of the collapsed building complex and the multi-partition meshing results, FDS (Fire Dynamic Simulation) is used to run and solve, and the fire spread results of the collapsed building complex are output.
[0185] For example, the proposed sparse grid acceleration algorithm considering height is used to perform single-zone serial, multi-zone uniform grid and multi-zone non-uniform grid calculations on the selected post-earthquake building, and the superiority of the acceleration algorithm is verified from the number of grids and the simulation time required. Figure 4 , 5 As shown, propane is selected as the fire source fuel, its heat release rate is 3000kW, the ambient temperature is set to 20℃, the simulation time is set to 1800s, and the surface material is set to EPS polystyrene insulation material.
[0186] Before conducting refined numerical simulation, a large eddy simulation is performed with a larger grid size, and turbulent flow field data is collected based on two-dimensional slices set at different heights. In this simulation, a grid accuracy of 1m is used to divide the computational domain, and the slice height is set to 2m away from the fire source (the boundary height between the hot plume area and the core area of the fire source). The required parameters are calculated based on the collected flow field data, and the filter grid scale is 0.6m and the grid ratio coefficient is 1.67. It can be seen that the grids in the core area of the fire source and the hot plume area need to be encrypted, and the grid accuracy of the hot smoke layer area remains unchanged. After completing the partition grid accuracy adjustment, the sizes of the four models are: single-zone serial grid is 0.5m, multi-zone uniform grid is 0.5m, and multi-zone non-uniform grid is 0.5m and 1.0m. The other boundary conditions and parameters remain unchanged. The comparison of the number of grids of the four models is shown in Table 1 below:
[0187] Table 1
[0188] Mesh Type Grid quantity Single-area grid before earthquake 137,984 Single Zone Serial Grid 73,920 Multi-zone uniform grid 73,920 Optimize the mesh 49,665
[0189] From the table above, we can see that the number of optimized grids is reduced by 88,319 and 24,255 respectively, accounting for 64% and 32.81% of the single-zone grids and multi-zone uniform grids before the earthquake. This can significantly reduce the usage of computing resources and effectively improve the computing efficiency of numerical simulation.
[0190] The computing platform parameters used in this simulation are: Intel Xeon Platinum 8378A CPU, 3.0GHz computing frequency, 4 CPUs and 4 processes, 16GB running memory. The simulation duration is uniformly set to 1800s. The duration required for the four models to complete the numerical simulation is shown in Table 2 below:
[0191] Table 2
[0192] Mesh Type Total duration (h) Single-area grid before earthquake 93.18 Single Zone Serial Grid 57.29 Multi-zone uniform grid 38.19 Optimize the mesh 33.21
[0193] As can be seen from the table above, compared with the single-zone serial calculation, the optimized partitioned non-uniform grid has a speedup ratio of 2.81 and 1.73 respectively, and compared with the partitioned uniform grid, it also has a 15% speedup effect. This fully demonstrates the effectiveness of the acceleration algorithm proposed in this paper, and it can be applied to the numerical simulation of the post-earthquake building complex model.
[0194] The present invention firstly establishes a voxel model of a target building complex, and uses structural collapse simulation software to complete earthquake collapse simulation of the target building complex; then the model file after the collapse simulation is completed is imported into a fire numerical simulation platform, and parameters such as building materials and fire sources are added to generate a fire numerical model of the post-earthquake building complex; finally, based on large eddy simulation and parallel computing theory, combined with the characteristics of obvious changes in the height direction of the post-earthquake building complex, the calculation domain is gridded in the height direction, and in the core area, the grid size is appropriately encrypted to improve the accuracy of the simulation result; in the non-core area, the grid size is appropriately increased to reduce the calculation difficulty and improve the calculation efficiency, so as to complete the post-earthquake three-dimensional fire simulation of the building complex.
[0195] In the embodiment of the present invention, based on the physical engine, the earthquake collapse simulation of the target building complex is completed. Combined with the fire numerical simulation platform, the influence of the post-earthquake form of the building complex on the spread of fire can be considered, and a more realistic fire spread simulation of the post-earthquake building complex can be performed. By using a sparse grid acceleration algorithm in the height direction and improving the calculation efficiency through non-uniform grid division, a balance between the calculation efficiency and simulation accuracy of the fire spread simulation is achieved. It provides data support for urban planning and post-earthquake emergency rescue, and is conducive to the implementation of urban disaster prevention and mitigation work.
[0196] Figure 6 The block diagram of a post-earthquake fire spread simulation device considering building collapse is shown according to an exemplary embodiment. The device is used in a post-earthquake fire spread simulation method considering building collapse. Figure 6 , the device includes a data acquisition module 610, a model building module 620 and an output module 630. For ease of description, Figure 6 Only the main components of the post-earthquake fire spread simulation device 600 are shown:
[0197] The data acquisition module 610 is used to establish a geometric model of the target building complex, perform earthquake collapse simulation on the geometric model, and obtain earthquake damage morphological data of the building complex.
[0198] The model building module 620 is used to import the earthquake damage morphological data of the building complex into the fire numerical simulation platform to obtain a post-earthquake numerical model of the building complex.
[0199] Output module 630 is used to divide the post-earthquake building complex numerical model into sparse grids taking into account height, and to perform sparse grid accelerated calculation of the post-earthquake fire spread simulation of the building complex based on large eddy simulation and parallel computing theory to obtain the post-earthquake fire spread simulation results of the building complex.
[0200] Optionally, the data acquisition module 610 is further configured to:
[0201] S11. Establish a geometric model of the target building complex, define parameters of the target building complex according to the collected building material data, and obtain a geometric model after the parameters are defined.
[0202] S12. Construct a ground geometric grid, and obtain a building complex model according to the ground geometric grid and the geometric model defined by parameters.
[0203] S13. Input seismic waves to the building complex model to simulate building complex damage and obtain building complex seismic damage morphological data.
[0204] Optionally, the model building module 620 is further configured to:
[0205] S21. Import the earthquake damage morphological data of the building complex into the fire numerical simulation platform to obtain the simulation results of the building complex model.
[0206] S22. Use the three-dimensional modeling function to optimize and adjust the simulation results of the building complex model and establish a post-earthquake building complex pixel model.
[0207] S23. Add combustion information to the post-earthquake building complex pixel model, and establish a calculation domain according to the size of the post-earthquake building complex pixel model to obtain a post-earthquake building complex numerical model.
[0208] Optionally, the output module 630 is further configured to:
[0209] S31. Using the multi-partition method, the computational domain of the post-earthquake building complex numerical model is divided into non-uniform grids in the height direction to obtain the divided computational subdomains.
[0210] The divided calculation subdomains include: the fire source core area, the plume area and the hot smoke layer area.
[0211] The multi-partition method is shown in the following formula (1):
[0212]
[0213] Where h is the height from the subdomain boundary to the fire source, h r is the heat release rate of the fire source.
[0214] S32. Determine the basic grid accuracy according to the heat release rate of the fire source and the environmental parameters, perform preliminary grid division on the divided calculation subdomain according to the basic grid accuracy, and obtain the calculation domain after the preliminary grid division.
[0215] S33. Perform large eddy simulation on the computational domain after preliminary grid division, collect turbulent flow field data according to two-dimensional slices set at different heights, calculate relevant calculation parameters, and then calculate the filter grid scale.
[0216] S34. The grid ratio coefficient is calculated according to the filter grid scale, and the basic grid accuracy is adjusted according to the grid ratio coefficient to obtain a multi-zone grid division result; wherein, the adjustment principles include: for the fire source core area and the heat plume area, the threshold is set to 0.5-1; for the hot smoke layer area, the threshold is set to 1-2, that is, the optimized grids in the core area and the hot plume area must be smaller than the filter grid accuracy and larger than half of the filter scale; for the hot smoke layer area, the optimized grid must be larger than the filter scale and smaller than one times the filter scale.
[0217] S35. Use fire dynamic simulation software to run and solve the post-earthquake building complex numerical model and multi-zone grid division results to obtain the post-earthquake fire spread simulation results of the building complex.
[0218] Optionally, the output module 630 is further configured to:
[0219] S321. Calculate the characteristic diameter D of the fire source based on the heat release rate of the fire source and environmental parameters. * , as shown in the following formula (2):
[0220]
[0221] Where Q is the preset fire source heat release rate, ρ is the air density of the external environment of the simulation area, and c P is the specific heat capacity of air at a set pressure, T is the temperature of the external environment of the simulation area, and g is the acceleration of gravity.
[0222] S322. Determine the basic grid accuracy according to the characteristic diameter of the fire source, and perform preliminary grid division on the divided calculation subdomain according to the basic grid accuracy.
[0223] Optionally, the output module 630 is further configured to:
[0224] S331, obtain turbulent flow field data according to the calculation domain after preliminary grid division, and calculate the flow field Reynolds number R according to the turbulent flow field data e , as shown in the following formula (3):
[0225]
[0226] Where ρ′ is the gas density; v is the average velocity; μ is the kinematic viscosity; and d is the cross-sectional diameter.
[0227] S332. Calculate the turbulence intensity I according to the flow field Reynolds number, as shown in the following formula (4):
[0228] I=0.16R e -1 / 8 (4)
[0229] S333. According to the turbulence intensity, the total turbulent kinetic energy K is calculated as shown in the following formula (5):
[0230] K = 1.5 × (vI) 2 (5)
[0231] S334. Calculate the turbulent dissipation rate ε based on the total turbulent kinetic energy, as shown in the following formula (6):
[0232]
[0233] In the formula, C m is an empirical constant and L is the turbulence scale.
[0234] S335. Calculate the filter grid size Δ according to the turbulence dissipation rate c , as shown in the following formula (7):
[0235]
[0236] In the formula, C k is the Kolmogorov constant, and M is the kinetic energy ratio.
[0237] Optionally, the output module 630 is further configured to:
[0238] S341. Adjust the basic grid accuracy according to the grid ratio coefficient to obtain an optimized grid.
[0239] S342. Determine whether the optimized grids in the fire source core area and the plume area are smaller than the filter grid scale and larger than half the filter grid scale, and whether the optimized grid in the hot smoke layer area is larger than the filter grid scale and smaller than one times the filter grid scale.
[0240] If yes, the multi-partition meshing results are output.
[0241] If not, the grid is encrypted or coarsened according to the partitions, and the process goes to step S342.
[0242] In the embodiment of the present invention, based on the physical engine, the earthquake collapse simulation of the target building complex is completed. Combined with the fire numerical simulation platform, the influence of the post-earthquake form of the building complex on the spread of fire can be considered, and a more realistic fire spread simulation of the post-earthquake building complex can be performed. By using a sparse grid acceleration algorithm in the height direction and improving the calculation efficiency through non-uniform grid division, a balance between the calculation efficiency and simulation accuracy of the fire spread simulation is achieved. It provides data support for urban planning and post-earthquake emergency rescue, and is conducive to the implementation of urban disaster prevention and mitigation work.
[0243] Figure 7 is a structural schematic diagram of a post-earthquake fire spread simulation device provided by an embodiment of the present invention, such as Figure 7 As shown, the post-earthquake fire spread simulation equipment may include the above Figure 6 The post-earthquake fire spread simulation device considering building collapse is shown. Optionally, the post-earthquake fire spread simulation device 710 may include a first processor 2001 .
[0244] Optionally, the post-earthquake fire spread simulation device 710 may further include a memory 2002 and a transceiver 2003 .
[0245] The first processor 2001, the memory 2002 and the transceiver 2003 may be connected via a communication bus.
[0246] Combine the following Figure 7 The components of the post-earthquake fire spread simulation device 710 are introduced in detail:
[0247] The first processor 2001 is the control center of the post-earthquake fire spread simulation device 710, and may be a processor or a general term for multiple processing elements. For example, the first processor 2001 is one or more central processing units (CPUs), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention, such as one or more microprocessors (digital signal processors, DSPs), or one or more field programmable gate arrays (FPGAs).
[0248] Optionally, the first processor 2001 may perform various functions of the post-earthquake fire spread simulation device 710 by running or executing a software program stored in the memory 2002 and calling data stored in the memory 2002 .
[0249] In a specific implementation, as an embodiment, the first processor 2001 may include one or more CPUs, such as Figure 7 CPU0 and CPU1 are shown in FIG.
[0250] In a specific implementation, as an embodiment, the post-earthquake fire spread simulation device 710 may also include multiple processors, such as Figure 7 The first processor 2001 and the second processor 2004 are shown in FIG. Each of these processors can be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). The processor here can refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0251] The memory 2002 is used to store the software program for executing the solution of the present invention, and is controlled to be executed by the first processor 2001. The specific implementation method can refer to the above method embodiment, which will not be repeated here.
[0252] Optionally, the memory 2002 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 2002 may be integrated with the first processor 2001, or may exist independently, and may be accessed through the interface circuit ( Figure 7 (not shown) is coupled to the first processor 2001, which is not specifically limited in this embodiment of the present invention.
[0253] The transceiver 2003 is used to communicate with a network device or a terminal device.
[0254] Optionally, the transceiver 2003 may include a receiver and a transmitter ( Figure 7 The receiver is used to implement a receiving function, and the transmitter is used to implement a sending function.
[0255] Optionally, the transceiver 2003 may be integrated with the first processor 2001, or may exist independently and communicate with the first processor 2001 through the interface circuit ( Figure 7 (not shown) is coupled to the first processor 2001, which is not specifically limited in this embodiment of the present invention.
[0256] It should be noted that Figure 7 The structure of the post-earthquake fire spread simulation device 710 shown in the figure does not constitute a limitation on the router, and the actual knowledge structure recognition device may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0257] In addition, the technical effects of the post-earthquake fire spread simulation device 710 can refer to the technical effects of the post-earthquake fire spread simulation method considering building collapse described in the above method embodiment, and will not be repeated here.
[0258] It should be understood that the first processor 2001 in the embodiment of the present invention may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0259] It should also be understood that the memory in the embodiments of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).
[0260] The above embodiments can be implemented in whole or in part by software, hardware (such as circuits), firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0261] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.
[0262] In the present invention, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0263] It should be understood that in various embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0264] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0265] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described equipment, devices and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0266] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0267] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0268] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0269] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0270] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A post-earthquake fire spread simulation method considering building collapse, characterized in that: The method comprises: S1. Establishing a geometric model of a target building complex, and performing earthquake collapse simulation on the geometric model to obtain earthquake damage morphological data of the building complex; S2, importing the earthquake damage morphological data of the building complex into a fire numerical simulation platform to obtain a post-earthquake numerical model of the building complex; S3, dividing the post-earthquake building complex numerical model into sparse grids with height taken into consideration, and performing sparse grid accelerated calculation of the post-earthquake fire spread simulation of the building complex based on large eddy simulation and parallel computing theory to obtain the post-earthquake fire spread simulation results of the building complex; The step of establishing a geometric model of the target building complex in S1, simulating earthquake collapse of the geometric model, and obtaining earthquake damage morphological data of the building complex includes: S11, using the 3D physical engine platform Blender to establish a geometric model of the target building complex, defining parameters of the target building complex according to the collected building material data, and obtaining a geometric model after the parameters are defined; S12, constructing a ground geometric grid, and obtaining a building complex model according to the ground geometric grid and the geometric model after parameter definition; S13, inputting earthquake waves into the building complex model to simulate building complex damage, and obtaining earthquake damage morphological data of the building complex; The step S2 of importing the earthquake damage morphological data of the building complex into a fire numerical simulation platform to obtain a post-earthquake numerical model of the building complex includes: S21, importing the earthquake damage morphological data of the building complex into a fire numerical simulation platform to obtain a simulation result of a building complex model; S22, optimizing and adjusting the simulation results of the building complex model by using a three-dimensional modeling function, and establishing a post-earthquake building complex pixel model; S23, adding combustion information to the post-earthquake building complex pixel model, and establishing a calculation domain according to the size of the post-earthquake building complex pixel model to obtain a post-earthquake building complex numerical model; The S3 divides the post-earthquake building complex numerical model into sparse grids with consideration of height, and performs sparse grid accelerated calculation of the post-earthquake fire spread simulation of the building complex based on large eddy simulation and parallel computing theory to obtain the post-earthquake fire spread simulation results of the building complex, including: S31, using a multi-partition method, performing non-uniform grid division on the computational domain of the post-earthquake building complex numerical model in the height direction to obtain a divided computational subdomain; The divided calculation subdomains include: the fire source core area, the plume area and the hot smoke layer area; The multi-partition method is shown in the following formula (1): Where h is the height from the subdomain boundary to the fire source, h r is the heat release rate of the fire source; S32, determining a basic grid accuracy according to the fire source heat release rate and environmental parameters, and performing preliminary grid division on the divided calculation subdomain according to the basic grid accuracy to obtain a calculation domain after preliminary grid division; S33, performing large eddy simulation on the computational domain after the preliminary grid division, collecting turbulent flow field data according to two-dimensional slices set at different heights, calculating relevant calculation parameters, and then calculating the filter grid scale; S34, calculate the grid ratio coefficient according to the filter grid scale, adjust the basic grid accuracy according to the grid ratio coefficient, and obtain a multi-zone grid division result; wherein the adjustment principle includes: for the fire source core area and the plume area, set the threshold value to 0.5-1; for the hot smoke layer area, set the threshold value to 1-2, that is, the optimized grids in the fire source core area and the plume area should be smaller than the filter grid scale and larger than half of the filter grid scale; for the hot smoke layer area, the optimized grid should be larger than the filter grid scale and smaller than one times the filter grid scale; S35, using fire dynamic simulation software to run and solve the post-earthquake building complex numerical model and the multi-zone grid division result to obtain the post-earthquake fire spread simulation result of the building complex; The step S32 of determining the basic grid accuracy according to the fire source heat release rate and the environmental parameters, and performing preliminary grid division on the divided calculation subdomain according to the basic grid accuracy, includes: S321. Calculate the characteristic diameter D of the fire source based on the heat release rate of the fire source and environmental parameters. * , as shown in the following formula (2): Where Q is the preset fire source heat release rate, ρ is the air density of the external environment of the simulation area, and c P is the specific heat capacity of air at the set pressure, T is the temperature of the external environment of the simulation area, and g is the gravitational acceleration; S322, determining a basic grid accuracy according to the characteristic diameter of the fire source, and performing preliminary grid division on the divided calculation subdomain according to the basic grid accuracy; The step S33 performs large eddy simulation on the computational domain after the preliminary division of the grid, collects turbulent flow field data according to two-dimensional slices set at different heights, calculates relevant calculation parameters, and then calculates the filter grid scale, including: S331, obtaining turbulent flow field data according to the calculation domain after the preliminary grid division, and calculating the flow field Reynolds number R according to the turbulent flow field data e , as shown in the following formula (3): In the formula, ρ ′ is the gas density; v is the average velocity; μ is the kinematic viscosity; d is the cross-sectional diameter; S332. Calculate the turbulence intensity I according to the flow field Reynolds number, as shown in the following formula (4): I=0.16R e -1 / 8 (4) S333. Calculate the total turbulent kinetic energy K according to the turbulence intensity, as shown in the following formula (5): K=1.5×(vI) 2 (5) S334. Calculate the turbulence dissipation rate ε according to the total turbulent kinetic energy, as shown in the following formula (6): In the formula, C m is an empirical constant, L is the turbulence scale; S335, calculating the filter grid scale Δ according to the turbulence dissipation rate c , as shown in the following formula (7): In the formula, C k is Kolmogorov constant, M is the kinetic energy ratio; The step S34 of adjusting the basic grid accuracy according to the grid ratio coefficient to obtain a multi-partition grid division result includes: S341, adjusting the basic grid accuracy according to the grid ratio coefficient to obtain an optimized grid; S342, judging whether the optimized grids in the fire source core area and the plume area are smaller than the filter grid scale and larger than half of the filter grid scale, and whether the optimized grids in the hot smoke layer area are larger than the filter grid scale and smaller than one time of the filter grid scale; If yes, then output the multi-partition meshing result; If not, the grid is encrypted or coarsened according to the partitions, and the process goes to step S342.
2. A post-earthquake fire spread simulation device taking into account building collapse, characterized in that: The post-earthquake fire spread simulation device considering building collapse is used to implement the post-earthquake fire spread simulation method considering building collapse as described in claim 1, and the device comprises: A data acquisition module is used to establish a geometric model of the target building complex, simulate earthquake collapse of the geometric model, and obtain earthquake damage morphological data of the building complex; A model building module is used to import the earthquake damage morphological data of the building complex into the fire numerical simulation platform to obtain a post-earthquake numerical model of the building complex; The output module is used to divide the post-earthquake building complex numerical model into sparse grids taking into account height, and to perform sparse grid accelerated calculation of the post-earthquake fire spread simulation of the building complex based on large eddy simulation and parallel computing theory to obtain the post-earthquake fire spread simulation results of the building complex.
3. A post-earthquake fire spread simulation device, characterized in that: The post-earthquake fire spread simulation equipment comprises: processor; A memory having computer-readable instructions stored thereon, wherein when the computer-readable instructions are executed by the processor, the method according to claim 1 is implemented.
4. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program codes, which can be called by a processor to execute the method according to claim 1.
