CN113688487B - Simulation method and device for fluid dynamics of two-dimensional air conditioner pipeline of passenger car - Google Patents
Simulation method and device for fluid dynamics of two-dimensional air conditioner pipeline of passenger car Download PDFInfo
- Publication number
- CN113688487B CN113688487B CN202110936731.7A CN202110936731A CN113688487B CN 113688487 B CN113688487 B CN 113688487B CN 202110936731 A CN202110936731 A CN 202110936731A CN 113688487 B CN113688487 B CN 113688487B
- Authority
- CN
- China
- Prior art keywords
- simulation
- boundary
- pipeline
- dimensional
- equation
- 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.)
- Active
Links
- 238000004088 simulation Methods 0.000 title claims abstract description 83
- 239000012530 fluid Substances 0.000 title claims abstract description 49
- 238000000034 method Methods 0.000 title claims abstract description 45
- 238000012545 processing Methods 0.000 claims abstract description 20
- 238000013507 mapping Methods 0.000 claims abstract description 14
- 239000011159 matrix material Substances 0.000 claims abstract description 9
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 6
- 238000004378 air conditioning Methods 0.000 claims description 23
- 238000012546 transfer Methods 0.000 claims description 19
- 230000015654 memory Effects 0.000 claims description 18
- 230000008569 process Effects 0.000 claims description 8
- 230000006870 function Effects 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 4
- 238000012935 Averaging Methods 0.000 claims description 3
- 238000004364 calculation method Methods 0.000 claims description 3
- 230000003993 interaction Effects 0.000 claims description 3
- 239000006185 dispersion Substances 0.000 abstract description 10
- 210000001503 joint Anatomy 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000009792 diffusion process Methods 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/18—Network design, e.g. design based on topological or interconnect aspects of utility systems, piping, heating ventilation air conditioning [HVAC] or cabling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/11—Complex mathematical operations for solving equations, e.g. nonlinear equations, general mathematical optimization problems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/16—Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/28—Design optimisation, verification or simulation using fluid dynamics, e.g. using Navier-Stokes equations or computational fluid dynamics [CFD]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2111/00—Details relating to CAD techniques
- G06F2111/04—Constraint-based CAD
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2113/00—Details relating to the application field
- G06F2113/08—Fluids
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2113/00—Details relating to the application field
- G06F2113/14—Pipes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2119/00—Details relating to the type or aim of the analysis or the optimisation
- G06F2119/14—Force analysis or force optimisation, e.g. static or dynamic forces
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Computational Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Algebra (AREA)
- Geometry (AREA)
- Evolutionary Computation (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Fluid Mechanics (AREA)
- Operations Research (AREA)
- Computer Networks & Wireless Communication (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the disclosure discloses a simulation method and a simulation device for fluid dynamics of a two-dimensional air conditioner pipeline of a passenger car, wherein the method comprises the steps of firstly establishing a boundary interface model for a pipeline in butt joint with a CFD system; receiving fluid dynamics information of an air conditioner two-dimensional pipeline input by a CFD system; then discretizing the fluid dynamic information; and finally mapping the discretization processing result through the boundary interface model to obtain a fluid pipeline simulation model. By introducing expression support for CFD partial differential equations in a Modelica system simulation environment, corresponding two-dimensional grid space discrete information is combined with corresponding partial differential equations to be discretized automatically, and a linear equation coefficient matrix to be solved, a vector for solving variables and a source term vector are generated, so that a CFD equation system is constructed in the Modelica system simulation environment. And further, the problem that the CFD simulation based on space and time dispersion and the system simulation method based on time dispersion are difficult to be compatible due to the difference of solving algorithms in the related art is solved.
Description
Technical Field
The disclosure relates to the technical field of data processing, in particular to a simulation method and device for fluid dynamics of a two-dimensional air conditioner pipeline of a passenger car.
Background
In the air conditioner simulation, computational Fluid Dynamics (CFD) simulation is required to be carried out on an independent pipeline, component selection is required to be carried out on a system level through a system simulation means (such as Modelica), and the influence of a single component on the whole system is evaluated. Due to the difference of solving algorithms, the CFD simulation based on space and time dispersion and the system simulation method based on time dispersion have the problem of being difficult to be compatible.
Disclosure of Invention
The main purpose of the present disclosure is to provide a simulation method and device for two-dimensional air conditioning pipeline fluid dynamics of a passenger car.
To achieve the above object, according to a first aspect of the present disclosure, there is provided a simulation method of two-dimensional air conditioning pipeline fluid dynamics of a passenger car, including: establishing a pipeline boundary interface model for interfacing with the CFD system; receiving fluid dynamics information of an air conditioner two-dimensional pipeline input by a CFD system; discretizing the hydrodynamic information; mapping the discretization processing result through the boundary interface model to obtain the fluid pipeline simulation model.
Optionally, the method further comprises: after the preset initial conditions and boundary conditions are obtained, simulation is carried out under Modelica; and solving the simulation.
Optionally, receiving the fluid dynamics information of the air conditioning two-dimensional pipeline input by the CFD system includes: flow and heat transfer equations are received, as well as equation discrete format options.
Optionally, discretizing the hydrodynamic information includes: and after receiving the two-dimensional orthogonal network geometric information, discretizing the flow and heat transfer equation based on the equation discrete format option to obtain a linear equation set and boundary conditions corresponding to the linear equation set.
Optionally, the mapping the discretized processing result through the boundary interface model includes: and mapping the linear equation set and boundary interface variables predefined by the boundary interface model so as to couple boundary conditions corresponding to the linear equation set with the boundary interface variables.
According to a second aspect of the present disclosure, there is provided a simulation apparatus of two-dimensional air conditioning pipeline fluid dynamics of a passenger vehicle, comprising: a generation unit configured to build a pipeline boundary interface model for interfacing with the CFD system; the receiving unit is configured to receive the fluid dynamics information of the air conditioner two-dimensional pipeline input by the CFD system; a processing unit configured to discretize the hydrodynamic information; and the mapping unit is configured to map the discretization processing result through the boundary interface model to obtain a fluid pipeline simulation model.
Optionally, the apparatus further comprises: the simulation unit is configured to simulate under Modelica after acquiring preset initial conditions and boundary conditions; and the solving unit is configured to solve the simulation.
Optionally, discretizing the hydrodynamic information includes: and after receiving the two-dimensional orthogonal network geometric information, discretizing the flow and heat transfer equation based on the equation discrete format option to obtain a linear equation set and boundary conditions corresponding to the linear equation set.
According to a third aspect of the present disclosure, there is provided a computer-readable storage medium storing computer instructions for causing the computer to perform the simulation method of the two-dimensional air conditioning pipeline fluid dynamics of a passenger vehicle according to any one of the implementations of the first aspect.
According to a fourth aspect of the present disclosure, there is provided an electronic device comprising: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor, so that the at least one processor executes the simulation method of the two-dimensional air conditioning pipeline fluid dynamics of the passenger vehicle according to any implementation manner of the first aspect.
In the simulation method and device for the fluid dynamics of the two-dimensional air conditioner pipeline of the passenger car, firstly, a boundary interface model for a pipeline in butt joint with a CFD system is established; receiving fluid dynamics information of an air conditioner two-dimensional pipeline input by a CFD system; then discretizing the fluid dynamic information; and finally mapping the discretization processing result through the boundary interface model to obtain a fluid pipeline simulation model. By introducing expression support for CFD partial differential equations in a Modelica system simulation environment, corresponding two-dimensional grid space discrete information is combined with corresponding partial differential equations to be discretized automatically, and a linear equation coefficient matrix to be solved, a vector for solving variables and a source term vector are generated, so that a CFD equation system is constructed in the Modelica system simulation environment. And further, the problem that the CFD simulation based on space and time dispersion and the system simulation method based on time dispersion are difficult to be compatible due to the difference of solving algorithms in the related art is solved.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the prior art, the drawings that are required in the detailed description or the prior art will be briefly described, it will be apparent that the drawings in the following description are some embodiments of the present disclosure, and other drawings may be obtained according to the drawings without inventive effort for a person of ordinary skill in the art.
FIG. 1 is a flow chart of a simulation method of two-dimensional air conditioning pipeline fluid dynamics for a passenger vehicle in accordance with an embodiment of the present disclosure;
FIG. 2 is an application scenario diagram of a simulation method of passenger vehicle two-dimensional air conditioning pipeline fluid dynamics according to an embodiment of the present disclosure;
FIG. 3 is a block diagram of a simulation apparatus of two-dimensional air conditioning pipeline fluid dynamics for a passenger vehicle according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
In order that those skilled in the art will better understand the present disclosure, a technical solution in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present disclosure, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without inventive effort, based on the embodiments in this disclosure, shall fall within the scope of the present disclosure.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate in order to describe the embodiments of the disclosure herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that, without conflict, the embodiments of the present disclosure and features of the embodiments may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
According to an embodiment of the present disclosure, a simulation method of two-dimensional air conditioning pipeline fluid dynamics of a passenger car is provided, as shown in fig. 1, the method includes the following steps 101 to 104 based on Modelica implementation:
step 101: a pipeline boundary interface model is created for interfacing with the CFD system.
In this embodiment, according to the Modelica grammar rules, a pipeline boundary interface model and an external boundary input model are established according to the selected media library function, and the model should contain external constraint variables which can provide the pipeline model for heat exchange and flow loss simulation so as to support the external boundary model to connect the pipeline model through the interface.
Step 102: and receiving the fluid dynamics information of the two-dimensional pipeline of the air conditioner input by the CFD system.
As an optional implementation manner of this embodiment, receiving the fluid dynamics information of the two-dimensional air conditioning pipeline input by the CFD system includes: flow and heat transfer equations are received, as well as equation discrete format options.
Illustratively, the flow and heat transfer equations for the two-dimensional conduit are entered according to a predefined fluid flow and heat transfer principle formula template, and a defined equation discrete format.
Step 103: discretizing the hydrodynamic information.
In this embodiment, according to the input two-dimensional orthogonal grid geometric information, the flow and heat transfer equations in the second step are automatically discretized by the integrated discretization processing module to form a unified linear equation set, and a variable interface of the boundary condition is provided for data exchange between the model boundary interface model in the first step and the outside.
As an optional implementation manner of this embodiment, discretizing the hydrodynamic information includes: and after receiving the two-dimensional orthogonal network geometric information, discretizing the flow and heat transfer equation based on the equation discrete format option to obtain a linear equation set and boundary conditions corresponding to the linear equation set.
In this alternative implementation manner, the linear equation set is a matrix equation in the form of ax=b, a is a square matrix of n×n, X is a variable vector to be solved of n×1 scale, n is the number of meshes, and B is a source term and a boundary condition constraint term contained in the original equation. The discretization process can be to discretize the continuous differential process according to a preset format, and the expression mode of each item (convection item, diffusion item, source item, time item) in the fluid calculation equation is discretized into the following modes by adopting different discrete formats (center difference, second order windward, etc.)Form, i.e. the coefficient of the local variable is a local The coefficient of the neighborhood variable is a nb The source term and the boundary condition expression b form a linear equation set by combining the formal equation sets of all grids
a Local φ Local +∑a nb φ nb =b。
Step 104: mapping the discretization processing result through the boundary interface model to obtain the fluid pipeline simulation model.
In this embodiment, the linear equation set generated in the step 103 may be mapped with the Modelica boundary interface variable in the step one, so that the wall and import/export interface variable established in the step one may be coupled with the boundary condition in the equation set in the step three.
As an optional implementation manner of this embodiment, mapping the discretization result through the boundary interface model includes: and mapping the linear equation set and boundary interface variables predefined by the boundary interface model so as to couple boundary conditions corresponding to the linear equation set with the boundary interface variables.
In this optional implementation, the information interaction between the system simulation variable and the CFD boundary variable realizes the CFD to one-dimensional system simulation by the on-plane grid variable averaging and the uniform interface boundary condition:one-dimensional system simulation to CFD: phi (phi) face =φ 1Dim All grids on the face are assigned values.
By introducing expression support for CFD partial differential equations in a Modelica system simulation environment, corresponding two-dimensional grid space discrete information is combined with corresponding partial differential equations to be discretized automatically, and a linear equation coefficient matrix to be solved, a vector for solving variables and a source term vector are generated, so that a CFD equation system is constructed in the Modelica system simulation environment.
As an alternative implementation manner of this embodiment, after obtaining the preset initial condition and boundary condition, simulation is performed under Modelica; and solving the simulation.
In the optional implementation mode, the simulation program generated in the steps is compiled and generated in a unified Modelica simulation environment by giving reasonable initial conditions and boundary conditions, and then the simulation program is solved by using a proper solving algorithm, so that a simulation model of the two-dimensional air conditioning pipeline of the passenger car is realized.
Illustratively, the initial condition may be an initial distribution of the variables to be solved in the grid field, and the boundary condition may be a known condition type at the wall-interface for constraining the solving conditions to obtain the convergeable flow field variables.
Referring to fig. 2, fig. 2 shows an application scenario diagram of the method of the present embodiment, where the method is based on a Modelica language system, and constructs a corresponding fluid pipeline simulation model by constructing a boundary interface, an energy equation, a momentum equation template and an equation automatic discretization component used by a pipeline model, and sets initial conditions, boundary conditions and a medium function library by accessing reasonable geometric grid information, so as to implement system simulation application to a general two-dimensional pipeline runner in an air conditioner. The CFD equation system is constructed in a Modelica system simulation environment, and the problem that the CFD simulation based on space and time dispersion and the system simulation method based on time dispersion are difficult to be compatible in the related technology is solved.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowcharts, in some cases the steps illustrated or described may be performed in an order other than that illustrated herein.
According to an embodiment of the present disclosure, there is also provided an apparatus for implementing the above simulation method of two-dimensional air conditioning pipeline fluid dynamics of a passenger car, as shown in fig. 3, the apparatus includes: a generation unit 301 configured to build a pipeline boundary interface model for interfacing with the CFD system; a receiving unit 302 configured to receive the fluid dynamics information of the air-conditioning two-dimensional pipeline input by the CFD system; a processing unit 303 configured to discretize the hydrodynamic information; the mapping unit 304 is configured to map the discretized processing result through the boundary interface model to obtain a fluid pipeline simulation model.
As an optional implementation manner of this embodiment, the apparatus further includes: the simulation unit is configured to simulate under Modelica after acquiring preset initial conditions and boundary conditions; and the solving unit is configured to solve the simulation.
As an optional implementation manner of this embodiment, discretizing the hydrodynamic information includes: and after receiving the two-dimensional orthogonal network geometric information, discretizing the flow and heat transfer equation based on the equation discrete format option to obtain a linear equation set and boundary conditions corresponding to the linear equation set.
The embodiment is based on a Modelica language system, constructs a corresponding fluid pipeline simulation model through constructing a boundary interface, an energy equation, a momentum equation template and an equation automatic discretization assembly used by a pipeline model, and realizes the system simulation application of a general two-dimensional pipeline runner in an air conditioner by accessing reasonable geometric grid information and setting initial conditions, boundary conditions and a medium function library. The CFD equation system is constructed in a Modelica system simulation environment, and the problem that the CFD simulation based on space and time dispersion and the system simulation method based on time dispersion are difficult to be compatible in the related technology is solved.
The disclosed embodiment provides an electronic device, as shown in fig. 4, which includes one or more processors 41 and a memory 42, and in fig. 4, one processor 41 is taken as an example.
The controller may further include: an input device 43 and an output device 44.
The processor 41, the memory 42, the input device 43 and the output device 44 may be connected by a bus or otherwise, for example in fig. 4.
The processor 41 may be a central processing unit (CentralProcessingUnit, CPU). The processor 41 may also be other general purpose processors, digital signal processors (DigitalSignalProcessor, DSP), application specific integrated circuits (ApplicationSpecificIntegratedCircuit, ASIC), field programmable gate arrays (Field-ProgrammableGateArray, FPGA) or other programmable logic devices, discrete gate or transistor logic, discrete hardware components, or a combination of the above. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 42 serves as a non-transitory computer readable storage medium that may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to the control methods in embodiments of the present disclosure. The processor 41 executes various functional applications of the server and data processing, namely, implements the simulation method of the two-dimensional air conditioning pipeline fluid dynamics of the passenger vehicle of the above-described method embodiment by running the non-transitory software programs, instructions and modules stored in the memory 42.
Memory 42 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store data created according to the use of a processing device operated by the server, or the like. In addition, memory 42 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 42 may optionally include memory located remotely from processor 41, which may be connected to a network connection device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 43 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the processing means of the server. The output device 44 may include a display device such as a display screen.
One or more modules are stored in memory 42 that, when executed by one or more processors 41, perform the method illustrated in fig. 1.
It will be appreciated by those skilled in the art that implementing all or part of the above-described embodiment method may be implemented by a computer program to instruct related hardware, and the program may be stored in a computer readable storage medium, and the program may include the above-described embodiment method when executed. The storage medium may be a magnetic disk, an optical disc, a Read-only memory (ROM), a random access memory (RandomAccessMemory, RAM), a flash memory (flash memory), a hard disk (HDD), or a Solid State Drive (SSD); the storage medium may also comprise a combination of memories of the kind described above.
Although embodiments of the present disclosure have been described with reference to the accompanying drawings, various modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the disclosure, and such modifications and variations fall within the scope as defined by the appended claims.
Claims (6)
1. The simulation method of the two-dimensional air conditioner pipeline fluid dynamics of the passenger car is characterized by comprising the following steps of:
establishing a pipeline boundary interface model for interfacing with a CFD system, comprising: according to Modelica grammar rules, establishing a pipeline boundary interface model and an external boundary input model according to a selected medium library function, wherein the model comprises external constraint variables which can provide the pipeline model for heat exchange and flow loss simulation so as to support the external boundary model to be connected with the pipeline model through an interface;
the method for receiving the fluid dynamics information of the air conditioner two-dimensional pipeline input by the CFD system comprises the following steps of: receiving a flow and heat transfer equation and an equation discrete format option, wherein the flow and heat transfer equation of the two-dimensional pipeline is input according to a predefined fluid flow and heat transfer principle formula template and a defined equation discrete format;
discretizing the hydrodynamic information, including: according to the input two-dimensional orthogonal grid geometric information, automatically discretizing a flow and heat transfer equation through an integrated discretization processing module to form a unified linear equation set, and providing a variable interface of boundary conditions for data exchange through a Modelica boundary interface model in the first step and the outside;
mapping the discretization processing result through the boundary interface model to obtain a fluid pipeline simulation model, wherein the method comprises the following steps of: mapping the linear equation set and boundary interface variables predefined by the boundary interface model so as to couple boundary conditions corresponding to the linear equation set with the boundary interface variables, wherein the information interaction between the system simulation variables and the CFD boundary variables realizes CFD-to-one-dimensional system simulation through on-plane grid variable averaging and uniform boundary conditions:one-dimensional system simulation to CFD: phi (phi) face =φ 1Dim Assigning values to all grids on the face;
wherein discretizing the hydrodynamic information comprises: after receiving the two-dimensional orthogonal network geometric information, discretizing the flow and heat transfer equation based on the equation discrete format option to obtain a linear equation set and boundary conditions corresponding to the linear equation set; the linear equation set is a matrix equation in the form of ax=b, a is a square matrix of n×n, X is a variable vector to be solved in n×1 scale, n is the number of grids, and B is a source term and a boundary condition constraint term contained in the original equation; the discretization process can be to discretize the continuous differential process according to a preset format, and to use different discrete formats for each item in the fluid calculation equation to discretize the expression mode into the following form, namely, the coefficient of the local variable is a local The coefficient of the neighborhood variable is a nb The source term and the boundary condition expression b form a linear equation set a by combining the formal equation sets of all grids Local φ Local +∑a nb φ nb =b。
2. The method for simulating two-dimensional air conditioning pipeline fluid dynamics of a passenger vehicle according to claim 1, further comprising:
after the preset initial conditions and boundary conditions are obtained, simulation is carried out under Modelica, and the simulation is solved; the simulation program generated in the steps is compiled and generated in a unified Modelica simulation environment by giving reasonable initial conditions and boundary conditions, and then the simulation program is solved by using a proper solving algorithm, so that the simulation of the two-dimensional air conditioning pipeline of the passenger car is realized; the initial condition is the initial distribution condition of the variables to be solved in the grid field, the boundary condition is the known condition type of the wall surface and the interface, and the boundary condition is used for constraining the solving condition to obtain the flow field variable which can be converged.
3. A simulation device for fluid dynamics of a two-dimensional air conditioning pipeline of a passenger car, which is characterized by comprising:
a generation unit configured to build a pipeline boundary interface model for interfacing with a CFD system, comprising: according to Modelica grammar rules, establishing a pipeline boundary interface model and an external boundary input model according to a selected medium library function, wherein the model comprises external constraint variables which can provide the pipeline model for heat exchange and flow loss simulation so as to support the external boundary model to be connected with the pipeline model through an interface;
the receiving unit is configured to receive the fluid dynamics information of the air-conditioning two-dimensional pipeline input by the CFD system, and the receiving unit comprises the following steps of: receiving a flow and heat transfer equation and an equation discrete format option, wherein the flow and heat transfer equation of the two-dimensional pipeline is input according to a predefined fluid flow and heat transfer principle formula template and a defined equation discrete format;
a processing unit configured to discretize the hydrodynamic information, comprising: according to the input two-dimensional orthogonal grid geometric information, automatically discretizing a flow and heat transfer equation through an integrated discretization processing module to form a unified linear equation set, and providing a variable interface of boundary conditions for data exchange through a Modelica boundary interface model in the first step and the outside;
a mapping unit configured to map the discretized processing result through the boundary interface model to obtain a fluid pipeline simulation model, including: mapping the linear equation set and boundary interface variables predefined by the boundary interface model so as to couple boundary conditions corresponding to the linear equation set with the boundary interface variables, wherein the information interaction between the system simulation variables and the CFD boundary variables realizes CFD-to-one-dimensional system simulation through on-plane grid variable averaging and uniform boundary conditions:one-dimensional system simulation to CFD: phi (phi) face =φ 1Dim Assigning values to all grids on the face;
wherein discretizing the hydrodynamic information comprises: after receiving the two-dimensional orthogonal network geometric information, discretizing the flow and heat transfer equation based on the equation discrete format option to obtain a linear equation set and boundary conditions corresponding to the linear equation set; the linear equation set is a matrix equation in the form of ax=b, a is a square matrix of n×n, X is a variable vector to be solved in n×1 scale, n is the number of grids, and B is a source term and a boundary condition constraint term contained in the original equation; the discretization process can be to discretize the continuous differential process according to a preset format, and to use different discrete formats for each item in the fluid calculation equation to discretize the expression mode into the following form, namely, the coefficient of the local variable is a local The coefficient of the neighborhood variable is a nb The source term and the boundary condition expression b form a linear equation set a by combining the formal equation sets of all grids Local φ Local +∑a nb φ nb =b。
4. A device for simulating the flow dynamics of a two-dimensional air conditioning duct of a passenger vehicle according to claim 3, the device further comprising:
the simulation unit is configured to simulate under Modelica after acquiring preset initial conditions and boundary conditions;
a solving unit configured to solve the simulation; the simulation program generated in the steps is compiled and generated in a unified Modelica simulation environment by giving reasonable initial conditions and boundary conditions, and then the simulation program is solved by using a proper solving algorithm, so that the simulation of the two-dimensional air conditioning pipeline of the passenger car is realized; the initial condition is the initial distribution condition of the variables to be solved in the grid field, the boundary condition is the known condition type of the wall surface and the interface, and the boundary condition is used for constraining the solving condition to obtain the flow field variable which can be converged.
5. A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer instructions for causing the computer to execute the simulation method of the two-dimensional air conditioning line fluid dynamics of a passenger vehicle according to any one of claims 1-2.
6. An electronic device, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores a computer program executable by the at least one processor to cause the at least one processor to perform the method of simulating two-dimensional air conditioning duct flow dynamics for a passenger vehicle of any one of claims 1-2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110936731.7A CN113688487B (en) | 2021-08-16 | 2021-08-16 | Simulation method and device for fluid dynamics of two-dimensional air conditioner pipeline of passenger car |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110936731.7A CN113688487B (en) | 2021-08-16 | 2021-08-16 | Simulation method and device for fluid dynamics of two-dimensional air conditioner pipeline of passenger car |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113688487A CN113688487A (en) | 2021-11-23 |
CN113688487B true CN113688487B (en) | 2024-01-02 |
Family
ID=78580248
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110936731.7A Active CN113688487B (en) | 2021-08-16 | 2021-08-16 | Simulation method and device for fluid dynamics of two-dimensional air conditioner pipeline of passenger car |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113688487B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106339522A (en) * | 2015-07-09 | 2017-01-18 | 科林工业技术有限责任公司 | Method for constructing member for passage of fluid |
CN108875212A (en) * | 2018-06-19 | 2018-11-23 | 哈尔滨工程大学 | The multiple dimensioned subregion emulation mode of nuclear power unit main coolant system thermal-hydraulic |
KR20190113597A (en) * | 2018-03-27 | 2019-10-08 | 주식회사 엘쏠텍 | Apparatus for development of integrated computational fluid dynamics environment using open source code and method thereof |
CN111695309A (en) * | 2020-06-02 | 2020-09-22 | 上海科技大学 | High-performance large-scale fluid-solid coupling fluid simulation method based on statistical dynamics |
CN112231876A (en) * | 2020-10-23 | 2021-01-15 | 中国核动力研究设计院 | Pipeline system fluid dynamic model generation system and method based on geometric model |
CN113033056A (en) * | 2021-04-02 | 2021-06-25 | 之江实验室 | Computational fluid mechanics and finite element analysis combined simulation method |
-
2021
- 2021-08-16 CN CN202110936731.7A patent/CN113688487B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106339522A (en) * | 2015-07-09 | 2017-01-18 | 科林工业技术有限责任公司 | Method for constructing member for passage of fluid |
KR20190113597A (en) * | 2018-03-27 | 2019-10-08 | 주식회사 엘쏠텍 | Apparatus for development of integrated computational fluid dynamics environment using open source code and method thereof |
CN108875212A (en) * | 2018-06-19 | 2018-11-23 | 哈尔滨工程大学 | The multiple dimensioned subregion emulation mode of nuclear power unit main coolant system thermal-hydraulic |
CN111695309A (en) * | 2020-06-02 | 2020-09-22 | 上海科技大学 | High-performance large-scale fluid-solid coupling fluid simulation method based on statistical dynamics |
CN112231876A (en) * | 2020-10-23 | 2021-01-15 | 中国核动力研究设计院 | Pipeline system fluid dynamic model generation system and method based on geometric model |
CN113033056A (en) * | 2021-04-02 | 2021-06-25 | 之江实验室 | Computational fluid mechanics and finite element analysis combined simulation method |
Non-Patent Citations (1)
Title |
---|
王定标 ; 向飒 ; 魏新利 ; .基于CFD的折流杆换热器流场仿真***研究.石油机械.2006,(第05期),第14-17页. * |
Also Published As
Publication number | Publication date |
---|---|
CN113688487A (en) | 2021-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220067227A1 (en) | Automated Point Mapping Generation | |
Tian et al. | Building energy simulation coupled with CFD for indoor environment: A critical review and recent applications | |
KR101729694B1 (en) | Method and Apparatus for Predicting Simulation Results | |
US10503484B2 (en) | Virtual replication of physical things for scale-out in an internet of things integrated developer environment | |
JP2008084121A (en) | Simulation system and simulation method | |
US20190179977A1 (en) | Methods And Systems For Authoring Simulation Scenarios | |
US20140081901A1 (en) | Sharing modeling data between plug-in applications | |
JP2007528069A5 (en) | ||
KR20180098324A (en) | Create sub-graph interface | |
CN114598631B (en) | Neural network computing-oriented modeling method and device for distributed data routing | |
US20150127301A1 (en) | Updating A CAD Model To Reflect Global Or Local Shape Changes | |
CN114996858A (en) | Aircraft simulation method and device, terminal equipment and storage medium | |
CN112579679B (en) | Method and device for designing heterogeneous data model mapping strategy and automatic conversion | |
CN112463159B (en) | Compiling method, compiling device, electronic equipment and storage medium | |
Tian et al. | Fast and self-learning indoor airflow simulation based on in situ adaptive tabulation | |
CN113792464A (en) | Coupling interface interaction method, system, simulation system, equipment and storage medium | |
US20110224954A1 (en) | Modelling of systems | |
CN113688487B (en) | Simulation method and device for fluid dynamics of two-dimensional air conditioner pipeline of passenger car | |
Li et al. | A generic cloud platform for engineering optimization based on OpenStack | |
JP2017126341A (en) | Spreadsheet tool manager for collaborative modeling | |
CN115657467A (en) | Wind power plant wake flow control optimization method, device, equipment and storage medium | |
US20160371402A1 (en) | Layout synthesis of a three-dimensional mechanical system design | |
WO2023158530A1 (en) | Integrated circuit design verification with module swapping | |
US7797674B1 (en) | Independent component-wide parameter specification for graphical languages | |
US11822863B2 (en) | Model based system for virtual device simulation |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |