CN107391881A - A kind of flue gas method for visualizing based on particIe system grid - Google Patents

A kind of flue gas method for visualizing based on particIe system grid Download PDF

Info

Publication number
CN107391881A
CN107391881A CN201710740751.0A CN201710740751A CN107391881A CN 107391881 A CN107391881 A CN 107391881A CN 201710740751 A CN201710740751 A CN 201710740751A CN 107391881 A CN107391881 A CN 107391881A
Authority
CN
China
Prior art keywords
fds
grid
osg
flue gas
fire
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710740751.0A
Other languages
Chinese (zh)
Inventor
许镇
袁静雨
张宗才
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Science and Technology Beijing USTB
Original Assignee
University of Science and Technology Beijing USTB
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by University of Science and Technology Beijing USTB filed Critical University of Science and Technology Beijing USTB
Priority to CN201710740751.0A priority Critical patent/CN107391881A/en
Publication of CN107391881A publication Critical patent/CN107391881A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/20Finite element generation, e.g. wire-frame surface description, tesselation
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B9/00Simulators for teaching or training purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/56Particle system, point based geometry or rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/61Scene description

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • Business, Economics & Management (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Respiratory Apparatuses And Protective Means (AREA)

Abstract

The present invention provides a kind of flue gas method for visualizing based on particIe system grid, belongs to technical field of preventing and reducing natural disasters.This method carries out FDS mesh generations and fire disaster simulation first, the grid of flue gas numerical simulation is established in FDS, and carry out Numerical Simulation on Fire;Then in OSG pattern spaces model according to corresponding to being established FDS model meshes mesh space, it is and OSG " frame " concept is corresponding with FDS set time step-lengths, establish the space-time corresponding relation of OSG and FDS data;Each grid particIe system will determine to be turned on and off according to the scene of a fire parameter in FDS grids in OSG again;Finally, fire and smoke spread dynamic and visual effect is realized by the example system grid opened at different moments.Flue gas method for visualizing based on particIe system grid, can be achieved the fire and smoke spread visualization with scientific basis and the sense of reality, and believable fire evacuation environment is provided for virtual evacuation.

Description

A kind of flue gas method for visualizing based on particIe system grid
Technical field
The present invention relates to technical field of preventing and reducing natural disasters, and particularly relates to a kind of flue gas visualization side based on particIe system grid Method.
Background technology
In building fire, rational evacuation is the important channel for avoiding fire casualties.However, carry natural fire Hands-on there is great difficulty.Not only need to spend high cost, the problem of further relating to personal security.And virtually evacuate training System then has a clear superiority, and can make the planned repetition training of student safely, at low cost, to improve fire evacuation energy Power, reduce casualties.In evacuation, flue gas can influence the visibility of survivor, increase the difficulty of evacuation.Therefore, it is accurate, true The flue gas visualization of true feeling is most important for virtual evacuation training.
Flue gas has certain sense of reality in current virtual evacuation training, but lacks the support of science data, and it is distributed All do not have reasonability with the characteristics of motion.In the visual correlative study of flue gas, the method for having had some to simplify is (such as thin Cellular automaton and Random Variables Method) carry out dynamic evolution (Chittaro L, the Ranon R.Serious Games of simulated flue gas for training occupants of a building in personal fire safety skills[C]//Games and Virtual Worlds for Serious Applications,2009.VS-GAMES'09.Conference in.IEEE,2009:76-83), but the smoke distribution of these method for simplifying acquisition and visibility are inaccurate.In computer graphical In, particIe system is a kind of common flue gas sense of reality method for visualizing (Xiao Peng, Liu Gengdai, Xu Mingliang .OpenSceneGraph publishing house of 3 d rendering engine Programming Guide [M] Tsing-Hua University, 2010.).Cigarette based on particIe system Gas visualization has the good sense of reality, but accurate flue gas visualization effect must could be created by the flue gas data supporting of science Fruit, service fire hazard virtual evacuation.
Current, many computational fluid dynamics (computational fluid dynamics, CFD) platforms can calculate Go out fairly precise flue gas DYNAMIC DISTRIBUTION situation.For example, by American National Standard and the fire of technical research institute (NIST) exploitation Kinetic-simulator (fire dynamics simulator, FDS) has less error, and extensive use with actual experiment value In various fire investigations.
Therefore, the present invention uses FDS smoke modellings data to realize the true of fire smoke using particIe system grid to rely on True feeling visualizes, to realize that accurate, the sense of reality flue gas Visual Scene provides a kind of new technical method.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of flue gas method for visualizing based on particIe system grid, realizes Visualized with the fire and smoke spread of scientific basis and the sense of reality, true, believable fire evacuation environment is provided for virtual evacuation.
This method comprises the following steps:
(1) FDS mesh generations and fire disaster simulation:
BUILDINGS MODELS space is divided into the discrete grid block for specifying thermophysical property by FDS, and FDS is according to set time step-length Export the scene of a fire parameter of each grid;Fire disaster simulation is carried out in FDS, exports the visibility time course data of each grid;
(2) OSG and FDS space-time corresponding relation is established:
According to the size of mesh generation in FDS model files obtaining step (1), the grid corresponding to foundation in OSG models; Then, the flue gas effect simulated according to FDS, particIe system texture is set;Total time and set time step further according to FDS simulations It is long, it is determined that frame number corresponding to being established in OSG;
(3) open and close of particIe system are set:
In OSG, the opening and closing mark of particIe system is used as using the visibility parameter in each grid of FDS output files It is accurate;ParticIe system is added in OSG graphic control units node in OSG, passes through node->SetNodeMask, which is set, to be opened Or close particIe system, node->SetNodeMask (1) represents to open, node->SetNodeMask (0x0) represents to close;
(4) visualization of dynamic flue gas is formed:
By while in OSG (!viewer.done()){viewer.frame();Circulation, check in all grids ParticIe system, judge the relation of each grid visibility and threshold value;Finally use osg::Drawable::UpdateCallback Call back function is updated, aforesaid operations are formed into loop play, forms dynamic flue gas visualization.
Wherein, the discrete grid block size in step (1) is not more than 1m × 1m × 1m.
Discrete grid block in step (1) includes the dynamic scene of a fire parameter with fire development:Harmful gas concentration, visibility, Temperature etc..
In step (2) by the SmokeEffect classes in osgParticle spaces in OSG OSG models each grid The middle particIe system that a closing is set.
Totalframes in step (2) in OSG is equal to FDS and simulates total step-length number.
The above-mentioned technical proposal of the present invention has the beneficial effect that:
The flue gas method for visualizing based on fire disaster simulation and particIe system grid of the invention, can be achieved to have scientific basis and The fire and smoke spread visualization of the sense of reality, believable fire evacuation environment is provided for virtual evacuation.
Brief description of the drawings
Fig. 1 is the general flow chart of the flue gas method for visualizing based on particIe system grid of the present invention;
Fig. 2 is the schematic diagram that fire and smoke spread is shown using particIe system grid;
Fig. 3 is that building fire virtually evacuates scene plan;
Fig. 4 is flue gas the Visual Implementation process;
Fig. 5 is the flue gas effect of visualization figure of the diverse location of path 1, and (a) is point of observation A, and (b) is point of observation B, and (c) is Point of observation C, (d) is point of observation D;
Fig. 6 is the flue gas effect of visualization figure of the diverse location of path 2, and (a) is starting point A, and (b) is point of observation E, and (c) is Point of observation F, (d) is point G at outlet 2.
Embodiment
To make the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and tool Body embodiment is described in detail.
The present invention provides a kind of flue gas method for visualizing based on particIe system grid.
This method main-process stream is as shown in figure 1, main contents include:1.FDS mesh generations and fire disaster simulation;2. establish OSG With FDS space-time corresponding relation;3. the open and close of particIe system are set;4. form the visualization of dynamic flue gas.
It is as follows to implement step:
(1) FDS model partitions and fire disaster simulation
BUILDINGS MODELS space is divided into by FDS to be had with fire with the discrete grid block for specifying thermophysical property, each grid The dynamic scene of a fire parameter (such as harmful gas concentration, visibility, temperature) of development, FDS export each according to set time step-length The scene of a fire parameter of grid;Fire disaster simulation is carried out in FDS, exports the visibility time course data of each grid;In this training, fire Calamity scene is one 6 layers of dormitory building, and at 5 layers, floor plan is as shown in Figure 3 in the room that catches fire.Establish the FDS of 5 layers of the building Model, size of mesh opening are 1m × 1m × 1m.Numerical Simulation on Fire is carried out in FDS, number of passes when exporting the visibility of each grid According to.
(2) OSG and FDS space-time corresponding relation is established
The size of mesh generation is obtained according to FDS model files, the grid corresponding to foundation in OSG models.Each net The particIe system of one closing is set in lattice, can be established by the SmokeEffect classes in osgParticle spaces in OSG.Root The flue gas effect simulated according to FDS, particIe system texture is set.According to the FDS total times simulated and set time step-length, it is determined that Frame number corresponding to being established in OSG.Totalframes in OSG visualization process is equal to FDS and simulates total step-length number.
(3) open and close of particIe system are set
In OSG, the opening and closing mark of particIe system is used as using the visibility parameter in each grid of FDS output files It is accurate.In this FDS fire disaster simulation, it is seen that spend for 0-30m.The present invention takes the threshold value that 25m switchs as particIe system, when under visibility Drop to 25m and it is following when, it is believed that have fire and smoke spread, then open particIe system, it is on the contrary, it is believed that flue gas dissipate, then close particle systems System.ParticIe system is added in OSG graphic control units node in OSG, passes through node->SetNodeMask, which is set, to be opened Or close particIe system, node->SetNodeMask (1) represents to open, node->SetNodeMask (0x0) represents to close.
(4) visualization of dynamic flue gas is formed
By while in OSG (!viewer.done()){viewer.frame();Circulation, check in all grids ParticIe system, judge the relation of each grid visibility and threshold value.Finally use osg::Drawable:: UpdateCallback updates call back function, and aforesaid operations are formed into loop play, you can forms dynamic flue gas visualization.Such as Fig. 2 illustrates the unlatching situation from 0 step-length particIe system into Tk+1, this to open the Space sprawls for being demonstrated by flue gas.According to Fine flow develops program in OSG shown in Fig. 4, according to FDS grids, step-length and visibility file, can automate realization Flue gas visualization process.
According to effect of visualization, carry out virtually evacuating process in OSG, the flue gas change feelings of diverse location on different paths Condition is as shown in Figure 5 and Figure 6.By Fig. 5 ((a), (b), (c), (d)) and Fig. 6 ((a), (b), (c), (d)) as can be seen that flue gas Visualization has the good sense of reality, and the dense difference of diverse location flue gas.The flue gas effect of visualization of the present invention is for instruction White silk person has guiding function according to the different evacuation paths of smoke condition selection, due to being supported with science data, this guiding function There is actual directive significance.
In summary, by above example, it is visual that the flue gas based on fire disaster simulation and particIe system grid can be summed up Change method, it is possible to achieve there is the visualization of the fire and smoke spread of scientific basis and the sense of reality, believable fire is provided for virtual evacuation Calamity evacuates environment.
Described above is the preferred embodiment of the present invention, it is noted that for those skilled in the art For, on the premise of principle of the present invention is not departed from, some improvements and modifications can also be made, these improvements and modifications It should be regarded as protection scope of the present invention.

Claims (5)

  1. A kind of 1. flue gas method for visualizing based on particIe system grid, it is characterised in that:Comprise the following steps:
    (1) FDS mesh generations and fire disaster simulation:
    BUILDINGS MODELS space is divided into by FDS to be exported with the discrete grid block for specifying thermophysical property, FDS according to set time step-length The scene of a fire parameter of each grid;Fire disaster simulation is carried out in FDS, exports the visibility time course data of each grid;
    (2) OSG and FDS space-time corresponding relation is established:
    According to the size of mesh generation in FDS model files obtaining step (1), the grid corresponding to foundation in OSG models;So Afterwards, the flue gas effect simulated according to FDS, particIe system texture is set;Total time and set time step further according to FDS simulations It is long, it is determined that frame number corresponding to being established in OSG;
    (3) open and close of particIe system are set:
    In OSG, the opening and closing standard of particIe system is used as using the visibility parameter in each grid of FDS output files; ParticIe system is added in OSG graphic control units node in OSG, passes through node->SetNodeMask set open or Close particIe system, node->SetNodeMask (1) represents to open, node->SetNodeMask (0x0) represents to close;
    (4) visualization of dynamic flue gas is formed:
    By while in OSG (!viewer.done()){viewer.frame();Circulation, check the particle in all grids System, judge the relation of each grid visibility and threshold value;Finally use osg::Drawable::UpdateCallback updates Call back function, aforesaid operations are formed into loop play, form dynamic flue gas visualization.
  2. 2. the flue gas method for visualizing according to claim 1 based on particIe system grid, it is characterised in that:The step (1) the discrete grid block size in is not more than 1m × 1m × 1m.
  3. 3. the flue gas method for visualizing according to claim 1 based on particIe system grid, it is characterised in that:The step (1) discrete grid block in includes the dynamic scene of a fire parameter with fire development:Harmful gas concentration, visibility, temperature.
  4. 4. the flue gas method for visualizing according to claim 1 based on particIe system grid, it is characterised in that:The step (2) pass is set in by the SmokeEffect classes in osgParticle spaces in OSG in each grid of OSG models The particIe system closed.
  5. 5. the flue gas method for visualizing according to claim 1 based on particIe system grid, it is characterised in that:The step (2) totalframes in OSG is equal to FDS and simulates total step-length number.
CN201710740751.0A 2017-08-25 2017-08-25 A kind of flue gas method for visualizing based on particIe system grid Pending CN107391881A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710740751.0A CN107391881A (en) 2017-08-25 2017-08-25 A kind of flue gas method for visualizing based on particIe system grid

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710740751.0A CN107391881A (en) 2017-08-25 2017-08-25 A kind of flue gas method for visualizing based on particIe system grid

Publications (1)

Publication Number Publication Date
CN107391881A true CN107391881A (en) 2017-11-24

Family

ID=60345237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710740751.0A Pending CN107391881A (en) 2017-08-25 2017-08-25 A kind of flue gas method for visualizing based on particIe system grid

Country Status (1)

Country Link
CN (1) CN107391881A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109255842A (en) * 2018-09-25 2019-01-22 北京航空航天大学 The dynamic emulation method of mist towards visual simulating
CN109859558A (en) * 2019-01-21 2019-06-07 北京科技大学 A kind of building fire of consideration personnel physical influence virtually evacuates training method
CN109885912A (en) * 2019-01-31 2019-06-14 武汉科技大学 A kind of flue gas particle evolution analysis method, calculates equipment and storage medium at device
CN114491780A (en) * 2022-04-08 2022-05-13 北京科技大学 Method and system for visualizing post-earthquake restoration process scene of urban building group

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049931A (en) * 2012-12-17 2013-04-17 南京信息工程大学 Cloud cluster fast three-dimension simulation algorithm based on particle system
CN103942839A (en) * 2014-05-13 2014-07-23 福州大学 Crown fire spread three-dimensional visualization method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049931A (en) * 2012-12-17 2013-04-17 南京信息工程大学 Cloud cluster fast three-dimension simulation algorithm based on particle system
CN103942839A (en) * 2014-05-13 2014-07-23 福州大学 Crown fire spread three-dimensional visualization method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
袁静雨 等: ""基于烟气危害综合评价的建筑火灾虚拟疏散训练"", 《消防科学与技术》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109255842A (en) * 2018-09-25 2019-01-22 北京航空航天大学 The dynamic emulation method of mist towards visual simulating
CN109255842B (en) * 2018-09-25 2020-09-25 北京航空航天大学 Visual simulation-oriented fog dynamic simulation method
CN109859558A (en) * 2019-01-21 2019-06-07 北京科技大学 A kind of building fire of consideration personnel physical influence virtually evacuates training method
CN109885912A (en) * 2019-01-31 2019-06-14 武汉科技大学 A kind of flue gas particle evolution analysis method, calculates equipment and storage medium at device
CN109885912B (en) * 2019-01-31 2024-02-27 万耀雪 Flue gas particle evolution analysis method and device, computing equipment and storage medium
CN114491780A (en) * 2022-04-08 2022-05-13 北京科技大学 Method and system for visualizing post-earthquake restoration process scene of urban building group
CN114491780B (en) * 2022-04-08 2022-07-12 北京科技大学 Method and system for visualizing post-earthquake restoration process scene of urban building group

Similar Documents

Publication Publication Date Title
CN107391881A (en) A kind of flue gas method for visualizing based on particIe system grid
Roudsari et al. Ladybug: a parametric environmental plugin for grasshopper to help designers create an environmentally-conscious design
CN103942839B (en) Crown fire spreads three-dimensional visualization method
Tang et al. Agent-based evacuation model incorporating fire scene and building geometry
CN108022039A (en) A kind of Substation Training Simulator based on augmented reality
CN107577855A (en) A kind of building spraying fire-extinguishing system disaster evaluation method based on BIM
Xu et al. Virtual drill for indoor fire evacuations considering occupant physical collisions
CN113888922A (en) Power transformer simulation training system
CN109859558B (en) Building fire virtual evacuation training method considering personnel physical influence
Smelik et al. A proposal for a procedural terrain modelling framework
CN108509707B (en) Urban building earthquake secondary fire simulation method
Zhang et al. Agent-based modeling and simulation for open complex systems
Waibel et al. Physics meets machine learning: Coupling FFD with regression models for wind pressure prediction on high-rise facades
CN116933674A (en) LBM-based rapid fluid simulation method
Kułakowski et al. Agent simulation of the evacuation process from a building during a fire
CN110675509A (en) Editable comprehensive simulation method and system based on three-dimensional modeling
CN105654535B (en) A kind of model manager system for three-dimensional simulation system
CN108304524B (en) The lightweight webpage method for visualizing and system of extensive fire dynamic smog field
Zhang et al. Application of virtual reality technology for emergency evacuation in high-rise buildings
Gröller et al. The geometry of wonderland
Praiwattana et al. Scenario generation with cellular automaton for game-based crisis simulation system
Li et al. An object-oriented system for dynamics-based 3D cloth simulation
Tundrea Modeling crowd dynamics in a multi-agent based evacuation simulation system
Dong et al. Building Fire Simulation Analysis Based on Pyrosim and Revit
Taleb et al. The Development of Scenarios for Serious Game: A Case for Fire Evacuation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20171124

RJ01 Rejection of invention patent application after publication