Gas elimination equipment feedback control simulation method based on Fluent software

文档序号:191201 发布日期:2021-11-02 浏览:34次 中文

阅读说明:本技术 一种基于Fluent软件的气体消弭设备反馈控制仿真方法 (Gas elimination equipment feedback control simulation method based on Fluent software ) 是由 张永立 杨忠 王正裕 于 2021-08-13 设计创作,主要内容包括:本发明公开了一种基于Fluent软件的气体消弭设备反馈控制仿真方法,包括:S1,根据实际气体运动空间场景选取网格类型并划分网格,设置包含汇的边界条件,输出网格模型文件;S2,基于消弭设备的反馈控制策略构建自定义函数,用于Fluent软件仿真过程中汇启闭状态的转换控制和仿真过程的结束控制;S3,在Fluent软件中导入网格模型文件和自定义函数;S4,设置瞬态消弭过程的计算模型,并完成求解器初始化设置;S5,利用求解器进行迭代计算仿真,获得瞬态时间序列下的仿真结果。本发明通过消弭设备的反馈控制策略构建控制仿真过程中汇启闭状态的转换和仿真过程的结束的自定义函数并导入Fluent软件,实现对设置有消弭设备的空间场景气体运动的仿真。(The invention discloses a gas elimination equipment feedback control simulation method based on Fluent software, which comprises the following steps: s1, selecting a grid type according to the actual gas motion space scene, dividing the grid, setting a boundary condition including convergence, and outputting a grid model file; s2, constructing a custom function based on the feedback control strategy of the elimination device, and controlling the switching of the sink start-stop state and the ending of the simulation process in the Fluent software simulation process; s3, importing a grid model file and a self-defined function into Fluent software; s4, setting a calculation model for the transient elimination process, and completing the initialization setting of a solver; and S5, performing iterative computation simulation by using a solver to obtain a simulation result under the transient time sequence. The invention constructs a custom function for controlling the switching of the opening and closing states in the simulation process and the ending of the simulation process by eliminating the feedback control strategy of the equipment and introduces Fluent software, thereby realizing the simulation of the air motion of the space scene provided with the eliminating equipment.)

1. A gas elimination equipment feedback control simulation method based on Fluent software is characterized by comprising the following steps:

s1, selecting a grid type according to the actual gas motion space scene, dividing the grid, setting a boundary condition including convergence, and outputting a grid model file; the convergence corresponds to the elimination equipment arranged in the actual gas motion space scene one by one;

s2, constructing a custom function based on the feedback control strategy of the elimination device, and controlling the switching of the sink start-stop state and the ending of the simulation process in the Fluent software simulation process;

s3, importing a grid model file and a self-defined function into Fluent software;

s4, setting a calculation model for the transient elimination process, and completing the initialization setting of a solver;

and S5, performing iterative computation simulation by using a solver to obtain a simulation result under the transient time sequence.

2. The gas elimination equipment feedback control simulation method based on Fluent software according to claim 1, wherein the elimination equipment provided in the actual gas motion space scene in S1 is independent feedback elimination equipment; custom function in S2:

s21, setting standard elimination time, and setting the opening value and the closing value of the parameter for controlling the opening and closing state conversion of the sink according to the feedback control strategy of the elimination equipment;

s22, acquiring a real-time simulation value of the parameter from a solver, and comparing the real-time simulation value with an opening value; when the real-time simulation value breaks through the starting value, starting a sink, and starting timing by a timer; when the real-time simulation value does not break through the opening value, comparing the real-time simulation value with the closing value, when the real-time simulation value breaks through the closing value, keeping the current working state of the sink, and when the real-time simulation value does not break through the closing value, closing the sink;

s23, comparing the real-time simulation value with the closing value after the timing reaches the standard and eliminates the time, resetting the timer when the real-time simulation value still breaks through the closing value, and then jumping to the step S22; and when the real-time simulation value does not break the closing value, ending the simulation.

3. The gas elimination equipment feedback control simulation method based on Fluent software according to claim 1, wherein the elimination equipment provided in the actual gas motion space scene at S1 is a reproducible elimination equipment or a non-reproducible elimination equipment with linked feedback; the custom function in S2 includes:

s21, setting standard elimination time, setting the opening value and the closing value of the parameter for controlling the on-off state conversion of the sink according to the feedback control strategy of the elimination equipment, and setting the opening delay time for controlling the sink to be in the opening state corresponding to the non-renewable equipment;

s22, acquiring a real-time simulation value of the parameter from a solver, and comparing the real-time simulation value with an opening value; when the real-time simulation value breaks through the starting value, starting a sink corresponding to the renewable equipment, and starting timing by a timer; comparing the real-time simulation value with the opening value after the timing reaches the opening delay time, opening the sink corresponding to the non-renewable device when the real-time simulation value still breaks through the opening value, and closing the sink corresponding to the non-renewable device when the real-time simulation value does not break through the opening value;

when the real-time simulation value does not break through the opening value, comparing the real-time simulation value with the closing value; when the real-time simulation value does not break through the closing value, the current working state of the sink is kept, and when the real-time simulation value breaks through the closing value, the sink is closed;

s23, comparing the real-time simulation value with the closing value after the timing reaches the standard and eliminates the time, resetting the timer when the real-time simulation value does not break through the closing value, and then jumping to the step S22; and when the real-time simulation value breaks through the closing value, ending the simulation.

4. The flow software-based gas elimination device feedback control simulation method as claimed in any one of claims 1 to 3, wherein the calculation model in S4 comprises a gas physical property model, a turbulence model and a multi-component convection diffusion model.

Technical Field

The invention relates to the field of gas motion simulation, in particular to a feedback control simulation method for a gas elimination device based on Fluent software.

Background

The simulation software Fluent is a general CFD software package used to simulate complex flows ranging from incompressible to highly compressible, and is used by all industries involved with fluids, heat transfer, chemical reactions, and the like. The method has rich physical models, advanced numerical methods and powerful pre-and post-processing functions, and has wide application in each neighborhood, wherein one application is that the method realizes the simulation of convection and diffusion motion of multi-component gas under known boundary conditions in a three-dimensional space.

When a gas elimination device such as an exhaust device, a purification elimination device, or the like is arranged in the simulation space, the elimination device can be simulated by a sink in Fluent (where a specific gas disappears). The setting method for the on-off state of the gas elimination equipment in the actual space scene comprises the conditions of fixed setting, manual control, feedback control by other real-time parameters and the like. However, the current Fluent simulation software is usually a fixed or time-varying known function for the handling of the on-off state of the "sink", and for the case where there is an extinction device in real space that is feedback controlled by other real-time parameters, such as: toxic gas elimination equipment in a leakage monitoring scene needs to judge whether to be opened or closed in real time according to the concentration of toxic gas components at a monitored position, and FLUENT simulation software cannot realize simulation. In addition, in the case where there is a facility for eliminating the coordinated feedback control in the actual space, for example: in the same simulation space, both the regeneratable and non-regeneratable devices are provided, and the start and stop of the two types of devices need to determine the concentration of the toxic gas components at the monitoring position, and the non-regeneratable device needs to determine whether to open or close the device itself in real time according to the start/stop state, start/stop time, and stop state of the regeneratable device, and the FLUENT simulation software cannot realize the simulation.

Disclosure of Invention

The invention aims to solve the problems in the prior art and provides a feedback control simulation method of a gas elimination device based on Fluent software, which constructs a custom function capable of controlling the switching of the opening and closing states in the simulation process and the ending of the simulation process through a feedback control strategy of an actual space elimination device during application and introduces Fluent software, thereby realizing the simulation of the gas motion in a space scene provided with the elimination device.

The purpose of the invention is mainly realized by the following technical scheme:

a gas elimination equipment feedback control simulation method based on Fluent software comprises the following steps:

s1, selecting a grid type according to the actual gas motion space scene, dividing the grid, setting a boundary condition including convergence, and outputting a grid model file; the convergence corresponds to the elimination equipment arranged in the actual gas motion space scene one by one;

s2, constructing a custom function based on the feedback control strategy of the elimination device, and controlling the switching of the sink start-stop state and the ending of the simulation process in the Fluent software simulation process;

s3, importing a grid model file and a self-defined function into Fluent software;

s4, setting a calculation model for the transient elimination process, and completing the initialization setting of a solver;

and S5, performing iterative computation simulation by using a solver to obtain a simulation result under the transient time sequence.

Preferably, the elimination devices arranged in the actual gas movement space scene in the step S1 are all independent elimination devices with feedback; the custom function in S2 includes:

s21, setting standard elimination time, and setting the opening value and the closing value of the parameter for controlling the opening and closing state conversion of the sink according to the feedback control strategy of the elimination equipment;

s22, acquiring a real-time simulation value of the parameter from a solver, and comparing the real-time simulation value with an opening value; when the real-time simulation value breaks through the starting value, starting a sink, and starting timing by a timer; when the real-time simulation value does not break through the opening value, comparing the real-time simulation value with the closing value, when the real-time simulation value breaks through the closing value, keeping the current working state of the sink, and when the real-time simulation value does not break through the closing value, closing the sink;

s23, comparing the real-time simulation value with the closing value after the timing reaches the standard and eliminates the time, resetting the timer when the real-time simulation value still breaks through the closing value, and then jumping to the step S22; and when the real-time simulation value does not break the closing value, ending the simulation.

Preferably, the elimination devices provided in the actual gas movement space scene in S1 are a reproducible elimination device and a non-reproducible elimination device that perform feedback in a linked manner; the custom function in S2 includes:

s21, setting standard elimination time, setting the opening value and the closing value of the parameter for controlling the on-off state conversion of the sink according to the feedback control strategy of the elimination equipment, and setting the opening delay time for controlling the sink to be in the opening state corresponding to the non-renewable equipment;

s22, acquiring a real-time simulation value of the parameter from a solver, and comparing the real-time simulation value with an opening value; when the real-time simulation value breaks through the starting value, starting a sink corresponding to the renewable equipment, and starting timing by a timer; comparing the real-time simulation value with the opening value after the timing reaches the opening delay time, opening the sink corresponding to the non-renewable device when the real-time simulation value still breaks through the opening value, and closing the sink corresponding to the non-renewable device when the real-time simulation value does not break through the opening value;

when the real-time simulation value does not break through the opening value, comparing the real-time simulation value with the closing value; when the real-time simulation value does not break through the closing value, the current working state of the sink is kept, and when the real-time simulation value breaks through the closing value, the sink is closed;

s23, comparing the real-time simulation value with the closing value after the timing reaches the standard and eliminates the time, resetting the timer when the real-time simulation value does not break through the closing value, and then jumping to the step S22; and when the real-time simulation value breaks through the closing value, ending the simulation.

Preferably, the calculation model in S4 includes a gas property model, a turbulence model, and a multi-component convection diffusion model.

In conclusion, the invention has the following beneficial effects: the feedback control strategy construction for eliminating the equipment in the actual space can control the conversion of the on-off state of the simulation process and the end of the simulation process, and guide in Fluent software, can realize the feedback control of the single equipment for eliminating and start and stop simulation analysis, can also realize the feedback control of a plurality of linked equipments for eliminating and start and stop simulation analysis, and also allows a plurality of equipments for eliminating to be different in type, and has wide application range, and is favorable for realizing the simulation of the gas motion of a plurality of space scenes provided with the equipment for eliminating.

Drawings

The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principles of the invention. In the drawings:

FIG. 1 is a flow chart of an embodiment of the present invention.

FIG. 2 is a flow chart of a custom function according to an embodiment of the present invention.

FIG. 3 is a flow chart of a custom function according to another embodiment of the present invention.

Detailed Description

In the following description, for purposes of explanation, numerous implementation details are set forth in order to provide a thorough understanding of the various embodiments of the present invention. It should be understood, however, that these implementation details are not to be interpreted as limiting the invention. That is, in some embodiments of the invention, such implementation details are not necessary.

Example (b):

a feedback control simulation method for an air elimination device based on Fluent software is shown in figure 1 and comprises the following steps: s1, selecting a grid type according to the actual gas motion space scene, dividing the grid, setting a boundary condition including convergence, and outputting a grid model file; the device is corresponding to the device for eliminating the device in the actual air movement space scene one by one, and the initial state of the device for eliminating is the closed state.

And S2, constructing a custom function based on the feedback control strategy of the elimination device, and controlling the switching of the opening and closing states in the Fluent software simulation process and the ending of the simulation process.

And S3, importing the grid model file and the custom function in the Fluent software.

S4, setting a calculation model for the transient elimination process, and completing the initialization setting of a solver; it is understood that the calculation model in this step can be selected according to the characteristics of the simulated space scene, including a gas physical property model, a turbulence model, a multi-component convection diffusion model, and the like.

And S5, performing iterative computation simulation by using a solver to obtain a simulation result under the transient time sequence.

In one embodiment of the present disclosure, in order to adapt to the situation where a control device independently feedback-controlled by other real-time parameters is installed in the actual gas motion space scene, as shown in fig. 2, the customized function in S2 includes: and S21, setting a standard elimination time, and setting an opening value and a closing value of a parameter for controlling the opening and closing state conversion of the sink according to a feedback control strategy of an elimination device. It is understood that the parameter may be pressure, temperature, concentration, etc.

S22, acquiring a real-time simulation value of the parameter from a solver, and comparing the real-time simulation value with an opening value; when the real-time simulation value breaks through the starting value, starting a sink, and starting timing by a timer; and when the real-time simulation value does not break through the opening value, comparing the real-time simulation value with the closing value, when the real-time simulation value breaks through the closing value, keeping the current working state of the sink, and when the real-time simulation value does not break through the closing value, closing the sink. It should be noted that the breakthrough in S22 may be greater or smaller based on different application space scenarios.

S23, comparing the real-time simulation value with the closing value after the timing reaches the standard and eliminates the time, resetting the timer when the real-time simulation value still breaks through the closing value, and then jumping to the step S22; and when the real-time simulation value does not break the closing value, ending the simulation.

In one embodiment of the present specification, in order to be applied to a case where an elimination device for the coordinated feedback control exists in an actual space, specifically, an elimination device provided in an actual air movement space scene is a reproducible elimination device and a non-reproducible elimination device for the coordinated feedback. The regenerable and evacuable equipment is evacuable equipment capable of being directly used in a defective state such as an exhaust or exhaust equipment, and the non-regenerable and evacuable equipment is evacuable equipment capable of being reused after replacement of a purification or reaction consumable material. In actual industrial application, the regenerable and removable device is usually started up for cost saving, and the non-regenerable and removable device is started up when the removal is not ideal after a while.

As shown in fig. 3, the custom function in S2 includes: s21, setting standard elimination time, setting opening and closing values of parameters for controlling the on-off state conversion of the sink according to the feedback control strategy of the elimination device, and setting opening delay time for controlling the sink to be turned to the on state corresponding to the non-regenerative device.

S22, acquiring a real-time simulation value of the parameter from a solver, and comparing the real-time simulation value with an opening value; when the real-time simulation value breaks through the starting value, starting a sink corresponding to the renewable equipment, and starting timing by a timer; and after the timing reaches the starting delay time, comparing the real-time simulation value with the starting value, starting the sink corresponding to the non-renewable device when the real-time simulation value still breaks through the starting value, and closing the sink corresponding to the non-renewable device when the real-time simulation value does not break through the starting value.

When the real-time simulation value does not break through the opening value, comparing the real-time simulation value with the closing value; when the real-time simulation value does not break through the closing value, the current working states of all sinks are kept, and when the real-time simulation value breaks through the closing value, all sinks are closed.

S23, comparing the real-time simulation value with the closing value after the timing reaches the standard and eliminates the time, resetting the timer when the real-time simulation value does not break through the closing value, and then jumping to the step S22; and when the real-time simulation value breaks through the closing value, ending the simulation.

The invention constructs a self-defined function capable of controlling the switching of the convergent start-stop state in the simulation process and the ending of the simulation process through the feedback control strategy of the convergent device in the actual space, and introduces Fluent software, thereby realizing the feedback control start-stop simulation analysis of a single convergent device, realizing the feedback control start-stop simulation analysis of a plurality of linkage convergent devices, allowing a plurality of convergent devices to be different in type, having wide application range and being beneficial to realizing the simulation of the gas motion of a plurality of space scenes provided with the convergent devices.

Parts not described in the above modes can be realized by adopting or referring to the prior art.

The foregoing is a more detailed description of the present invention in connection with specific preferred embodiments thereof, and it is not intended that the specific embodiments of the present invention be limited to these descriptions. For those skilled in the art to which the invention pertains, other embodiments that do not depart from the gist of the invention are intended to be within the scope of the invention.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种径流式透平机械一维设计评估及优化方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类