CN114757124B - CFD workflow modeling method and device based on XML, computer and storage medium - Google Patents
CFD workflow modeling method and device based on XML, computer and storage medium Download PDFInfo
- Publication number
- CN114757124B CN114757124B CN202210421249.4A CN202210421249A CN114757124B CN 114757124 B CN114757124 B CN 114757124B CN 202210421249 A CN202210421249 A CN 202210421249A CN 114757124 B CN114757124 B CN 114757124B
- Authority
- CN
- China
- Prior art keywords
- node
- workflow
- model
- attribute
- file
- 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
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000012805 post-processing Methods 0.000 claims abstract description 33
- 238000004364 calculation method Methods 0.000 claims abstract description 16
- 238000009877 rendering Methods 0.000 claims abstract description 10
- 230000009471 action Effects 0.000 claims description 25
- 238000004590 computer program Methods 0.000 claims description 8
- 230000006399 behavior Effects 0.000 claims description 4
- 239000012530 fluid Substances 0.000 abstract description 11
- 230000008569 process Effects 0.000 description 4
- 230000010354 integration Effects 0.000 description 3
- 238000004088 simulation Methods 0.000 description 2
- 238000012800 visualization Methods 0.000 description 2
- 241001465754 Metazoa Species 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000005094 computer simulation Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- 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
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/23—Design optimisation, verification or simulation using finite element methods [FEM] or finite difference methods [FDM]
-
- 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
- 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
Abstract
A CFD workflow modeling method, device, computer and storage medium based on XML relate to the field of scientific computation. The problem that the existing scientific calculation workflow is not suitable for fluid mechanics is solved. The modeling method comprises the following steps: acquiring an input parameter file according to the analysis XML file; performing geometric modeling according to the input parameter file to obtain a geometric model file, wherein the geometric model file is an output attribute of a geometric component node model; performing mesh subdivision according to the geometric model to obtain a mesh file, wherein the mesh file is an output attribute of a mesh component node model; carrying out solving calculation according to the input parameter file and the grid file to obtain a solving result, wherein the solving result is the output attribute of the node model of the solver component; acquiring a post-processing rendering image according to the solving result, and completing establishment of a CFD workflow model; the post-processing rendered image is an output attribute of the post-processing component node model. The method is suitable for the field of scientific computational workflow of fluid mechanics.
Description
Technical Field
The invention relates to the technical field of fluid simulation in the technical field of fluid mechanics.
Background
The scientific computing workflow provides functions of flow definition and control, task management, job scheduling and execution, fault tolerance processing and the like, shields bottom layer resources, helps scientific researchers reduce time cost for deployment operation and the like of the flow, and improves the efficiency of solving problems. Typical scientific workflow systems such as Kepler (Kepler) take a lot of time to familiarize with the meaning of various active nodes in application, while other integration methods such as HSWAP (numerical simulation workflow management platform applicable to high-performance computing environments) do not analyze and summarize the data coupling modes of the systems for CFD (computational fluid dynamics) fields, but the integration methods based on STEP (product model data interaction specification) and the integration methods based on Agent architecture have a shortage of expansibility.
There is currently no scientific computational workflow suitable for the field of fluid mechanics, i.e. there is no fluid simulation modeling technique suitable for fluid mechanics.
Disclosure of Invention
The invention solves the problem that the existing scientific calculation workflow is not suitable for fluid mechanics.
An XML-based CFD workflow modeling method, the modeling method comprising:
acquiring an input parameter file according to the analysis XML file;
performing geometric modeling according to the input parameter file to obtain a geometric model file, wherein the geometric model file is an output attribute of a geometric component node model;
performing mesh subdivision according to the geometric model to obtain a mesh file, wherein the mesh file is an output attribute of a mesh component node model;
carrying out solving calculation according to the input parameter file and the grid file to obtain a solving result, wherein the solving result is the output attribute of the node model of the solver component;
acquiring a post-processing rendering image according to the solving result, and completing establishment of a CFD workflow model; the post-processing rendered image is an output attribute of the post-processing component node model.
Further, the geometric component node model, the grid component model, the solver node model, and the post-processing component node model each include: object properties, execution actions, and object ports;
the object attribute is used for describing relevant parameters of the workflow node;
the execution actions are used for describing the behavior actions of the workflow nodes;
the object port is used for describing data input and data output of the workflow node, wherein the data input represents that data required by the workflow node is input through the input port, and the data output represents that data generated by the workflow node is transmitted to the next node through the output port.
Further, the CFD workflow model includes a root element;
the root element includes three attributes: a name attribute, a desp attribute, and a type attribute;
the name attribute is used for describing the name of the workflow model;
the desp attribute is used for describing information of the workflow model and providing explanatory words of the workflow model;
the type attribute is used to describe the type of workflow model.
Further, the root element also includes four sub-elements: a child Property, a child Step, a child Relation and a child Link;
the child element Property is used for describing attribute information of the workflow model;
the sub-elements Step are used for describing node information in a workflow model, the workflow model at least comprises two sub-element steps for describing workflow nodes, and the two sub-element steps are respectively a start node and an end node;
the subelement Relation is used for describing connection information of each node in the workflow model, and has no direction attribute;
the subelement Link is used for associating input ports and output ports between nodes.
Further, the child Property includes:
a child element Author, a child element CreateTime, and a child element Location;
the child element Author is used for explaining an Author of the workflow model;
the child element CreateTime is used for describing workflow model creation time;
the sub-element Location is used for describing a workflow model storage Location.
Further, the child element Step includes: an attribute name, an attribute desp, an attribute id, and an attribute type;
the attribute name is used for speaking the name of a node corresponding to the sub-element Step, and in the whole workflow model, the name of the node is unique and unrepeatable;
the attribute desp is used for speaking the description information of the node corresponding to the sub-element Step and providing descriptive characters of the corresponding node;
the attribute id is used for identifying the node as an identifier;
the attribute type is used for describing the type of the workflow node and determining the working content of the workflow node.
Further, the child element Step further includes: the method comprises the steps of node label sub-element label Property, node label sub-element label Actions and node label sub-element label Ports;
the child element label Property of the node label is used for describing attribute information contained in the node class;
the subelement label Actions of the node label is used for describing a set of all operations supported by the node;
the subelement tag Ports of the node tag are used for representing channels for inputting the node data and channels for outputting the data by the node.
Based on the same conception, the invention also provides a CFD workflow modeling device based on XML, which comprises:
the analysis unit is used for acquiring an input parameter file according to the analysis XML file;
the geometric modeling unit is used for carrying out geometric modeling according to the input parameter file to obtain a geometric model file, wherein the geometric model file is the output attribute of the geometric component node model;
the grid file acquisition unit is used for carrying out grid subdivision according to the geometric model to acquire a grid file, wherein the grid file is an output attribute of the grid assembly node model;
the solving result obtaining unit is used for carrying out solving calculation according to the input parameter file and the grid file to obtain a solving result, wherein the solving result is an output attribute of the node model of the solver component;
the post-processing unit is used for acquiring a post-processing rendering image according to the solving result and completing establishment of the CFD workflow model; the post-processing rendered image is an output attribute of the post-processing component node model.
The invention also provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and when the processor runs the computer program stored in the memory, the processor executes the CFD workflow modeling method based on XML.
The invention also provides a computer readable storage medium for storing a computer program for executing the above-described CFD workflow modeling method based on XML.
The invention has the advantages that:
(1) The invention defines a set of semantic grammar specifications based on XML extensible markup language, constructs a scientific calculation workflow oriented to the technical field of fluid mechanics, and forms a set of formalized CFD model establishment and description method.
(2) The nodes of the typical scientific workflow formalized description language are complex, and a great deal of time is required to be familiar with the meaning of various active nodes.
(3) The invention provides a special component oriented to the technical field of hydrodynamics, which comprises service nodes such as geometry, grids, solvers, post-processing and the like, wherein the established CFD workflow model can integrate scientific calculation tasks developed by the existing multiple languages; and the integrity, logic and consistency verification is supported, the static inspection of the workflow is realized, errors are found in advance, and the error checking time during the operation of the workflow is reduced.
(4) Based on the modeling method constructed by the invention, the custom workflow component can be developed, expanded and packaged with own logic, and the whole workflow can be well compatible and support the call of the custom component, thereby being convenient for users to use.
The invention is suitable for the field of scientific computational workflow of fluid mechanics.
Drawings
FIG. 1 is a flowchart of a CFD workflow modeling method based on XML in accordance with the present invention.
Fig. 2 is a flowchart of a judging component according to a sixth embodiment of the present invention.
Fig. 3 is a flowchart of a circulation assembly according to a sixth embodiment of the invention.
Fig. 4 is a schematic diagram of a workflow model description file according to an embodiment of the invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention.
Embodiment one, this embodiment is described with reference to fig. 1. The embodiment of the modeling method for CFD workflow based on XML comprises the following steps:
acquiring an input parameter file according to the analysis XML file;
performing geometric modeling according to the input parameter file to obtain a geometric model file, wherein the geometric model file is an output attribute of a geometric component node model;
performing mesh subdivision according to the geometric model to obtain a mesh file, wherein the mesh file is an output attribute of a mesh component node model;
carrying out solving calculation according to the input parameter file and the grid file to obtain a solving result, wherein the solving result is the output attribute of the node model of the solver component;
acquiring a post-processing rendering image according to the solving result, and completing establishment of a CFD workflow model; the post-processing rendered image is an output attribute of the post-processing component node model.
In practical application, the geometric assembly node model is internally packaged with operation and data configuration items common in a geometric modeling stage in the scientific computing field, so that input data and output data related to geometric modeling are conveniently operated; the grid assembly node model is internally packaged with operation and data configuration items common in a grid subdivision stage in the scientific computing field, so that grid subdivision operation of a geometric model can be provided; the solver node model is internally packaged with common operation and data configuration items in a finite element solving and calculating stage in the scientific calculating field, and can provide a solving and calculating process aiming at an input parameter file and a grid file; the post-processing component node model encapsulates common operation and data configuration items in a post-processing visualization stage in the scientific computing field, and can display common post-processing rendering images such as cloud images, vector images, isosurfaces and the like through a visualization technical means (call of common software) on the calculation result file output by the solver.
Each base component node model is defined in the form of a c++ class and is used as a base component node object. The workflow model framework part supports the expansion of the basic component model, is embodied as inheritance of basic component classes in actual operation, writes out the final required subclass types through integrating the basic component classes of different classes, and can be displayed together with the basic component after being loaded in the framework.
The basic component model and the extended component model based on the basic component model can encapsulate the implementation of the Widget interface, and the Widget interface part mainly realizes the collection work of the node attribute information.
An embodiment two, the present embodiment is further defined by the method for modeling an XML-based CFD workflow according to the embodiment one, where the geometric component node model, the grid component node model, the solver node model, and the post-processing component node model each include: object properties, execution actions, and object ports;
the object attribute is used for describing relevant parameters of the workflow node;
the execution actions are used for describing the behavior actions of the workflow nodes;
the object port is used for describing data input and data output of the workflow node, wherein the data input represents that data required by the workflow node is input through the input port, and the data output represents that data generated by the workflow node is transmitted to the next node through the output port.
In practical applications, the relevant parameters may be node state information, input parameter information, output parameter information, intermediate result data, and the like.
The method comprises the steps of executing prepositive actions of animals before entering workflow nodes, node actions after entering the workflow nodes, postpositive actions after leaving the workflow nodes and the like; all three types of actions can be expressed in the form of python script or Shell script, and are specifically executed in the execution engine.
The object port can be used for accessing data needed by the node through the input port, and can also be used for transmitting data generated by the node to the next node through the output port. A port is a data transmission channel between nodes, where the transmitted data is implemented by binding node object properties.
An embodiment III, the present embodiment is a further limitation of the XML-based CFD workflow modeling method described in the embodiment II, wherein the CFD workflow model includes a root element;
the root element includes three attributes: a name attribute, a desp attribute, and a type attribute;
the name attribute is used for describing the name of the workflow model;
the desp attribute is used for describing information of the workflow model and providing explanatory words of the workflow model;
the type attribute is used to describe the type of workflow model.
A detailed description of the 3 attributes is shown in table 1:
TABLE 1
In practical application, the workflow node description file is embodied in the form of XML.
Embodiment four, the present embodiment is a further limitation of the method for modeling an XML-based CFD workflow according to embodiment three, wherein the root element further includes four sub-elements: a child Property, a child Step, a child Relation and a child Link;
the child element Property is used for describing attribute information of the workflow model;
the sub-elements Step are used for describing node information in a workflow model, the workflow model at least comprises two sub-element steps for describing workflow nodes, and the two sub-element steps are respectively a start node and an end node;
the subelement Relation is used for describing connection information of each node in the workflow model, and has no direction attribute;
the subelement Link is used to associate input and output ports between nodes.
The details of the sub-element Relation are shown in table 2:
TABLE 2
The subelement Link can reflect the association relationship between the nodes with the connection relationship, the input port and the output port of each other. Typically, a connection line is associated with two nodes, one of which is the input port of one of the nodes and one of which is the output port of the other node.
The details of the subelement Link are shown in table 3:
TABLE 3 Table 3
Fifth embodiment the present embodiment will be described with reference to fig. 4. This embodiment is a further limitation of the method for modeling an XML-based CFD workflow according to the fourth embodiment, wherein the child Property includes:
a child element Author, a child element CreateTime, and a child element Location;
the child element Author is used for explaining an Author of the workflow model;
the child element CreateTime is used for describing workflow model creation time;
the sub-element Location is used for describing a workflow model storage Location.
In practical use, the detailed description of the child Property is shown in table 4:
TABLE 4 Table 4
Embodiment six, this embodiment is described with reference to fig. 2, 3 and 4. This embodiment is a further limitation of the method for modeling an XML-based CFD workflow according to the fourth embodiment, wherein the sub-element Step includes: an attribute name, an attribute desp, an attribute id, and an attribute type;
the attribute name is used for speaking the name of a node corresponding to the sub-element Step, and in the whole workflow model, the name of the node is unique and unrepeatable;
the attribute desp is used for speaking the description information of the node corresponding to the sub-element Step and providing descriptive characters of the corresponding node;
the attribute id is used for identifying the node as an identifier;
the attribute type is used for describing the type of the workflow node and determining the working content of the workflow node.
In practical application, the attribute type includes 12 types of basic component types, which are respectively: a start node WFBeginStep, a geometric node wfgeosstep, a mesh node wfpushstep, a solution node WFSolverStep, a post-processing node WFPostStep, a conditional branch node wfconditional step, a loop node wfloopsstep, a parallel start node wfpartbeginstep, a parallel end node wfparthendsstep, a custom node wfcustomezestep, and an end node WFEndStep.
The geometric node wfgeosep, the mesh node wfmeshsep, the solving node WFSolverStep and the post-processing node WFPostStep are service nodes.
In actual use, at least one start node WFBeginStep and end node WFEndStep describe workflow nodes in a workflow description file.
The parallel starting node wfpartebeginstep and the parallel ending node wfpartendsstep are used for improving the calculation efficiency by having two branch flows in the optimization design flow service and calculating by starting n sub-flows in parallel (n is an integer greater than or equal to 1). The calculation process of each sub-flow is the same, and the calculation data among each sub-flow are not interfered with each other; the defined flow between the parallel start node and the parallel end node is the sub-flow which needs to be started in parallel, and the parallel start node and the parallel end node need to be in one-to-one correspondence.
A detailed description of the parallel-initiated sub-flow is shown in table 5:
TABLE 5
The CFD scientific calculation only allows one starting node and one ending node, after a plurality of branches appear in the operation process, each branch flow is required to be summarized to one trunk flow before ending, and the node for summarizing the branch flows is a converging node WFAndOrStep, also called AND or node; the details of the sink WFAndOrStep are shown in table 6:
TABLE 6
In the operation process, which branch flow is taken is determined according to the operation result. The conditional branch node has one more conditional judging action than other nodes, the program/script executed in the conditional judging action returns to a Result attribute after being executed, the system judges which branch to go according to the Result attribute, and the judging node is a WFCondition step conditional branch node; the wfconditional step conditional branch node is described in detail in table 7:
TABLE 7
In practical use, a loop node wfloopsstep is used in which n times (n is an integer equal to or greater than 1) are performed for one operation loop according to service requirements, and the detailed description of the loop node wfloopsstep is shown in table 8:
TABLE 8
When the system allows the user to develop custom components by himself, the system's functional components are expanded. After the custom component is loaded into the system, a user can configure a workflow by using the custom component to generate a custom node WFCustomzeStep; the custom node wfcustimizer step is described in detail in table 9:
TABLE 9
Embodiment seven, the present embodiment is described with reference to fig. 4. This embodiment is a further limitation of the method for modeling an XML-based CFD workflow according to the fourth embodiment, and the sub-element Step further includes: the method comprises the steps of node label sub-element label Property, node label sub-element label Actions and node label sub-element label Ports;
the child element label Property of the node label is used for describing attribute information contained in the node class;
the subelement label Actions of the node label is used for describing a set of all operations supported by the node;
the subelement tag Ports of the node tag are used for representing channels for inputting the node data and channels for outputting the data by the node.
In actual use, the child element tag Property currently supports two types of child element tags: one is a Param tag, which is used to identify variable data used in a node class; the other is a File tag, which is used to identify files used in the node class.
The various attributes of the Param tag are detailed in Table 10:
table 10
The various attributes of the File tag give a detailed description as shown in Table 11:
TABLE 11
The Action tag contains a plurality of attributes and sub-element tags, and the detailed description is shown in table 12:
table 12
The subelement tag Ports are a collection of node data channels, and the subelement tag Ports are described in detail in table 13:
TABLE 13
An eighth embodiment is an XML-based CFD workflow modeling apparatus according to the present embodiment, including:
the analysis unit is used for acquiring an input parameter file according to the analysis XML file;
the geometric modeling unit is used for carrying out geometric modeling according to the input parameter file to obtain a geometric model file, wherein the geometric model file is the output attribute of the geometric component node model;
the grid file acquisition unit is used for carrying out grid subdivision according to the geometric model to acquire a grid file, wherein the grid file is an output attribute of the grid assembly node model;
the solving result obtaining unit is used for carrying out solving calculation according to the input parameter file and the grid file to obtain a solving result, wherein the solving result is an output attribute of the node model of the solver component;
the post-processing unit is used for acquiring a post-processing rendering image according to the solving result and completing establishment of the CFD workflow model; the post-processing rendered image is an output attribute of the post-processing component node model.
A computer device according to a ninth embodiment, including a memory and a processor, the memory storing a computer program, and the processor executing an XML-based CFD workflow modeling method according to any one of the first to seventh embodiments when the processor runs the computer program stored in the memory.
The computer readable storage medium according to the tenth embodiment is a computer readable storage medium storing a computer program for executing the method for modeling a CFD workflow based on XML according to any one of the first to seventh embodiments.
Claims (8)
1. An XML-based CFD workflow modeling method, the modeling method comprising:
acquiring an input parameter file according to the analysis XML file;
performing geometric modeling according to the input parameter file to obtain a geometric model file, wherein the geometric model file is an output attribute of a geometric component node model;
performing mesh subdivision according to the geometric model to obtain a mesh file, wherein the mesh file is an output attribute of a mesh component node model;
carrying out solving calculation according to the input parameter file and the grid file to obtain a solving result, wherein the solving result is the output attribute of the node model of the solver component;
acquiring a post-processing rendering image according to the solving result to complete CFD workflow modeling; the post-processing rendering image is an output attribute of a post-processing component node model;
the geometric component node model, the grid component model, the solver node model and the post-processing component node model all comprise: object properties, execution actions, and object ports;
the object attribute is used for describing relevant parameters of the workflow node;
the execution actions are used for describing the behavior actions of the workflow nodes;
the object port is used for describing data input and data output of the workflow node, the data input represents that data required by the workflow node is input through the input port, and the data output represents that data generated by the workflow node is transmitted to the next node through the output port;
the CFD workflow model includes a root element;
the root element includes three attributes: a name attribute, a desp attribute, and a type attribute;
the name attribute is used for describing the name of the workflow model;
the desp attribute is used for describing information of the workflow model and providing explanatory words of the workflow model;
the type attribute is used to describe the type of workflow model.
2. The method of CFD workflow modeling based on XML according to claim 1, wherein said root element further comprises four sub-elements: a child Property, a child Step, a child Relation and a child Link;
the child element Property is used for describing attribute information of the workflow model;
the sub-elements Step are used for describing node information in a workflow model, the workflow model at least comprises two sub-element steps for describing workflow nodes, and the two sub-element steps are respectively a start node and an end node;
the subelement Relation is used for describing connection information of each node in the workflow model, and has no direction attribute;
the subelement Link is used for associating input ports and output ports between nodes.
3. The method of CFD workflow modeling based on XML according to claim 2, wherein said child element Property comprises:
a child element Author, a child element CreateTime, and a child element Location;
the child element Author is used for explaining an Author of the workflow model;
the child element CreateTime is used for describing workflow model creation time;
the sub-element Location is used for describing a workflow model storage Location.
4. The method of CFD workflow modeling based on XML according to claim 2, wherein said sub-element Step comprises: an attribute name, an attribute desp, an attribute id, and an attribute type;
the attribute name is used for speaking the name of the node corresponding to the sub-element Step, and in the whole workflow model, the name of the node is unique and unrepeatable;
the attribute desp is used for speaking the description information of the node corresponding to the sub-element Step and providing descriptive characters of the corresponding node;
the attribute id is used for identifying the node as an identifier;
the attribute type is used for describing the type of the workflow node and determining the working content of the workflow node.
5. The method of CFD workflow modeling based on XML according to claim 2, wherein said sub-element Step further comprises: the method comprises the steps of node label sub-element label Property, node label sub-element label Actions and node label sub-element label Ports;
the child element label Property of the node label is used for describing attribute information contained in the node class;
the subelement label Actions of the node label is used for describing a set of all operations supported by the node;
the subelement tag Ports of the node tag are used for representing channels for inputting the node data and channels for outputting the data by the node.
6. An XML-based CFD workflow modeling apparatus, the modeling apparatus comprising:
the analysis unit is used for acquiring an input parameter file according to the analysis XML file;
the geometric modeling unit is used for carrying out geometric modeling according to the input parameter file to obtain a geometric model file, wherein the geometric model file is the output attribute of the geometric component node model;
grid division is carried out according to the geometric model, and a grid file is obtained, wherein the grid file is the output attribute of the grid assembly node model;
carrying out solving calculation according to the input parameter file and the grid file to obtain a solving result, wherein the solving result is the output attribute of the node model of the solver component;
acquiring a post-processing rendering image according to the solving result to complete CFD workflow modeling; the post-processing rendering image is an output attribute of a post-processing component node model;
the geometric component node model, the grid component model, the solver node model and the post-processing component node model all comprise: object properties, execution actions, and object ports;
the object attribute is used for describing relevant parameters of the workflow node;
the execution actions are used for describing the behavior actions of the workflow nodes;
the object port is used for describing data input and data output of the workflow node, the data input represents that data required by the workflow node is input through the input port, and the data output represents that data generated by the workflow node is transmitted to the next node through the output port;
the CFD workflow model includes a root element;
the root element includes three attributes: a name attribute, a desp attribute, and a type attribute;
the name attribute is used for describing the name of the workflow model;
the desp attribute is used for describing information of the workflow model and providing explanatory words of the workflow model;
the type attribute is used to describe the type of workflow model.
7. A computer device, characterized by: comprising a memory and a processor, said memory having stored therein a computer program, which when executed by said processor performs an XML-based CFD workflow modeling method according to any one of claims 1-5.
8. A computer readable storage medium for storing a computer program for executing an XML-based CFD workflow modeling method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210421249.4A CN114757124B (en) | 2022-04-21 | 2022-04-21 | CFD workflow modeling method and device based on XML, computer and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210421249.4A CN114757124B (en) | 2022-04-21 | 2022-04-21 | CFD workflow modeling method and device based on XML, computer and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114757124A CN114757124A (en) | 2022-07-15 |
CN114757124B true CN114757124B (en) | 2024-02-27 |
Family
ID=82331349
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210421249.4A Active CN114757124B (en) | 2022-04-21 | 2022-04-21 | CFD workflow modeling method and device based on XML, computer and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114757124B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115794447B (en) * | 2023-02-07 | 2023-04-28 | 青岛哈尔滨工程大学创新发展中心 | Grid data transmission method for multi-physical field coupling |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005033933A1 (en) * | 2003-09-02 | 2005-04-14 | Infoglide Software Corporation | System and method for workflow process management |
CN104077428A (en) * | 2014-02-26 | 2014-10-01 | 浙江工业大学 | Remote finite element analysis method serving for industry alliance |
CN111125949A (en) * | 2019-12-06 | 2020-05-08 | 北京科技大学 | Large-scale parallel meshing system and method for finite element analysis |
CN112231086A (en) * | 2020-10-22 | 2021-01-15 | 中国科学院空天信息创新研究院 | Production workflow description and scheduling method and device for remote sensing information product |
WO2022056735A1 (en) * | 2020-09-16 | 2022-03-24 | 深圳晶泰科技有限公司 | Cloud high-performance scientific calculation workflow design control system and graphical user interface |
-
2022
- 2022-04-21 CN CN202210421249.4A patent/CN114757124B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005033933A1 (en) * | 2003-09-02 | 2005-04-14 | Infoglide Software Corporation | System and method for workflow process management |
CN104077428A (en) * | 2014-02-26 | 2014-10-01 | 浙江工业大学 | Remote finite element analysis method serving for industry alliance |
CN111125949A (en) * | 2019-12-06 | 2020-05-08 | 北京科技大学 | Large-scale parallel meshing system and method for finite element analysis |
WO2022056735A1 (en) * | 2020-09-16 | 2022-03-24 | 深圳晶泰科技有限公司 | Cloud high-performance scientific calculation workflow design control system and graphical user interface |
CN112231086A (en) * | 2020-10-22 | 2021-01-15 | 中国科学院空天信息创新研究院 | Production workflow description and scheduling method and device for remote sensing information product |
Non-Patent Citations (5)
Title |
---|
The Cambridge CFD grid for large-scale distributed CFD applications;X.Yang等;Future Generation Computer Systems;全文 * |
XML和Java在工作流过程模型设计中的应用;张胜男;宝莹;;沈阳工业大学学报(01);全文 * |
基于XML的船舶数字化平台的数据交换技术研究;成益鑫;《中国优秀硕士学位论文全文数据库(电子期刊)》;正文第2.1、3.3-3.6章 * |
基于标准中间文件的CAD-CFD接口开发与应用;单威俊;蒲海;金建海;吴乘胜;;船海工程(04);全文 * |
基于热载荷优化修正的电主轴热特性分析方法;孟令聪等;《机械强度》;正文第2-3章 * |
Also Published As
Publication number | Publication date |
---|---|
CN114757124A (en) | 2022-07-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9612806B2 (en) | Verification of computer-executable code generated from a model | |
US8869103B2 (en) | Using intermediate representations to verify computer-executable code generated from a model | |
US6996517B1 (en) | Performance technology infrastructure for modeling the performance of computer systems | |
US7168077B2 (en) | System and method of executing and controlling workflow processes | |
US9021440B1 (en) | System and method for automated test script generation | |
US8983823B1 (en) | Verification harness for automatically generating a text-based representation of a graphical model | |
WO2015019074A1 (en) | Automated application test system | |
JPWO2005071609A1 (en) | Restriction condition solving method, restriction condition solving apparatus, and restriction condition solving system | |
CN111209203B (en) | Model verification method based on source code | |
CN108037913B (en) | Method for converting xUML4MC model into MSVL (modeling, simulation and verification language) program and computer-readable storage medium | |
Heidenreich et al. | Safe composition of transformations | |
CN111078555A (en) | Test file generation method, system, server and storage medium | |
CN114757124B (en) | CFD workflow modeling method and device based on XML, computer and storage medium | |
Chondamrongkul et al. | PAT approach to Architecture Behavioural Verification. | |
CN114896755A (en) | Index verification technology supporting model attribute quantitative evaluation | |
de Carvalho Junior et al. | Contextual abstraction in a type system for component-based high performance computing platforms | |
CN111126008A (en) | XSD-based code generation method and device, computer equipment and storage medium | |
Wehrmeister et al. | Support for early verification of embedded real-time systems through UML models simulation | |
CN112667202B (en) | Software design method and device combining MDA and BPMN | |
CN112685023A (en) | Front-end development processing method, device, equipment and storage medium based on basic library | |
EP2718821B1 (en) | Verification of computer-executable code generated from a model | |
Lu et al. | Simulation and visualization tool design for robot software | |
CN117707654B (en) | Signal channel inheritance method for multi-physical-field core industrial simulation processing software | |
CN111324332A (en) | Big data task processing method and system, electronic device and storage medium | |
Wang et al. | A tool for IMA system configuration verification and case study |
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 |