CN113435144A - Far-field data interaction method from Siwave to CST - Google Patents
Far-field data interaction method from Siwave to CST Download PDFInfo
- Publication number
- CN113435144A CN113435144A CN202110727549.0A CN202110727549A CN113435144A CN 113435144 A CN113435144 A CN 113435144A CN 202110727549 A CN202110727549 A CN 202110727549A CN 113435144 A CN113435144 A CN 113435144A
- Authority
- CN
- China
- Prior art keywords
- far
- software
- cst
- siwave
- field data
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/30—Circuit design
- G06F30/31—Design entry, e.g. editors specifically adapted for circuit design
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Design And Manufacture Of Integrated Circuits (AREA)
Abstract
The invention discloses a far field data interaction method from Siwave to CST, and belongs to the technical field of electromagnetic simulation. The method comprises the steps of firstly, acquiring a far field data file corresponding to a simulation project in Siwave software; then converting the obtained far-field data file of the Siwave software into a far-field data file conforming to a CST software format; then, the far-field data file which conforms to the format of the CST software is imported into the simulation project of the CST software. The method is simple and practical, is easy to realize, and can lead the far field simulation result obtained by the Siwave software into the CST software, thereby completing the subsequent simulation work and providing great convenience for the electromagnetic simulation work.
Description
Technical Field
The invention relates to the technical field of electromagnetic simulation, in particular to a far-field data interaction method from Siwave to CST.
Background
Electromagnetic simulation plays an important role in the development of electronic devices. The Siwave software has wide application in the field of PCB circuit simulation, and meanwhile, the CST software is three-dimensional electromagnetic simulation software with wide application.
Since the Siwave and CST software were developed by two different companies, there was no common interface file between the two software. However, in the practical application process of developers, the far-field simulation result obtained by the Siwave software needs to be imported into the CST software to complete the subsequent simulation work.
The existing software interface can not be used for importing the Siwave far-field simulation result into CST software. Meanwhile, manual operation is time-consuming, labor-consuming and low in efficiency in the process of leading in and leading out every time.
Disclosure of Invention
In view of this, the invention provides a far-field data interaction method from the Siwave to the CST, which can introduce the Siwave far-field simulation result into the CST software and has the characteristics of rapidness and convenience.
In order to achieve the purpose, the invention adopts the technical scheme that:
a far-field data interaction method from Siwave to CST, comprising the steps of:
acquiring a far field data file corresponding to a simulation project in Siwave software;
converting the obtained far-field data file of the Siwave software into a far-field data file conforming to a CST software format;
and importing the far-field data file which conforms to the format of the CST software into the simulation engineering of the CST software.
Furthermore, the file name suffix of the far-field data file of the Siwave software is ffd, and the file name suffix of the far-field data file conforming to the CST software format is ffs;
further, the obtaining of the far field data file corresponding to the simulation project in the Siwave software includes:
calling a component object model of the Siwave software by using a programming language;
and opening a simulation engineering file of the Siwave software based on the component object model, and exporting a far-field data file.
Further, the converting the obtained far-field data file of the Siwave software into the far-field data file conforming to the CST software format includes:
opening a far-field data file of the Siwave software by using a programming language to obtain Siwave far-field simulation data;
reading frequency information from Siwave far-field simulation data, and writing the frequency information into a far-field data file of CST;
reading coordinate information from the Siwave far-field simulation data and writing the coordinate information into a far-field data file of CST; the coordinate information is represented by a set of spherical coordinates (phi, theta), phi represents the included angle between the projection of the coordinate point on the XOY plane and the X axis, and theta represents the included angle between the coordinate point and the Z axis;
reading data information corresponding to each coordinate point under each frequency from the Siwave far-field simulation data, and writing the data information into a far-field data file of CST; wherein, the data information consists of real parts and imaginary parts of components of the electric field along phi and theta directions;
further, the importing the far-field data file conforming to the format of the CST software into the simulation engineering of the CST software includes:
calling a component object model of CST software by using a programming language;
opening an engineering file of CST software needing to import a far-field data file based on the component object model;
and importing the engineering file of the CST software into the simulation engineering of the CST software based on the component object model.
Further, the programming language is Python, C + + or Java.
The invention has the beneficial effects that:
1. the invention can lead the far-field simulation result obtained by the Siwave software into the CST software, thereby completing the subsequent simulation work and providing great convenience for the electromagnetic simulation work.
2. The method is simple and easy to realize.
Drawings
FIG. 1 is a flow chart of an embodiment of the present invention.
Detailed Description
In order to make the technical scheme and advantages of the invention clearer, the invention is further described in detail with reference to the accompanying drawings. It should be understood that the description is intended to be exemplary only, and is not intended to limit the scope of the present invention.
As shown in fig. 1, a far-field data interaction method from Siwave to CST includes the following steps:
acquiring a far field data file corresponding to a simulation project in Siwave software;
converting the obtained far-field data file of the Siwave software into a far-field data file conforming to a CST software format;
and importing the far-field data file which conforms to the format of the CST software into the simulation engineering of the CST software.
Furthermore, the suffix of the file name of the far-field data file of the Siwave software is ffd, and the suffix of the file name of the far-field data file of the CST software is ffs;
further, the obtaining of the far field data file corresponding to the simulation project in the Siwave software includes:
calling a component object model of the Siwave software by using a programming language;
and opening a simulation engineering file of the Siwave software based on the component object model, and exporting a far-field data file.
Further, the method for converting the acquired far-field data file of the Siwave software into the far-field data file conforming to the CST software format comprises the following steps:
opening a far-field data file of the Siwave software by using a programming language to obtain Siwave far-field simulation data;
reading frequency information from Siwave far-field simulation data, and writing the frequency information into a far-field data file of CST;
coordinate information is read from the Siwave far-field simulation data and written into the far-field data file of CST. The coordinate information is represented by a set of spherical coordinates (phi, theta), phi represents the included angle between the projection of the coordinate point on the XOY plane and the X axis, and theta represents the included angle between the coordinate point and the Z axis;
and reading data information corresponding to each coordinate point at each frequency from the Siwave far-field simulation data, and writing the data information into a far-field data file of the CST. Wherein, the data information consists of real parts and imaginary parts of components of the electric field along phi and theta directions;
further, the importing the far-field data file conforming to the format of the CST software into the simulation engineering of the CST software includes:
calling a component object model of CST software by using a programming language;
opening an engineering file of CST software needing to import a far-field data file based on the component object model;
and importing the engineering file of the CST software into the simulation engineering of the CST software based on the component object model.
The programming language for realizing the method can be Python, C + + or Java.
The following is a more specific example, which includes the steps of:
and step S1, acquiring a far field data file corresponding to the simulation project of the Siwave software.
In the specific implementation, in step S1, a component object model of the Siwave software is called by using Python; opening a project file of Siwave software of a far-field simulation result based on the component object model; and reading a far-field simulation data file of the simulation result based on the component object model.
In a specific implementation, the file name suffix of the far field data file of the Siwave software in step S1 is ffd.
And step S2, converting the obtained Siwave software far-field data file into a far-field data file conforming to the CST software format.
In the specific implementation, in step S2, a far-field simulation data file of the simulation result is opened and read by using Python; reading frequency information from Siwave far-field simulation data, and writing the frequency information into a far-field data file of CST; coordinate information is read from the Siwave far-field simulation data and written into the far-field data file of CST. The coordinate information is represented by a set of spherical coordinates (phi, theta), phi represents the included angle between the projection of the coordinate point on the XOY plane and the X axis, and theta represents the included angle between the coordinate point and the Z axis; and reading data information corresponding to each coordinate point at each frequency from the Siwave far-field simulation data, and writing the data information into a far-field data file of the CST. Wherein, the data information consists of the imaginary parts of the real parts of the components of the electric field along phi and theta directions;
step S3, importing the far-field data file conforming to the CST format into a simulation project of the CST software.
In the specific implementation, in step S3, the Python is used to call the component object model of the CST software; opening a project file of CST software needing to import far-field simulation data based on the component object model; and importing the generated far-field data file which conforms to the CST format requirement based on the component object model.
In a specific implementation, the file name suffix of the far-field data file of the CST software in step S3 is ffs.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto. Any person skilled in the art should also be able to substitute or change the technical solution and the inventive concept of the present invention within the technical scope of the present disclosure.
Claims (6)
1. A far-field data interaction method from Siwave to CST, comprising the steps of:
acquiring a far field data file corresponding to a simulation project in Siwave software;
converting the obtained far-field data file of the Siwave software into a far-field data file conforming to a CST software format;
and importing the far-field data file which conforms to the format of the CST software into the simulation engineering of the CST software.
2. The far-field data interaction method from Siwave to CST as claimed in claim 1, wherein the file name suffix of the far-field data file of the Siwave software is ffd, and the file name suffix of the far-field data file conforming to the CST software format is ffs.
3. The method of claim 1, wherein the obtaining of the far-field data file corresponding to the simulation project in the Siwave software comprises:
calling a component object model of the Siwave software by using a programming language;
and opening a simulation engineering file of the Siwave software based on the component object model, and exporting a far-field data file.
4. The far-field data interaction method from Siwave to CST according to claim 1, wherein the converting the obtained far-field data file of the Siwave software into a far-field data file conforming to the CST software format comprises:
opening a far-field data file of the Siwave software by using a programming language to obtain Siwave far-field simulation data;
reading frequency information from Siwave far-field simulation data, and writing the frequency information into a far-field data file of CST;
reading coordinate information from the Siwave far-field simulation data and writing the coordinate information into a far-field data file of CST; the coordinate information is represented by a set of spherical coordinates (phi, theta), phi represents the included angle between the projection of the coordinate point on the XOY plane and the X axis, and theta represents the included angle between the coordinate point and the Z axis;
reading data information corresponding to each coordinate point under each frequency from the Siwave far-field simulation data, and writing the data information into a far-field data file of CST; wherein the data information consists of real and imaginary components of the electric field in phi and theta directions.
5. The method as claimed in claim 1, wherein the importing the far field data file conforming to the CST software format into the simulation project of the CST software comprises:
calling a component object model of CST software by using a programming language;
opening an engineering file of CST software needing to import a far-field data file based on the component object model;
and importing the engineering file of the CST software into the simulation engineering of the CST software based on the component object model.
6. A far-field data interaction method from Siwave to CST according to any of claims 3, 4 and 5, wherein the programming language is Python, C + + or Java.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110727549.0A CN113435144B (en) | 2021-06-29 | 2021-06-29 | Far-field data interaction method from Siwave to CST |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110727549.0A CN113435144B (en) | 2021-06-29 | 2021-06-29 | Far-field data interaction method from Siwave to CST |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113435144A true CN113435144A (en) | 2021-09-24 |
CN113435144B CN113435144B (en) | 2022-08-02 |
Family
ID=77757603
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110727549.0A Active CN113435144B (en) | 2021-06-29 | 2021-06-29 | Far-field data interaction method from Siwave to CST |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113435144B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103034747A (en) * | 2011-10-08 | 2013-04-10 | 深圳光启高等理工研究院 | Method and system for processing large-scale CST (computer simulation technology) simulation tasks |
CN106446377A (en) * | 2016-09-14 | 2017-02-22 | 华中科技大学 | Method and system for calculating pilot frequency multi-antenna electromagnetic field distribution |
CN107809276A (en) * | 2017-10-10 | 2018-03-16 | 中国电子科技集团公司第五十四研究所 | Minimize inexpensive satellite data transmission equipment |
CN110110393A (en) * | 2019-04-18 | 2019-08-09 | 深圳市兴森快捷电路科技股份有限公司 | A kind of system emulation selection method and system |
-
2021
- 2021-06-29 CN CN202110727549.0A patent/CN113435144B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103034747A (en) * | 2011-10-08 | 2013-04-10 | 深圳光启高等理工研究院 | Method and system for processing large-scale CST (computer simulation technology) simulation tasks |
CN106446377A (en) * | 2016-09-14 | 2017-02-22 | 华中科技大学 | Method and system for calculating pilot frequency multi-antenna electromagnetic field distribution |
CN107809276A (en) * | 2017-10-10 | 2018-03-16 | 中国电子科技集团公司第五十四研究所 | Minimize inexpensive satellite data transmission equipment |
CN110110393A (en) * | 2019-04-18 | 2019-08-09 | 深圳市兴森快捷电路科技股份有限公司 | A kind of system emulation selection method and system |
Non-Patent Citations (4)
Title |
---|
刘兵: "电磁仿真软件CST和HFSS模型接口软件的设计", 《中国优秀博硕士学位论文全文数据库(硕士) 信息科技辑》 * |
周水杉: "大功率介质腔滤波器设计", 《电子元件与材料》 * |
谢拥军 等: "《Ansoft HFSS基础及应用》", 31 August 2007, 西安电子科技大学出版社 * |
金谋平 等: "电磁计算在雷达设计中的应用及需求分析", 《电波科学学报》 * |
Also Published As
Publication number | Publication date |
---|---|
CN113435144B (en) | 2022-08-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109729149A (en) | A kind of micro services framework implementation method based on note | |
CN105447246B (en) | The method and system of one key generation electrical schematic diagram | |
CN112181854A (en) | Method, device, equipment and storage medium for generating flow automation script | |
CN103677821A (en) | Method and device for publishing software development tool code | |
CN113435144B (en) | Far-field data interaction method from Siwave to CST | |
CN109840201B (en) | UI test method, device, electronic equipment and computer readable storage medium | |
Huebner et al. | Rifidi toolkit: Virtuality for testing rfid systems | |
CN113435143B (en) | Near-field data interaction method from Siwave to CST | |
CN109582318B (en) | Processing method and device for Portobuf localization, terminal and storage medium | |
CN116595078A (en) | Method for importing far-field data of HFSS software into CST/FEKO software | |
CN109828755B (en) | Electric power graph display method | |
CN104461905A (en) | Method and system for debugging intelligent card virtual machine, API bank and upper layer application at same time | |
CN103369834B (en) | The target parameters processing method made for PCB and device | |
CN112380031A (en) | Method and device for pushing messages in real time in cross-application mode and computing equipment | |
CN112000786A (en) | Dialogue robot problem processing method, device and equipment combining RPA and AI | |
CN111614604B (en) | Code file generation method and device | |
CN116700724B (en) | Interchange plane interactive graphic design system based on mode method | |
CN113204494B (en) | Terminal remote test platform and method, electronic equipment and readable medium | |
CN112882715B (en) | Measurement and control device definition method, computer and definable measurement and control device | |
CN113592105B (en) | Drawing method and device of electrical system diagram | |
CN113305383A (en) | Method and device for analyzing wire cut electrical discharge machining (EDFA) graph based on DXF graph file | |
CN113885934A (en) | Method for realizing compatibility of EDA (electronic design automation) software with third-party PCell unit library | |
CN207884984U (en) | Paving copper device for pcb board | |
CN116821226A (en) | ETL-based welding line virtual process environment construction method, equipment and storage medium | |
CN116186808A (en) | Modeling method and device for components, storage medium and computer 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 |