JPH08159841A - Liquid filling level computing method, liquid filling quantity computing method and computing device used for it - Google Patents

Liquid filling level computing method, liquid filling quantity computing method and computing device used for it

Info

Publication number
JPH08159841A
JPH08159841A JP6298585A JP29858594A JPH08159841A JP H08159841 A JPH08159841 A JP H08159841A JP 6298585 A JP6298585 A JP 6298585A JP 29858594 A JP29858594 A JP 29858594A JP H08159841 A JPH08159841 A JP H08159841A
Authority
JP
Japan
Prior art keywords
voxels
empty
voxel
liquid
shape
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
JP6298585A
Other languages
Japanese (ja)
Other versions
JP3269297B2 (en
Inventor
Naoyuki Tomita
直幸 冨田
Katsuro Fujitani
克郎 藤谷
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co 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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP29858594A priority Critical patent/JP3269297B2/en
Publication of JPH08159841A publication Critical patent/JPH08159841A/en
Application granted granted Critical
Publication of JP3269297B2 publication Critical patent/JP3269297B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Measurement Of Levels Of Liquids Or Fluent Solid Materials (AREA)

Abstract

PURPOSE: To compute the level to be obtained accurately when a certain filling amount liquid is filled, by tracing voxel (micro cubes) continuously from a micro cube to which a filing point belongs to adjacent vacant micro cubes backward and forward, rightward and leftward, and downward. CONSTITUTION: The vacant area filling processing portion 20a of a liquid filling computing portion 20 traces micro cubes continuously starting from a micro cube to which a filling point belongs to adjacent vacant micro cubes backward and forward, rightward and leftward, and downward, when a predetermined filling amount liquid is filled from a predetermined filling point of an arbitrary container. Finding the height of a vacant micro cube at the lowest position, taking the vacant micro cube as a starting point, a trace is successively conducted without any omission on the adjacent vacant micro cubes for respective stories. A capacity computing processing portion 20b computes the capacities of vacant areas found by a series of traces for the respective stories, and compares the capacities for the respective stories with the filling amount in a comparison portion 20c. When the capacity reaches the predetermined filling amount, the height coordinate of the story is displayed on a display portion 20d as its filling level.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は任意の内側形状を有す
る容器に液体を充填する際に所定の充填量で液面レベル
がどこまで上昇するか、また所定のレベルまで充填する
のにどれくらいの充填量を必要とするかを算定する液体
充填レベル演算方法、液体充填量演算方法及びそれらに
用いる演算装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to how much a liquid level rises at a predetermined filling amount when filling a container having an arbitrary inner shape, and how much filling is required to fill the container to a predetermined level. TECHNICAL FIELD The present invention relates to a liquid filling level calculation method for calculating whether a quantity is required, a liquid filling amount calculation method, and a calculation device used therefor.

【0002】[0002]

【従来の技術】一般に自動車産業では、自動車の開発、
設計段階において、複雑な形状のエンジンケース内にエ
ンジンオイルを充填する場合や、トランスミッションケ
ース内にオイルを充填する場合にある充填量を与えれば
オイルがどのレベルまで達するか、またあるレベルまで
オイルを充填する場合にどの程度の充填量を必要とする
かをあらかじめ知る必要があり、さらにオイルを充填す
る際にそれら複雑な形状のエンジンケースやトランスミ
ッションケース内にオイルがどのように充填されていく
かをシミュレーションする必要もある。
2. Description of the Related Art Generally, in the automobile industry,
In the design stage, when filling engine oil in a complicated shape with engine oil or filling the transmission case with a certain amount of oil, it is possible to reach a certain level and to reach a certain level. When filling, it is necessary to know in advance how much filling amount is required, and when filling the oil, how the oil is filled in the engine case and the transmission case having such complicated shapes. Also needs to be simulated.

【0003】そこで、従来は複雑な形状の各種容器に液
体がどのように充填されていくかをシミュレーションし
たり、ある充填量でどのレベルまで液面が達するか、あ
るレベルまで達するのに必要な充填量はいくらかなどを
算定するために、あらかじめ各種容器の形状をCADシ
ステムを利用して3次元ファセットデータによって表現
し、そのファセットデータから所定レベルまでの容積を
算定し、必要な液体の充填量を割り出し、また該当する
充填量に達するにはレベルがどこまで上昇するかを判定
する方法をとっていた。
Therefore, conventionally, it is necessary to simulate how liquids are filled in various kinds of containers having complicated shapes, to what level the liquid level reaches with a certain filling amount, and to reach a certain level. In order to calculate the filling amount, the shape of each container is expressed in advance by three-dimensional facet data using a CAD system, the volume up to a predetermined level is calculated from the facet data, and the required liquid filling amount is calculated. Was used to determine the level and how much the level would rise to reach the appropriate fill.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、このよ
うな従来の液体充填レベル演算方法及び液体充填量演算
方法には、次のような問題点があった。すなわち、3次
元ファセットデータによって任意の容器の形状を表現す
る場合、図13(a)に示すような容器1(この図は説
明の簡略化のために2次元形状として表現されている
が、使用される方程式は3次元ものである。以下、同
じ。)に対して、ある量の液体を充填すると液面レベル
がどのように上昇するかを解析する場合、各レベルL
1、L2,L3,…以下ではそれぞれどれだけの体積V
1,V2,V3,…となるかを3次元ファセットデータ
の解析によって求めている。
However, the conventional liquid filling level calculating method and liquid filling amount calculating method have the following problems. That is, when expressing the shape of an arbitrary container by three-dimensional facet data, the container 1 as shown in FIG. 13A (this figure is expressed as a two-dimensional shape for simplification of description, When the analysis is made to see how the liquid level rises when a certain amount of liquid is filled, the level L
1, L2, L3, ... How much volume V is below each
1, V2, V3, ... Are obtained by analyzing the three-dimensional facet data.

【0005】ところが、実際のエンジンケースやトラン
スミッションケースのような複雑な容器にオイルを充填
する場合にはある場所に注入口を設けておいて、そこか
らオイルを少しずつ充填していくことになるので、いま
図13(a)において1つの小室R1に注入口INが設
けられているとすると、ここからオイルを注入すれば、
小室R1とその隣の小室R2との間が山M1によって隔
てられているので、注入されるオイルはまず、小室R1
のみに充填されていき、山M1のレベルLmに達しては
じめて、隣の小室R2に溢流してそこに充填されていく
ことになる。
However, when oil is filled in a complicated container such as an actual engine case or transmission case, an injection port is provided at a certain place, and the oil is gradually filled from there. Therefore, assuming that the injection port IN is provided in one small chamber R1 in FIG. 13A, if oil is injected from here,
Since the small chamber R1 and the adjacent small chamber R2 are separated by the mountain M1, the injected oil is first of all small chamber R1.
Only when it reaches the level Lm of the mountain M1, it overflows into the adjacent small chamber R2 and is filled there.

【0006】したがって、同図(b)に示すように実際
の充填量V1だけ充填したとした場合、従来の解析では
その液面レベルはL1と算定されていたが、実際には小
室R1においてLrまで充填されていて、他の小室R
2,R3,…などには全くオイルが充填されていない状
態であり、計算上の充填レベルと実際のオイルレベルが
齟齬する問題点があった。
Therefore, when the actual filling amount V1 is filled as shown in FIG. 2 (b), the liquid level is calculated to be L1 in the conventional analysis, but in reality, it is Lr in the small chamber R1. Filled up to the other small room R
2, R3, ... Are not filled with oil at all, and there is a problem that the calculated filling level and the actual oil level are different.

【0007】このことは、同様にレベルL2,L3にお
いても生じることであり、各小室R1〜R5のすべてに
オイルを充填するのに必要な量以上にオイルが充填され
るレベルL4になってはじめて計算上の充填レベルと充
填量とが一致することになっていた。
This also occurs at the levels L2 and L3, and it is only at the level L4 that oil is filled in an amount greater than that required to fill all the small chambers R1 to R5 with oil. The calculated filling level and the filling amount were supposed to match.

【0008】ここでオイルレベルLとそれに対応する充
填量Vとは一対一で対応させているために、あるレベル
Liまで充填したい場合にどれくらいの充填量Viが必
要かといった問題を解く場合にも同じように上記の問題
点が発生していた。
Since the oil level L and the filling amount V corresponding to the oil level L correspond to each other in a one-to-one relationship, even when solving the problem of how much the filling amount Vi is required to fill a certain level Li. Similarly, the above-mentioned problems occurred.

【0009】この発明はこのような従来の問題点に鑑み
てなされたもので、複雑な形状の容器に液体を充填する
場合にある充填量の液体を充填すればどれくらいの液面
レベルとなるかを正確に算定することができる液体充填
レベル演算方法及びそれに用いる演算装置を提供するこ
とを目的とする。
The present invention has been made in view of the above-mentioned conventional problems, and what level of liquid level can be obtained by filling a liquid in a complicated shape with a certain filling amount of liquid. It is an object of the present invention to provide a liquid filling level calculation method and a calculation device used for the same, which can accurately calculate.

【0010】この発明はまた、複雑な形状の容器に液体
を充填する場合に所望のレベルまで液体を充填しようと
する場合に必要となる液体の充填量を正確に算定するこ
とができる液体充填量演算方法及びそれに用いる演算装
置を提供することを目的とする。
The present invention also provides a liquid filling amount capable of accurately calculating the liquid filling amount required to fill a liquid to a desired level when filling a container having a complicated shape. An object of the present invention is to provide an arithmetic method and an arithmetic device used for the arithmetic method.

【0011】[0011]

【課題を解決するための手段】請求項1の発明の液体充
填レベル演算方法は、任意の容器の形状に3次元メッシ
ュを切って多数のボクセルに切り分け、前記容器の形状
の一部が存在するボクセルと空間に対応するボクセルと
にそれぞれ異なる値を設定し、これらのボクセルの集合
として当該任意の容器の形状を表現し、前記任意の容器
のあらかじめ定められた注入点から所定量の液体を充填
するときに、当該注入点の属するボクセルから前後、左
右、下方に隣接するボクセルのうちで空間を表す値を示
している空きボクセルを連続的にトレースして行き、前
記注入点と連続する最低位置の空きボクセルの高さ位置
を見出し、前記最低高さ位置の空きボクセルから同じ階
層に属するボクセルうち前後、左右、下方に隣接する空
きボクセルを連続的に漏れなくトレースして行き、1つ
の階層における空きボクセルのトレースが終われば、一
段高い階層に属するボクセルのうち、前記下段の階層に
属する空きボクセルと隣接する同じ空きボクセルから始
めて、その階層に属する空きボクセルを前後、左右、下
方にトレースして行き、以上の一連のトレースで見出さ
れる空きボクセルの数をカウントして体積換算し、その
体積が前記液体の充填量に達するときにトレースの対象
となっている階層の高さ位置を当該充填量で到達する容
器内の液面レベルとして算定するものである。
According to the liquid filling level calculation method of the invention of claim 1, a three-dimensional mesh is cut into an arbitrary container shape and divided into a large number of voxels, and a part of the shape of the container exists. Different values are set for voxels and voxels corresponding to spaces, the shape of the arbitrary container is expressed as a set of these voxels, and a predetermined amount of liquid is filled from a predetermined injection point of the arbitrary container. At the time of, the voxels to which the injection point belongs are front and rear, left and right, continuously tracing the empty voxels showing the value representing the space among the adjacent voxels below, and the lowest position continuous with the injection point. Find the height position of the empty voxel of, and consecutive empty voxels that are adjacent to the front, back, left, and right of the voxels belonging to the same layer from the empty voxel at the lowest height position. When all empty voxels in one layer are traced, the empty voxels belonging to the next higher layer belong to the same empty voxel adjacent to the empty voxel belonging to the lower layer. The empty voxels are traced back and forth, left and right, and downward, and the number of empty voxels found in the above series of traces is counted and converted into volume, and when the volume reaches the filling amount of the liquid, it is traced. The height position of the existing floor is calculated as the liquid level in the container reached by the filling amount.

【0012】これによって、任意の複雑な形状の容器に
特定の注入口から液体を所定量充填していく場合に液面
レベルがどこまで達するかを正確にシミュレーションし
て割り出す。
Thus, when a predetermined amount of liquid is filled into a container having an arbitrary complicated shape from a specific injection port, the level of the liquid level can be accurately simulated and determined.

【0013】請求項2の発明の液体充填レベル演算装置
は、任意の容器の形状に3次元メッシュを切って多数の
ボクセルに切り分け、前記容器の形状の一部が存在する
ボクセルと空間に対応するボクセルとにそれぞれ異なる
値を設定し、これらのボクセルの集合として当該任意の
容器の形状を表現する形状表示部と、前記形状表示部が
生成するデータを保存する形状データ記憶部と、前記形
状データ記憶部にアクセスし、任意の容器のあらかじめ
定められた注入点から所定量の液体を充填するときに、
当該注入点の属するボクセルから前後、左右、下方に隣
接する各ボクセルのうちで空間を表す値を示している空
きボクセルを連続的にトレースして行き、前記注入点と
連続する最低位置の空きボクセルの高さ位置を見出し、
前記最低高さ位置のボクセルから同じ階層に属するボク
セルうち前後、左右、下方に隣接する空きボクセルを連
続的に漏れなくトレースして行き、1つの階層における
空きボクセルのトレースが終われば、一段高い階層に属
するボクセルのうち、前記下段の階層に属する空きボク
セルと隣接する同じく空きボクセルから始めてその階層
に属する空きボクセルを前後、左右、下方にトレースし
て行く空きボクセルトレース部と、前記空きボクセルト
レース部の一連のトレースによって見出される空きボク
セルの数をカウントする空きボクセルカウント部と、前
記空きボクセルカウント部がカウントした空きボクセル
の数から体積換算する体積換算部と、前記体積換算部が
算出する体積を前記液体の所定の充填量と比較する比較
部と、前記体積換算部が算出する体積が前記液体の所定
の充填量に達したときにトレースの対象となっている階
層の高さ位置を当該所定の充填量で到達する容器内の液
面レベルとして算定する充填レベル算定部とを備えたも
のである。
In the liquid filling level calculation device according to the second aspect of the present invention, the three-dimensional mesh is cut into an arbitrary container shape and divided into a large number of voxels, and the voxels and the space in which a part of the shape of the container exists correspond to the space. A different value is set for each voxel, and a shape display unit that expresses the shape of the arbitrary container as a set of these voxels, a shape data storage unit that saves the data generated by the shape display unit, and the shape data. When accessing the storage part and filling a predetermined amount of liquid from a predetermined injection point of any container,
From the voxel to which the injection point belongs, front and rear, left and right, among the adjacent voxels adjacent to each other, empty voxels showing the value representing the space are continuously traced, and the empty voxel at the lowest position continuous with the injection point Find the height position of
From the voxel at the lowest height position, among voxels belonging to the same layer, the empty voxels adjacent to the front, rear, left, and right are continuously traced without omission, and when the tracing of the empty voxels in one layer is completed, the higher layer Of the voxels belonging to, the empty voxel tracing part which traces the empty voxels belonging to that hierarchy starting from the same empty voxel adjacent to the empty voxel belonging to the lower hierarchy, and moving it downward, left and right, and the empty voxel trace part. The empty voxel count unit that counts the number of empty voxels found by a series of traces, the volume conversion unit that converts the volume from the number of empty voxels counted by the empty voxel count unit, and the volume that the volume conversion unit calculates. A comparison unit for comparing the liquid with a predetermined filling amount, and the volume conversion Filling level calculated when the volume calculated by the unit reaches the predetermined filling amount of the liquid, and the height position of the layer to be traced is calculated as the liquid level in the container reached by the predetermined filling amount. It has a calculation section.

【0014】これによって請求項1の発明の液体充填レ
ベル演算方法を実現し、任意の複雑な形状の容器に特定
の注入口から液体を所定量充填していく場合に液面レベ
ルがどこまで達するかを正確にシミュレーションして割
り出す。
Thus, the liquid filling level calculation method according to the first aspect of the present invention is realized, and to what extent the liquid level reaches when filling a predetermined amount of liquid into a container having an arbitrary complicated shape from a specific inlet. Accurately simulate and determine.

【0015】請求項3の発明の液体充填量演算方法は、
任意の容器の形状をそれに3次元メッシュを切って多数
のボクセルに切り分け、前記容器の形状の一部が存在す
るボクセルと空間に対応するボクセルとにそれぞれ異な
る値を設定し、これらのボクセルの集合として当該任意
の容器の形状を表現し、前記任意の容器のあらかじめ定
められた注入点から液体を所定のレベルに達するまで注
入するときに、当該注入点の属するボクセルから前後、
左右、上下に隣接する各ボクセルで空間を表す値を示し
ている空きボクセルを前記所定のレベルを上限として連
続的に漏れなくトレースして行き、前記トレースで見出
される空きボクセルの数をカウントして体積換算するこ
とによって前記所定のレベルまで前記液体を充填するの
に必要な充填量を算定するものである。
A liquid filling amount calculating method according to a third aspect of the invention is
A shape of an arbitrary container is cut into a large number of voxels by cutting a three-dimensional mesh therein, and different values are set for voxels in which a part of the shape of the container exists and voxels corresponding to a space, and a set of these voxels is set. As expressing the shape of the arbitrary container as, when injecting a liquid from a predetermined injection point of the arbitrary container until reaching a predetermined level, from the voxel to which the injection point belongs,
The empty voxels showing the value representing the space in each voxel adjacent to the left, right, top and bottom are continuously traced without omission with the predetermined level as the upper limit, and the number of empty voxels found in the trace is counted. By converting the volume, the filling amount required to fill the liquid to the predetermined level is calculated.

【0016】これによって、任意の複雑な形状の容器に
特定の注入口から液体を所定レベルに達するまで注入し
ていく場合にどれだけの充填量を必要とするかを正確に
割り出す。
With this, it is possible to accurately determine how much filling amount is required when a liquid is injected into a container having an arbitrary complicated shape from a specific inlet until a predetermined level is reached.

【0017】請求項4の発明の液体充填量演算装置は、
任意の容器の形状をそれに3次元メッシュを切って多数
のボクセルに切り分け、前記容器の形状の一部が存在す
るボクセルと空間に対応するボクセルとにそれぞれ異な
る値を設定し、これらのボクセルの集合として当該任意
の容器の形状を表現する形状表示部と、前記形状表示部
が生成するデータを保存する形状データ記憶部と、前記
形状データ記憶部にアクセスし、前記任意の容器のあら
かじめ定められた注入点から液体を所定のレベルに達す
るまで注入するときに、当該注入点の属するボクセルか
ら前後、左右、上下に隣接する各ボクセルのうちで空間
を表す値を示している空きボクセルを前記所定のレベル
を上限として連続的に漏れなくトレースして行く空きボ
クセルトレース部と、前記空きボクセルトレース部のト
レースによって見出される空間を表す値を示している空
きボクセルの数をカウントする空きボクセルカウント部
と、前記空きボクセルカウント部がカウントした空きボ
クセルの数から体積換算する体積換算部と、前記体積換
算部が算出する体積から液体の充填量を算定する充填量
算定部とを備えたものである。
According to a fourth aspect of the present invention, there is provided a liquid filling amount calculating device,
A shape of an arbitrary container is cut into a large number of voxels by cutting a three-dimensional mesh therein, and different values are set for voxels in which a part of the shape of the container exists and voxels corresponding to a space, and a set of these voxels is set. As a shape display unit that expresses the shape of the arbitrary container, a shape data storage unit that saves the data generated by the shape display unit, and the shape data storage unit is accessed, and the predetermined shape of the arbitrary container is determined. When injecting the liquid from the injection point to reach a predetermined level, the empty voxel showing the value representing the space among the voxels adjacent to the front, rear, left, right, up and down from the voxel to which the injection point belongs is set to the predetermined voxel. The empty voxel trace part that traces continuously without omission with the level as the upper limit and the trace of the empty voxel trace part The empty voxel counting unit that counts the number of empty voxels indicating the value representing the space, the volume conversion unit that converts the volume from the number of empty voxels counted by the empty voxel counting unit, and the volume conversion unit calculates And a filling amount calculation unit that calculates the filling amount of the liquid from the volume.

【0018】これによって、請求項3の発明の液体充填
良縁算方法を実現し、任意の複雑な形状の容器に特定の
注入口から液体を所定レベルに達するまで注入していく
場合にどれだけの充填量を必要とするかを正確に割り出
す。
By this, the liquid filling goodness calculation method of the invention of claim 3 is realized, and how much liquid is injected into a container having an arbitrary complicated shape from a specific inlet until a predetermined level is reached. Determine exactly what fill amount you need.

【0019】[0019]

【実施例】まず、請求項1の発明の液体充填レベル演算
方法及び請求項2の発明の液体充填レベル演算装置につ
いて説明する。請求項1の発明の液体充填レベル演算方
法は、図1及び図2に示す請求項2の発明の液体充填レ
ベル演算装置によって実現される。この液体充填レベル
演算装置のハードウェアシステム構成は、図1に示すよ
うに高速コンピュータ10で構成され、従来のCADシ
ステムを実行する他のコンピュータ11と伝送装置12
を介して接続され、任意の容器形状のファセットデータ
はCADコンピュータ11側から入力され、これを外部
記憶装置13に記憶するようになっている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS First, a liquid filling level calculation method according to the first aspect of the invention and a liquid filling level calculation device according to the second aspect of the invention will be described. The liquid filling level calculation method of the invention of claim 1 is realized by the liquid filling level calculation device of the invention of claim 2 shown in FIGS. 1 and 2. As shown in FIG. 1, the hardware system configuration of the liquid filling level computing device is composed of a high-speed computer 10, and another computer 11 that executes a conventional CAD system and a transmission device 12 are provided.
The facet data of an arbitrary container shape is input from the CAD computer 11 side and stored in the external storage device 13.

【0020】そしてコンピュータ10は一般的な構成
で、作業用主記憶装置15、ボクセルデータを格納する
ための外部記憶装置15、そしてあらかじめ登録されて
いる液体充填レベル演算処理を行うCPU16、そして
前述のCADデータを格納する外部記憶装置13、入力
操作のためのキーボードやポインティングデバイスのよ
うな入力装置17、CRT表示装置18から構成されて
いる。
The computer 10 has a general structure and includes a main working memory device 15, an external memory device 15 for storing voxel data, a CPU 16 for preliminarily registered liquid filling level calculation processing, and the above-described CPU 16. It comprises an external storage device 13 for storing CAD data, an input device 17 such as a keyboard or pointing device for input operation, and a CRT display device 18.

【0021】上記CPU16は一般演算処理を行うもの
であるが、この実施例に関連する処理を行う機能につい
て示すと、外部記憶装置13に格納されている任意の容
器の形状のCADデータに対して、微小立方体のボクセ
ルに分け、各ボクセル内に形状の一部が存在する所と空
間である所とにそれぞれ異なる値、すなわち1,0のバ
イナリコードデータを設定し、これらのバイナリコード
データを外部記憶装置15に格納するボクセル発生部1
9と、外部記憶装置15のボクセルデータにアクセス
し、所定の注入点の属するボクセルから前後、左右及び
下方に隣接する各ボクセルで空間を表す値0を示してい
るボクセル、つまり空きボクセルを連続的にトレースし
て行き、注入点と連続する最低位置の空きボクセルの高
さ位置を見出し、この最低位置の空きボクセルから始め
て、前後、左右、上下に隣接する空きボクセルを漏れな
くトレースしていき、見出される空きボクセルの数を体
積換算して所定の充填量に相当する数になるとき、最後
の空きボクセルの高さ位置を所定の充填量の液体の液面
レベルを割り出す液体注入計算部20と、液体注入計算
部20の演算結果として得られる各種のデータを表示す
るデータ表示操作部21から構成されている。
The CPU 16 performs general arithmetic processing. The function of performing processing related to this embodiment will be described with respect to CAD data of an arbitrary container shape stored in the external storage device 13. , It is divided into voxels of small cube, and the binary code data of 1,0 is set to the place where a part of the shape exists in each voxel and the place where it is a space, respectively. Voxel generation unit 1 to be stored in the storage device 15
9 and voxel data of the external storage device 15 are accessed, and voxels showing a value 0 representing a space in the voxels adjacent to the front, rear, left, right, and downward from the voxel to which a predetermined injection point belongs, that is, empty voxels are consecutively To find the height position of the lowest empty voxel continuous with the injection point, start from this lowest empty voxel, and trace the empty voxels adjacent to the front, back, left, and right and top without omission, When the number of empty voxels found is converted into a volume and becomes a number corresponding to a predetermined filling amount, the height position of the last empty voxel is used as a liquid injection calculation unit 20 for calculating the liquid level of a liquid having a predetermined filling amount. The data display operation unit 21 displays various data obtained as the calculation result of the liquid injection calculation unit 20.

【0022】さらに、液体注入計算部20の計算処理を
細かく分けると、図2に示すように、任意の容器のあら
かじめ定められた注入点から所定量の液体を充填すると
きに、当該注入点の属するボクセルから始めて、前後、
左右及び下方に隣接する空きボクセルを連続的にトレー
スして行き、注入点と連続する最低位置の空きボクセル
の高さ位置を見出し、この最低位置の空きボクセルをス
タート点として、前後、左右及び下方に隣接する空きボ
クセルを高さ階層毎に順次、漏れなくトレースしていく
空き領域充填処理部20aと、この空き領域充填処理部
20aの一連のトレースによって見出される空き領域の
容積を各階層毎に計算する容積計算処理部20bと、こ
の容積計算処理部20bが算出する各階層毎の容積を所
定の充填量と比較し、容積が所定の充填量に到達したと
きにその階層の高さ座標を充填レベルとして出力する比
較部20cと、これらの演算結果を種々の態様で表示操
作するデータ表示部20dから構成されている。
Further, when the calculation process of the liquid injection calculating section 20 is divided into small parts, as shown in FIG. 2, when a predetermined amount of liquid is filled from a predetermined injection point of an arbitrary container, Starting with the voxel to which it belongs,
Continuously trace the adjacent empty voxels on the left and right and below, find the height position of the lowest empty voxel continuous with the injection point, and use this empty voxel at the lowest position as the start point The empty area filling processing unit 20a that sequentially traces empty voxels adjacent to each other for each height layer, and the volume of the empty area found by a series of traces of the empty area filling processing unit 20a for each hierarchy. The volume calculation processing unit 20b for calculation and the volume for each layer calculated by the volume calculation processing unit 20b are compared with a predetermined filling amount, and when the volume reaches a predetermined filling amount, the height coordinate of the layer is calculated. It is composed of a comparison section 20c for outputting as a filling level and a data display section 20d for displaying and operating these calculation results in various modes.

【0023】次に、上記構成の液体充填レベル演算装置
によって、所定の形状の容器に対してある液体を所定量
だけ充填したときにその液体の液面レベルがどれくらい
の高さに達するかを演算する方法について説明する。
Next, the liquid filling level calculation device having the above structure calculates how high the liquid level of the liquid reaches when a certain amount of liquid is filled in a container having a predetermined shape. The method for doing so will be described.

【0024】図5(a)に示すように、例えばエンジン
ケースあるいはトランスミッションケースのような複雑
な内側形状を有する容器1のファセットデータが他のコ
ンピュータのCADシステム11によって計算され、伝
送装置12を介してコンピュータ10の外部記憶装置1
3にCADデータ(ファセットデータ)が保存される。
この容器1の形状のファセットデータが入力されると、
ボクセル発生部19が外部記憶装置13にアクセスし、
図5(b)に示すように容器1の形状をボクセルによっ
て表現し、そのボクセルデータを外部記憶装置15に登
録する。
As shown in FIG. 5A, facet data of a container 1 having a complicated inner shape such as an engine case or a transmission case is calculated by a CAD system 11 of another computer and transmitted via a transmission device 12. External storage device 1 of computer 10
CAD data (facet data) is stored in 3.
When facet data of the shape of this container 1 is input,
The voxel generating unit 19 accesses the external storage device 13,
As shown in FIG. 5B, the shape of the container 1 is represented by voxels, and the voxel data is registered in the external storage device 15.

【0025】すなわち、図5(a)に示すようなある容
器1の形状が入力されると(この図では、説明の便宜の
ために2次元形状で表してあるが、実際には3次元的な
広がりとしてとらえるべきである)、同図(b)に示す
ように、この容器1の形状が存在するボクセルを1,容
器の形状が存在しない空間のボクセルを空きボクセル0
として表現するバイナリコードデータに変換して外部記
憶装置15に保存するのである。
That is, when a shape of a certain container 1 as shown in FIG. 5 (a) is input (in this figure, a two-dimensional shape is shown for convenience of description, it is actually a three-dimensional shape. As shown in FIG. 2B, the voxel in which the shape of the container 1 exists is 1 and the voxel in the space where the shape of the container does not exist is the empty voxel 0.
It is converted into binary code data expressed as and stored in the external storage device 15.

【0026】こうして、ボクセルデータが形成された後
は、図3及び図4に示すフローチャートにしたがって、
液体注入口INの位置と所定の液体充填量Vを入力する
ことによって、その液体が容器1のどのレベルLまで達
するかが演算される(ステップS1)。
After the voxel data is formed in this way, according to the flow charts shown in FIGS. 3 and 4,
By inputting the position of the liquid inlet IN and the predetermined liquid filling amount V, it is calculated which level L of the container 1 the liquid reaches (step S1).

【0027】それにはまず、注入口INが図6に示す位
置に設定されていて、ここからある液体が所定の充填量
Vだけ注入されるとすると、液体注入計算部20の空き
領域充填処理部20aはまず、同図に示すように注入口
INに隣接している空間を示す値0の空きボクセルを下
方にトレースし、下方に見つからなければ前後、左右に
隣接する空きボクセルをトレースし、水平方向に隣接す
る空きボクセルが見出されればその空きボクセルに対し
て、まず下方に隣接するものを優先しながら同じよう
に、順次空きボクセルをトレースしていく。これによっ
て、最終的には図6に矢印で示したように小室R1に存
在する空きボクセルのうち、最低位置に存在するものs
を見出す(ステップS2)。
First, assuming that the injection port IN is set at the position shown in FIG. 6 and a certain amount of liquid is injected from here, a vacant area filling processing unit of the liquid injection calculation unit 20 is assumed. 20a first traces empty voxels with a value of 0 indicating the space adjacent to the inlet IN downward as shown in FIG. If a vacant voxel adjacent in the direction is found, vacant voxels are sequentially traced in the same manner, with priority given to the vacant voxel adjacent to the vacant voxel first. As a result, finally, among the empty voxels existing in the small chamber R1, as shown by the arrow in FIG.
Find out (step S2).

【0028】次に、この最低位置に存在する空きボクセ
ルsから始めて、同じ階層で前後、左右及び下方に隣接
する空きボクセルを漏れなく見出し、その数を容積計算
処理部20bに与えて空きボクセルの数から第1階層の
空き領域の容積を計算し(ステップS3)、これを比較
部20cに与えて、所定の充填量と一致するかどうか判
定する(ステップS4)。
Next, starting from the empty voxel s existing at the lowest position, empty voxels adjacent to the front, rear, left and right, and below in the same layer are found without omission, and the number is given to the volume calculation processing unit 20b to calculate the number of empty voxels. The volume of the empty area of the first layer is calculated from the number (step S3), and this is given to the comparison unit 20c to determine whether or not it matches the predetermined filling amount (step S4).

【0029】ここで所定の充填量に達していなければ、
この第1階層のいずれかの空きボクセルを基準にして、
その空きボクセルに上側に隣接する第2階層に属するボ
クセル群に対して、空き領域充填処理部20aが再びト
レースして(ステップS5)、上記ステップS3〜S4
の処理を繰り返す。
If the predetermined filling amount is not reached here,
Based on any of the empty voxels in this first layer,
The empty area filling processing unit 20a traces again a voxel group belonging to the second layer adjacent to the empty voxel on the upper side (step S5), and the steps S3 to S4 are performed.
Is repeated.

【0030】以下、上記のステップS3〜S5の処理を
繰り返し、ある階層iまで空き領域を充填していった結
果、その階層までの空き領域の合計容積が所定の充填量
Vを越えるようになれば、その階層を求める液面レベル
とし、データ表示操作部21に出力してCRT18に表
示させる。
After that, as a result of repeating the above steps S3 to S5 and filling the empty area up to a certain level i, the total volume of the empty area up to that level cannot exceed the predetermined filling amount V. For example, the level is set as the liquid level to be obtained, and is output to the data display operation unit 21 and displayed on the CRT 18.

【0031】なお、液体注入計算部20におけるデータ
表示部20dは空き領域充填処理部20aが空きボクセ
ルを順次見出していく度に空き領域を埋めていくような
表示処理を行い、それをデータ表示操作部21を介して
表示させ、計算の進み具合をそれまでの充填量の数値と
共にリアルタイムに表示させる。
The data display section 20d in the liquid injection calculation section 20 performs a display process such that the empty area filling processing section 20a fills the empty area each time the empty voxel is sequentially found, and the data display operation is performed. It is displayed via the section 21, and the progress of the calculation is displayed in real time together with the numerical values of the filling amount up to that point.

【0032】以上の空き領域の充填処理を図4のフロー
チャート及び図6〜図8の説明図に基づいて詳しく説明
する。図6に示したように注入口INに連接する最低位
置の空きボクセルsが見出された後、この空きボクセル
sの高さ位置に属するボクセル群に対して、図3のステ
ップS3の処理を開始する。そしてこのステップS3の
処理は、外部記憶装置15に保存されているボクセルデ
ータのうち、高さ座標が空きボクセルsの高さ位置に一
致するボクセル群を抽出し、その各々について図4のフ
ローチャートに示す処理を繰り返し実行することにな
る。
The above empty area filling process will be described in detail with reference to the flowchart of FIG. 4 and the explanatory views of FIGS. After the empty voxel s at the lowest position connected to the inlet IN is found as shown in FIG. 6, the process of step S3 of FIG. 3 is performed on the voxel group belonging to the height position of this empty voxel s. Start. Then, in the process of step S3, a voxel group whose height coordinate matches the height position of the empty voxel s is extracted from the voxel data stored in the external storage device 15, and the voxel group shown in the flowchart of FIG. The processing shown will be repeatedly executed.

【0033】すなわち、例えば、各ボクセルの位置座標
を重心点の座標として(x,y,z)で表し、さらに空
きボクセルであるか、形状のボクセルであるかを0,1
の指標dで表すとすると、外部記憶装置15の保存され
るボクセルデータは、{x,y,x;d}となる。
That is, for example, the position coordinates of each voxel are represented by (x, y, z) as the coordinates of the center of gravity, and 0 or 1 indicates whether the voxel is an empty voxel or a voxel having a shape.
The voxel data stored in the external storage device 15 is {x, y, x; d}.

【0034】そこで、最低位置の空きボクセルsのz座
標がz1であったとすれば、z座標としてz1以下を有
するボクセル群について読み出し、そのうち、容器1の
内側に存在し、かつ空きボクセルであるものを順次抽出
していくことになる。
Therefore, assuming that the z coordinate of the empty voxel s at the lowest position is z1, the voxel group having z1 or less as the z coordinate is read out, and among them, the voxel existing inside the container 1 and being an empty voxel. Will be sequentially extracted.

【0035】それには、読み出したボクセルについて、
そのボクセルが容器1の内部に存在するものであるかを
判断し(ステップS3−1)、そうであれば次に、その
ボクセルが空きボクセルであるかどうか判断する(ステ
ップS3−2)。
Regarding the read voxel,
It is judged whether or not the voxel exists inside the container 1 (step S3-1), and if so, then it is judged whether or not the voxel is an empty voxel (step S3-2).

【0036】次に、見出した空きボクセルの高さ座標を
判断し(ステップS3−3)、それがいま考慮の対象と
なっているz1以下の階層に属するかどうかを判断し
(ステップS3−4)、該当すればその空きボクセルを
液体が充填される体積であるとしてボクセル数をカウン
トする(ステップS3−5)。
Next, the height coordinate of the found empty voxel is judged (step S3-3), and it is judged whether or not it belongs to the hierarchy of z1 or lower which is currently considered (step S3-4). ), If applicable, the number of voxels is counted assuming that the empty voxel has a volume filled with liquid (step S3-5).

【0037】この後、いま考慮の対象となっているz1
以下の階層に属するすべてのボクセルについて考慮した
かどうかを判定し、まだ残っているボクセルが存在すれ
ば、隣接するボクセルについて上記のステップS3−1
〜S3−6の処理を繰り返す(ステップS3−6,S3
−7)。
After this, z1 which is now considered
It is determined whether or not all voxels belonging to the following layers have been considered, and if there are still remaining voxels, the above-described step S3-1 is performed for adjacent voxels.
Repeat the processing of steps S3 to S3 (steps S3-6 and S3).
-7).

【0038】ステップS3−6でz1以下の階層に属す
るすべてのボクセルについて空き領域のカウントが完了
した判定されれば、このz1以下の階層でカウントした
空きボクセルの数から充填容積を計算し、図3に示すフ
ローチャートのステップS4に進むことになる(ステッ
プS3−8)。
If it is determined in step S3-6 that the count of empty areas has been completed for all voxels belonging to the z1 and lower layers, the filling volume is calculated from the number of empty voxels counted in the z1 and lower layers. The process proceeds to step S4 of the flowchart shown in 3 (step S3-8).

【0039】続いて、再びステップS3に入れば、次の
階層z2について上記と同じ処理が繰り返されることに
なる。
Then, if the process goes to step S3 again, the same process as described above is repeated for the next layer z2.

【0040】そしていま、ziの階層でいくつかの空き
ボクセルを見出し、それまでの合計容積を求めると所定
の充填量に達したとなれば、そのzi階層のz座標を所
定の充填量の液体を注入したときの液面レベルとして決
定する。
Now, when some empty voxels are found in the zi layer and the total volume up to that point is calculated and the predetermined filling amount is reached, the z coordinate of the zi layer is set to the liquid of the predetermined filling amount. Is determined as the liquid surface level when injected.

【0041】以上の処理を図解すれば、図6〜図8のよ
うになる。まず図6に示すように注入口INに連続する
空きボクセルとして最低位置のものsを見出す。そして
この場合には、容器1の小室R1側に入力口INが存在
するので、実際の容器1の形状では小室R2の方の最低
部の位置が小室R1の最低部よりも低い位置にあるが、
それらの間に障壁となる山M1が邪魔するために、注入
口INから注入される液体は実際には小室R1側にもっ
ぱら充填されることになるが、この演算方法では、その
現実通りに図7に示すレベルL1になるまで小室R1側
だけに充填することができる。
The above processing is illustrated in FIGS. 6 to 8. First, as shown in FIG. 6, the lowest position s of vacant voxels continuous to the inlet IN is found. In this case, since the input port IN exists on the side of the small chamber R1 of the container 1, the lowest position of the small chamber R2 in the actual shape of the container 1 is lower than the lowest position of the small chamber R1. ,
Since the mountain M1 serving as a barrier between them interferes, the liquid injected from the injection port IN is actually exclusively filled in the small chamber R1 side. It is possible to fill only the small chamber R1 side up to the level L1 shown in FIG.

【0042】そして、図7に示すように小室R1側の充
填が進んで山M1の高さL1まで達すると、図8に示す
ように小室R2の方にも充填液が入り込むようになる。
そして、いま空きボクセルの数から換算した空き領域の
容積合計が所定の充填量に達したのが、L2のレベルの
ときであったとすると、所定の充填量の液体の液面はこ
のレベルL2まで来るということになる。
Then, as shown in FIG. 7, when the filling on the small chamber R1 side progresses and reaches the height L1 of the mountain M1, the filling liquid also enters the small chamber R2 as shown in FIG.
If it is at the level of L2 that the total volume of the empty area converted from the number of empty voxels has reached the predetermined filling amount, the liquid level of the liquid having the predetermined filling amount reaches this level L2. Will come.

【0043】このようにしてこの実施例の液体充填レベ
ル演算装置とそれによって実行される演算方法によれ
ば、実際の複雑な容器に対するある注入口から液体充填
時の液面レベルの上昇の挙動を正確にシミュレーション
することができるようになる。例えば、図10(a)に
示すような形状の容器1について充填する場合、小室R
1に注入口INがあるとすれば、同図(b)に示すよう
に充填量V1の場合には小室R1のレベルL1までしか
充填されず、また同図(c)に示すように充填量がV2
の場合にも小室R1のレベルL2までしか充填されない
ことを表示することができる。そして、山M1,M2を
越すことができる充填量V3が充填された場合には小室
R1だけでなく、小室R2,R3まで充填され、レベル
L3に達することを示し、さらに充填量をV4と多くす
ると、障壁となっているすべての山M1〜M4を越えて
すべての小室R1〜R4に充填されてレベルL4に達す
ることを示すことができることになる。
As described above, according to the liquid filling level calculation device of this embodiment and the calculation method executed by the liquid filling level calculation device, the behavior of the rise of the liquid surface level at the time of liquid filling from a certain inlet to an actual complicated container is shown. You will be able to accurately simulate. For example, when filling a container 1 having a shape as shown in FIG.
If there is an inlet IN at 1, the filling amount V1 is filled up to the level L1 of the small chamber R1 as shown in FIG. Is V2
In the case of, it is possible to display that only the level L2 of the small chamber R1 is filled. When the filling amount V3 that can pass the mountains M1 and M2 is filled, not only the small chamber R1 but also the small chambers R2 and R3 are filled to reach the level L3, and the filling amount is increased to V4. Then, it can be shown that all the small chambers R1 to R4 are filled and reach the level L4 across all the mountains M1 to M4 which are the barriers.

【0044】次に、請求項3の発明の液体充填量演算方
法及び請求項4の発明の液体充填量演算装置について説
明する。請求項3の発明の液体充填量演算方法は、図
1、図4、図10、図11、図12に示す請求項4の発
明の液体充填量演算装置によって実現されるものであ
る。
Next, the liquid filling amount calculation method of the invention of claim 3 and the liquid filling amount calculation device of the invention of claim 4 will be described. The liquid filling amount calculation method of the third aspect of the invention is realized by the liquid filling amount calculation device of the fourth aspect of the invention shown in FIGS. 1, 4, 10, 10, 11 and 12.

【0045】この請求項4の発明の液体充填量演算装置
は、第1の実施例と同じように図1に示すシステム構成
を有している。そして第1の実施例と比較して、CPU
16が実行する演算処理機能に若干の相違がある。もっ
とも、実際のソフトウェアプログラムでは、請求項1の
発明の充填レベル演算方法と請求項3の発明の充填量演
算方法は共通のプログラムにおいて、初期設定する比較
値として充填量をリミットとして入力するか、充填レベ
ルをリミットとして入力するかによって、請求項1の充
填レベル演算方法を実行するか、以下にに説明する充填
量演算方法を実行するかに自動的に分岐することにな
る。したがって使用するシステムは同一のものとなるの
である。しかしながら、説明の簡明化のために、以下、
請求項4の発明の充填量演算装置を独立のシステムとし
て説明する。
The liquid filling amount computing device of the invention of claim 4 has the system configuration shown in FIG. 1 as in the first embodiment. Then, compared with the first embodiment, the CPU
There are some differences in the arithmetic processing functions that 16 executes. However, in an actual software program, the filling level calculation method of the invention of claim 1 and the filling amount calculation method of the invention of claim 3 are common programs, and the filling quantity is input as a limit as a comparison value to be initialized. Depending on whether the filling level is inputted as a limit, the filling level calculating method according to claim 1 is executed or the filling amount calculating method described below is executed automatically. Therefore, the systems used are the same. However, for simplicity of explanation,
The filling amount calculation device of the invention of claim 4 will be described as an independent system.

【0046】請求項4の発明の液体充填量演算装置のC
PU16は、図10に示すように、外部記憶装置13に
格納されている任意の容器の形状のCADデータに対し
て、ボクセルに分け、各ボクセル内に形状の一部が存在
する所と空間である所とにそれぞれ異なる値、すなわち
1,0のバイナリコードデータを設定し、これらのバイ
ナリコードデータを外部記憶装置15に格納するボクセ
ル発生部19と、外部記憶装置15のボクセルデータに
アクセスし、所定の注入点の属するボクセルから前後、
左右、下方に隣接する各ボクセルで空きボクセルを連続
的にトレースして行き、注入点と連続する最低位置の空
きボクセルの高さ位置を見出し、この最低位置の空きボ
クセルから始めて、前後、左右、上下に隣接する空きボ
クセルを初期設定される液面レベルに達するまで漏れな
くトレースしていき、所定の液面レベルに達したとき
に、それまでに見出される空きボクセルの数を体積換算
して充填量を割り出す液体注入計算部20と、液体注入
計算部20の演算結果として得られる各種のデータを表
示するデータ表示操作部21から構成されている。
C of the liquid filling amount computing device of the invention of claim 4
As shown in FIG. 10, the PU 16 divides the CAD data of the shape of an arbitrary container stored in the external storage device 13 into voxels, and divides the voxels into spaces and spaces where a part of the shape exists. A different value is set at a certain place, that is, binary code data of 1,0 is set, and the voxel generating unit 19 that stores these binary code data in the external storage device 15 and the voxel data of the external storage device 15 are accessed, Before and after the voxel to which the given injection point belongs,
Left and right, continuously trace the empty voxels in each adjacent voxel downward, find the height position of the empty voxel at the lowest position continuous with the injection point, start from this empty voxel at the lowest position, front, back, left, right, Trace the empty voxels adjacent to each other vertically until they reach the initial set liquid level, and when the specified liquid level is reached, fill the volume by converting the number of empty voxels found up to that point. The liquid injection calculation unit 20 for calculating the amount and the data display operation unit 21 for displaying various data obtained as the calculation result of the liquid injection calculation unit 20.

【0047】さらに、液体注入計算部20の計算処理を
細かく分けると、図10に示すように、任意の容器のあ
らかじめ定められた注入点INから所定レベルまで液体
を充填するときに、当該注入点INの属するボクセルか
ら始めて、前後、左右、下方に隣接する空きボクセルを
連続的にトレースして行き、注入点INと連接する最低
位置の空きボクセルの高さ位置を見出し、この最低位置
の空きボクセルをスタート点として、前後、左右及び上
下に隣接する空きボクセルを高さ階層毎に順次、漏れな
くトレースしていく空き領域充填処理部20aと、この
空き領域充填処理部20aの一連のトレースによって見
出される空き領域の容積を各階層毎に計算する容積計算
処理部20bと、空き領域充填処理部20aが充填処理
していく空きボクセルの階層の高さを所定の充填レベル
と比較し、所定の充填レベルに到達していればそれまで
に算出した充填容積を当該充填レベルまで充填するのに
必要な充填量として出力する比較部20c´と、これら
の演算結果を種々の態様で表示操作するデータ表示部2
0dから構成されている。
Further, when the calculation process of the liquid injection calculation unit 20 is divided into small parts, as shown in FIG. 10, when the liquid is filled from a predetermined injection point IN of an arbitrary container to a predetermined level, the injection point concerned is filled. Starting from the voxel to which IN belongs, the empty voxels adjacent to the front, back, left and right, and downward are continuously traced to find the height position of the lowest voxel that is connected to the injection point IN, and the lowest voxel at this lowest position The empty area filling processing unit 20a that sequentially traces empty voxels adjacent to the front, rear, left, right, and up and down for each height hierarchy, and a series of traces of this empty area filling processing unit 20a. The volume calculation processing unit 20b that calculates the volume of the empty area to be filled for each layer and the empty box that is filled by the empty area filling processing unit 20a. Comparing unit that compares the height of the floor level with a specified filling level and, if the specified filling level is reached, outputs the filling volume calculated up to that time as the filling amount required to fill the filling level. 20c 'and a data display unit 2 for displaying and operating these calculation results in various modes.
It is composed of 0d.

【0048】次に、上記構成の液体充填量演算装置によ
って、任意の形状の容器に対してある液体を所定レベル
まで充填しようとするときに必要とする充填所要量を算
定する方法について説明する。図5(a)に示すような
複雑な内側形状を有する容器1のファセットデータをC
ADシステム11によって計算し、伝送装置12を介し
てコンピュータ10の外部記憶装置13に保存し、保存
されたファセットデータに対してボクセル発生部19が
図5(b)に示すように容器1の形状をボクセルによっ
て表現し、そのボクセルデータを外部記憶装置15に登
録する処理は第1の実施例と同じである。
Next, a method for calculating the required filling amount required to fill a certain amount of liquid into a container having an arbitrary shape with the liquid filling amount calculating device having the above-described configuration will be described. The facet data of the container 1 having a complicated inner shape as shown in FIG.
Calculated by the AD system 11 and stored in the external storage device 13 of the computer 10 via the transmission device 12, and the voxel generating unit 19 responds to the stored facet data by the shape of the container 1 as shown in FIG. Is expressed by voxels and the voxel data is registered in the external storage device 15 as in the first embodiment.

【0049】そしてボクセルデータが形成された後は、
図11に示すフローチャートにしたがって、液体注入口
INの位置と所定の充填レベルLを入力することによっ
て、その充填レベルに達するまでに必要となる液体の充
填量が演算される(ステップS11)。
After the voxel data is formed,
By inputting the position of the liquid inlet IN and a predetermined filling level L according to the flowchart shown in FIG. 11, the filling amount of the liquid required until the filling level is reached is calculated (step S11).

【0050】それにはまず、注入口INが図6に示す位
置に設定されていて、ここからある液体が注入される
と、液体注入計算部20の空き領域充填処理部20aは
まず、同図に示すように注入口INに隣接している空間
を示す値0の空きボクセルを下方にトレースし、下方に
見つからなければ前後、左右に隣接する空きボクセルを
トレースし、水平方向に隣接する空きボクセルが見出さ
れればその空きボクセルに対して、まず下方に隣接する
ものを優先しながら同じように、順次空きボクセルをト
レースしていく。これによって、最終的には図6に矢印
で示したように小室R1に存在する空きボクセルのう
ち、最低位置に存在するものsを見出す(ステップS
2)。
First, when the injection port IN is set to the position shown in FIG. 6 and a certain liquid is injected from here, the empty area filling processing unit 20a of the liquid injection calculation unit 20 first shows in FIG. As shown, empty voxels having a value of 0 indicating the space adjacent to the inlet IN are traced downward, and if not found below, empty voxels adjacent to the front, rear, left and right are traced, and empty voxels adjacent in the horizontal direction are If found, the empty voxels are sequentially traced in the same manner, with priority given to those adjacent to the lower one first. As a result, finally, among the empty voxels existing in the small chamber R1 as shown by the arrow in FIG. 6, the one s existing at the lowest position is found (step S
2).

【0051】次に、この最低位置に存在する空きボクセ
ルsから始めて、同じ階層で前後、左右及び下方に隣接
する空きボクセルを漏れなく見出し、その数を容積計算
処理部20bに与えて空きボクセルの数から第1階層の
空き領域の容積を計算し(ステップS3)、この後、ボ
クセルピッチだけ液面高さを1つ上げ、(ステップS1
4)、これを比較部20c´に与えて所定レベルLと一
致するかどうか判定する(ステップS15)。
Next, starting from the empty voxel s existing at the lowest position, empty voxels adjacent to the front, rear, left, right, and lower in the same hierarchy are found without omission, and the number is given to the volume calculation processing unit 20b to calculate the number of empty voxels. The volume of the vacant area of the first layer is calculated from the number (step S3), and then the liquid level height is increased by 1 by the voxel pitch (step S1).
4) This is given to the comparison unit 20c 'to determine whether or not it matches the predetermined level L (step S15).

【0052】ここで所定の充填レベルに達していなけれ
ば、この第1階層のいずれかの空きボクセルを基準にし
て、その空きボクセルに上側に隣接する第2階層に属す
るボクセル群に対して、空き領域充填処理部20aが再
びトレースして、上記ステップS3,S14,S15の
処理を繰り返す。ここで上記ステップS3の空き領域の
充填処理は第1の実施例で示した図4のフローチャート
に従うものであり、重複するので詳しい説明は省略す
る。
If the predetermined filling level is not reached here, the empty voxels of the first layer are used as a reference, and the empty voxels are vacant with respect to the voxel group belonging to the second layer adjacent to the upper side. The area filling processing unit 20a traces again and repeats the processing of steps S3, S14, and S15. Here, the filling process of the empty area in step S3 is according to the flowchart of FIG. 4 shown in the first embodiment, and it will not be described in detail because it is redundant.

【0053】以下、上記のステップS3,S14,S1
5の処理を繰り返し、空き領域充填処理部20aが到達
した液面高さが所定の充填レベルLに達したならば、そ
れまでに算出した空き領域の合計容積を所要充填量と
し、データ表示操作部21に出力してCRT18に表示
させる。
Hereinafter, the above steps S3, S14, S1
When the liquid level height reached by the empty area filling processing unit 20a reaches a predetermined filling level L by repeating the processing of 5, the total volume of empty areas calculated up to that point is set as the required filling amount, and the data display operation is performed. It is output to the section 21 and displayed on the CRT 18.

【0054】なお、液体注入計算部20におけるデータ
表示部20dは空き領域充填処理部20aが空きボクセ
ルを順次見出していく度に空き領域を埋めていくような
表示処理を行い、それをデータ表示操作部21を介して
表示させ、計算の進み具合をそれまでの充填量の数値、
液面高さと共にリアルタイムに表示させる。
The data display section 20d in the liquid injection calculation section 20 performs a display process such that the empty area filling processing section 20a fills the empty area each time the empty voxel is sequentially found, and the data display operation is performed. It is displayed via the section 21, and the progress of calculation is indicated by the value of the filling amount up to that point,
It is displayed in real time along with the liquid level.

【0055】このようにしてこの実施例の液体充填量演
算装置とそれによって実行される演算方法によれば、図
12に示すように、実際の複雑な形状の容器1に対して
指定された注入口から液体を充填する時の液面レベルの
上昇の挙動を正確にシミュレーションしながら、あるレ
ベルまで液体を充填するのに必要な充填量を算出するこ
とができ、設定レベルL1,L2,…それぞれに対して
所望充填量がV1,V2,…と算出することができる。
As described above, according to the liquid filling amount calculation device of this embodiment and the calculation method executed by the liquid filling amount calculation device, as shown in FIG. 12, the pouring designated for the actual container 1 having a complicated shape is performed. While accurately simulating the behavior of the rise of the liquid level when filling the liquid from the inlet, the filling amount necessary to fill the liquid to a certain level can be calculated, and the set levels L1, L2, ... In contrast, the desired filling amount can be calculated as V1, V2, ....

【0056】[0056]

【発明の効果】以上のように請求項1の発明の液体充填
レベル演算方法によれば、任意の容器の形状に3次元メ
ッシュを切って多数のボクセルに切り分け、容器の形状
の一部が存在するボクセルと空間に対応するボクセルと
にそれぞれ異なる値を設定し、これらのボクセルの集合
として当該任意の容器の形状を表現し、任意の容器のあ
らかじめ定められた注入点から所定量の液体を充填する
ときに、当該注入点の属するボクセルから前後、左右、
下方に隣接するボクセルのうちで空間を表す値を示して
いる空きボクセルを連続的にトレースして行き、注入点
と連続する最低位置の空きボクセルの高さ位置を見出
し、最低高さ位置の空きボクセルから同じ階層に属する
ボクセルうち前後、左右、下方に隣接する空きボクセル
を連続的に漏れなくトレースして行き、1つの階層にお
ける空きボクセルのトレースが終われば、一段高い階層
に属するボクセルのうち、下段の階層に属する空きボク
セルと隣接する同じ空きボクセルから始めて、その階層
に属する空きボクセルを前後、左右、下方にトレースし
て行き、以上の一連のトレースで見出される空きボクセ
ルの数をカウントして体積換算し、その体積が液体の充
填量に達するときにトレースの対象となっている階層の
高さ位置を当該充填量で到達する容器内の液面レベルと
して算定するので、任意の複雑な形状の容器に特定の注
入口から液体を所定量充填していく場合に液面レベルが
どこまで達するかを正確にシミュレーションして割り出
すことができる。
As described above, according to the liquid filling level calculation method of the first aspect of the present invention, a three-dimensional mesh is cut into an arbitrary container shape and divided into a large number of voxels, and a part of the container shape exists. Set different values for each voxel and the voxel corresponding to the space, express the shape of the arbitrary container as a set of these voxels, and fill a predetermined amount of liquid from the predetermined injection point of the arbitrary container. When you do, from the voxel to which the injection point belongs, front and back, left and right,
Among the voxels adjacent to the lower part, the empty voxels showing the value representing the space are continuously traced, and the height position of the lowest empty voxel continuous with the injection point is found. Among voxels belonging to the same layer from voxels, the empty voxels that are adjacent to the front, back, left and right, and downward are continuously traced without any omission, and when the tracing of empty voxels in one layer is completed, among the voxels belonging to the higher layer, Starting from the same empty voxel adjacent to the empty voxel belonging to the lower hierarchy, trace the empty voxels belonging to that hierarchy to the front, back, left, right, downward and count the number of empty voxels found in the above series of traces. Convert the volume, and when the volume reaches the filling amount of the liquid, fill the height position of the floor that is the target of tracing. Since it is calculated as the liquid level in the container reached by, accurately simulating how much the liquid level reaches when filling a predetermined amount of liquid from a specific inlet into a container of arbitrary complicated shape. You can figure it out.

【0057】請求項2の発明の液体充填レベル演算装置
によれば、任意の容器の形状に3次元メッシュを切って
多数のボクセルに切り分け、容器の形状の一部が存在す
るボクセルと空間に対応するボクセルとにそれぞれ異な
る値を設定し、これらのボクセルの集合として当該任意
の容器の形状を表現する形状表示部と、形状表示部が生
成するデータを保存する形状データ記憶部と、形状デー
タ記憶部にアクセスし、任意の容器のあらかじめ定めら
れた注入点から所定量の液体を充填するときに、当該注
入点の属するボクセルから前後、左右、下方に隣接する
各ボクセルのうちで空間を表す値を示している空きボク
セルを連続的にトレースして行き、注入点と連続する最
低位置の空きボクセルの高さ位置を見出し、最低高さ位
置のボクセルから同じ階層に属するボクセルうち前後、
左右、下方に隣接する空きボクセルを連続的に漏れなく
トレースして行き、1つの階層における空きボクセルの
トレースが終われば、一段高い階層に属するボクセルの
うち、下段の階層に属する空きボクセルと隣接する同じ
く空きボクセルから始めてその階層に属する空きボクセ
ルを前後、左右、下方にトレースして行く空きボクセル
トレース部と、空きボクセルトレース部の一連のトレー
スによって見出される空きボクセルの数をカウントする
空きボクセルカウント部と、空きボクセルカウント部が
カウントした空きボクセルの数から体積換算する体積換
算部と、体積換算部が算出する体積を液体の所定の充填
量と比較する比較部と、体積換算部が算出する体積が液
体の所定の充填量に達したときにトレースの対象となっ
ている階層の高さ位置を当該所定の充填量で到達する容
器内の液面レベルとして算定する充填レベル算定部とを
備えているので、請求項1の発明の液体充填レベル演算
方法を実現し、任意の複雑な形状の容器に特定の注入口
から液体を所定量充填していく場合に液面レベルがどこ
まで達するかを正確にシミュレーションして割り出すこ
とができる。
According to the liquid filling level calculation device of the second aspect of the present invention, a three-dimensional mesh is cut into an arbitrary container shape and divided into a large number of voxels, and the voxels and the space in which a part of the shape of the container exists are corresponded. A different value is set for each voxel, and a shape display unit that expresses the shape of the arbitrary container as a set of these voxels, a shape data storage unit that saves the data generated by the shape display unit, and a shape data storage unit. Value that represents the space among the voxels adjacent to the voxel to which the injection point belongs when filling the predetermined amount of liquid from the predetermined injection point of any container Continuously trace the empty voxels showing the, find the height position of the empty voxel at the lowest position continuous with the injection point, and from the voxel at the lowest height position Flip voxel out before and after belonging to the hierarchy,
When empty voxels adjacent to the left, right, and lower are continuously traced without omission, and empty voxels in one layer are traced, adjacent voxels belonging to the lower layer among the voxels belonging to the higher layer are adjacent. Similarly, an empty voxel trace part that starts from an empty voxel and traces empty voxels belonging to the hierarchy to the front, back, left, right, and downward, and an empty voxel count part that counts the number of empty voxels found by a series of traces of the empty voxel trace part And a volume conversion unit that converts the volume from the number of empty voxels counted by the empty voxel counting unit, a comparison unit that compares the volume calculated by the volume conversion unit with a predetermined filling amount of liquid, and a volume calculated by the volume conversion unit. Height of the layer being traced when the liquid reaches a certain fill volume of liquid And a filling level calculating unit for calculating the liquid level as a liquid level in the container that reaches the predetermined filling amount. Therefore, the liquid filling level calculation method according to the present invention is realized, and an arbitrary complicated shape is realized. It is possible to accurately simulate and determine how much the liquid level reaches when the container is filled with a predetermined amount of liquid from a specific inlet.

【0058】請求項3の発明の液体充填量演算方法によ
れば、任意の容器の形状をそれに3次元メッシュを切っ
て多数のボクセルに切り分け、容器の形状の一部が存在
するボクセルと空間に対応するボクセルとにそれぞれ異
なる値を設定し、これらのボクセルの集合として当該任
意の容器の形状を表現し、任意の容器のあらかじめ定め
られた注入点から液体を所定のレベルに達するまで注入
するときに、当該注入点の属するボクセルから前後、左
右、上下に隣接する各ボクセルで空間を表す値を示して
いる空きボクセルを所定のレベルを上限として連続的に
漏れなくトレースして行き、トレースで見出される空き
ボクセルの数をカウントして体積換算することによって
所定のレベルまで液体を充填するのに必要な充填量を算
定するので、任意の複雑な形状の容器に特定の注入口か
ら液体を所定レベルに達するまで注入していく場合にど
れだけの充填量を必要とするかを正確に割り出すことが
できる。
According to the liquid filling amount calculation method of the third aspect of the present invention, the shape of an arbitrary container is cut into a large number of voxels by cutting the three-dimensional mesh therein, and the voxel and the space in which a part of the shape of the container exists. When setting different values for the corresponding voxels, expressing the shape of the arbitrary container as a set of these voxels, and injecting the liquid from a predetermined injection point of the arbitrary container until reaching a predetermined level In addition, the empty voxels showing the value representing the space in each of the voxels adjacent to the front, back, left, right, and up and down from the voxel to which the injection point belongs are continuously traced without omission up to a predetermined level, and found in the trace. The number of empty voxels to be filled is counted and the volume is converted to calculate the filling amount required to fill the liquid to a predetermined level. Or require loading of how much when going injected from a specific inlet into a container having a complicated shape until a liquid to a predetermined level can be determined accurately.

【0059】請求項4の発明の液体充填量演算装置によ
れば、任意の容器の形状をそれに3次元メッシュを切っ
て多数のボクセルに切り分け、容器の形状の一部が存在
するボクセルと空間に対応するボクセルとにそれぞれ異
なる値を設定し、これらのボクセルの集合として当該任
意の容器の形状を表現する形状表示部と、形状表示部が
生成するデータを保存する形状データ記憶部と、形状デ
ータ記憶部にアクセスし、任意の容器のあらかじめ定め
られた注入点から液体を所定のレベルに達するまで注入
するときに、当該注入点の属するボクセルから前後、左
右、上下に隣接する各ボクセルのうちで空間を表す値を
示している空きボクセルを所定のレベルを上限として連
続的に漏れなくトレースして行く空きボクセルトレース
部と、空きボクセルトレース部のトレースによって見出
される空間を表す値を示している空きボクセルの数をカ
ウントする空きボクセルカウント部と、空きボクセルカ
ウント部がカウントした空きボクセルの数から体積換算
する体積換算部と、体積換算部が算出する体積から液体
の充填量を算定する充填量算定部とを備えているので、
請求項3の発明の液体充填良縁算方法を実現し、任意の
複雑な形状の容器に特定の注入口から液体を所定レベル
に達するまで注入していく場合にどれだけの充填量を必
要とするかを正確に割り出すことができる。
According to the liquid filling amount calculation device of the invention of claim 4, the shape of an arbitrary container is cut into a large number of voxels by cutting a three-dimensional mesh into the voxels and the space where a part of the shape of the container exists. A shape display unit that sets different values for the corresponding voxels and that expresses the shape of the arbitrary container as a set of these voxels, a shape data storage unit that stores the data generated by the shape display unit, and shape data When accessing the storage unit and injecting liquid from a predetermined injection point of any container until reaching a predetermined level, among the voxels adjacent to the voxel to which the injection point belongs, front and rear, left and right, and up and down, An empty voxel tracing section that continuously traces empty voxels indicating a value representing a space with a predetermined level as an upper limit and an empty voxel Free voxel count part that counts the number of empty voxels showing the value that represents the space found by the trace of the trace part, volume conversion part that converts the volume from the number of empty voxels counted by the empty voxel count part, and volume conversion Since it has a filling amount calculation unit that calculates the filling amount of liquid from the volume calculated by the unit,
The liquid filling goodness calculation method according to the invention of claim 3 is realized, and how much filling amount is required when the liquid is poured into a container having an arbitrarily complicated shape from a specific inlet until reaching a predetermined level. Can be accurately determined.

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

【図1】請求項2の発明の一実施例のシステム構成を示
すブロック図。
FIG. 1 is a block diagram showing a system configuration of an embodiment of the invention of claim 2;

【図2】上記実施例のCPUの演算処理機能を示す機能
ブロック図。
FIG. 2 is a functional block diagram showing an arithmetic processing function of a CPU of the above embodiment.

【図3】上記実施例の演算処理手順を示すフローチャー
ト。
FIG. 3 is a flowchart showing a calculation processing procedure of the above embodiment.

【図4】上記実施例の演算処理手順における空き領域の
充填処理手順の詳しい内容を示すフローチャート。
FIG. 4 is a flowchart showing the detailed contents of the empty area filling processing procedure in the calculation processing procedure of the above embodiment.

【図5】上記実施例のボクセル発生部のボクセル生成処
理を示す説明図。
FIG. 5 is an explanatory diagram showing a voxel generation process of a voxel generation unit of the above embodiment.

【図6】上記実施例の注入口に連接する最低部を割り出
す処理を示す説明図。
FIG. 6 is an explanatory view showing a process of determining the lowest portion connected to the inlet of the above embodiment.

【図7】上記実施例の空きボクセルの充填処理を示す説
明図。
FIG. 7 is an explanatory diagram showing a filling process of empty voxels according to the above embodiment.

【図8】上記実施例の空きボクセルの充填処理を示す説
明図。
FIG. 8 is an explanatory diagram showing a filling process of empty voxels according to the above embodiment.

【図9】上記実施例の液体充填のシミュレーション図。FIG. 9 is a simulation diagram of liquid filling in the above-described embodiment.

【図10】請求項4の発明の一実施例のCPUの演算処
理機能を示す機能ブロック図。
FIG. 10 is a functional block diagram showing an arithmetic processing function of a CPU according to an embodiment of the invention of claim 4;

【図11】上記実施例の演算処理手順を示すフローチャ
ート。
FIG. 11 is a flowchart showing a calculation processing procedure of the above embodiment.

【図12】上記実施例の液体充填のシミュレーション
図。
FIG. 12 is a simulation diagram of liquid filling in the above-described embodiment.

【図13】従来例の液体充填処理手順を示す説明する。FIG. 13 illustrates a conventional liquid filling processing procedure.

【符号の説明】[Explanation of symbols]

1 容器 10 コンピュータ 11 CADシステム 12 伝送装置 13 外部記憶装置 14 主記憶部 15 外部記憶装置 16 CPU 17 入力装置 18 CRT表示装置 19 ボクセル発生部 20 液体注入計算部 20a 空き領域充填処理部 20b 容積計算処理部 20c 比較部 20c´ 比較部 20d データ表示部 21 データ表示操作部 DESCRIPTION OF SYMBOLS 1 container 10 computer 11 CAD system 12 transmission device 13 external storage device 14 main storage unit 15 external storage device 16 CPU 17 input device 18 CRT display device 19 voxel generation unit 20 liquid injection calculation unit 20a empty area filling processing unit 20b volume calculation processing Section 20c comparison section 20c 'comparison section 20d data display section 21 data display operation section

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 任意の容器の形状に3次元メッシュを切
って多数の微小立方体(以下、ボクセルと称する)に切
り分け、前記容器の形状の一部が存在するボクセルと空
間に対応するボクセルとにそれぞれ異なる値を設定し、
これらのボクセルの集合として当該任意の容器の形状を
表現し、 前記任意の容器のあらかじめ定められた注入点から所定
量の液体を充填するときに、当該注入点の属するボクセ
ルから前後、左右、下方に隣接するボクセルのうちで空
間を表す値を示している空きボクセルを連続的にトレー
スして行き、前記注入点と連続する最低位置の空きボク
セルの高さ位置を見出し、 前記最低高さ位置の空きボクセルから同じ階層に属する
ボクセルうち前後、左右、下方に隣接する空きボクセル
を連続的に漏れなくトレースして行き、 1つの階層における空きボクセルのトレースが終われ
ば、一段高い階層に属するボクセルのうち、前記下段の
階層に属する空きボクセルと隣接する同じ空きボクセル
から始めて、その階層に属する空きボクセルを前後、左
右、下方にトレースして行き、 以上の一連のトレースで見出される空きボクセルの数を
カウントして体積換算し、その体積が前記液体の充填量
に達するときにトレースの対象となっている階層の高さ
位置を当該充填量で到達する容器内の液面レベルとして
算定することを特徴とする液体充填レベル演算方法。
1. A three-dimensional mesh is cut into an arbitrary container shape and divided into a large number of minute cubes (hereinafter referred to as voxels), and voxels in which a part of the shape of the container exists and voxels corresponding to spaces are formed. Set different values,
Expressing the shape of the arbitrary container as a set of these voxels, when filling a predetermined amount of liquid from a predetermined injection point of the arbitrary container, front and rear, left and right, downward from the voxel to which the injection point belongs Continuously trace the empty voxels showing the value representing the space among the voxels adjacent to, find the height position of the empty voxel of the lowest position continuous with the injection point, of the minimum height position From empty voxels to voxels belonging to the same layer, the adjacent voxels that are adjacent to the front, back, left, and right are continuously traced without omission, and if the tracing of empty voxels in one layer is completed, , Starting from the same empty voxel adjacent to the empty voxel belonging to the lower hierarchy, and moving the empty voxels belonging to that hierarchy back and forth, Trace to the right and downward, count the number of empty voxels found in the above series of traces and convert to volume, and when the volume reaches the filling amount of the liquid, trace of the layer to be traced. A liquid filling level calculation method, characterized in that a height position is calculated as a liquid level in a container reached by the filling amount.
【請求項2】 任意の容器の形状に3次元メッシュを切
って多数のボクセルに切り分け、前記容器の形状の一部
が存在するボクセルと空間に対応するボクセルとにそれ
ぞれ異なる値を設定し、これらのボクセルの集合として
当該任意の容器の形状を表現する形状表示部と、 前記形状表示部が生成するデータを保存する形状データ
記憶部と、 前記形状データ記憶部にアクセスし、任意の容器のあら
かじめ定められた注入点から所定量の液体を充填すると
きに、当該注入点の属するボクセルから前後、左右、下
方に隣接する各ボクセルのうちで空間を表す値を示して
いる空きボクセルを連続的にトレースして行き、前記注
入点と連続する最低位置の空きボクセルの高さ位置を見
出し、前記最低高さ位置のボクセルから同じ階層に属す
るボクセルうち前後、左右、下方に隣接する空きボクセ
ルを連続的に漏れなくトレースして行き、1つの階層に
おける空きボクセルのトレースが終われば、一段高い階
層に属するボクセルのうち、前記下段の階層に属する空
きボクセルと隣接する同じく空きボクセルから始めてそ
の階層に属する空きボクセルを前後、左右、下方にトレ
ースして行く空きボクセルトレース部と、 前記空きボクセルトレース部の一連のトレースによって
見出される空きボクセルの数をカウントする空きボクセ
ルカウント部と、 前記空きボクセルカウント部がカウントした空きボクセ
ルの数から体積換算する体積換算部と、 前記体積換算部が算出する体積を前記液体の所定の充填
量と比較する比較部と、 前記体積換算部が算出する体積が前記液体の所定の充填
量に達したときにトレースの対象となっている階層の高
さ位置を当該所定の充填量で到達する容器内の液面レベ
ルとして算定する充填レベル算定部とを備えて成る液体
充填レベル演算装置。
2. A three-dimensional mesh is cut into an arbitrary container shape and divided into a large number of voxels, and different values are set for voxels in which a part of the shape of the container exists and voxels corresponding to a space, respectively. A shape display unit that expresses the shape of the arbitrary container as a set of voxels, a shape data storage unit that saves the data generated by the shape display unit, and the shape data storage unit that is accessed in advance to access the shape data storage unit. When filling a predetermined amount of liquid from the defined injection point, empty voxels showing a value representing a space are continuously provided from the voxels to which the injection point belongs to the front, rear, left and right, and below. Trace and go to find the height position of the empty voxel at the lowest position that is continuous with the injection point, and from the voxel at the lowest height position, go to the voxel belonging to the same hierarchy. When empty voxels adjacent to the front, rear, left, right, and lower are continuously traced without omission, and empty voxels in one hierarchy are traced, among the voxels belonging to a higher hierarchy, empty voxels belonging to the lower hierarchy The number of empty voxels found by a series of traces of the empty voxel tracing section starting from the same empty voxel adjacent to and tracing the empty voxels belonging to the hierarchy to the front, back, left, right, and downward, is counted. An empty voxel counting unit, a volume converting unit that converts the volume from the number of empty voxels counted by the empty voxel counting unit, and a comparing unit that compares the volume calculated by the volume converting unit with a predetermined filling amount of the liquid, When the volume calculated by the volume conversion unit reaches a predetermined filling amount of the liquid Liquid filling level computing device comprising a filling level calculation section that calculates the height position of the hierarchy that is traced as the liquid level in the container reaches at the predetermined loading.
【請求項3】 任意の容器の形状をそれに3次元メッシ
ュを切って多数のボクセルに切り分け、前記容器の形状
の一部が存在するボクセルと空間に対応するボクセルと
にそれぞれ異なる値を設定し、これらのボクセルの集合
として当該任意の容器の形状を表現し、 前記任意の容器のあらかじめ定められた注入点から液体
を所定のレベルに達するまで注入するときに、当該注入
点の属するボクセルから前後、左右、上下に隣接する各
ボクセルで空間を表す値を示している空きボクセルを前
記所定のレベルを上限として連続的に漏れなくトレース
して行き、 前記トレースで見出される空きボクセルの数をカウント
して体積換算することによって前記所定のレベルまで前
記液体を充填するのに必要な充填量を算定することを特
徴とする液体充填量演算方法。
3. A shape of an arbitrary container is cut into a large number of voxels by cutting a three-dimensional mesh therein, and different values are set for voxels in which a part of the shape of the container exists and voxels corresponding to a space, Expressing the shape of the arbitrary container as a set of these voxels, when injecting the liquid from a predetermined injection point of the arbitrary container until reaching a predetermined level, from the voxel to which the injection point belongs, before and after, Left and right, continuously trace the empty voxels showing the value representing the space in each voxel adjacent to the top and bottom continuously without omission with the predetermined level as the upper limit, counting the number of empty voxels found in the trace A liquid filling amount operation characterized by calculating a filling amount required to fill the liquid to the predetermined level by converting the volume. Method.
【請求項4】 任意の容器の形状をそれに3次元メッシ
ュを切って多数のボクセルに切り分け、前記容器の形状
の一部が存在するボクセルと空間に対応するボクセルと
にそれぞれ異なる値を設定し、これらのボクセルの集合
として当該任意の容器の形状を表現する形状表示部と、 前記形状表示部が生成するデータを保存する形状データ
記憶部と、 前記形状データ記憶部にアクセスし、 前記任意の容器のあらかじめ定められた注入点から液体
を所定のレベルに達するまで注入するときに、当該注入
点の属するボクセルから前後、左右、上下に隣接する各
ボクセルのうちで空間を表す値を示している空きボクセ
ルを前記所定のレベルを上限として連続的に漏れなくト
レースして行く空きボクセルトレース部と、 前記空きボクセルトレース部のトレースによって見出さ
れる空間を表す値を示している空きボクセルの数をカウ
ントする空きボクセルカウント部と、 前記空きボクセルカウント部がカウントした空きボクセ
ルの数から体積換算する体積換算部と、 前記体積換算部が算出する体積から液体の充填量を算定
する充填量算定部とを備えて成る液体充填量演算装置。
4. A shape of an arbitrary container is cut into a large number of voxels by cutting a three-dimensional mesh therein, and different values are set for voxels in which a part of the shape of the container exists and voxels corresponding to a space, A shape display unit that expresses the shape of the arbitrary container as a set of these voxels, a shape data storage unit that stores the data generated by the shape display unit, and the shape data storage unit is accessed, and the arbitrary container When a liquid is injected from a predetermined injection point of up to a predetermined level, a space showing a value representing a space among the voxels adjacent to the front, rear, left, right, and up and down from the voxel to which the injection point belongs is vacant. An empty voxel trace unit that continuously traces voxels with the predetermined level as an upper limit without omission, and a trace of the empty voxel trace unit. A free voxel counting unit that counts the number of free voxels showing a value representing a space found by a space, a volume conversion unit that converts the volume from the number of free voxels counted by the free voxel counting unit, and the volume conversion. And a filling amount calculating unit for calculating the filling amount of the liquid from the volume calculated by the unit.
JP29858594A 1994-12-01 1994-12-01 Liquid filling level calculation method, liquid filling amount calculation method, and calculation device used for them Expired - Lifetime JP3269297B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29858594A JP3269297B2 (en) 1994-12-01 1994-12-01 Liquid filling level calculation method, liquid filling amount calculation method, and calculation device used for them

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29858594A JP3269297B2 (en) 1994-12-01 1994-12-01 Liquid filling level calculation method, liquid filling amount calculation method, and calculation device used for them

Publications (2)

Publication Number Publication Date
JPH08159841A true JPH08159841A (en) 1996-06-21
JP3269297B2 JP3269297B2 (en) 2002-03-25

Family

ID=17861649

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29858594A Expired - Lifetime JP3269297B2 (en) 1994-12-01 1994-12-01 Liquid filling level calculation method, liquid filling amount calculation method, and calculation device used for them

Country Status (1)

Country Link
JP (1) JP3269297B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001357084A (en) * 2000-06-13 2001-12-26 Fujitsu Nagano Systems Engineering Ltd Device and method for optimizing voxel dividing coordinates, and computer-readable storage medium
JP2005346360A (en) * 2004-06-02 2005-12-15 Fuji Heavy Ind Ltd Method for analyzing residual fluid, method for analyzing liquid pool, and computer program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001357084A (en) * 2000-06-13 2001-12-26 Fujitsu Nagano Systems Engineering Ltd Device and method for optimizing voxel dividing coordinates, and computer-readable storage medium
JP2005346360A (en) * 2004-06-02 2005-12-15 Fuji Heavy Ind Ltd Method for analyzing residual fluid, method for analyzing liquid pool, and computer program
JP4527445B2 (en) * 2004-06-02 2010-08-18 富士重工業株式会社 Residual fluid analysis method, liquid pool analysis method, and computer program

Also Published As

Publication number Publication date
JP3269297B2 (en) 2002-03-25

Similar Documents

Publication Publication Date Title
CN103299308B (en) Solid modelling is utilized to calculate the liquid level in arbitrary shape hermetic container
JP7014589B2 (en) Automatic division of 3D scenes into multiple zones processed by computing resources
Hubbard Collision detection for interactive graphics applications
Cooper Random-sequential-packing simulations in three dimensions for spheres
EP1804187B1 (en) Process for displaying objects in a PLM database and apparatus implementing this process
EP0531157A2 (en) Three dimensional graphics processing
EP0559373A2 (en) Method and apparatus for processing image data
US9001117B2 (en) Selective flow visualization of traced particles
CN108170895B (en) Streak line visualization apparatus and method
CN114655382B (en) Virtual visualization system and method for ship structure dynamics analysis result
Kamat et al. Scene graph and frame update algorithms for smooth and scalable 3D visualization of simulated construction operations
KR920006291B1 (en) Solid modelling method
JPH08159841A (en) Liquid filling level computing method, liquid filling quantity computing method and computing device used for it
CN118037948A (en) Image realization control method and system based on fusion of BIM and GIS engine
CN1395196A (en) Data visual display method of computer fluid mechanics in smelting process
CN116452735A (en) Octree-based data processing method, octree-based data processing device and computer-readable storage medium
CN100437599C (en) Volume data cell labeling method and its program
Takala User interface management system with geometric modeling capability: a CAD system’s framework
Aronov et al. Cost prediction for ray shooting
Grüne et al. On numerical algorithm and interactive visualization for optimal control problems
US11410380B2 (en) Methods for localizing a digitally-modeled object with respect to a digitally-modeled space and for performing volumetric queries
AU2004237073B2 (en) Methods, systems, and computer readable media for using closed contours of a modeled surface
CN112950762B (en) Digital twin body rapid application and release system
JPH0623990B2 (en) 3D container design device
JP7499091B2 (en) Design Support Equipment

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080118

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090118

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100118

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100118

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110118

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120118

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130118

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130118

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140118

Year of fee payment: 12

EXPY Cancellation because of completion of term