CN116719982B - Electromagnetic field-based wire mesh flow field visualization method - Google Patents
Electromagnetic field-based wire mesh flow field visualization method Download PDFInfo
- Publication number
- CN116719982B CN116719982B CN202310990925.4A CN202310990925A CN116719982B CN 116719982 B CN116719982 B CN 116719982B CN 202310990925 A CN202310990925 A CN 202310990925A CN 116719982 B CN116719982 B CN 116719982B
- Authority
- CN
- China
- Prior art keywords
- list
- electromagnetic field
- point
- grid
- points
- 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
- 230000005672 electromagnetic field Effects 0.000 title claims abstract description 60
- 238000007794 visualization technique Methods 0.000 title claims abstract description 14
- 230000003993 interaction Effects 0.000 claims abstract description 8
- 238000000034 method Methods 0.000 claims description 15
- 238000004422 calculation algorithm Methods 0.000 claims description 9
- 238000004364 calculation method Methods 0.000 claims description 8
- 230000001351 cycling effect Effects 0.000 claims description 7
- 230000006399 behavior Effects 0.000 claims description 5
- 230000008569 process Effects 0.000 claims description 3
- 230000002035 prolonged effect Effects 0.000 claims description 3
- 238000012800 visualization Methods 0.000 abstract description 15
- 238000005516 engineering process Methods 0.000 abstract description 10
- 230000000007 visual effect Effects 0.000 abstract description 4
- 238000004458 analytical method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000005457 optimization Methods 0.000 description 3
- 238000004088 simulation Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005684 electric field Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000013178 mathematical model Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/904—Browsing; Visualisation therefor
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Computer Hardware Design (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application relates to a wire mesh flow field visualization method based on the electromagnetic field, which comprises the following steps: generating a line model according to the geometric shape and boundary conditions of the electromagnetic field, and giving the continuation direction of the line mesh; splitting the line model, reading a grid file to obtain a point list and a line segment list, reading a scalar field value distribution list of points on each coordinate on the point list, traversing the line segment list S, and splitting the grid to obtain two triangular grid units; sequentially initializing and calculating a new point list, a new value list and a data list, and exporting the data list and a triangle unit list according to the file format of triangle unit post-processing software; the exported file is reloaded into the electromagnetic field, and the electromagnetic field distribution and behavior and interaction are visually observed. The application can display the distribution of electromagnetic field in visual mode by the network lattice flow field visualization technology. By visualizing the results, the user can better understand the morphology, intensity and distribution law of the electromagnetic field.
Description
Technical Field
The application relates to the technical field of grid flow field visualization, in particular to a grid flow field visualization method based on the electromagnetic field.
Background
The visualization of the wire mesh flow field in the electromagnetic field at present mainly comprises the following methods: 1. the electromagnetic field numerical value calculating method comprises the following steps: the electromagnetic field numerical calculation method is a numerical simulation method for solving the electromagnetic field distribution problem. Common methods include Finite Element Method (FEM), finite Difference Method (FDM), boundary Element Method (BEM), and the like. The electromagnetic field equation is discretized into algebraic equation on the grid, and the numerical solution of the electromagnetic field on each node is obtained through iterative solution. 2. Grid generation algorithm: grid generation is the process of discretizing a continuous geometric region into finite grid cells. In electromagnetic field analysis, commonly used mesh generation algorithms include structured mesh generation algorithms (e.g., rectangular meshes or triangular meshes) and unstructured mesh generation algorithms (e.g., triangular meshes). These algorithms can generate discretized grids suitable for analysis based on the geometry and boundary conditions of the electromagnetic field. 3. Calculating the numerical value: for electromagnetic field numerical calculations and visualization, special software tools are typically used. Some common electromagnetic field numerical computation software includes COMSOL Multiphysics, ansys, CSTS studio Suite, and the like. The software provides rich numerical calculation and visualization functions, and electromagnetic field analysis and result display can be conveniently carried out. 4. Visualization technique: the network lattice flow field visualization technology is a technology based on computer graphics, and relates to knowledge in aspects of image processing, graphic rendering, graphic interaction and the like. In electromagnetic field visualization, common visualization techniques include drawing electric and magnetic field lines, drawing iso-surfaces or contours, drawing vector diagrams, and the like. These techniques may present the distribution and characteristics of the electromagnetic field in an intuitive manner, helping the user to better understand and analyze the electromagnetic field problem.
Although wire mesh flow field visualization techniques have developed a variety of methods and tools, there are still some disadvantages, mainly including: 1. precision problem: since the accuracy of flow field simulation data has a great influence on the visual result, the improvement of the data accuracy is still an important research direction. 2. Large-scale data processing problems: with the ever-increasing scale of flow field analog data, how to efficiently process and visualize large-scale data becomes a challenge. 3. Expression problem of physical phenomena: the technology of visualization of the wire mesh flow field mainly presents flow field simulation data in the form of images and animations, but how to better express physical phenomena is still a problem.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The application aims to overcome the defects of the prior art, provides a wire mesh flow field visualization method based on the electromagnetic field, and solves the problems of the prior visualization method.
The aim of the application is achieved by the following technical scheme: a wire mesh flow field visualization method based on the electromagnetic field, the visualization method comprising:
step one, generating a line model through a grid generation algorithm according to the geometric shape and boundary conditions of an electromagnetic field, and giving the continuation direction of a wire gridEach time the extension distance is +.>K times are prolonged altogether;
step two, splitting the line model, and reading the grid file to obtain a point listAnd line segment list->Read points list +.>Scalar field value distribution list of points on each coordinate +.>Traversing segment list->Splitting the mesh again to obtain two triangular mesh units +.>And->;
Step three, initializing and calculating new point list in turnNew value list->And data list->List of data +.>The triangle unit list is exported in a file format of triangle unit post-processing software;
and step four, reloading the exported file into an electromagnetic field, and visually observing electromagnetic field distribution, behaviors and interaction.
The traversing line segment list in the second stepSplitting the mesh again to obtain two triangular mesh units +.>Andcomprising the following steps:
traversing a list of line segmentsObtaining the j-th line segment->Extending the extension condition of the first step into K planar quadrilateral surface grid units +.>,/>The serial numbers of the four points are respectivelyN represents the number of points,sequence number indicating the start of the j-th line segment, +.>A sequence number indicating the endpoint of the j-th line segment;
grid cell of plane quadrilateral surfaceSplitting into two triangular grid cells again on average>Andobtaining triangle mesh units respectively>And->The three vertex numbers of (a) are +.>And。
calculating a new point list in the third stepComprising the following steps:
cycling p times from 0 to K-1,;
traversing a list of pointsObtain the i-th point->;
Respectively calculating the i-th point after extensionCoordinates in x, y and z axes are、/>Andm represents the number of line segments.
The new value list is calculated in the third stepComprising the following steps:
cycling p times from 0 to K-1,;
traversing a list of pointsObtain the i-th point->;
Calculating new values at each point after extension as。
The calculation data list in the third stepComprising the following steps:
cycling p times from 0 to KN-1, KN representing a new point listThe number of points;
obtaining the coordinates of the ith point asThe value of the i-th point is obtained as +.>;
Calculation ofData per line>Respectively->、/>、And->。
The application has the following advantages:
1. visual display of electromagnetic field: through the mesh flow field visualization technology, the distribution of the electromagnetic field can be displayed in an intuitive way. By visualizing the results, the user can better understand the morphology, intensity and distribution law of the electromagnetic field.
2. Analysis and comparison of electromagnetic fields: the wire mesh flow field visualization technology can provide an interactive analysis function for electromagnetic field data, so that a user can measure, compare and analyze the electromagnetic field data. By visualizing the results, the user can obtain characteristic parameters of the electromagnetic field, compare the electromagnetic field distribution in different areas or at different time points, and thereby draw conclusions and conduct related research.
3. Design and optimization of electromagnetic field: in electromagnetic field design, reasonable electromagnetic field distribution is very important for optimizing system performance. The wire mesh flow field visualization technology can help engineers and designers to intuitively know the characteristics and distribution conditions of the electromagnetic field, so that the design and optimization work of the electromagnetic field can be effectively performed, and the performance and efficiency of the system are improved.
4. Teaching and science popularization of electromagnetic fields: the grid flow field visualization technology can present the concept and principle of the electromagnetic field in an intuitive way, so that students and the public can more easily understand and accept related knowledge. Through the visual result, the characteristics, application and influence of the electromagnetic field can be displayed, and the effects of teaching and science popularization are improved.
Drawings
FIG. 1 is a schematic flow chart of the present application;
FIG. 2 is a dot listList of line segments->Sum list +.>A relation diagram between the two.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Accordingly, the following detailed description of the embodiments of the application, as presented in conjunction with the accompanying drawings, is not intended to limit the scope of the application as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present application. The application is further described below with reference to the accompanying drawings.
The application particularly relates to a wire mesh flow field visualization method based on the electromagnetic field, provides a wire mesh flow field visualization technology, can be applied to electromagnetic field analysis, and can comprehensively observe the distribution and behavior of an electromagnetic field by establishing a mathematical model of the electromagnetic field and using the wire mesh flow field visualization technology. Electromagnetic field interactions, such as interactions, coupling, etc., of electric and magnetic fields can be observed by drawing a grid flow field diagram, helping engineers and researchers understand the characteristics and behavior of electromagnetic fields. But also for electromagnetic field optimization. By observing the grid flow field diagram, the strong and weak areas of the electromagnetic field can be determined, the layout and structure of electromagnetic equipment are optimized, and the performance and efficiency of the electromagnetic equipment are improved.
As shown in fig. 1, the following are specifically included:
s1, generating a line model by utilizing a proper grid generation algorithm according to the geometric shape and boundary conditions of an electromagnetic field, and performing common algorithm interpolation, fitting, curve fitting and the like;
s2, giving the line mesh continuation directionEach time the extension distance is +.>K times are prolonged altogether;
s3, utilizing commercial software to split the line model, reading the grid file and obtaining a point listAnd line segment list->;
S4, reading point listScalar field value distribution list of points on each coordinate +.>There is the i th point +>Scalar field value of +.>Point list->List of line segments->Sum list +.>The relationship between them is schematically shown in FIG. 2:
s5, traversing the line segment listObtaining the j-th line segment->Taking the segment as an example, the segment is extended into K planar quadrilateral surface grid units according to the given condition of S2>One->The quadrilateral surface grid is split into two triangular grid cells on average>And->Wherein->The serial numbers of the four points are respectively +.>,/>The two triangular units split are +.>And->Respectively obtain->Respectively with three vertex numbers ofAnd;
wherein, the liquid crystal display device comprises a liquid crystal display device,represents the i-th point coordinate->,/>Can use->Indicating (I)>Can use->The representation is made of a combination of a first and a second color,can use->Indicating (I)>Represents the jth line segment having two end points, the first end point being +.>Represents the sequence number of the line segment start point, the other end point is +.>Represents the end sequence number of the line segment, the start of the line segment is expressed as +.>The end point is expressed as +.>The sequence numbers of the two end points of the j-th line segment are known and brought into +.>In the drawing, the coordinates of this point are marked +.>,/>Then there is also a dot list, in which the sequence number +.>,/>The point coordinates can be obtained, the number of the points is N, and the number of the line segments is M.
S6, initializing a new point listThe number of dots is +.>The following procedure pair->And (3) performing calculation:
s601, cycle p times from 0 to K-1, p=0, 1,2 …, K-1;
s602, traversing the list of pointsObtain the i-th point->;
S603, respectively calculating coordinates of each extended point:
s7, initializing a new value listThe number of values is->The following procedure pair->Calculating;
s701, cycling p times from 0 to K-1, p=0, 1,2 …, K-1;
s702, traversing the list of pointsObtain the i-th point->;
S703, respectively calculating new values at each point after continuation:
s8, initializing a data listThe data dimension of the data list is +.>The following procedure pair->Is assigned to each data item:
s801, cycling p times from 0 to KN-1, p=0, 1,2 …, KN-1;
s802, obtaining the coordinates of the ith pointObtaining the value of the i < th > point>;
S803, calculatingData per line>:
S9: list dataAnd triangle element list +.>And exporting according to the file format of the triangle unit post-processing software, and completing the visualization of the triangle unit grids in the post-processing software.
S10: the exported file is reloaded into the electromagnetic field through post-processing software, so that the distribution and the behavior of the electromagnetic field can be observed, and the interaction of the electromagnetic field, such as the interaction, coupling and the like of the electric field and the magnetic field, can be observed.
The foregoing is merely a preferred embodiment of the application, and it is to be understood that the application is not limited to the form disclosed herein but is not to be construed as excluding other embodiments, but is capable of numerous other combinations, modifications and environments and is capable of modifications within the scope of the inventive concept, either as taught or as a matter of routine skill or knowledge in the relevant art. And that modifications and variations which do not depart from the spirit and scope of the application are intended to be within the scope of the appended claims.
Claims (1)
1. A wire mesh flow field visualization method based on the electromagnetic field is characterized by comprising the following steps of: the visualization method comprises the following steps:
step one, generating a line model through a grid generation algorithm according to the geometric shape and boundary conditions of an electromagnetic field, and giving the continuation direction of a wire gridEach time the extension distance is +.>K times are prolonged altogether;
step two, splitting the line model, and reading the grid file to obtain a point listAnd line segment list->Read points list +.>Scalar field value distribution list of points on each coordinate +.>Traversing segment list->Splitting the mesh again to obtain two triangular mesh units +.>And->;
Step three, initializing and calculating new point list in turnNew value list->And data list->List of data +.>The triangle unit list is exported in a file format of triangle unit post-processing software;
step four, reloading the exported file into an electromagnetic field, and visually observing electromagnetic field distribution, behaviors and interaction; the traversing line segment list in the second stepSplitting the mesh again to obtain two triangular mesh units +.>Andcomprising the following steps:
traversing a list of line segmentsObtaining the j-th line segment->Extending the extension condition of the first step into K planar quadrilateral surface grid units +.>,/>The serial numbers of the four points are respectivelyN represents the number of points,sequence number indicating the start of the j-th line segment, +.>A sequence number indicating the endpoint of the j-th line segment;
grid cell of plane quadrilateral surfaceSplitting into two triangular grid cells again on average>Andobtaining triangle mesh units respectively>And->The three vertex numbers of (a) are +.>And;
calculating a new point list in the third stepComprising the following steps:
cycling p times from 0 to K-1,;
traversing a list of pointsObtain the i-th point->;
Respectively calculating the i-th point after extensionCoordinates in x, y and z axes are、/>Andm represents the number of line segments;
the new value list is calculated in the third stepComprising the following steps:
cycle from 0 to K-1The number of times of the process is p,;
traversing a list of pointsObtain the i-th point->;
Calculating new values at each point after extension as;
The calculation data list in the third stepComprising the following steps:
cycling p times from 0 to KN-1, KN representing a new point listThe number of points;
obtaining the coordinates of the ith point asThe value of the i-th point is obtained as +.>;
Calculation ofData per line>Respectively->、/>、And->。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310990925.4A CN116719982B (en) | 2023-08-08 | 2023-08-08 | Electromagnetic field-based wire mesh flow field visualization method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310990925.4A CN116719982B (en) | 2023-08-08 | 2023-08-08 | Electromagnetic field-based wire mesh flow field visualization method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116719982A CN116719982A (en) | 2023-09-08 |
CN116719982B true CN116719982B (en) | 2023-10-13 |
Family
ID=87868318
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310990925.4A Active CN116719982B (en) | 2023-08-08 | 2023-08-08 | Electromagnetic field-based wire mesh flow field visualization method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116719982B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107330935A (en) * | 2017-05-24 | 2017-11-07 | 中国科学院深圳先进技术研究院 | The extracting method and device of a kind of tubular target center line |
JP2018180707A (en) * | 2017-04-06 | 2018-11-15 | 富士通株式会社 | Streamline visualization apparatus, streamline visualization method, and streamline visualization program |
CN110057354A (en) * | 2019-03-11 | 2019-07-26 | 杭州电子科技大学 | One kind being based on the modified geomagnetic matching navigation method of magnetic declination |
KR102171600B1 (en) * | 2019-12-30 | 2020-10-29 | 한국과학기술정보연구원 | Flow analysis data processing device and computer trogram that performs each step of the device |
CN114692287A (en) * | 2020-12-29 | 2022-07-01 | 海鹰航空通用装备有限责任公司 | Wing type construction method and system for coupling solar cell cloth piece |
CN115034113A (en) * | 2022-06-24 | 2022-09-09 | 西安理工大学 | Fishway rest pool structure determination method and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2591718B (en) * | 2018-11-08 | 2022-08-31 | Immersive Visualization Inc | Interactive system and method providing real-time virtual reality visualization of simulation data |
-
2023
- 2023-08-08 CN CN202310990925.4A patent/CN116719982B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018180707A (en) * | 2017-04-06 | 2018-11-15 | 富士通株式会社 | Streamline visualization apparatus, streamline visualization method, and streamline visualization program |
CN107330935A (en) * | 2017-05-24 | 2017-11-07 | 中国科学院深圳先进技术研究院 | The extracting method and device of a kind of tubular target center line |
CN110057354A (en) * | 2019-03-11 | 2019-07-26 | 杭州电子科技大学 | One kind being based on the modified geomagnetic matching navigation method of magnetic declination |
KR102171600B1 (en) * | 2019-12-30 | 2020-10-29 | 한국과학기술정보연구원 | Flow analysis data processing device and computer trogram that performs each step of the device |
CN114692287A (en) * | 2020-12-29 | 2022-07-01 | 海鹰航空通用装备有限责任公司 | Wing type construction method and system for coupling solar cell cloth piece |
CN115034113A (en) * | 2022-06-24 | 2022-09-09 | 西安理工大学 | Fishway rest pool structure determination method and system |
Non-Patent Citations (4)
Title |
---|
李定 等.计算流体力学的可视化系统.水动力学研究与进展A辑.1993,(第03期),332-347. * |
梁振光 等.电磁场有限元结果的剖切显示.电机与控制学报.2004,(第03期),242-246、294. * |
王业明 等.AutoCAD环境下流场可视化方法实现的研究.工程图学学报.2004,(第02期),73-76. * |
许澍虹 等.复杂曲面延拓及其应用研究.工程设计.1997,(第04期),24-28. * |
Also Published As
Publication number | Publication date |
---|---|
CN116719982A (en) | 2023-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Bergou et al. | A quadratic bending model for inextensible surfaces | |
EP4120199A1 (en) | Image rendering method and apparatus, and electronic device and storage medium | |
CN103226804B (en) | A kind of flow field visualization method based on streamline center of gravity Voronoi figure | |
Ong et al. | Structure design and analysis with integrated AR-FEA | |
CN116719981B (en) | Fine line grid flow field visualization method based on electromagnetic field | |
US8346584B2 (en) | Method and apparatus for determining design modification effects on a computerized engineering model | |
Qin et al. | Steady-state heat conduction analysis of solids with small open-ended tubular holes by BFM | |
CN116719982B (en) | Electromagnetic field-based wire mesh flow field visualization method | |
CN112464040B (en) | Graph structure recognition, visual display and display operation method and device | |
CN113850917A (en) | Three-dimensional model voxelization method and device, electronic equipment and storage medium | |
Lin et al. | Affine arithmetic-based B-Spline surface intersection with gpu acceleration | |
JP2013061837A (en) | Flux line visual display system and device | |
Qin et al. | Integrated modeling, simulation, and visualization for nanomaterials | |
Shi et al. | A web-based interactive 3D visualization tool for building data | |
Batuhan Arisoy et al. | Free form surface skinning of 3d curve clouds for conceptual shape design | |
Cabiddu et al. | A Graphical Framework to Study the Correlation between Geometric Design and Simulation | |
JP5244632B2 (en) | Analysis result display device | |
Graf et al. | Adaptive quality meshing for" On-the-fly" volumetric mesh manipulations within virtual environments | |
Thomas et al. | Joint Contour Net analysis of lattice QCD data | |
Rahim et al. | Curve interpolation model for visualising disjointed neural elements☆ | |
Montoliu et al. | Application of the level set method for the visual representation of continuous cellular automata oriented to anisotropic wet etching | |
Sawada et al. | Streamline selection for comparative visualization of 3D fluid simulation result | |
Singh et al. | Accurate contour plotting using 6-node triangular elements in 2D | |
WO2022254726A1 (en) | Image analysis method, image analysis device, and computer program for implementing image analysis method | |
Hanna | Parametric tools in architecture: A comparative 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 |