JPH03271871A - Segment data processing system - Google Patents

Segment data processing system

Info

Publication number
JPH03271871A
JPH03271871A JP2071302A JP7130290A JPH03271871A JP H03271871 A JPH03271871 A JP H03271871A JP 2071302 A JP2071302 A JP 2071302A JP 7130290 A JP7130290 A JP 7130290A JP H03271871 A JPH03271871 A JP H03271871A
Authority
JP
Japan
Prior art keywords
line segment
data
information table
coordinate grid
processing
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.)
Pending
Application number
JP2071302A
Other languages
Japanese (ja)
Inventor
Yasushi Uraki
靖司 浦木
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2071302A priority Critical patent/JPH03271871A/en
Publication of JPH03271871A publication Critical patent/JPH03271871A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the processing time by storing each information of coordinate lattice lines on the same line in a segment information table and performing the segment coupling processing. CONSTITUTION:A data size setting means 24 recognizes an analysis area division number (m) in the X direction, and a processing frequency setting means 25 recognizes an analysis area division number (n) in the Y direction. A data read means 21 reads out data of a first segment based on the instruction of the data size setting means 24, and data of coordinate lattice lines in the X direction is stored in the first position of an analysis result data file 4, and data of first m-number of lines is read out and is stored in a segment information table 22. A segment coupling means 23 performs the segment coupling processing of coordinate lattice lines, and a data output means 27 outputs contents of the segment information table 22 to a CAD data base 5 when there are no segments to be coupled, and a processing frequency counting means 26 counts the frequency in processing. Thus, the processing speed is increased.

Description

【発明の詳細な説明】 〔概要〕 解析シミュレーションに用いられた図形の線分データを
CADのデータベースのフォーマットに変換する線分デ
ータの処理方式に関し、解析シミュレータより送出され
る線分データをCADデータベースに格納する処理の高
速化を目的とし、 CADシステムは解析結果データファイルを読み出す手
段と、前記解析結果データファイルが読み出すデータの
うち座標格子線の情報を含む線分情報が格納される線分
情報テーブルと、分割数情報を認識して前記データ読み
出し手段が一度に前記線分情報テーブルに格納する前記
座標格子線の本数を一方向の分割数と等しい本数に設定
する手段と、前記分割数情報により前記線分情報チーフ
ルに線分情報を格納する回数を前記一方向と交差する方
向の分割数に設定する手段と、前記線分情報を格納する
回数を計数して前記設定回数と比較する手段と、同一方
向の前記線分情報テーブル内の任意の線分と端点が共通
である線分を検索して発見した時に該2つの線分を結合
する手段と、前記線分結合手段により端点を共有する線
分の結合が終了したとき前記線分情報テーブルの内容を
CADデータベースに格納する手段とを有し、前記デー
タファイルより前記座標格子線を読み出して前記線分情
報テーブルに格納する処理と、該線分情報テーブル上の
同一線上をなす座標格子線の結合を行う処理と、該結合
処理が終了した後で該線分情報テーブルの内容をCAD
データベースに格納する処理とを前記処理回数設定手段
により設定された回数に達するまで繰り返して実行する
ようにした。
[Detailed Description of the Invention] [Summary] Regarding a line segment data processing method that converts line segment data of a figure used for analysis simulation into a CAD database format, line segment data sent from an analysis simulator is converted into a CAD database format. The CAD system has a means for reading out an analysis result data file, and line segment information in which line segment information including coordinate grid line information is stored among the data read by the analysis result data file. a table; means for recognizing division number information and setting the number of coordinate grid lines that the data reading means stores in the line segment information table at one time to a number equal to the number of divisions in one direction; and the division number information. means for setting the number of times the line segment information is stored in the line segment information tiple to the number of divisions in a direction intersecting the one direction, and means for counting the number of times the line segment information is stored and comparing it with the set number of times. and a means for combining the two line segments when a line segment having a common end point with an arbitrary line segment in the line segment information table in the same direction is found; means for storing the contents of the line segment information table in a CAD database when the combination of shared line segments is completed; and processing for reading the coordinate grid lines from the data file and storing them in the line segment information table. , a process of combining coordinate grid lines that are on the same line on the line segment information table, and a process of CADing the contents of the line segment information table after the combining process is completed.
The process of storing in the database is repeatedly executed until the number of times set by the process count setting means is reached.

(産業上の利用分野〕 本発明は解析シミュレーションに用いられた図形の線分
データをCADのデータベースのフォーマットに変換す
る線分データの処理方式に関する。
(Industrial Application Field) The present invention relates to a line segment data processing method for converting graphic line segment data used in analysis simulation into a CAD database format.

近年、構造設計等の分野では作業の効率化を図るため、
CAE (狭義の意味では、解析によるシミル−ジョン
)が積極的に取り入れられつつある。そして、種々の解
析を行って得られた解析結果は一つのデータベースに統
一して管理することが望ましい。
In recent years, in order to improve work efficiency in fields such as structural design,
CAE (in a narrow sense, simulation by analysis) is being actively adopted. It is desirable that the analysis results obtained from various analyzes be unified and managed in one database.

このため解析結果のデータのうち図形データをCADの
データベースのデータ形式に変換処理を行って該データ
ベースに格納しているが、処理データ量の増大に伴いこ
の変換処理の高速化が望まれている。
For this reason, the graphical data of the analysis result data is converted into a CAD database data format and stored in the database, but as the amount of processed data increases, it is desired to speed up this conversion process. .

〔従来の技術〕[Conventional technology]

構造設計の熱流体解析等では精度の高い結果を得るため
、差分法等の手法による解析プログラムを用いた解析が
行われることが多い。
In order to obtain highly accurate results in thermal fluid analysis for structural design, analysis is often performed using an analysis program using methods such as the finite difference method.

この差分法による解析プログラムでは、対象とする解析
領域に複数の座標格子点とそれら座標格子点を結ぶ座標
格子線の作成がなされる。この座標格子線によって分v
1される格子領域数は解析対象により最適な数がオペレ
ータにより任意に設定される。
In this analysis program using the difference method, a plurality of coordinate grid points and coordinate grid lines connecting the coordinate grid points are created in the target analysis area. This coordinate grid line divides v
The number of grid regions to be 1 is arbitrarily set by the operator to an optimal number depending on the object of analysis.

そして解析を行った実行結果のうち図形データを管理す
るため、CADのデータベース上に該図形データが投入
されることが多い。この解析シミュレータおよびCAD
データベースにより構成されるシステムの構成例を第4
図に示す。
In order to manage the graphic data among the analysis execution results, the graphic data is often input into a CAD database. This analysis simulator and CAD
An example of the configuration of a system composed of a database is shown in the fourth example.
As shown in the figure.

図中、1は解析シミュレータであり、2ばCADシステ
ムである。3は解析対象のデータファイルであり、4は
解析結果のデータファイルであり、5はCADデータベ
ースである。
In the figure, 1 is an analysis simulator, and 2 is a CAD system. 3 is a data file to be analyzed, 4 is a data file of analysis results, and 5 is a CAD database.

CADシステム2は解析結果データファイルよりデータ
を読み出すデータ読み出し手段21と、読み出されたデ
ータのうち座標格子線の情報を格納する線分情報テーブ
ル22と、線分情報チーフル22に格納された線分のう
ち同一線上をなす2つの線分を結合する線分結合手段2
3と、線分情報テーブル22の内容を出力するデータ出
力手段27を含み構成される。
The CAD system 2 includes a data reading means 21 that reads data from an analysis result data file, a line segment information table 22 that stores information on coordinate grid lines among the read data, and a line segment information table 22 that stores information on coordinate grid lines among the read data. Line segment joining means 2 for joining two line segments that are on the same line within minutes
3, and data output means 27 for outputting the contents of the line segment information table 22.

解析シミュレータ1は解析対象のデータファイル3より
データを読み出してシミュレーションを行う。解析シミ
ュレータ1より出力される解析結果データのファイル3
のうち格子領域の一辺をなす座標格子線の情報(端点を
なす座標格子点)をCADシステム2のデータ読み出し
手段21が読み出し、この2つの座標格子点を線分の始
点と終点として線分情報テーブル22に格納する。
The analysis simulator 1 reads data from the data file 3 to be analyzed and performs a simulation. File 3 of analysis result data output from analysis simulator 1
The data reading means 21 of the CAD system 2 reads information on the coordinate grid lines forming one side of the grid area (coordinate grid points forming the end points), and generates line segment information using these two coordinate grid points as the starting point and ending point of the line segment. Stored in table 22.

しかし格子領域の全ての辺をそのまま線分情報とすれば
CADデータベース5に格納するデータ量が草大なもの
となってしまう。このため線分結合手段23によって線
分情報テーブル22に格納された線分情報の結合を行う
However, if all sides of the lattice area are treated as line segment information, the amount of data stored in the CAD database 5 will become enormous. Therefore, the line segment information stored in the line segment information table 22 is combined by the line segment combining means 23.

この線分結合処理について第5図を用いて詳細に説明す
る。
This line segment joining process will be explained in detail using FIG. 5.

上記のようにデータ読み取り手段21は解析結果データ
ファイルより全ての座標格子線データを読みだして線分
情報テーブルに格納する(処理1)。
As described above, the data reading means 21 reads out all coordinate grid line data from the analysis result data file and stores it in the line segment information table (processing 1).

線分結合手段23は線分情報テーブル22内の先頭のレ
コードに格納された線分を抽出して、端点が同一である
線分を検索する(処理2)端点を共有する第2の線分を
発見したときには、第1の線分の線分データのうち第2
の線分の共有点の座標値を削除して、第2の線分の共有
点でない端点の座標値で更新する(処理3)。第4図の
例でいえば第1の線分(始点は座標(XAI、 YBl
)、終点は座標(XCI、YDI))と端点を共有する
第2の線分(始点は座標(XA2. YB2)、終点は
(XC2,YB2)’)を発見して、第1の線分のレコ
ードより終点の座標(XCI。
The line segment combining means 23 extracts the line segment stored in the first record in the line segment information table 22, and searches for a line segment with the same end point (process 2). A second line segment that shares the end point is extracted. When the second line segment data of the first line segment is discovered,
The coordinate values of the common point of the second line segment are deleted and updated with the coordinate values of the end points that are not the common point of the second line segment (processing 3). In the example of Figure 4, the first line segment (starting point is at the coordinates (XAI, YBL)
), the end point is the coordinate (XCI, YDI))) and the second line segment (the start point is the coordinate (XA2. YB2), the end point is (XC2, YB2)') is found, and the end point is the coordinate (XCI, YDI)). From the record of the end point coordinates (XCI.

YDI)(座標(XA2.YB2)と同一)を削除して
、第2の線分の終点である座標(XC2゜YB2)に更
新する。
YDI) (same as coordinates (XA2.YB2)) and updated to coordinates (XC2°YB2), which is the end point of the second line segment.

そして第2の線分のデータは線分情報テーブル22より
削除される。(処理4) 上記の処理1〜4を繰りかえして、共有点を有する線分
の結合処理を実行し、図形処理1にて共有点を有する線
分が発見されない場合にはデータ出力手段27により線
分情報テーブル22の内容をCADデータベース5に書
きだす(処理5)。
The data of the second line segment is then deleted from the line segment information table 22. (Process 4) The above processes 1 to 4 are repeated to execute the process of joining line segments having a common point, and if a line segment having a common point is not found in the graphic process 1, the data output means 27 The contents of the minute information table 22 are written to the CAD database 5 (processing 5).

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかし上記のように従来の線分結合処理においては、解
析結果データファイル4より読み出した全ての座標格子
線情報を線分情報テーブル22に格納して、格納された
全ての線分情報について総当たりで結合できる線分の検
索処理(上記処理2)を行っていた。このため線分の結
合処理を実行してCADデータベースに図形データを投
入するまでに非常に時間がかかってしまっていた。
However, as mentioned above, in the conventional line segment combination processing, all the coordinate grid line information read from the analysis result data file 4 is stored in the line segment information table 22, and all the stored line segment information is brute-forced. The search process (process 2 above) for line segments that can be connected is performed. For this reason, it takes a very long time to execute line segment joining processing and input graphic data into a CAD database.

本発明は解析シミュレータより送出される線分データの
CA Dデータベースに格納する際に実行する線分結合
処理の高速化を目的とする。
The object of the present invention is to speed up the line segment joining process executed when storing line segment data sent from an analysis simulator in a CAD database.

〔課題を解決する手段〕[Means to solve problems]

上記の課題を解決するため、本発明の図形データ処理方
式は、 物理現象の解析シミュレーションを行うために対象とす
る解析領域に複数の座標格子点とそれらの座標格子点を
結ぶ座標格子線を作成して、該座標格子線により前記解
析領域を複数の小領域に分割を行って前記解析シミュレ
ーションを実行し、各分割方向ごとの解析領域の分割数
の情報と前記座標格子線を同一の方向でかつ同一線上に
ある線分ごとに揃えた座標格子線情報とを解析結果デー
タファイルに含めて出力する解析シミュレータより、前
記解析結果データの出力のフォーマットを変換してCA
Dデータベースに格納するCADシステムにおいて、 前記CADシステムは前記解析結果データファイルを読
み出す手段と、前記解析結果データファイルが読み出す
データのうち前記座標格子線の情報を含む線分情報゛が
格納される線分情報テーブルと、前記分割数情報を認識
して前記データ読み出し手段が一度に前記線分情報テー
ブルに格納する前記座標格子線の本数を一方向の分割数
と等しい本数に設定する手段と、前記分割数情報により
前配線分情報テーブルに線分情報を格納する回数を前記
一方向と交差する方向の分割数に設定する手段と、前記
線分情報を格納する回数を計数して前記設定回数と比較
する手段と、同一方向の前記線分情報テーブル内の任意
の線分と端点が共通である線分を検索して発見した時に
該2つの線分を結合する手段と、前記線分結合手段によ
り端点を共有する線分の結合が終了したとき前記線分情
報テーブルの内容をCADデータベースに格納する手段
とを有し、 前記データファイルより前記座標格子線を読み出して前
記線分情報テーブルに格納する処理と、該線分情報テー
ブル上の同一線上をなす座標格子線の結合を行う処理と
、該結合処理が終了した後で該線分情報テーブルの内容
をCADデータベースに格納する処理とを前記処理回数
設定手段により設定された回数に達するまで繰り返して
実行するようにしたものである。
In order to solve the above problems, the graphic data processing method of the present invention creates a plurality of coordinate grid points and coordinate grid lines connecting those coordinate grid points in the target analysis area in order to perform an analytical simulation of a physical phenomenon. Then, the analysis region is divided into a plurality of small regions using the coordinate grid lines, and the analysis simulation is executed, and the information on the number of divisions of the analysis region for each division direction and the coordinate grid lines are set in the same direction. And from an analysis simulator that outputs coordinate grid line information aligned for each line segment on the same line in an analysis result data file, the output format of the analysis result data is converted and CA
In a CAD system stored in a D database, the CAD system includes means for reading out the analysis result data file, and a line in which line segment information including information on the coordinate grid lines is stored among the data read by the analysis result data file. means for recognizing the segment information table and the division number information and setting the number of the coordinate grid lines that the data reading means stores in the segment information table at one time to a number equal to the number of divisions in one direction; means for setting the number of times that line segment information is stored in the previous line segment information table to the number of divisions in a direction intersecting the one direction based on the number of division information; means for comparing, means for searching for and finding a line segment having a common end point with any line segment in the line segment information table in the same direction, and combining the two line segments; and the line segment combining means. means for storing the contents of the line segment information table in a CAD database when the connection of line segments sharing end points is completed, and reading the coordinate grid lines from the data file and storing them in the line segment information table. the process of combining the coordinate grid lines on the same line on the line segment information table; and the process of storing the contents of the line segment information table in the CAD database after the combining process is completed. The processing is repeated until the number of times set by the processing number setting means is reached.

〔作用〕[Effect]

解析シミュレータから出力される座標格子線は同一線上
ごとに解析結果ファイルに出力されるため、CADシス
テムは領域の分割数(例えば直交格子が用いられた場合
にはX方向とY方向をそれぞれ幾つに分割したか)を認
識することにより、同一方向の分割数によって線分情報
テーブルに格納する座標格子線の本数を設定すれば、線
分結合処理の際に全ての線分を総当たりに検索して線分
結合処理を実行するのに比べて処理速度が高速化される
Since the coordinate grid lines output from the analysis simulator are output to the analysis result file on the same line, the CAD system calculates the number of divisions of the area (for example, if an orthogonal grid is used, how many in the X direction and how many in the Y direction are If you set the number of coordinate grid lines to be stored in the line segment information table based on the number of divisions in the same direction, all line segments can be searched brute force during line segment merging processing. The processing speed is faster than when line segment joining processing is performed using

また線分情報テーブルに格納して座標格子線の結合処理
を行い、結合結果の線分情報をCADシステムに格納す
る一連の処理の回数は、上記の同一方向と交差する方向
の分割数に設定すれば、前記同一方向の線分については
全て結合処理が可能となる。
In addition, the number of times of a series of processes in which the coordinate grid lines are combined by storing them in the line segment information table and the line segment information resulting from the combination is stored in the CAD system is set to the number of divisions in the direction that intersects the same direction as described above. Then, all the line segments in the same direction can be combined.

〔実施例〕〔Example〕

第1図ないし第3図を参照して本発明の一実施例を説明
する。
An embodiment of the present invention will be described with reference to FIGS. 1 to 3.

第1図は本発明の一実施例のシステム構成を示す図であ
り、第2図は差分性解析のシミュレーションにおける図
形表示を示す図であり、第3図は第1図のシステムにお
ける図形処理の流れを説明する図である。
FIG. 1 is a diagram showing the system configuration of an embodiment of the present invention, FIG. 2 is a diagram showing graphic display in a simulation of differential analysis, and FIG. 3 is a diagram showing graphic processing in the system of FIG. It is a figure explaining a flow.

第1図を用いて本発明の一実施例のシステム構成を説明
すると、1は解析シミュレータであり、3の解析対象デ
ータを差分法による物理現象の解析シミュレーションを
実行して解析結果データ4を出力するものである。2は
CADシステムであり、解析結果データ4より図形デー
タを読み出してCADデータのフォーマットに変換し、
CADデータベース5に格納するものである。
The system configuration of an embodiment of the present invention will be explained using FIG. 1. 1 is an analysis simulator, which executes an analysis simulation of a physical phenomenon using the difference method on the data to be analyzed in 3 and outputs analysis result data 4. It is something to do. 2 is a CAD system that reads graphic data from the analysis result data 4 and converts it into a CAD data format;
This is stored in the CAD database 5.

そして2のCADシステムは、従来と同様に解析結果デ
ータファイル4の読み出しを行うデータ読み出し手段2
1と、端点の座標値を線分情報として格納する線分情報
テーブル22と、線分情報テープ°ル22上の線分の結
合処理を行う線分結合手段23と、線分情報テーブル2
2の内容をCADデータベース5に出力するデータ出力
手段27とを有する他、新たに解析結果データのうち解
析領域の分割数の情報より一度に線分情報テーブル22
に格納する座標格子線の本数を設定するデータサイズ決
定手段24と、解析領域の分割数の情報より線分情報テ
ーブル22に書き込んだデータの結合処理を行いCAD
データベース5に格納するまでの一連の線分結合処理の
回数を設定する処理回数設定手段25と、上記の一連の
線分結合処理の回数を計数して前記の設定回数と比較す
る26の処理回数計数手段とが付加されている。なお実
際のハードウェア構成としては線分結合処理手段23、
データサイズ決定手段24、処理回数設定手段25、処
理回数計数手段26は等価の機能を有するソフトウェア
で動作するCPUにより実現され、21のデータ読み出
し手段と27のデータ出力手段は入出力装置にあたり、
22の線分情報テーブルはメモリ上に展開されるもので
ある。
The CAD system 2 has a data reading means 2 that reads the analysis result data file 4 in the same manner as before.
1, a line segment information table 22 that stores coordinate values of end points as line segment information, a line segment combining means 23 that performs a process of combining line segments on the line segment information table 22, and a line segment information table 2.
In addition to the data output means 27 for outputting the contents of 2 to the CAD database 5, the line segment information table 22 is newly added to the line segment information table 22 from the information on the number of divisions of the analysis area in the analysis result data.
The data size determining means 24 sets the number of coordinate grid lines to be stored in the CAD, and the data written in the line segment information table 22 is processed based on the information on the number of divisions of the analysis area.
a processing number setting means 25 for setting the number of times of a series of line segment joining processes until storage in the database 5; and a processing number 26 for counting the number of times of the above series of line segment joining processes and comparing it with the set number of times. A counting means is added. Note that the actual hardware configuration includes line segment combination processing means 23,
The data size determining means 24, the number of processing times setting means 25, and the number of processing times counting means 26 are realized by a CPU running on software having equivalent functions, and the data reading means 21 and the data outputting means 27 correspond to input/output devices.
The line segment information table No. 22 is developed on the memory.

次に第2図を用いて本実施例の解析シミュレータ2が実
行する差分性解析の説明をする。
Next, the differential analysis executed by the analysis simulator 2 of this embodiment will be explained using FIG.

差分性解析は解析対象の領域を直交した線分で多数の小
領域に分割し、各小領域の状態を収集する解析手法であ
る。
Differential analysis is an analysis method that divides the region to be analyzed into many small regions using orthogonal line segments and collects the state of each small region.

第2図(a)は障害物に対する風の流れの影響を解析す
る場合の例であるが、これを第2図(b)に示すように
直交した座標格子線により解析領域をX方向にm個、X
方向にn個分割する。これは解析シミュレータ1が有す
る対象領域を分割する手段によって座標格子点および座
標格子線が作成される。
Figure 2 (a) is an example of analyzing the influence of wind flow on obstacles, and as shown in Figure 2 (b), the analysis area is defined by orthogonal coordinate grid lines in m in the X direction. pieces, X
Divide into n pieces in the direction. The coordinate grid points and coordinate grid lines are created by means of the analysis simulator 1 that divides the target area.

直交格子によって分割された図形データは、分割した小
領域の頂点をなす座標格子点(4点)を持っている。こ
の4点の座標格子点より4本の座標格子線が求まること
になる。即ち全ての分割した小領域の座標格子点からは
mXnX4本の線分データが生成される。
The graphic data divided by the orthogonal grid has coordinate grid points (four points) that form the vertices of the divided small areas. Four coordinate grid lines are found from these four coordinate grid points. That is, mXnX four line segment data are generated from the coordinate grid points of all the divided small areas.

この線分データは第3図に示すように解析シミュレータ
によって下記の処理がなされる。
This line segment data is subjected to the following processing by an analysis simulator as shown in FIG.

■ それぞれの線分データより、両端の端点の座標を調
べてX軸方向に平行である線分データとY軸方向に平行
である線分データに分類する。
(2) Check the coordinates of the endpoints at both ends of each line segment data and classify it into line segment data parallel to the X-axis direction and line segment data parallel to the Y-axis direction.

■ 同一線上の線分に分類する。これはX軸方向の線分
であれば端点のY座標を、Y軸方向の線分であれば端点
のX軸方向を調べることにより分類される。また分類さ
れた線分を各線上での小さい座標値順にソーティングす
る。
■ Classify into line segments on the same line. This is classified by checking the Y coordinate of the end point if it is a line segment in the X-axis direction, and by checking the X-axis direction of the end point if it is a line segment in the Y-axis direction. Furthermore, the classified line segments are sorted in order of the smallest coordinate value on each line.

■ 隣接した小領域の境界をなす線分は重複が生じてい
るため、これを削除し、−本の線分データとする。
■ Since the line segments forming the boundaries of adjacent small areas overlap, they are deleted and set as - line segment data.

以上の処理により、座標格子線のデータは同一線上のデ
ータとなって解析結果データファイル4に格納される。
Through the above processing, data on the coordinate grid lines becomes data on the same line and is stored in the analysis result data file 4.

また、小領域の分割単位(mXn)の情報も解析結果デ
ータファイル4に格納される。
Information on the division unit (mXn) of the small area is also stored in the analysis result data file 4.

CADシステム2はこの解析結果データファイル4より
座標格子線データを読み出して、座標格子点ごとに分割
されている座標格子線を同一線分に結合してCADデー
タベースに格納する処理を実行する。
The CAD system 2 reads the coordinate grid line data from this analysis result data file 4, and performs a process of combining the coordinate grid lines divided for each coordinate grid point into the same line segment and storing it in the CAD database.

まずCADシステム2はデータ読み取り手段21によっ
て解析領域の分割情報を読み取ってデータサイズ設定手
段24と処理回数設定手段25に送出する。本実施例で
はまずデータサイズ設定手段24がX方向の解析領域分
割数mを認識し、処理回数設定手段25はX方向の解析
領域分割数nを認識する。
First, the CAD system 2 reads division information of the analysis area by the data reading means 21 and sends it to the data size setting means 24 and the processing number setting means 25. In this embodiment, first, the data size setting means 24 recognizes the number of analysis region divisions m in the X direction, and the processing number setting means 25 recognizes the number n of analysis region divisions in the X direction.

データ読みだし手段21はデータサイズ設定手段24の
指示に基づき解析結果データファイル4をアクセスして
第1の線分のデータを読み出す。
The data reading means 21 accesses the analysis result data file 4 based on the instruction from the data size setting means 24 and reads the data of the first line segment.

この解析結果データファイル4の先頭にはX方向の座標
格子線のデータが格納されているため、まず先頭より一
本のデータまでを読み出して線分情報テーブル22に格
納する。
Since the data of the coordinate grid lines in the X direction is stored at the beginning of the analysis result data file 4, data up to one line from the beginning is first read out and stored in the line segment information table 22.

次に線分結合手段23は線分情報テーブル22に格納さ
れている座標格子線について線分結合処理を行う。この
線分結合処理は上記従来の技術として説明した線分結合
処理(第5図に図示)と同一である。
Next, the line segment combining means 23 performs line segment combining processing on the coordinate grid lines stored in the line segment information table 22. This line segment joining process is the same as the line segment joining process (shown in FIG. 5) described above as the conventional technique.

線分情報テーブル22に格納されているデータは上記の
ように解析シミュレータ1によって同一線上に揃えられ
ているので、最終的に一本の直線に結合されることにな
る。こうして検索処理(第5図の処理2)にて結合でき
る線分が発見されなくなるとデータ出力手段は線分情報
テーブル22の内容をCADデータベースに出力すると
共に、処理回数計数手段26が処理回数をカウントする
Since the data stored in the line segment information table 22 are aligned on the same line by the analysis simulator 1 as described above, they will ultimately be combined into one straight line. In this way, when line segments that can be combined are no longer found in the search process (process 2 in FIG. 5), the data output means outputs the contents of the line segment information table 22 to the CAD database, and the process number counting means 26 counts the number of processes. Count.

−回目の結合が終わるとデータ読み出し手段21は解析
結果データファイル4より次の一本の座標格子線データ
を読み出して第4図のシーケンスにより線分結合処理を
行い、CADデータベース5に出力する。そしてこの一
連の結合処理は処理回数計数手段26が該処理をn回行
ったことを認識するまで繰り返される。
When the second connection is completed, the data reading means 21 reads out the next coordinate grid line data from the analysis result data file 4, performs line segment connection processing according to the sequence shown in FIG. 4, and outputs it to the CAD database 5. This series of combination processing is repeated until the processing number counting means 26 recognizes that the processing has been performed n times.

次にY軸方向の座標格子線の結合処理を実行する。デー
タサイズ設定手段24はY軸方向の領域分割数nによっ
て一度に線分情報テーブルに格納するデータのサイズを
決定し、処理回数設定手段25はX軸方向の領域分割数
mを処理回数として設定する。データ読み出し手段21
は解析結果データファイル4より8本の座標格子線デー
タを読み出して線分情報テーブル22に格納し、線分結
合手段−24により線分結合処理を実行し、CADデー
タベース5に出力する。この一連の処理は処理回数計数
手段26によりカウントされて、m回繰り返すことによ
りY軸方向の線分の結合処理が完了する。
Next, processing for joining the coordinate grid lines in the Y-axis direction is executed. The data size setting means 24 determines the size of data to be stored in the line segment information table at one time based on the number n of region divisions in the Y-axis direction, and the processing number setting means 25 sets the number m of region divisions in the X-axis direction as the number of processing times. do. Data reading means 21
reads eight coordinate grid line data from the analysis result data file 4, stores it in the line segment information table 22, performs line segment combining processing by the line segment combining means 24, and outputs it to the CAD database 5. This series of processing is counted by the processing number counting means 26, and is repeated m times to complete the line segment joining processing in the Y-axis direction.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、同一線上をなす
座標格子線の情報ごとに線分情報チーフルに格納して、
線分結合処理を行うため、線分情報テーブルに全ての線
分データが格納して、線分結合処理における検索を総当
たりで実行するのに比較して大幅に処理時間の短縮を図
ることができる。
As explained above, according to the present invention, each piece of information about coordinate grid lines on the same line is stored in the line segment information file,
In order to perform line segment combination processing, all line segment data is stored in the line segment information table, and the processing time can be significantly reduced compared to performing searches in line segment combination processing using brute force. can.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の一実施例の構成を示す図、第2図は差
分性解析を示す説明図、 第3図は第1図のシステムにおける図形処理の説明図、 第4図は従来のシステム構成の説明図、第5図はCAD
システムにおける線分結合処理の説明図である。 図において、 ■ ・・・ 解析シミュレータ、 2 ・・・ CADシステム、 3 ・・・ 解析対象データ、 4 ・・・ 解析結果データ、 5 ・・・ CADデータベース、 21 ・・・ データ読取り手段、 22 ・・・ 線分情報テーブル、 23 ・・・ 線分統合手段、 24 ・・・ データサイズ決定手段、25 ・・・ 
データ処理回数設定手段、26 ・・・ データ処理回
数計数手段、27 ・・・ データ出力手段。 (a) 分割前の解析領域を示す図 (b) 分割後の解析領域を示す図 差分法解析の一例を示す説明図 第2図 O
Fig. 1 is a diagram showing the configuration of an embodiment of the present invention, Fig. 2 is an explanatory diagram showing differential analysis, Fig. 3 is an explanatory diagram of graphic processing in the system of Fig. 1, and Fig. 4 is an illustration of the conventional system. An explanatory diagram of the system configuration, Figure 5 is a CAD
FIG. 3 is an explanatory diagram of line segment joining processing in the system. In the figure, ■... analysis simulator, 2... CAD system, 3... analysis target data, 4... analysis result data, 5... CAD database, 21... data reading means, 22. ... line segment information table, 23 ... line segment integration means, 24 ... data size determination means, 25 ...
Data processing number setting means, 26... Data processing number counting means, 27... Data outputting means. (a) Diagram showing the analysis area before division (b) Diagram showing the analysis area after division Explanatory diagram showing an example of finite difference analysis Figure 2 O

Claims (1)

【特許請求の範囲】 物理現象の解析シミュレーションを行うために対象とす
る解析領域に複数の座標格子点とそれらの座標格子点を
結ぶ座標格子線を作成して、該座標格子線により前記解
析領域を複数の小領域に分割を行って前記解析シミュレ
ーションを実行し、各分割方向ごとの解析領域の分割数
の情報と前記座標格子線を同一の方向でかつ同一線上に
ある線分ごとに揃えた座標格子線情報とを解析結果デー
タファイルに含めて出力する解析シミュレータより、前
記解析結果データの出力のフォーマットを変換してCA
Dデータベースに格納するCADシステムにおいて、 前記CADシステムは前記解析結果データファイルを読
み出す手段と、前記解析結果データファイルが読み出す
データのうち前記座標格子線の情報を含む線分情報が格
納される線分情報テーブルと、前記分割数情報を認識し
て前記データ読み出し手段が一度に前記線分情報テーブ
ルに格納する前記座標格子線の本数を一方向の分割数と
等しい本数に設定する手段と、前記分割数情報により前
記線分情報テーブルに線分情報を格納する回数を前記一
方向と交差する方向の分割数に設定する手段と、前記線
分情報を格納する回数を計数して前記設定回数と比較す
る手段と、同一方向の前記線分情報テーブル内の任意の
線分と端点が共通である線分を検索して発見した時に該
2つの線分を結合する手段と、前記線分結合手段により
端点を共有する線分の結合が終了したとき前記線分情報
テーブルの内容をCADデータベースに格納する手段と
を有し、 前記データファイルより前記座標格子線を読み出して前
記線分情報テーブルに格納する処理と、該線分情報テー
ブル上の同一線上をなす座標格子線の結合を行う処理と
、該結合処理が終了した後で該線分情報テーブルの内容
をCADデータベースに格納する処理とを前記処理回数
設定手段により設定された回数に達するまで繰り返して
実行することを特徴とするCADシステムにおける線分
データ処理方式。
[Scope of Claims] In order to perform an analytical simulation of a physical phenomenon, a plurality of coordinate grid points and coordinate grid lines connecting these coordinate grid points are created in a target analysis region, and the coordinate grid lines are used to define the analysis region. The analysis simulation is performed by dividing into a plurality of small regions, and the information on the number of divisions of the analysis region for each division direction and the coordinate grid lines are aligned for each line segment that is in the same direction and on the same line. From an analysis simulator that outputs coordinate grid line information in an analysis result data file, convert the output format of the analysis result data and perform CA.
In a CAD system stored in a D database, the CAD system includes a means for reading the analysis result data file, and a line segment in which line segment information including information on the coordinate grid line is stored among the data read by the analysis result data file. an information table; means for recognizing the division number information and setting the number of coordinate grid lines that the data reading means stores in the line segment information table at one time to a number equal to the number of divisions in one direction; means for setting the number of times to store line segment information in the line segment information table to the number of divisions in a direction intersecting the one direction based on number information, and counting the number of times to store the line segment information and comparing it with the set number of times. means for searching for and finding a line segment having a common end point with any line segment in the line segment information table in the same direction, and combining the two line segments; and means for storing the contents of the line segment information table in a CAD database when the connection of line segments sharing end points is completed, and reading the coordinate grid lines from the data file and storing them in the line segment information table. processing, processing for combining coordinate grid lines on the same line on the line segment information table, and processing for storing the contents of the line segment information table in the CAD database after the completion of the combining processing. A line segment data processing method in a CAD system, characterized in that the process is repeatedly executed until the number of times set by a number of times setting means is reached.
JP2071302A 1990-03-20 1990-03-20 Segment data processing system Pending JPH03271871A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2071302A JPH03271871A (en) 1990-03-20 1990-03-20 Segment data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2071302A JPH03271871A (en) 1990-03-20 1990-03-20 Segment data processing system

Publications (1)

Publication Number Publication Date
JPH03271871A true JPH03271871A (en) 1991-12-03

Family

ID=13456719

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2071302A Pending JPH03271871A (en) 1990-03-20 1990-03-20 Segment data processing system

Country Status (1)

Country Link
JP (1) JPH03271871A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005115701A (en) * 2003-10-08 2005-04-28 Port & Airport Research Institute Method of setting numerical analysis condition using electronic data of geography and building
US7428480B2 (en) 2002-03-28 2008-09-23 Fujitsu Limited CAD analysis result data processing apparatus, analytic simulation apparatus, CAD analysis result data processing method and CAD analysis result data processing program
WO2024009537A1 (en) * 2022-07-06 2024-01-11 日本電信電話株式会社 Path planning device and path planning method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7428480B2 (en) 2002-03-28 2008-09-23 Fujitsu Limited CAD analysis result data processing apparatus, analytic simulation apparatus, CAD analysis result data processing method and CAD analysis result data processing program
JP2005115701A (en) * 2003-10-08 2005-04-28 Port & Airport Research Institute Method of setting numerical analysis condition using electronic data of geography and building
WO2024009537A1 (en) * 2022-07-06 2024-01-11 日本電信電話株式会社 Path planning device and path planning method

Similar Documents

Publication Publication Date Title
Cardone et al. A survey of shape similarity assessment algorithms for product design and manufacturing applications
US5878407A (en) Storage of a graph
CN114861500A (en) Method and system for automatically generating tunnel structure finite element model based on three-dimensional point cloud
US7388584B2 (en) Method and program for determining insides and outsides of boundaries
JPH03271871A (en) Segment data processing system
US11176283B2 (en) Analysis model creation assistance device and analysis model creation assistance method
CN115481268A (en) Parallel line wall data identification method, device, equipment and storage medium
CN108415267B (en) Method for quickly defining equivalent joint surface of machine tool based on APDL language
US20020067354A1 (en) Method and system for reconstructing 3D objects from free-hand line drawing
JP2010152863A (en) System and method for extracting boundary node, and program
CN117197410B (en) Virtual splicing method, device and equipment for steel structure and storage medium
CN111694911B (en) Method, equipment and system for generating random distribution points in specified range
CN115859886B (en) Design splitting method for high-efficiency low coupling based on multiple fanout logic
Peters et al. Elimination in generically rigid 3d geometric constraint systems
CN115423701A (en) Three-dimensional laser point cloud data denoising method and device for railway scene
Yin et al. An Algorithm for Similar 3D Model Difference Examination Using Geometric Matching
JP2001357084A (en) Device and method for optimizing voxel dividing coordinates, and computer-readable storage medium
JPH01193973A (en) Interference checking method for three-dimensional shape
KR100321774B1 (en) Polyline intersection detection method using polyline clipping
CN117591123A (en) 3D model processing method based on directed acyclic graph and lock-free multithreading mode
TW201415258A (en) Data clustering method based on density
JP2001014493A (en) Device and method for determining point position and computer readable recording medium with point position determination program stored therein
JPH0664534B2 (en) Device for selecting unification candidate terms
CN117726769A (en) Dirty composite curved surface grid generation method
Pracchi Boolean expressions of rectilinear polygons with VLSI applications