CN112329267A - Combined geometric neutron transport processing method and device based on characteristic line method - Google Patents

Combined geometric neutron transport processing method and device based on characteristic line method Download PDF

Info

Publication number
CN112329267A
CN112329267A CN202011346816.1A CN202011346816A CN112329267A CN 112329267 A CN112329267 A CN 112329267A CN 202011346816 A CN202011346816 A CN 202011346816A CN 112329267 A CN112329267 A CN 112329267A
Authority
CN
China
Prior art keywords
expression
geometric
logic expression
logic
complex
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.)
Granted
Application number
CN202011346816.1A
Other languages
Chinese (zh)
Other versions
CN112329267B (en
Inventor
吴文斌
罗琦
姚栋
赵文博
于颖锐
柴晓明
李庆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nuclear Power Institute of China
Original Assignee
Nuclear Power Institute of China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nuclear Power Institute of China filed Critical Nuclear Power Institute of China
Priority to CN202011346816.1A priority Critical patent/CN112329267B/en
Publication of CN112329267A publication Critical patent/CN112329267A/en
Application granted granted Critical
Publication of CN112329267B publication Critical patent/CN112329267B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E30/00Energy generation of nuclear origin
    • Y02E30/30Nuclear fission reactors

Abstract

The invention provides a combined geometric neutron transport processing method and a device based on a characteristic line method, wherein the method converts a geometric area into a geometric logic expression by adopting a merging mode, and divides the geometric logic expression into a simple logic expression and a complex logic expression; when the geometric logic expression is a simple logic expression, calculating the simple logic expression by adopting a short circuit method to obtain a logic expression result; when the geometric logic expression is a complex logic expression, analyzing the complex logic expression by adopting a scheduling field algorithm to obtain an inverse Polish expression, and analyzing and calculating the inverse Polish expression to obtain a logic expression result; and finally, judging the inclusion relation between any neutron coordinate point and the complex geometric area based on the logic expression result, and carrying out ray tracing on neutrons so as to improve the geometric transmission flexibility and the ray tracing efficiency and improve the maintainability of the program.

Description

Combined geometric neutron transport processing method and device based on characteristic line method
Technical Field
The invention relates to the technical field of nuclear reactor core design and reactor physical numerical calculation, in particular to a combined geometric neutron transport processing method and device based on a characteristic line method.
Background
The reactor physical analysis calculation is used as the basis of the nuclear reactor system analysis calculation, and the reactor core reactivity and the full-reactor fine power distribution are obtained by solving a neutron transport equation. The MOC (Method of Characteristics) has the advantages of high calculation precision, good geometric adaptability, capability of accurately processing anisotropic scattering, capability of having multiple parallel dimensions and the like, and is the most potential full-stack neutron transport calculation Method. The characteristic line method divides the solving area into fine grids, each fine grid only contains one material, ray tracing is carried out on the solving area divided into the fine grids by adopting compact characteristic lines in a plurality of directions, the intersection point of the characteristic ray and the fine grid is solved, and characteristic line segment information is generated. And obtaining neutron flux distribution and an effective value-added factor keff by repeating the characteristic line scanning and the internal and external iteration.
The geometric processing is the basis for solving the neutron transport problem by the characteristic line method, and mainly comprises three aspects: 1) geometric modeling, which is used for describing the geometric information of the complex geometric body in a fine mode; 2) grid division, namely, carrying out grid division on the geometric body to obtain fine grids and calculating the volume of each grid; 3) and (5) ray tracing, namely calculating the intersection point of each characteristic ray and the fine grid to generate characteristic line segment information. The geometric processing module converts the real core geometry into a geometric information mode required by the characteristic line method, determines the geometric adaptability of the characteristic line method, and influences the calculation efficiency of the characteristic line method. CSG (structured Solid Geometry) processing defines some basic geometric entities, and performs intersection, union, and complement logic operations on the basic geometric entities to construct a complex geometric entity, so that the method has good portability, and is increasingly the mainstream method for processing the characteristic line program Geometry.
To describe a complex geometric region, existing CSG geometry processing techniques typically represent it as a rooted binary tree structure. For complex geometric regions with a plurality of hierarchies, a rooted binary tree structure is adopted, so that the transmission of geometric modeling between different stages of program calculation, different calculation programs and different physical fields is not facilitated; too abstract, the program implementation is complex, parallel design and performance optimization are difficult to perform, and the maintainability of the program system is poor and the ray tracing efficiency is low.
Disclosure of Invention
The technical problem to be solved by the invention is that the existing CSG geometric processing technology usually represents a complex geometric area as a rooted binary tree structure, which is not beneficial to the transmission of geometric modeling between different stages of program calculation, between different calculation programs and between different physical fields, and is difficult to perform parallel design and performance optimization, resulting in poor maintainability of a program system and low ray tracing efficiency.
The invention is realized by the following technical scheme:
a combined geometric neutron transport processing method based on a characteristic line method comprises the following steps:
converting the geometric area into a geometric logic expression by adopting a merging mode;
dividing the geometric logic expression into a simple logic expression and a complex logic expression;
when the geometric logic expression is a simple logic expression, calculating the simple logic expression by adopting a short circuit method to obtain a logic expression result;
when the geometric logic expression is a complex logic expression, analyzing the complex logic expression by adopting a scheduling field algorithm to obtain an inverse Polish expression, and analyzing and calculating the inverse Polish expression by adopting an inverse Polish calculator to obtain a logic expression result;
and judging the inclusion relation between any neutron coordinate point and the complex geometric area based on the logic expression result, and performing ray tracing on neutrons.
Further, the converting the geometric area into the geometric logic expression by using the merging manner includes:
naming the curved surface, and expressing leaf nodes in a character string form;
and substituting the character strings corresponding to the leaf nodes into the corresponding logic nodes from the bottom layer to the top layer according to the logic relationship between the logic nodes and the corresponding child nodes to obtain the geometric logic expression corresponding to the root node.
Further, the dividing the geometric logic expression into a simple logic expression and a complex logic expression includes:
judging a logic operator in the geometric logic expression;
if the logical operator only comprises an AND operator or only comprises an OR operator, the geometric logical expression is a simple logical expression;
and if the logical operator does not only comprise an AND operator or only comprises an OR operator, the logical expression is a complex logical expression.
Further, when the geometric logic expression is a complex logic expression, analyzing the complex logic expression by using a scheduling field algorithm to obtain an inverse Polish expression, including:
when the geometric logic expression is a complex logic expression, taking the complex logic expression as a infix expression;
sequentially analyzing the to-be-analyzed operational characters in the infix expression from left to right, and storing the to-be-analyzed operational characters in an output queue or an operational character stack according to the predetermined operational character priority;
and when all the operators to be analyzed in the infix expression are completely analyzed, obtaining an inverse Polish expression.
Further, the analyzing and calculating the inverse polish expression to obtain a logic expression result includes:
analyzing characters in the inverse Polish expression one by one from left to right, and stacking the operands based on a stack structure;
when the characters in the inverse Polish expression are operators, the operands are popped;
and when all the characters in the inverse Polish expression are completely analyzed, taking the value at the top of the stack as a logic expression result.
A combined geometric neutron transport processing device based on a characteristic line method comprises the following steps:
the geometric area conversion module is used for converting the geometric area into a geometric logic expression in a merging mode;
the logic expression classification module is used for dividing the geometric logic expression into a simple logic expression and a complex logic expression;
the simple logic expression calculation module is used for calculating the simple logic expression by adopting a short circuit method when the geometric logic expression is the simple logic expression to obtain a logic expression result;
the complex logic expression calculation module is used for analyzing the complex logic expression by adopting a scheduling field algorithm to obtain an inverse Polish expression when the geometric logic expression is the complex logic expression, and analyzing and calculating the inverse Polish expression by adopting an inverse Polish calculator to obtain a logic expression result;
and the neutron tracking module is used for judging the inclusion relation between any neutron coordinate point and the complex geometric area based on the logic expression result and performing ray tracking on the neutrons.
Further, the geometric region transformation module comprises:
the leaf node processing unit is used for naming the curved surface and expressing leaf nodes in a character string form;
and the geometric logic expression computing unit is used for substituting the character strings corresponding to the leaf nodes into the corresponding logic nodes from the bottom layer to the top layer according to the logic relationship between the logic nodes and the corresponding child nodes to obtain the geometric logic expressions corresponding to the root nodes.
Further, the logical expression classification module includes:
the logical operator judging unit is used for judging the logical operator in the geometric logical expression;
the simple logic expression judging unit is used for judging whether the logic operator only comprises an AND operator or only comprises an OR operator, and if the logic operator only comprises the AND operator, the geometric logic expression is a simple logic expression;
and the complex logic expression judging unit is used for judging that the logic expression is the complex logic expression if the logic operator does not only include an AND operator or does not only include an OR operator.
A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing a method of characteristic-line-method-based combinatorial geometric neutron transport processing as described above when executing the computer program.
A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, implements a method for combined geometric neutron transport processing based on a characteristic line method as set forth above.
The invention provides a combined geometric neutron transport processing method and device based on a characteristic line method.A geometric area is converted into a geometric logic expression by adopting a merging mode, and the geometric logic expression is divided into a simple logic expression and a complex logic expression; when the geometric logic expression is a simple logic expression, calculating the simple logic expression by adopting a short circuit method to obtain a logic expression result; when the geometric logic expression is a complex logic expression, analyzing the complex logic expression by adopting a scheduling field algorithm to obtain an inverse Polish expression, and analyzing and calculating the inverse Polish expression to obtain a logic expression result; and finally, judging the inclusion relation between any neutron coordinate point and the complex geometric area based on the logic expression result, and carrying out ray tracing on neutrons so as to improve the geometric transmission flexibility and the ray tracing efficiency and improve the maintainability of the program.
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 a combined geometric neutron transport processing method based on a characteristic line method.
Fig. 2 is a specific flowchart of step S10 in fig. 1.
Fig. 3 is a specific flowchart of step S20 in fig. 1.
Fig. 4 is a specific flowchart of step S40 in fig. 1.
Fig. 5 is another detailed flowchart of step S40 in fig. 1.
FIG. 6 is a schematic block diagram of a combined geometric neutron transport processing apparatus based on the characteristic line method of the present invention.
FIG. 7 is a schematic diagram of the computer apparatus of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to examples and accompanying drawings, and the exemplary embodiments and descriptions thereof are only used for explaining the present invention and are not meant to limit the present invention.
Example 1
As shown in fig. 1, the present invention provides a method for processing combined geometric neutron transport based on a characteristic line method, which specifically includes the following steps:
s10: and converting the geometric area into a geometric logic expression in a merging mode.
Wherein the geometric area refers to a corresponding geometric area of the reactor core.
S20: the geometric logic expression is divided into a simple logic expression and a complex logic expression.
Specifically, after the geometric logic expression is obtained, determining whether the logic expression is a simple logic expression or a complex logic expression according to whether a logic operator in the geometric logic expression only includes an and operator or only includes an or operator; if the logical operator in the geometric logical expression only comprises an AND operator or only comprises an OR operator, determining that the geometric logical expression is a simple logical expression; if the logical operator does not only include the and operator or does not include the or operator, the logical expression is a complex logical expression.
S30: and when the geometric logic expression is a simple logic expression, calculating the simple logic expression by adopting a short circuit method to obtain a logic expression result.
The short-circuit method in this embodiment refers to a method of performing short-circuit processing on a logic operation expression, that is, a relationship between a plurality of expressions is a sum relationship, and as long as any expression is false, other expressions do not continue to perform operation, that is, are short-circuited; if the expressions are in an or relationship, other expressions do not continue to operate as long as any expression is true, and the expressions are short-circuited.
The simple logic expression is quickly evaluated by a short circuit method, so that the calculation process can be effectively shortened.
S40: when the geometric logic expression is a complex logic expression, analyzing the complex logic expression by adopting a scheduling field algorithm to obtain an inverse Polish expression, and analyzing and calculating the inverse Polish expression to obtain a logic expression result.
The complex logic expression is converted into the inverse Polish expression, the priority of an operator does not need to be known in advance, the operation order does not need to be specified through brackets, the complex logic expression is easy to analyze by a computer, and the calculation efficiency is high.
S50: and judging the inclusion relation between any neutron coordinate point and the complex geometric area based on the logic expression result, and performing ray tracing on neutrons.
Further, as shown in fig. 2, in step S10, the converting the geometric area into the geometric logic expression by using a merging method specifically includes the following steps:
s11: the surfaces are named and the leaf nodes are represented in string form.
S12: and substituting the character strings corresponding to the leaf nodes into the corresponding logic nodes from the bottom layer to the top layer according to the logic relationship between the logic nodes and the corresponding child nodes to obtain the geometric logic expression corresponding to the root node.
Further, as shown in fig. 3, in step S20, the dividing the geometric logic expression into a simple logic expression and a complex logic expression specifically includes the following steps:
s21: and judging the logical operators in the geometric logical expression.
S22: if only the and operator or only the or operator is included in the logical operators, the geometric logical expression is a simple logical expression.
S23: if the logical operator does not only include the and operator or does not include the or operator, the logical expression is a complex logical expression.
Further, as shown in fig. 4, in step S40, when the geometric logic expression is a complex logic expression, the complex logic expression is analyzed by using a scheduling field algorithm to obtain an inverse portland expression, which specifically includes the following steps:
s41: and when the geometric logic expression is a complex logic expression, taking the complex logic expression as an infix expression.
S42: and analyzing the operators to be analyzed in the prefix expression from left to right in sequence, and storing the operators to be analyzed in an output queue or an operator stack according to the predetermined operator priority.
S43: and all the operators to be analyzed in the affix expression are analyzed completely to obtain an inverse Polish expression.
Further, as shown in fig. 5, in step S40, performing analytic calculation on the inverse portland expression to obtain a logic expression result, specifically including the following steps:
s44: characters in the inverse Polish expression are analyzed one by one from left to right, and operands are pushed based on a stack structure.
S45: when the character in the reverse Polish expression is an operator, then the operand is popped.
S46: and when all the characters in the inverse Polish expression are completely analyzed, taking the value at the top of the stack as a logic expression result.
According to the combined geometric neutron transport processing method based on the characteristic line method, the geometric area is directly described by the logical expression of the leaf node (half space) through the Reverse Polish Notation (RPN), and the value of the logical expression is rapidly calculated by adopting the short-circuit method and the Reverse Polish calculator, so that the defect of a rooted binary tree implementation mode is overcome, and higher ray tracing efficiency, stronger geometric transmission flexibility and better program maintainability are further obtained.
Example 2
As shown in fig. 6, this embodiment is different from embodiment 1 in that a combined geometric neutron transport processing apparatus based on a characteristic line method includes:
and the geometric region conversion module 10 is used for converting the geometric region into a geometric logic expression in a merging mode.
And a logic expression classification module 20, configured to divide the geometric logic expression into a simple logic expression and a complex logic expression.
And the simple logic expression calculation module 30 is configured to calculate the simple logic expression by using a short-circuit method when the geometric logic expression is the simple logic expression, so as to obtain a logic expression result.
And the complex logic expression calculation module 40 is configured to, when the geometric logic expression is a complex logic expression, analyze the complex logic expression by using a scheduling field algorithm to obtain an inverse polish expression, and analyze and calculate the inverse polish expression by using an inverse polish calculator to obtain a logic expression result.
And the neutron tracking module 50 is used for judging the inclusion relationship between any neutron coordinate point and the complex geometric area based on the logic expression result and performing ray tracking on neutrons.
Further, the geometric region conversion module 10 includes a leaf node processing unit and a geometric logic expression calculation unit.
And the leaf node processing unit is used for naming the curved surface and representing the leaf nodes in a character string form.
And the geometric logic expression computing unit is used for substituting the character strings corresponding to the leaf nodes into the corresponding logic nodes from the bottom layer to the top layer according to the logic relationship between the logic nodes and the corresponding child nodes to obtain the geometric logic expression corresponding to the root node.
Further, the logical expression classification module 20 includes a logical operator judgment unit, a simple logical expression judgment unit, and a complex logical expression judgment unit.
And the logical operator judging unit is used for judging the logical operator in the geometric logical expression.
And the simple logic expression judging unit is used for judging that the geometric logic expression is the simple logic expression if the logic operators only comprise AND operators or only comprise OR operators.
And the complex logic expression judging unit is used for judging that the logic expression is the complex logic expression if the logic operator does not only include the AND operator or does not only include the OR operator.
Further, the complex logic expression calculation module 40 includes a complex logic expression processing unit, an infix expression parsing unit, and an inverse-blue expression obtaining unit.
And the complex logic expression processing unit is used for taking the complex logic expression as the infix expression when the geometric logic expression is the complex logic expression.
And the infix expression analysis unit is used for sequentially analyzing the to-be-analyzed operators in the infix expression from left to right and storing the to-be-analyzed operators in an output queue or an operator stack according to the predetermined operator priority.
And the inverse Polish expression acquisition unit is used for obtaining the inverse Polish expression when all the operators to be analyzed in the infix expression are completely analyzed.
Further, the complex logic expression calculation module 40 further includes a polish expression parsing unit, a polish expression processing unit, and a polish expression result calculation unit.
And the Polish expression analysis unit is used for analyzing the characters in the inverse Polish expression one by one from left to right and stacking the operands based on a stack structure.
And the Polish expression processing unit is used for popping the operand when the character in the reverse Polish expression is an operator.
And the Polish expression result calculating unit is used for taking the value at the top of the stack as a logic expression result after all the characters in the reverse Polish expression are completely analyzed.
For specific definition of the combined geometric neutron transport processing device based on the characteristic line method, reference may be made to the above definition of a combined geometric neutron transport processing method based on the characteristic line method, which is not described herein again. The modules in the above-mentioned characteristic line method-based combined geometric neutron transport processing device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Example 3
The embodiment provides a computer device, which may be a server, and the internal structure diagram of the computer device may be as shown in fig. 7. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a computer readable storage medium, an internal memory. The computer readable storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the computer-readable storage medium. The database of the computer equipment is used for storing data related to a combined geometric neutron transport processing method based on a characteristic line method. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of combinatorial geometric neutron transport processing based on a characteristic line method.
The present embodiment provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method for processing neutron transport in a combined geometry based on a characteristic line method in the foregoing embodiments when executing the computer program, for example, steps S10 to S50 shown in fig. 1, or steps S2 to S5 shown in fig. 5, and details are not repeated here to avoid repetition. Alternatively, the processor, when executing the computer program, implements the functions of the modules/units of a characteristic-line-law-based combined geometry neutron transport processing device of the above-described embodiments, such as the functions of the modules 10 to 50 shown in fig. 6. To avoid repetition, further description is omitted here.
Example 4
In an embodiment, a computer-readable storage medium is provided, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements the steps of the method for processing combined geometric neutron transport based on a characteristic line method in the foregoing embodiments, such as steps S10 to S50 shown in fig. 1 or steps S2 to 5 shown in fig. 5, and in order to avoid repetition, details are not repeated here. Alternatively, the processor, when executing the computer program, performs the functions of the modules/units in an embodiment of a combined geometry neutron transport processing device based on the characteristic line method, such as the functions of modules 10-50 shown in fig. 6. To avoid repetition, further description is omitted here.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A combined geometric neutron transport processing method based on a characteristic line method is characterized by comprising the following steps:
converting the geometric area into a geometric logic expression by adopting a merging mode;
dividing the geometric logic expression into a simple logic expression and a complex logic expression;
when the geometric logic expression is a simple logic expression, calculating the simple logic expression by adopting a short circuit method to obtain a logic expression result;
when the geometric logic expression is a complex logic expression, analyzing the complex logic expression by adopting a scheduling field algorithm to obtain an inverse Polish expression, and analyzing and calculating the inverse Polish expression by adopting an inverse Polish calculator to obtain a logic expression result;
and judging the inclusion relation between any neutron coordinate point and the complex geometric area based on the logic expression result, and performing ray tracing on neutrons.
2. The method for processing combined geometric neutron transport according to claim 1, wherein the converting the geometric region into the geometric logic expression by using the merging method includes:
naming the curved surface, and expressing leaf nodes in a character string form;
and substituting the character strings corresponding to the leaf nodes into the corresponding logic nodes from the bottom layer to the top layer according to the logic relationship between the logic nodes and the corresponding child nodes to obtain the geometric logic expression corresponding to the root node.
3. The method for processing combined geometric neutron transport according to claim 2, wherein the dividing the geometric logic expression into a simple logic expression and a complex logic expression comprises:
judging a logic operator in the geometric logic expression;
if the logical operator only comprises an AND operator or only comprises an OR operator, the geometric logical expression is a simple logical expression;
and if the logical operator does not only comprise an AND operator or only comprises an OR operator, the logical expression is a complex logical expression.
4. The method for processing combined geometric neutron transport according to claim 1, wherein when the geometric logic expression is a complex logic expression, a scheduling field algorithm is used to analyze the complex logic expression to obtain an inverse Polish expression, and the method comprises:
when the geometric logic expression is a complex logic expression, taking the complex logic expression as a infix expression;
sequentially analyzing the to-be-analyzed operational characters in the infix expression from left to right, and storing the to-be-analyzed operational characters in an output queue or an operational character stack according to the predetermined operational character priority;
and when all the operators to be analyzed in the infix expression are completely analyzed, obtaining an inverse Polish expression.
5. The method for processing neutron transport in combined geometry based on the characteristic line method according to claim 1, wherein the analyzing and calculating the inverse Polish expression to obtain a logic expression result comprises:
analyzing characters in the inverse Polish expression one by one from left to right, and stacking the operands based on a stack structure;
when the characters in the inverse Polish expression are operators, the operands are popped;
and when all the characters in the inverse Polish expression are completely analyzed, taking the value at the top of the stack as a logic expression result.
6. A combined geometric neutron transport processing device based on a characteristic line method is characterized by comprising the following steps:
the geometric area conversion module is used for converting the geometric area into a geometric logic expression in a merging mode;
the logic expression classification module is used for dividing the geometric logic expression into a simple logic expression and a complex logic expression;
the simple logic expression calculation module is used for calculating the simple logic expression by adopting a short circuit method when the geometric logic expression is the simple logic expression to obtain a logic expression result;
the complex logic expression calculation module is used for analyzing the complex logic expression by adopting a scheduling field algorithm to obtain an inverse Polish expression when the geometric logic expression is the complex logic expression, and analyzing and calculating the inverse Polish expression by adopting an inverse Polish calculator to obtain a logic expression result;
and the neutron tracking module is used for judging the inclusion relation between any neutron coordinate point and the complex geometric area based on the logic expression result and performing ray tracking on the neutrons.
7. The device for processing combined geometric neutron transport according to the characteristic line method, wherein the geometric region transformation module comprises:
the leaf node processing unit is used for naming the curved surface and expressing leaf nodes in a character string form;
and the geometric logic expression computing unit is used for substituting the character strings corresponding to the leaf nodes into the corresponding logic nodes from the bottom layer to the top layer according to the logic relationship between the logic nodes and the corresponding child nodes to obtain the geometric logic expressions corresponding to the root nodes.
8. The apparatus of claim 6, wherein the logic expression classification module comprises:
the logical operator judging unit is used for judging the logical operator in the geometric logical expression;
the simple logic expression judging unit is used for judging whether the logic operator only comprises an AND operator or only comprises an OR operator, and if the logic operator only comprises the AND operator, the geometric logic expression is a simple logic expression;
and the complex logic expression judging unit is used for judging that the logic expression is the complex logic expression if the logic operator does not only include an AND operator or does not only include an OR operator.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor when executing the computer program implements a method for processing neutron transport in a combined geometry based on a characteristic line method according to any one of claims 1 to 5.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, implements a method for combined geometric neutron transport processing based on the eigen-line method according to any of claims 1 to 5.
CN202011346816.1A 2020-11-26 2020-11-26 Combined geometric neutron transport processing method and device based on characteristic line method Active CN112329267B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011346816.1A CN112329267B (en) 2020-11-26 2020-11-26 Combined geometric neutron transport processing method and device based on characteristic line method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011346816.1A CN112329267B (en) 2020-11-26 2020-11-26 Combined geometric neutron transport processing method and device based on characteristic line method

Publications (2)

Publication Number Publication Date
CN112329267A true CN112329267A (en) 2021-02-05
CN112329267B CN112329267B (en) 2022-08-16

Family

ID=74309026

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011346816.1A Active CN112329267B (en) 2020-11-26 2020-11-26 Combined geometric neutron transport processing method and device based on characteristic line method

Country Status (1)

Country Link
CN (1) CN112329267B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113391932A (en) * 2021-06-07 2021-09-14 北京科技大学 Parallel characteristic line method transport scanning method and device for heterogeneous many-core architecture

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060148678A1 (en) * 1998-06-30 2006-07-06 Om Pharma Novel acyl-dipeptide-like compounds, a method for preparing the same and pharmaceutical compositions containing such products
US20110110480A1 (en) * 2009-11-06 2011-05-12 Searete Llc, A Limited Liability Corporation Of The State Of Delaware Methods and systems for migrating fuel assemblies in a nuclear fission reactor
US20150186504A1 (en) * 2009-04-23 2015-07-02 Deep Sky Concepts, Inc. In-context access of stored declarative knowledge using natural language expression
CN107274947A (en) * 2017-06-07 2017-10-20 中广核研究院有限公司 The whole process defence method and system of a kind of nuclear power plant's electromagnetism interference

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060148678A1 (en) * 1998-06-30 2006-07-06 Om Pharma Novel acyl-dipeptide-like compounds, a method for preparing the same and pharmaceutical compositions containing such products
US20150186504A1 (en) * 2009-04-23 2015-07-02 Deep Sky Concepts, Inc. In-context access of stored declarative knowledge using natural language expression
US20110110480A1 (en) * 2009-11-06 2011-05-12 Searete Llc, A Limited Liability Corporation Of The State Of Delaware Methods and systems for migrating fuel assemblies in a nuclear fission reactor
CN107274947A (en) * 2017-06-07 2017-10-20 中广核研究院有限公司 The whole process defence method and system of a kind of nuclear power plant's electromagnetism interference

Non-Patent Citations (7)

* Cited by examiner, † Cited by third party
Title
FEIYU CHEN等: ""Parallelization and optimization of RMC for criticality computing based on the heterogeneous architecture of the Sunway TaihuLight supercomputer"", 《ANNALS OF NUCLEAR ENERGY》 *
丁爱平等: "粒子输运计算模型M CNP模型的可视化实现", 《原子核物理评论》 *
叶鑫: ""基于异构架构的蒙卡并行算法研究"", 《中国优秀博硕士学位论文全文数据库(硕士)》 *
张文晓: "基于调度场算法实现长逻辑表达式解析与创建", 《信息与电脑(理论版)》 *
张知竹等: "GPU加速三维特征线方法的研究", 《核动力工程》 *
王鑫等: "JCOGIN粒子追踪算法优化", 《原子能科学技术》 *
邓力等: "粒子输运蒙特卡罗模拟现状概述", 《计算物理》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113391932A (en) * 2021-06-07 2021-09-14 北京科技大学 Parallel characteristic line method transport scanning method and device for heterogeneous many-core architecture
CN113391932B (en) * 2021-06-07 2023-10-27 北京科技大学 Parallel characteristic line method transportation scanning method and device for heterogeneous many-core architecture

Also Published As

Publication number Publication date
CN112329267B (en) 2022-08-16

Similar Documents

Publication Publication Date Title
CN115293751B (en) Method, system and equipment for processing BIM model data of rail transit
CN108984155B (en) Data processing flow setting method and device
US20190220387A1 (en) Unexplored branch search in hybrid fuzz testing of software binaries
CN105824974B (en) The method and system of Data Analysis Services
CN110704518A (en) Business data processing method and device based on Flink engine
Oliveira et al. Advanced stochastic petri net modeling with the mercury scripting language
JP7299317B2 (en) HIDDEN STATE GENERATION METHOD AND DEVICE IN RECURRENT NEURAL NETWORK FOR LANGUAGE PROCESSING
CN110941427A (en) Code generation method and code generator
CN115858205B (en) Simulation component interaction method, device and equipment based on memory blackboard mechanism
US20210209011A1 (en) Systems and methods for automated testing using artificial intelligence techniques
CN112329267B (en) Combined geometric neutron transport processing method and device based on characteristic line method
CN110955434B (en) Software development kit processing method and device, computer equipment and storage medium
TWI727639B (en) Method and device for tracing block chain transactions
JP2017174418A (en) Data structure abstraction for model checking
US20190042207A1 (en) Configuration model parsing for constraint-based systems
CN114691148A (en) Model reasoning acceleration method and device, electronic equipment and storage medium
CN114443559A (en) Reconfigurable operator unit, processor, calculation method, device, equipment and medium
US10176086B2 (en) Event-driven software test sequence determination
CN109933515B (en) Regression test case set optimization method and automatic optimization device
CN116560666A (en) AI front end unified computing method, device and medium based on multi-level code generation
CN114047926A (en) Method, device and equipment for converting array calculation expression language and storage medium
CN114398711A (en) Concrete gravity dam CAE integrated analysis method and device and electronic equipment
CN116738900B (en) Transcoding device and method for intellectual property block
Sileshi et al. Accelerating hardware Gaussian random number generation using Ziggurat and CORDIC algorithms
CN115762683B (en) Method and device for processing fuel cell design data and electronic equipment

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