JP6246548B2 - Simulation apparatus and computer program - Google Patents
Simulation apparatus and computer program Download PDFInfo
- Publication number
- JP6246548B2 JP6246548B2 JP2013214163A JP2013214163A JP6246548B2 JP 6246548 B2 JP6246548 B2 JP 6246548B2 JP 2013214163 A JP2013214163 A JP 2013214163A JP 2013214163 A JP2013214163 A JP 2013214163A JP 6246548 B2 JP6246548 B2 JP 6246548B2
- Authority
- JP
- Japan
- Prior art keywords
- analysis
- physical quantity
- attribute
- simulator
- directed graph
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Complex Calculations (AREA)
Description
本発明は、数値解析モデルデータによって表される対象物の挙動を複数のシミュレータを用いて連成解析するシミュレーション装置及びコンピュータプログラムに関する。 The present invention relates to a simulation apparatus and a computer program that perform coupled analysis on the behavior of an object represented by numerical analysis model data using a plurality of simulators.
製品設計の現場に数値解析シミュレーションソフトが導入され、試作コストの低減や開発リードタイムの短縮が達成されてから、既に久しい。計算マシンの性能、解析ソフトの解析速度や操作性の向上に伴い、設計の現場でも十分に解析ソフトを使いこなせる段階に達した。よって、現場には、より高度な現象を扱える余裕が生じている。
一方、単一の物理現象では実現象を正しく再現するには限界がある。例えば、モータの磁界解析で、室温の状態、ある電流値におけるトルクを求めることはできる。しかし、定常状態での温度上昇、冷却条件による発熱抑制、回転時の振動・騒音問題などは磁界解析単独では表現できない。また、設計の現場では2以上の物理現象にわたる二律背反を調整する場合もある。例えば、モータの駆動トルク、効率を最大化しようとするとブリッジ部分が薄くなる。一方で、ブリッジ部分が薄いと強度が不足して、高速回転時にモータ表面が破損する可能性が高くなる。そこで、設計の現場で手軽に行える、複数の物理現象を組合わせた連成解析が必要となってきた。
ところで、複雑なマルチフィジックス問題を扱うには、各物理現象間、即ち複数のシミュレータ間で物理量の受け渡しを行う必要がある。一般的に物理量の受け渡し順序を変えると解が変わってしまい、物理現象を適切に反映した解析結果が得られないことがある。以下、物理量の受け渡す順序が問題になることを具体的に説明する。
It has already been a long time since numerical analysis simulation software was introduced at the product design site, and trial production costs and development lead times were reduced. As the performance of computing machines, the analysis speed and operability of analysis software have improved, we have reached the stage where we can fully use the analysis software at the design site. Therefore, there is room for handling more advanced phenomena at the site.
On the other hand, there is a limit to correctly reproducing the actual phenomenon with a single physical phenomenon. For example, the torque at a certain current value at room temperature can be obtained by magnetic field analysis of the motor. However, temperature rise in a steady state, suppression of heat generation due to cooling conditions, vibration / noise problems during rotation, etc. cannot be expressed by magnetic field analysis alone. In some cases, the trade-off between two or more physical phenomena may be adjusted at the design site. For example, the bridge portion becomes thin when trying to maximize the driving torque and efficiency of the motor. On the other hand, if the bridge portion is thin, the strength is insufficient, and the possibility of damage to the motor surface during high-speed rotation increases. Therefore, it has become necessary to perform coupled analysis combining multiple physical phenomena that can be easily performed at the design site.
By the way, in order to handle a complicated multiphysics problem, it is necessary to exchange physical quantities between physical phenomena, that is, between a plurality of simulators. In general, changing the delivery order of physical quantities changes the solution, and analysis results that appropriately reflect physical phenomena may not be obtained. Hereinafter, it will be specifically described that the order of transferring physical quantities becomes a problem.
図16は複数のシミュレータに入出力する物理量の関係を概念的に示す説明図である。図16は、磁界解析シミュレータ、構造解析シミュレータ及び熱解析シミュレータ間で受け渡される物理量を示している。 FIG. 16 is an explanatory diagram conceptually showing the relationship between physical quantities input to and output from a plurality of simulators. FIG. 16 shows physical quantities passed between the magnetic field analysis simulator, the structure analysis simulator, and the thermal analysis simulator.
図17〜図22は第1の解析手順〜第6の解析手順を概念的に示す説明図である。横軸矢印は時刻を示している。特に時刻t1においては、複数のシミュレータが同時的に実行されるが、実際には同時に数値解析を行うことができないため、物理量の受け渡しの順序が問題となる。白抜き矢印は解析の順序を示している。例えば、図17では、磁界解析、構造解析、熱解析、磁界解析…の順で解析が行われる。また、円図形および楕円図形は数値解析の対象物の形状及び温度を示している。ハッチングがある図形と、白抜きの図形は温度が変わっていることを示している。円図形と、楕円図形は形状の変化があることを示している。対象物は構造解析によって得られた変位に応じて変形し、熱解析の結果によって対象物の温度が上昇もしくは下降する。「状態」は各シミュレータに入力される物理量を示しており、「結果」は、各シミュレータから出力される物理量を示している。 17 to 22 are explanatory diagrams conceptually showing the first analysis procedure to the sixth analysis procedure. The horizontal axis arrow shows the time. In particular, at time t1, a plurality of simulators are executed simultaneously, but in reality, numerical analysis cannot be performed at the same time, so the order of delivery of physical quantities becomes a problem. Open arrows indicate the order of analysis. For example, in FIG. 17, the analysis is performed in the order of magnetic field analysis, structural analysis, thermal analysis, magnetic field analysis,. A circular figure and an ellipse figure indicate the shape and temperature of the object of numerical analysis. A hatched figure and a white figure indicate that the temperature has changed. A circular figure and an ellipse figure show a change in shape. The object deforms according to the displacement obtained by the structural analysis, and the temperature of the object rises or falls depending on the result of the thermal analysis. “State” indicates a physical quantity input to each simulator, and “Result” indicates a physical quantity output from each simulator.
図17及び図18においては、磁界解析によって得られた発熱量を、熱解析シミュレータが受け取り、熱解析を実行している。その結果、時刻tの時点で瞬時に対象物の温度が上昇しており、不適である。
図19及び図20においては、同時刻で対象物の形状が異なっており、解析結果を評価する際に問題が生じる可能性がある。
図21においては、図17及び図18同様、磁界解析によって得られた発熱量によって、時刻t1の時点で瞬時に対象物の温度が上昇しており、不適である。
図22は、時刻t1で対象物の形状が同じであり、磁界解析によって得られた発熱量によって、対象物の温度が瞬時に上昇することも無く、最も適当な解析順序であると考えられる。
以上の通り、複数のシミュレータ間の物理量の受け渡し順序が問題となることが分かる。
In FIG. 17 and FIG. 18, the heat analysis simulator receives the amount of heat generated by the magnetic field analysis and executes the heat analysis. As a result, the temperature of the object instantaneously increases at time t, which is inappropriate.
19 and 20, the shapes of the objects are different at the same time, which may cause a problem when evaluating the analysis result.
In FIG. 21, as in FIGS. 17 and 18, the temperature of the object instantaneously increases at the time t <b> 1 due to the heat generation amount obtained by the magnetic field analysis, which is inappropriate.
FIG. 22 shows that the shape of the object is the same at time t1, and the temperature of the object does not rise instantaneously due to the heat generation amount obtained by the magnetic field analysis, and is considered to be the most appropriate analysis order.
As described above, it can be understood that the order of physical quantity transfer between a plurality of simulators becomes a problem.
しかしながら、物理量の受け渡しを全て理解して、正しく組み合わせることは、数値解析に不慣れな設計者に負担を強いる。数値解析に詳しくない設計者が、解析の優先度を正しく設定することは難しく、簡便なシステムが望まれる。 However, understanding all the passing of physical quantities and combining them correctly places a burden on designers who are unfamiliar with numerical analysis. It is difficult for a designer who is not familiar with numerical analysis to set the analysis priority correctly, and a simple system is desired.
本発明は斯かる事情に鑑みてなされたものであり、その目的は、複数のシミュレータ間の物理量の受け渡し順序を自動的に決定し、連成解析を実行することができるシミュレーション装置及びコンピュータプログラムを提供することにある。 The present invention has been made in view of such circumstances, and an object of the present invention is to provide a simulation apparatus and a computer program capable of automatically determining a physical quantity delivery order between a plurality of simulators and executing a coupled analysis. It is to provide.
本発明に係るシミュレーション装置は、数値解析モデルデータによって表される対象物の挙動を、異なる支配方程式に基づいてシミュレートする複数のシミュレータを備え、該複数のシミュレータを用いて前記対象物の時系列的な挙動を連成解析するシミュレーション装置において、前記シミュレータに入力する物理量及び該物理量の属性を、前記シミュレータ毎に対応付けて記憶する属性記憶部と、一の時点における前記対象物の挙動を前記複数のシミュレータを用いてシミュレートする場合、該属性記憶部が記憶する物理量及び属性に基づいて、前記複数のシミュレータを用いた連成解析の手順を決定する解析手順決定部とを備え、前記属性は第1属性及び第2属性を含み、前記第1属性は、前記対象物の静的な状態を決定する物理量に対応付けられており、前記第2属性は、前記シミュレータから出力される物理量を動的に変化させる物理量に対応付けられている。 A simulation apparatus according to the present invention includes a plurality of simulators for simulating the behavior of an object represented by numerical analysis model data based on different governing equations, and uses the plurality of simulators to time-sequentially analyze the object. in the simulation apparatus for coupling analysis of behavior, the attributes of the physical quantity and the physical quantity input to the simulator, and the attribute storage unit that stores in association with each of the simulator, the behavior of the object at the time one the when simulating using a plurality of simulators based on the physical quantity and attributes stored in the the attribute storage unit, and a analysis procedure determining unit that determines a procedure of coupled analysis using the plurality of simulators, the The attribute includes a first attribute and a second attribute, and the first attribute is a physical quantity that determines a static state of the object. And attached response, the second attribute is associated with a physical quantity dynamically changing the physical quantity output from said simulator.
本発明に係るコンピュータプログラムは、コンピュータに、数値解析モデルデータによって表される対象物の時系列的な挙動を複数のシミュレータを用いて連成解析させるコンピュータプログラムにおいて、前記シミュレータに入力する物理量の属性は第1属性及び第2属性を含み、前記第1属性は、前記対象物の静的な状態を決定する物理量に対応付けられ、前記第2属性は、前記シミュレータから出力される物理量を動的に変化させる物理量に対応付けられており、前記コンピュータを、前記シミュレータを用いたシミュレートによって出力され、他の前記シミュレータに入力される物理量によって関連付けられる前記複数のシミュレータの相互関係を示す有向グラフを作成する有向グラフ生成部と、該有向グラフ生成部にて生成された前記有向グラフに閉路が含まれるか否かを判定する判定部と、該判定部が前記有向グラフに閉路が含まれていると判定した場合、前記第1属性を有する物理量を入出力する相互関係を前記有向グラフから削除せず、前記第2属性を有する物理量を入出力する相互関係を前記有向グラフから削除する削除部と、前記第2属性に係る相互関係が削除された無閉路の有向グラフに基づいて、物理量の入出力が逆順にならないように、前記複数のシミュレータによるシミュレート順序を決定する決定部として機能させる。 A computer program according to the present invention is a computer program that causes a computer to perform coupled analysis of a time-series behavior of an object represented by numerical analysis model data using a plurality of simulators . Attributes of physical quantities input to the simulator Includes a first attribute and a second attribute, the first attribute is associated with a physical quantity that determines a static state of the object, and the second attribute is a physical quantity output from the simulator. and associated with a physical quantity that changes in, creating the computer, output by simulated using the simulator, the directed graph indicating the correlation between the plurality of simulators associated by the physical quantity to be inputted to the other of the simulator a digraph generation unit for, generated by organic directed graph generation unit Wherein a determination section for determining whether or not contain closed in serial directed graph, if the determination unit determines that contains closed in the directed graph, a correlation to output a physical quantity having the first attribute Based on the deletion unit that deletes the correlation that inputs and outputs the physical quantity having the second attribute from the directed graph without deleting it from the directed graph, and the acyclic directed graph from which the correlation related to the second attribute is deleted So that the order of simulation by the plurality of simulators is determined.
本発明によれば、複数のシミュレータ間の物理量の受け渡し順序を自動的に決定し、連成解析を実行することができる。物理量の受け渡しが自動的に行われるため、数値解析に不慣れな設計者に負担を強いることは無く、連成解析を実行することができる。 According to the present invention, it is possible to automatically determine a physical quantity delivery order between a plurality of simulators and execute a coupled analysis. Since physical quantities are automatically transferred, coupled analysis can be performed without imposing a burden on designers unfamiliar with numerical analysis.
以下、本発明をその実施の形態を示す図面に基づいて詳述する。
図1は、シミュレーション装置の構成を示すブロック図である。図中1は、本発明の実施の形態1に係るシミュレーション装置である。シミュレーション装置1は、コンピュータを用いて構成されており、数値解析モデルデータによって表される対象物の挙動を、異なる支配方程式に基づいてシミュレートする複数のシミュレータを備える。数値解析の対象物は、例えば回転機、発電機、変圧器、インダクタ、コンデンサ、磁気センサ、バスバー、磁気シールド、磁気ヘッド、超電導体、などの電磁機器、電磁部品であり、生産技術としての誘導加熱、通電加熱、焼嵌等、様々な現象が対象物として扱われる。シミュレータは、例えば有限要素法を用いた磁界解析シミュレータ、熱解析シミュレータ、構造解析シミュレータ、電気回路シミュレータ、熱流体シミュレータ、鍛造解析シミュレータ等である。シミュレーション装置1は、複数のシミュレータを用いて前記対象物の時系列的な挙動を連成解析する機能を有する。
Hereinafter, the present invention will be described in detail with reference to the drawings illustrating embodiments thereof.
FIG. 1 is a block diagram showing the configuration of the simulation apparatus. In the figure,
なお、磁界解析シミュレータの数値解析に用いる支配方程式はマクスウェル方程式である。また、物理現象に応じて、オームの法則、ジュールの法則、ローレンツ力の方程式等を用いて数値解析を行う。磁界と電流の関係は下記式(1)で表される。
磁界解析シミュレータには、磁界を発生させる起磁力として電流及び磁石の磁界等の物理量が入力される。また、解析する対象物の状態を定める物理量として温度、応力等が入力される。磁界解析シミュレータの解析結果として物理量としては、磁界、磁束、発熱量、電磁力等がある。発熱量は、鉄損、ヒステリシス損、ジュール損、銅損に起因する。
Note that the governing equation used for the numerical analysis of the magnetic field analysis simulator is the Maxwell equation. In addition, numerical analysis is performed using Ohm's law, Joule's law, Lorentz force equation, etc. according to physical phenomena. The relationship between the magnetic field and current is expressed by the following formula (1).
A physical quantity such as a current and a magnetic field of a magnet is input to the magnetic field analysis simulator as a magnetomotive force for generating the magnetic field. Further, temperature, stress, and the like are input as physical quantities that determine the state of the object to be analyzed. The physical quantity as an analysis result of the magnetic field analysis simulator includes a magnetic field, magnetic flux, calorific value, electromagnetic force and the like. The calorific value is attributed to iron loss, hysteresis loss, Joule loss, and copper loss.
また、熱解析シミュレータの数値解析に用いる支配方程式は熱伝導方程式であり、下記式(2)で表される。熱解析シミュレータに入力される物理量としては、熱源からの発熱量、初期状態を定める温度等がある。温度は、解析の対象物の物性を定めるための物理量でもある。熱解析シミュレータの解析結果として物理量としては、温度、熱流速等がある。 Moreover, the governing equation used for the numerical analysis of the thermal analysis simulator is a heat conduction equation, and is expressed by the following equation (2). As physical quantities input to the thermal analysis simulator, there are a calorific value from a heat source, a temperature for determining an initial state, and the like. The temperature is also a physical quantity for determining the physical properties of the object to be analyzed. The physical quantity as the analysis result of the thermal analysis simulator includes temperature, heat flow rate, and the like.
更に、構造解析シミュレータの数値解析に用いる支配方程式はつりあいの式及び応力歪み関係式であり、下記式(3)及び(4)で表される。構造解析シミュレータに入力される物理量としては、荷重等の外力、対象物の初期状態を定める変位、対象物の物性を定める温度等が入力する。構造解析シミュレータの解析結果として出力される物理量としては対象物の変位、対象物に働く応力等がある。 Furthermore, the governing equations used for the numerical analysis of the structural analysis simulator are the balance equation and the stress-strain relationship equation, and are expressed by the following equations (3) and (4). As physical quantities input to the structural analysis simulator, external forces such as loads, displacements that determine the initial state of the object, temperatures that determine the physical properties of the object, and the like are input. The physical quantity output as the analysis result of the structural analysis simulator includes the displacement of the object and the stress acting on the object.
その他、各シュミレータについても、オイラーの方程式、オームの法則等、周知の支配方程式を用いて数値解析を行う。 For each simulator, numerical analysis is performed using well-known governing equations such as Euler's equation and Ohm's law.
シミュレーション装置1は、該シミュレーション装置1の各構成部の動作を制御するCPU(Central Processing Unit)11を備えたコンピュータである。CPU11にはバスを介して内部記憶装置12、外部記憶装置13、入力装置14、出力装置15及び通信インタフェース16が接続されている。
The
内部記憶装置12は、コンピュータの初期動作に必要な制御プログラムを記憶したマスクROM、EEPROM等の不揮発性メモリと、コンピュータの動作に必要な制御プログラムを記憶し、CPU11の演算処理を実行する際に生ずる各種データを一時記憶するDRAM、SRAM等のメモリとで構成される。
The
外部記憶装置13は、ハードディスクドライブ、又はソリッドステートドライブ等の読み出しが可能なディスクドライブ、可搬式の記録媒体2からのデータの読み出しが可能なCD−ROMドライブ等の装置である。記録媒体2には、本実施の形態1に係るコンピュータプログラム20が読み出し可能に記録されている。本実施の形態1に係るコンピュータプログラム20は、コンピュータ読み取り可能に記録されたCD(Compact Disc)−ROM、DVD(Digital Versatile Disc)−ROM、BD(Blu-ray Disc:登録商標)等の可搬式の記録媒体2を介すなどしてディスクドライブに記録される。CPU11はコンピュータプログラム20が記録された記録媒体2又はディスクドライブなどから、コンピュータプログラム20を読み出し、内部記憶装置12に記憶させる。また、言うまでもなく、光ディスクは、記録媒体2の一例であり、フレキシブルディスク、磁気光ディスク、外付けハードディスク、半導体メモリ等にコンピュータプログラム20をコンピュータ読み取り可能に記録し、外部記憶装置13にて読み出すように構成しても良い。なお、通信インタフェース16に接続されている外部の通信装置3から本発明に係るコンピュータプログラム20をダウンロードするようにしても良い。
The
また、外部記憶装置13は、コンピュータプログラム20と共に、回転機、変圧器等の有限要素法解析を行うための数値解析モデルデータを記憶している。例えば、本実施の形態では、外部記憶装置13は、複数のティースを有する回転子の3次元形状を表現した数値解析モデルを記憶している。また、外部記憶装置13は、シミュレータに入力する物理量、該物理量の属性、及び該シミュレータを用いたシミュレートによって出力される物理量を、シミュレータ毎に対応付けて記憶している。前記物理量及び属性を対応付けたデータベースを、以下因果関係データベースと言う。詳細は後述する。更に外部記憶装置13は、数値解析モデルを特徴付ける各種材料定数、構成式等を記憶している。
The
またシミュレーション装置1は、キーボード又はマウス等の入力装置14と、液晶ディスプレイ又はCRTディスプレイ等の出力装置15とを備えており、使用者によるデータ入力等の操作を受け付ける構成となっている。
The
図2は磁界解析に係る因果関係データベースの内容を概念的に示す説明図である。因果関係データベースには、図2Aに示すように、磁界解析シミュレータに入力する物理量「温度」と、該物理量の属性である第1属性とが対応付けて登録されている。また、磁界解析シミュレーション結果として出力される物理量「発熱量」及び「電磁力」も登録されている。図中、円図形はシミュレータの種類を示している。円図形に向かう矢印はシミュレータに入力される物理量を示し、円図形から外側を向いた矢印はシミュレータから出力される物理量を示す。「温度」は各有限要素の温度を示す物理量である。「発熱量」は各有限要素で発生する熱量、「電磁力」は各有限要素に働く電磁力を示す物理量である。第1属性は対象物の静的な状態を決定する入力物理量に対応付けられている。磁界解析に関連する対象物の物性は、温度によって瞬時に定まるため、「温度」は静的な状態を決定する物理量である。
また、図2Bに示すように、磁界解析シミュレータに入力する他の物理量「変位」と、該物理量の属性である第1属性とが対応付けて登録されている。また、上述の通り、磁界解析シミュレーション結果として出力される物理量「発熱量」及び「電磁力」も登録されている。「変位」は対象物を表す各節点の変位を示す物理量である。
FIG. 2 is an explanatory diagram conceptually showing the contents of a causal relation database related to magnetic field analysis. In the causal relation database, as shown in FIG. 2A, a physical quantity “temperature” input to the magnetic field analysis simulator and a first attribute that is an attribute of the physical quantity are registered in association with each other. In addition, physical quantities “heat generation amount” and “electromagnetic force” output as magnetic field analysis simulation results are also registered. In the figure, a circular figure indicates the type of simulator. An arrow heading toward the circular graphic indicates a physical quantity input to the simulator, and an arrow pointing outward from the circular graphic indicates a physical quantity output from the simulator. “Temperature” is a physical quantity indicating the temperature of each finite element. “Heat generation amount” is the amount of heat generated in each finite element, and “electromagnetic force” is a physical quantity indicating the electromagnetic force acting on each finite element. The first attribute is associated with an input physical quantity that determines the static state of the object. Since the physical properties of an object related to magnetic field analysis are determined instantaneously by temperature, “temperature” is a physical quantity that determines a static state.
Further, as shown in FIG. 2B, another physical quantity “displacement” input to the magnetic field analysis simulator and a first attribute that is an attribute of the physical quantity are registered in association with each other. As described above, the physical quantities “heat generation amount” and “electromagnetic force” output as the magnetic field analysis simulation result are also registered. “Displacement” is a physical quantity indicating the displacement of each node representing the object.
図3は熱解析に係る因果関係データベースの内容を概念的に示す説明図である。因果関係データベースには、図3A及び図3Bに示すように、熱解析シミュレータに入力する物理量「温度」及び「変位」それぞれに、該物理量の属性である第1属性とが対応付けて登録されている。また、熱解析シミュレーション結果として出力される物理量「温度」も登録されている。また、因果関係データベースには、図3Cに示すように、熱解析シミュレータに入力する物理量「発熱量」と、該物理量の属性である第2属性とが対応付けて登録されている。また、上述の通り、熱解析シミュレーション結果として出力される物理量「温度」も登録されている。第2属性はシミュレータから出力される物理量を動的に変化させる入力物理量に対応付けられている。「発熱量」は、発熱量が対象物に与えられた結果、該対象物の温度として反映されるまでに一定の時間を要するような物理量であり、「発熱量」には第2属性が対応付けられている。 FIG. 3 is an explanatory diagram conceptually showing the contents of a causal relation database related to thermal analysis. As shown in FIGS. 3A and 3B, the physical quantity “temperature” and “displacement” input to the thermal analysis simulator are registered in the causal relation database in association with the first attribute that is an attribute of the physical quantity. Yes. The physical quantity “temperature” output as the thermal analysis simulation result is also registered. Further, as shown in FIG. 3C, the physical quantity “heat generation amount” input to the thermal analysis simulator and the second attribute that is an attribute of the physical quantity are registered in the causal relation database in association with each other. As described above, the physical quantity “temperature” output as the thermal analysis simulation result is also registered. The second attribute is associated with an input physical quantity that dynamically changes the physical quantity output from the simulator. “Heat generation amount” is a physical quantity that requires a certain amount of time to be reflected as the temperature of the object as a result of giving the heat generation amount to the object, and the second attribute corresponds to “heat generation amount” It is attached.
図4は構造解析に係る因果関係データベースの内容を概念的に示す説明図である。因果関係データベースには、図4Aに示すように、構造解析シミュレータに入力する物理量「温度」と、該物理量の属性である第1属性及び第2属性とが対応付けて登録されている。また、構造解析シミュレーション結果として出力される物理量「変位」も登録されている。「温度」は、温度が対象物に与えられた結果、熱膨張現象として該対象物の変位として反映されるまでに一定の時間を要するかどうかが、対象物によって異なるため、物理量「温度」には第1属性及び第2属性の双方が対応付けられている。また、図4Bに示すように、構造解析シミュレータに入力する物理量「変位」と、該物理量の属性である第1属性と、出力される物理量「変位」とが対応付けられて登録されている。更に、図4Cに示すように、構造解析シミュレータに入力する物理量「電磁力」と、該物理量の属性である第2属性と、出力される物理量「変位」とが対応付けられて登録されている。「電磁力」は、電磁力が対象物に与えられた結果、該対象物の変位として反映されるまでに一定の時間を要するような物理量である。このため、「電磁力」には第2属性が対応付けられている。 FIG. 4 is an explanatory diagram conceptually showing the contents of a causal relation database related to structural analysis. In the causal relation database, as shown in FIG. 4A, the physical quantity “temperature” input to the structural analysis simulator and the first attribute and the second attribute that are attributes of the physical quantity are registered in association with each other. In addition, a physical quantity “displacement” output as a structural analysis simulation result is also registered. “Temperature” depends on the physical quantity “temperature” because it depends on the object whether or not it takes a certain amount of time to be reflected as a displacement of the object as a thermal expansion phenomenon as a result of the temperature being given to the object. Is associated with both the first attribute and the second attribute. 4B, the physical quantity “displacement” input to the structural analysis simulator, the first attribute that is an attribute of the physical quantity, and the output physical quantity “displacement” are registered in association with each other. Furthermore, as shown in FIG. 4C, the physical quantity “electromagnetic force” input to the structural analysis simulator, the second attribute that is an attribute of the physical quantity, and the output physical quantity “displacement” are associated and registered. . The “electromagnetic force” is a physical quantity that requires a certain time until the electromagnetic force is reflected as a displacement of the object as a result of being applied to the object. For this reason, the second attribute is associated with “electromagnetic force”.
図5はCPU11の処理手順を示すフローチャートである。まず、CPU11は、入力装置14にて、物理現象の選択を受け付ける(ステップS11)。そして、CPU11は、利用するシミュレータ及び各シミュレータに入出力する物理量を決定する(ステップS12)。
FIG. 5 is a flowchart showing the processing procedure of the
図6は物理現象選択に係る入力画面4の一例を示す模式図である。具体的には、CPU11は、解析の対象物及び物理現象の種類を受け付ける。対象物が選択された場合、CPU11は、選択された対象物を表現する数値解析モデルを外部記憶装置13から内部記憶装置12に読み出し、該対象物の形状を入力画面4に表示する。物理現象としては、誘導加熱現象、熱減磁現象、熱膨張現象等がある。また、必要なシミュレータをシミュレーション装置1に備えることにより、その他一般的な電磁場の現象、伝熱現象、対象物の強度、振動及び音に関する現象、流体の振る舞い等の物理現象を受け付けることができる。物理現象の受け付けは、解析の対象物の材料、条件、評価したい物理量等を入力することによって行われ、後述するように問題とする物理現象に応じたシミュレータが選択される。
入力画面4の右欄には、数値解析に必要な対象物を構成する材料の候補が一覧表示されており、CPU11は、対象物の各部を構成する材料を受け付ける。材料は雰囲気、永久磁石、導電材料、誘電体等である。また、CPU11は、対象物に与えられる電流値、熱量、外力等を受け付ける。
更に、CPU11は、複数の各シミュレータ実行する解析ステップの周期に対応する実時間、つまり各解析ステップの時間刻みを入力装置14にて受け付け、受け付けた実時間の関係を内部記憶装置12又は外部記憶装置13に記憶する。
FIG. 6 is a schematic diagram showing an example of the input screen 4 related to physical phenomenon selection. Specifically, the
The right column of the input screen 4 displays a list of material candidates that constitute the object necessary for the numerical analysis, and the
Further, the
例えば、ユーザは対象物を構成するコイルに「電流を流す」という条件、特定の部位を「磁石」とする解析条件を入力装置14に入力する。また、ユーザは、評価したい項目、例えば「電磁力(トルク)を評価したい」、「磁束量を評価したい」、「損失を評価したい」等の評価項目を入力装置14に入力する。これらの物理量の入力及び出力の関係から、CPU11は利用するシミュレータとして、磁界解析シミュレータを選択する。
また、ユーザが「コイルの温度を評価したい」、「コアの温度を評価したい」といった評価項目を入力装置14に入力した場合、出力結果として温度が必要であるため、CPU11は利用するシミュレータとして、熱解析シミュレータを選択する。
以下、対象物の誘導加熱現象を数値解析する例を説明する。対象物には電流が与えられており、対象物は電流によって発熱する条件、熱伝導する材料、熱によって熱伝導度、電気抵抗値等の物性が変化する温度依存性材料が選択されているものとする。誘導加熱現象を数値解析する場合に使用するシミュレータは磁界シミュレータ及び熱解析シミュレータであり、入出力する物理量ないし評価項目によってCPU11が決定する。
また、CPU11は、例えば、熱解析の解析ステップの刻みとして1秒、磁界解析の刻みとして、1/15秒を記憶する(図9参照)。これは、熱解析において熱が伝導する際の時定数は、一般的に磁界解析の磁場が変動する時定数よりも長いため、計算時間を短縮するために異なる時間刻みを設定することを示している。なお、入力装置14は受付部として機能し、内部記憶装置12又は外部記憶装置13は、実時間記憶部として機能する。
For example, the user inputs a condition “flow current” to a coil constituting the object, and an analysis condition that a specific part is “magnet” to the
Further, when the user inputs an evaluation item such as “I want to evaluate the temperature of the coil” or “I want to evaluate the temperature of the core” to the
Hereinafter, an example of numerical analysis of the induction heating phenomenon of an object will be described. A current is applied to the object, and the object is selected from a condition that generates heat due to the current, a material that conducts heat, and a temperature-dependent material whose physical properties such as thermal conductivity and electrical resistance change due to heat. And Simulators used for numerical analysis of the induction heating phenomenon are a magnetic field simulator and a thermal analysis simulator, and the
Further, the
図7は決定された入出力物理量の一例を概念的に示す説明図である。CPU11は、ステップS11で選択された物理現象によって、使用するシミュレータとして磁界解析シミュレータと、熱解析シミュレータを選択する。そして、変位する材料が選択されておらず、温度依存性の材料及び電流による発熱条件が選択されていることから、磁界解析シミュレータに入出力する物理量としては、図7Aに示すように、「温度」と、「発熱量」が選択される。変形を考慮する場合は入力として「変位」、出力として「電磁力」も選択される。磁界解析で、物性に鉄損曲線を有する材料があれば、磁界解析シミュレータは発熱量(鉄損)を出力する。また、物性に電気抵抗を有する材料があれば、磁界解析シミュレータは発熱量(ジュール損)を出力する。更に、コイルに電流が流れ抵抗値がわかれば、磁界解析シミュレータは発熱量(銅損)を出力する。
また、熱解析シミュレータに入出力する物理量としては、図7B及び図7Cに示すように「発熱量」と、「温度」とがそれぞれ選択される。温度依存性材料データがあれば、入力に「温度」が必要であると分かる。また、熱解析で、発熱条件を設定すれば、入力に「発熱量」が必要であると分かる。熱解析は、標準機能として、温度分布を出力する。
FIG. 7 is an explanatory diagram conceptually illustrating an example of the determined input / output physical quantity. The
Further, as the physical quantity input / output to / from the thermal analysis simulator, “heat generation amount” and “temperature” are respectively selected as shown in FIGS. 7B and 7C. If there is temperature-dependent material data, it turns out that "temperature" is required for input. In addition, if a heat generation condition is set in the thermal analysis, it can be understood that the “heat generation amount” is necessary for input. Thermal analysis outputs temperature distribution as a standard function.
次いで、CPU11は、同一物理量の入出力によって関連付けられる複数のシミュレータの相互関係を示す有向グラフを生成する(ステップS13)。ステップS13を実行するCPU11は、有向グラフ生成部として機能する。
ステップS11〜12の処理で決定された磁界解析シミュレータ及び熱解析シミュレータをどのように接続するかは、入力及び出力する物理量の因果関係によって定められる。対象物の誘導加熱現象を数値解析する場合、磁界解析シミュレータから出力される「発熱量」(損失)と、熱解析に入力される「発熱量」(発熱源)とが接続される。また、磁界解析及び熱解析の対象物の物性として、温度依存性を有する材料が選択されたような場合、磁界解析シミュレータ及び熱解析シミュレータに入力する物理量として、「発熱量」が必要となり、磁界解析シミュレータ及び熱解析シミュレータの入力に、熱解析が出力する物理量「発熱量」が接続される。
Next, the
How to connect the magnetic field analysis simulator and the thermal analysis simulator determined in the processes of steps S11 to S12 is determined by the causal relationship between the input and output physical quantities. When numerically analyzing the induction heating phenomenon of an object, the “heat generation amount” (loss) output from the magnetic field analysis simulator and the “heat generation amount” (heat generation source) input to the thermal analysis are connected. In addition, when a material having temperature dependency is selected as the physical property of the object of magnetic field analysis and thermal analysis, a “heat generation amount” is required as a physical quantity to be input to the magnetic field analysis simulator and thermal analysis simulator. A physical quantity “heat generation amount” output by thermal analysis is connected to inputs of the analysis simulator and the thermal analysis simulator.
図8は有向グラフの生成方法の一例を概念的に示す説明図である。図8に示すように、熱解析シミュレータから出力される「温度」は、磁界解析シミュレータに入力される。また、磁界解析シミュレータから出力される「発熱量」は熱解析シミュレータに入力される。誘導加熱現象の数値解析において、対象物の材料が温度依存性を有する場合、後述するように、磁界解析シミュレータ及び磁界解析シミュレータの有向グラフには閉路が含まれる。
なお、ここでは、2つのシミュレータを連成解析する例を示したが、3つ以上のシミュレータを連成解析する場合も同様にして、有向グラフを生成すれば良い。3つ以上のシミュレータを連成解析する場合、解析ステップの周期によって同時刻に実行されることになる複数のシミュレータの組み合わせを特定し、特定された各組のシミュレータに係る有向グラフを生成すれば良い。
FIG. 8 is an explanatory diagram conceptually showing an example of a directed graph generation method. As shown in FIG. 8, the “temperature” output from the thermal analysis simulator is input to the magnetic field analysis simulator. The “heat generation amount” output from the magnetic field analysis simulator is input to the thermal analysis simulator. In the numerical analysis of the induction heating phenomenon, when the material of the object has temperature dependence, as described later, the magnetic field analysis simulator and the directed graph of the magnetic field analysis simulator include a closed circuit.
Note that, here, an example in which two simulators are coupled and analyzed has been shown, but a directed graph may be generated in the same manner when three or more simulators are coupled and analyzed. When coupled analysis of three or more simulators is performed, a combination of a plurality of simulators to be executed at the same time according to the cycle of the analysis step may be specified, and a directed graph relating to each specified set of simulators may be generated. .
次いで、CPU11は、ステップS13にて生成された有向グラフに閉路が含まれるか否かを判定する(ステップS14)。例えば、図8に示す有向グラフの場合、該有向グラフは閉路を含むと判定される。ステップS14を実行するCPU11は、判定部として機能する。
各シミュレータに入出力する物理量によって生成された有向グラフに閉路が含まれる場合、トポロジカルソートでは複数の各シミュレータを実行する順序を一意に決定することができない。そこで、ステップS15及びステップS16では、前記有向グラフを、無閉路有向グラフに変換する処理を実行する。
Next, the
When the directed graph generated by the physical quantity input / output to / from each simulator includes a cycle, the topological sort cannot uniquely determine the order in which the plurality of simulators are executed. Therefore, in step S15 and step S16, processing for converting the directed graph into an acyclic directed graph is executed.
図9は連成解析の解析ステップの一例を概念的に示す説明図である。横軸の矢印は時間軸を示しており、熱解析シミュレータ及び磁界解析シミュレータがシミュレーションを実行する時間を示している。図9に示す例では、0秒、1秒、2秒…において、複数のシミュレータが同時に実行される。ステップS14で生成された有向グラフに閉路が含まれ、複数のシミュレータの実行手順が問題となるのは、これらのタイミングにおけるシミュレーションである。 FIG. 9 is an explanatory diagram conceptually showing an example of the analysis step of the coupled analysis. The arrow on the horizontal axis indicates the time axis, and indicates the time for the thermal analysis simulator and the magnetic field analysis simulator to execute the simulation. In the example shown in FIG. 9, a plurality of simulators are simultaneously executed in 0 seconds, 1 second, 2 seconds,. It is the simulation at these timings that the closed graph is included in the directed graph generated in step S14 and the execution procedure of the plurality of simulators becomes a problem.
ステップS14において、有向グラフに閉路が含まれると判定された場合(ステップS14:YES)、CPU11は、ステップS12にて決定した物理量、つまり各シミュレータに入出力する物理量の属性を、因果関係データベースから読み出す(ステップS15)。
If it is determined in step S14 that the directed graph includes a cycle (step S14: YES), the
図10は読み出された物理量の一例を概念的に示す説明図である。図10A及び図10Bに示すように、磁界解析シミュレータ及び熱解析シミュレータに入力する「温度」には第1属性が対応付けられている。図10Cに示すように、熱解析シミュレータの「発熱量」には第2属性が対応付けられている。 FIG. 10 is an explanatory diagram conceptually showing an example of the read physical quantity. As shown in FIGS. 10A and 10B, the first attribute is associated with “temperature” input to the magnetic field analysis simulator and the thermal analysis simulator. As shown in FIG. 10C, the second attribute is associated with the “heat generation amount” of the thermal analysis simulator.
そして、CPU11は、第2属性を有する物理量に係るエッジを前記有向グラフから削除し、無閉路有向グラフを生成する(ステップS16)。ステップS16を実施するCPU11は削除部として機能する。ここで、エッジは、一のシミュレータから出力し、他のシミュレータに入力する物理量の受け渡しに関する因果関係を意味する。
Then, the
図11は無閉路有向グラフの生成方法の一例を概念的に示す説明図である。熱解析シミュレータに入力する物理量「発熱量」には第2属性が対応付けられているため、発熱量が磁界解析シミュレータから出力し、該発熱量が熱解析シミュレータに入力することを示すエッジは削除され、無閉路有向グラフが生成される。第2属性が対応付けられている物理量、即ち「発熱量」は、対象物の温度を瞬時に上昇させるような物理量では無いため、ある時刻における解析の手順として、磁界解析シミュレータから発熱量を熱解析シミュレータに受け渡すことは不適である。従って、発熱量の受け渡しに係るエッジが削除される。 FIG. 11 is an explanatory diagram conceptually illustrating an example of a method for generating an acyclic directed graph. Since the second attribute is associated with the physical quantity “calorific value” input to the thermal analysis simulator, the calorific value is output from the magnetic field analysis simulator, and the edge indicating that the calorific value is input to the thermal analysis simulator is deleted Then, an acyclic directed graph is generated. Since the physical quantity associated with the second attribute, that is, the “heat generation amount” is not a physical quantity that instantaneously increases the temperature of the object, the heat generation amount is calculated from the magnetic field analysis simulator as a procedure for analysis at a certain time. It is unsuitable to pass to the analysis simulator. Accordingly, the edge related to the delivery of the calorific value is deleted.
なお、閉路を構成するエッジに係る物理量に第1属性及び第2属性の双方が対応付けられている場合、CPU11は、該エッジを削除し、無閉路有向グラフを生成する。なお、CPU11は、シミュレーション間で受け渡される前記物理量の大きさに応じて、該エッジを削除するか否かを判定するように構成しても良い。第1属性及び第2属性の双方が対応付けられている物理量が大きい場合、CPU11は、該物理量に係るエッジを削除し、該物理量が小さい場合、該物理量に係るエッジを削除せずに、無閉路有向グラフを生成する。但し、無閉路有向グラフの生成が不可能な場合、前記物理量に係るエッジを削除する。
また、第1属性及び第2属性の双方が対応付けられている物理量が存在する場合、CPU11は、該物理量の変化が対象物の状態に瞬時に反映されるべきか否かを入力装置14にて受け付け、瞬時に反映させるべき物理量であることを受け付けた場合、該物理量に係るエッジを削除し、無閉路有向グラフを生成するように構成しても良い。
When both the first attribute and the second attribute are associated with the physical quantity related to the edge constituting the cycle, the
When there is a physical quantity in which both the first attribute and the second attribute are associated, the
なお、第1属性及び第2属性を用いて、無閉路有向グラフを生成する例を説明したが、深さ優先探索を実行することにより、削除すべきエッジを特定し、無閉路有向グラフを生成しても良い。具体的には、シミュレーション装置1の外部記憶装置13は、複数のシミュレータの内、最初に解析を行うべきシミュレータを記憶する。最初に解析を行うべきシミュレータは、予め外部記憶装置13が記憶しておいても良いし、入力装置14を用いて入力された、最初に解析を行うべきシミュレータを外部記憶装置13に記憶させるようにしても良い。CPU11は、外部記憶装置13が記憶する情報に基づいて、同じタイミングで実行されることになる複数のシミュレータの内、最初に実行すべきシミュレータを特定する。そして、CPU11は、該シミュレータを起点にして、閉路を含む有向グラフの深さ優先探索を行う。CPU11は、深さ優先探索により検出される後退エッジを特定し、該後退エッジを削除することによって、無閉路有向グラフを生成する。
In addition, although the example which produces | generates an acyclic directed graph using the 1st attribute and the 2nd attribute was demonstrated, by performing a depth priority search, the edge which should be deleted is identified and an acyclic directed graph is produced | generated. Also good. Specifically, the
ステップS16の処理を終え、又はステップS14において有向グラフに閉路が含まれ無いと判定した場合(ステップS14:NO)、CPU11は、第2属性に係るエッジが削除された無閉路有向グラフに基づいて、物理量の入手力が逆順にならないように、複数のシミュレータによるシミュレート順序をトポロジカルソートによって決定する(ステップS17)。ステップS17の処理を実行するCPU11は決定部として機能する。
また、ステップS13〜ステップS17を実行するCPU11は、解析手順決定部として機能する。解析手順決定部は、一の時点における対象物の挙動を複数のシミュレータを用いてシミュレートする場合、因果関係データベースが記憶する物理量及び属性に基づいて、前記複数のシミュレータを用いた連成解析の手順を決定する構成部である。
When the process of step S16 is completed, or when it is determined in step S14 that the directed graph does not include a cycle (step S14: NO), the
Moreover, CPU11 which performs step S13-step S17 functions as an analysis procedure determination part. When simulating the behavior of an object at one point of time using a plurality of simulators, the analysis procedure determination unit performs a coupled analysis using the plurality of simulators based on physical quantities and attributes stored in a causal relation database. It is a component that determines the procedure.
なお、CPU11は、一連の解析が始まる前に、全ての処理順序を定めても良いし、解析中に、入出力の関係が変わる場合などは、同一時刻における解析の実行タイミングが問題になった時だけ、解析順序を決定するようにしても良い。
Note that the
次いで、CPU11は、ステップS17で決定した順序に従って、複数のシミュレータを用いて対象物の時系列的な挙動を連成解析する(ステップS18)。
Next, the
図12は解析状況表示画面の一例を示す模式図である。解析状況表示画面5には、連成解析の解析状況がプログレスバーで表示されている。また、解析状況表示画面5は、解析の結果得られた物理量、例えば電磁力によって得られるトルク等の時間変化を表示している。更に、解析状況表示画面5は、解析状況の詳細をメッセージ表示したり、各解析ステップ及び対応する実時間を表示したりする。
FIG. 12 is a schematic diagram illustrating an example of an analysis status display screen. On the analysis
そして、CPU11は、ステップS18による連成解析の結果を、出力装置15にて出力する(ステップS19)。一般的に連成解析を行う場合、シミュレーション毎に解析ステップの周期、つまり解析ステップの時間刻みが異なるが、各シミュレーションの結果を一画面に表示しても良い。
ただし、ある時刻で、各物理現象で対象物の形状が異なるような場合、使用者は違和感を覚えるおそれがあるため、各物理現象毎に表示する画面を分けても良い。また、物理現象毎にどの物理量の入力に対して、どのような物理量の出力を得たのかという関係を表示すると良い。
And CPU11 outputs the result of the coupled analysis by step S18 in the output device 15 (step S19). In general, when performing coupled analysis, the cycle of the analysis step, that is, the time step of the analysis step is different for each simulation, but the results of each simulation may be displayed on one screen.
However, if the shape of the target object is different for each physical phenomenon at a certain time, the user may feel uncomfortable. Therefore, the screen to be displayed may be divided for each physical phenomenon. It is also preferable to display the relationship of what physical quantity output is obtained for which physical quantity input for each physical phenomenon.
ユーザはあるタイミングの解析結果を表示するために、解析ステップの番号を入力装置14に入力することができ、CPU11は、特定の解析ステップの指定を受け付けたか否かを判定する(ステップS20)。特定の解析ステップを受け付けたと判定した場合(ステップS20:YES)、受け付けた解析ステップに対応する連成解析結果を、出力装置15にて出力する(ステップS21)。一のシミュレータの解析結果Aについて、解析ステップを指定して表示する。他のシミュレータの解析結果Bに関しては、解析結果Aを入力物理量として参照した解析ステップの解析結果を表示する。例えば、熱解析は1秒毎に解析を行い、磁界解析は0.01秒毎に解析を行うケースを考える。磁界解析の第5ステップ(時刻2.04秒)における結果を表示する際、温度分布は熱解析の第1ステップ(時刻2秒)の結果を入力値として表示する。解析精度は時間刻みにより定まる場合が多い。解析ステップの指定を使用者に提供することで、無意識のうちに解析ステップ分解能を踏まえた結果評価が可能となる。例えば、同じ時間の解析を全部で20解析ステップで済ませた解析と、200解析ステップで済ませた解析とでは見た瞬間に後者の方が精度が高いと分かる。しかし、時刻指定の機能だけだと精度の高低は分かりにくい。
なお、前記一のシミュレータについて指定された解析ステップに対応する時刻で、前記他のシミュレータが実行されていない場合、該時刻の前後の解析ステップにおける前記他のシミュレータの解析結果から、指定された解析ステップに対応する時刻の解析結果を補完して表示してもよい。
In order to display the analysis result at a certain timing, the user can input the number of the analysis step to the
If the other simulator is not executed at the time corresponding to the analysis step specified for the one simulator, the specified analysis is performed based on the analysis result of the other simulator in the analysis step before and after the time. You may complement and display the analysis result of the time corresponding to a step.
またユーザはあるタイミングの解析結果を表示するために、ある解析ステップに対応する解析時刻を入力装置14に入力することができる。ステップS21の処理を終えた場合、又はステップS20で特定の解析ステップの指定を受け付けていないと判定した場合(ステップS20:NO)、CPU11は、特定の解析時刻を受け付けたか否かを判定する(ステップS22)。特定の解析時刻を受け付けていないと判定した場合(ステップS22:NO)、CPU11は処理を終える。なお、説明の便宜上、ステップS19〜ステップS23を一連の処理の流れとして説明したが、実際には解析結果の表示を終了させるまでの間、各シミュレーション結果の一画面表示、解析ステップの指定、解析時刻の指定を常時行い、各種態様で解析結果を表示させることができる。特定の解析時刻を受け付けたと判定した場合(ステップS22:YES)、CPU11は、受け付けた解析時刻に対応する連成解析結果を、出力装置15にて出力する(ステップS23)。つまり、CPU11は、入力装置14にて受け付けた時刻と、内部記憶装置12又は外部記憶装置13が記憶する解析ステップの実時間に基づいて、該時刻に対応する各シミュレータのシミュレーション結果を特定する。例えば、図9に示すような時間刻みで熱解析及び磁界解析が行われた場合を考える。つまり、熱解析は1秒刻みの0秒、1秒、2秒…のタイミングで解析が実行され、磁界解析は1/15秒刻みの0秒、1/15秒、2/15秒…のタイミングで解析が実行された場合を考える。そして、解析結果の表示時刻として1秒が指定された場合、CPU11は、第2番目の解析ステップに対応する熱解析のシミュレーション結果を特定する。また、CPU11は、第15番目の解析ステップに対応する磁界解析のシミュレーション結果を特定する。熱解析の第2番目の解析ステップ、及び磁界解析の第15番目の解析ステップはそれぞれ実時間の1秒に対応している。そして、CPU11は、特定された各シミュレーション結果を、出力装置15にて出力する。
ところで、解析結果の表示時刻として0.5秒が指定された場合、0.5秒に対応する熱解析及び磁界解析の解析ステップが存在しない。この場合、0.5秒の時刻に最も近い解析ステップを特定する。なお、最も近い解析ステップが2つ存在する場合、いずれか一方を選択すれば良い。例えば、熱解析の場合、0.5秒に対応する解析ステップは、0.5×1=0.5番目となり、対応する解析ステップが存在しない。この場合、先の解析ステップとして、0番目の解析ステップに対応するシミュレーション結果を特定する。同様に、磁界解析の場合、0.5秒に対応する解析ステップは、0.5×15=7.5番目となり、対応する解析ステップが存在しない。この場合、先の解析ステップとして、7番目の解析ステップに対応するシミュレーション結果を特定する。このように特定された各シミュレータの解析結果は、出力装置15にて出力される。
なお、ステップS23を実行するCPU11は特定部として機能し、出力装置15は結果出力部として機能する。
In addition, the user can input an analysis time corresponding to a certain analysis step to the
By the way, when 0.5 second is designated as the display time of the analysis result, there is no analysis step of thermal analysis and magnetic field analysis corresponding to 0.5 second. In this case, the analysis step closest to the time of 0.5 seconds is specified. If there are two closest analysis steps, one of them may be selected. For example, in the case of thermal analysis, the analysis step corresponding to 0.5 seconds is 0.5 × 1 = 0.5th, and there is no corresponding analysis step. In this case, the simulation result corresponding to the 0th analysis step is specified as the previous analysis step. Similarly, in the case of magnetic field analysis, the analysis step corresponding to 0.5 seconds is 0.5 × 15 = 7.5, and there is no corresponding analysis step. In this case, the simulation result corresponding to the seventh analysis step is specified as the previous analysis step. The analysis result of each simulator specified in this way is output by the
In addition, CPU11 which performs step S23 functions as a specific part, and the
また、あるシミュレータの解析ステップの時間刻みが1秒である場合に、解析結果の表示時刻として2.1秒を指定されたとき、直近の時刻2秒の時点での結果を表示するようにし、時間軸方向に連続的に分布量をコンター図でアニメーション表示すると良い。複数の物理現象間の相関を分析しやすいというメリットがある。 In addition, when the time step of the analysis step of a certain simulator is 1 second, when 2.1 seconds is specified as the display time of the analysis result, the result at the latest time of 2 seconds is displayed. It is preferable to animate the distribution amount continuously in the time axis direction with a contour diagram. There is an advantage that it is easy to analyze the correlation between a plurality of physical phenomena.
また、指定された時刻に対応する解析ステップが無い場合、該時刻における解析結果を、その時刻の前後の解析ステップの解析結果から補完して表示するようにしても良い。例えば、時刻1秒刻みで解析結果がある場合に、2.1秒を指定したとき、2.1秒を間に含む時刻2秒と3秒の結果から、2.1秒の状態を補完して予測し、表示する。この場合、時間軸方向に連続低に分布量をコンター図でアニメーション表示すると、連続的に物理量が変わる表示となる。 If there is no analysis step corresponding to the designated time, the analysis result at that time may be complemented and displayed from the analysis results of the analysis steps before and after that time. For example, if there is an analysis result in increments of 1 second, and 2.1 seconds is specified, the state of 2.1 seconds is complemented from the results of 2 seconds and 3 seconds including 2.1 seconds. Predict and display. In this case, if the distribution amount is continuously displayed in the contour diagram in the time axis direction as an animation display, the physical amount continuously changes.
図13は、その他のシミュレート手順決定例を概念的に示す説明図である。図13は、外部からの伝熱による熱減磁現象の連成解析の手順を示している。上述の処理手順によって図13に示すような無閉路有向グラフが得られる。数値解析の対象物は磁石である。熱減磁現象においては、外部の熱源から与えられた発熱量が磁石に伝わり、該磁石の温度が上昇する。そして、磁石の磁力が低下し、磁場の分布が変化する。外部の熱源の温度が上昇した場合、磁石の温度も上昇し、地場の分布が変化する。磁界解析の結果得られる発熱量は、熱源による熱に比べて微量であるとして、図13においては無視されている。
なお、発熱量が大きい場合、ステップS13において閉路を含む有向グラフが生成されるが、磁界解析シミュレータから熱解析シミュレータに発熱量が入力するエッジは除去される。従って、連成解析の手順は熱解析、磁界解析の順序になる。
FIG. 13 is an explanatory diagram conceptually illustrating another example of determining the simulation procedure. FIG. 13 shows a procedure for coupled analysis of the thermal demagnetization phenomenon due to heat transfer from the outside. An acyclic directed graph as shown in FIG. 13 is obtained by the above processing procedure. The object of numerical analysis is a magnet. In the thermal demagnetization phenomenon, the amount of heat generated from an external heat source is transmitted to the magnet, and the temperature of the magnet rises. And the magnetic force of a magnet falls and the distribution of a magnetic field changes. When the temperature of the external heat source rises, the temperature of the magnet also rises, and the local distribution changes. The calorific value obtained as a result of the magnetic field analysis is negligible in FIG. 13 because it is very small compared to the heat from the heat source.
If the heat generation amount is large, a directed graph including a closed circuit is generated in step S13, but the edge where the heat generation amount is input from the magnetic field analysis simulator to the thermal analysis simulator is removed. Therefore, the coupled analysis procedure is in the order of thermal analysis and magnetic field analysis.
図14は、その他のシミュレート手順決定例を概念的に示す説明図である。図14は、誘導加熱現象の熱膨張現象の数値解析手順を示している。熱膨張現象においては、対象物が熱膨張して変形し、対象物における熱分布が変化し、変化した熱分布に応じて更に対象物が熱膨張により変形するといった現象が、平衡状態になるまで繰り返される。図14に示す例では、ステップS13において閉路を含む有向グラフが生成されるが、熱解析シミュレータから構造解析シミュレータに温度が入力するエッジは除去される。従って、連成解析の手順は構造解析、熱解析の順序になる。 FIG. 14 is an explanatory diagram conceptually showing another example of determining the simulation procedure. FIG. 14 shows a numerical analysis procedure of the thermal expansion phenomenon of the induction heating phenomenon. In the thermal expansion phenomenon, the object is thermally expanded and deformed, the heat distribution in the object is changed, and the object is further deformed by the thermal expansion according to the changed heat distribution until the equilibrium state is reached. Repeated. In the example illustrated in FIG. 14, a directed graph including a closed circuit is generated in step S <b> 13, but the edge where the temperature is input from the thermal analysis simulator to the structural analysis simulator is removed. Therefore, the coupled analysis procedure is in the order of structural analysis and thermal analysis.
図15は、その他のシミュレート手順決定例を概念的に示す説明図である。図15は、制御回路と、磁界との連携現象に係る数値解析手順を示している。シミュレーション装置1は制御回路シミュレータを備える。制御回路シミュレータには、インダクタンス、交流抵抗等の回路定数と、逆起電圧等の電位とが入力し、入力した情報に基づくシミュレーションの結果として、電流を出力する。例えば、数値解析モデルの制御回路にコイルが含まれている場合を考えると、コイルに印加される電圧及び回路定数によって、電流が算出され、該電流が磁界解析シミュレータに受け渡される。ここで、制御回路シミュレータに入力する物理量「電位」には第2属性が対応づけられ、「回路定数」には第1属性が対応づけられている。
また、磁界解析シミュレータは、入力した電流に基づいて磁界解析を実行し、コイルのインダクタンス、交流抵抗等の回路定数と、逆起電圧等の電位を出力する。コイルのインダクタンスはコイルで発生する磁束と電流の関係から求められる。また、コイルに流れる電流によって、交流抵抗が求められる。更に、コイルを鎖交する磁束の変化から逆起電圧が求められる。
図15に示す例では、ステップS13において閉路を含む有向グラフが生成されるが、磁界解析シミュレータから制御回路シミュレータに入力する電位に係るエッジは除去される。従って、連成解析の手順は制御回路解析、磁界解析の順序になる。
FIG. 15 is an explanatory diagram conceptually illustrating another example of determining the simulation procedure. FIG. 15 shows a numerical analysis procedure related to a cooperative phenomenon between a control circuit and a magnetic field. The
The magnetic field analysis simulator executes magnetic field analysis based on the input current, and outputs circuit constants such as coil inductance and AC resistance, and potential such as counter electromotive voltage. The inductance of the coil is obtained from the relationship between the magnetic flux generated in the coil and the current. Moreover, an alternating current resistance is calculated | required by the electric current which flows into a coil. Furthermore, a counter electromotive voltage is obtained from a change in magnetic flux interlinking the coils.
In the example shown in FIG. 15, a directed graph including a closed circuit is generated in step S13, but the edge related to the potential input from the magnetic field analysis simulator to the control circuit simulator is removed. Therefore, the coupled analysis procedure is in the order of control circuit analysis and magnetic field analysis.
以上の通り、本実施の形態に係るシミュレーション装置1及びコンピュータプログラムにあっては、複数のシミュレータ間の物理量の受け渡し順序を自動的に決定し、連成解析を実行することができる。物理量の受け渡しが自動的に行われるため、数値解析に不慣れな設計者に負担を強いることは無く、連成解析を実行することができる。
As described above, in the
また、時刻又は解析ステップの指定を受け付け、該時刻又は解析ステップに対応する各シミュレータの解析結果を出力することができる。 Further, it is possible to receive designation of a time or an analysis step and output an analysis result of each simulator corresponding to the time or the analysis step.
今回開示された実施の形態はすべての点で例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、上記した意味ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。 The embodiment disclosed this time is to be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the meanings described above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.
1 シミュレーション装置
2 記録媒体
3 通信装置
4 入力画面
5 解析状況表示画面
11 CPU
12 内部記憶装置
13 外部記憶装置
14 入力装置
15 出力装置
16 通信インタフェース
20 コンピュータプログラム
DESCRIPTION OF
12
Claims (4)
前記シミュレータに入力する物理量及び該物理量の属性を、前記シミュレータ毎に対応付けて記憶する属性記憶部と、
一の時点における前記対象物の挙動を前記複数のシミュレータを用いてシミュレートする場合、該属性記憶部が記憶する物理量及び属性に基づいて、前記複数のシミュレータを用いた連成解析の手順を決定する解析手順決定部と
を備え、
前記属性は第1属性及び第2属性を含み、
前記第1属性は、前記対象物の静的な状態を決定する物理量に対応付けられており、
前記第2属性は、前記シミュレータから出力される物理量を動的に変化させる物理量に対応付けられている
シミュレーション装置。 A plurality of simulators for simulating the behavior of the object represented by the numerical analysis model data based on different governing equations are provided, and the time-series behavior of the object is coupled and analyzed using the plurality of simulators. In the simulation device,
An attribute storage unit that stores the physical quantity input to the simulator and the attribute of the physical quantity in association with each simulator;
When simulating with simulator behavior of the plurality of the object in one point, on the basis of the physical quantity and attributes stored in the the attribute storage unit, a procedure of coupled analysis using the plurality of simulators An analysis procedure determination unit for determining , and
The attributes include a first attribute and a second attribute;
The first attribute is associated with a physical quantity that determines a static state of the object,
The simulation apparatus in which the second attribute is associated with a physical quantity that dynamically changes a physical quantity output from the simulator .
同一物理量の入出力によって関連付けられる前記複数のシミュレータの相互関係を示す有向グラフを作成する有向グラフ生成部と、
該有向グラフ生成部にて生成された有向グラフに閉路が含まれるか否かを判定する判定部と、
該判定部が有向グラフに閉路が含まれていると判定した場合、前記第2属性を有する物理量を入出力する相互関係を前記有向グラフから削除する削除部と、
前記第2属性に係る相互関係が削除された無閉路の有向グラフに基づいて、物理量の入出力が逆順にならないように、前記複数のシミュレータによるシミュレート順序を決定する決定部と
を備える請求項1に記載のシミュレーション装置。 The analysis procedure determination unit
A directed graph generation unit that creates a directed graph indicating the interrelation between the plurality of simulators that are related by input / output of the same physical quantity;
A determination unit that determines whether or not a closed circuit is included in the directed graph generated by the directed graph generation unit;
When the determination unit determines that contains closed directed graph, a deletion unit for deleting the correlation to input and output physical quantity having the second attribute from the directed graph,
Based on the directed graph of acyclic mutual relationship is deleted according to the second attribute, as a physical quantity of the input and output is not in reverse, claim 1 and a determining section for determining a simulated sequence by the plurality of simulators The simulation apparatus described in 1 .
シミュレーション開始時を基準にした時間を受け付ける受付部と、
該受付部が受け付けた時間及び前記実時間記憶部が記憶する周期に対応する実時間に基づいて、該時間に対応する各シミュレータのシミュレーション結果を特定する特定部と
該特定部にて特定されたシミュレーション結果を出力する結果出力部と
を備える請求項1又は請求項2に記載のシミュレーション装置。 A real-time storage unit that stores real time corresponding to a cycle in which the plurality of simulators perform simulation;
A reception unit that accepts a time based on a simulation start time;
Based on the time received by the reception unit and the real time corresponding to the period stored in the real time storage unit, a specifying unit for specifying a simulation result of each simulator corresponding to the time and the specifying unit simulation device according to claim 1 or claim 2 and a result output unit for outputting a simulation result.
前記シミュレータに入力する物理量の属性は第1属性及び第2属性を含み、
前記第1属性は、前記対象物の静的な状態を決定する物理量に対応付けられ、
前記第2属性は、前記シミュレータから出力される物理量を動的に変化させる物理量に対応付けられており、
前記コンピュータを、
前記シミュレータを用いたシミュレートによって出力され、他の前記シミュレータに入力される物理量によって関連付けられる前記複数のシミュレータの相互関係を示す有向グラフを作成する有向グラフ生成部と、
該有向グラフ生成部にて生成された前記有向グラフに閉路が含まれるか否かを判定する判定部と、
該判定部が前記有向グラフに閉路が含まれていると判定した場合、前記第1属性を有する物理量を入出力する相互関係を前記有向グラフから削除せず、前記第2属性を有する物理量を入出力する相互関係を前記有向グラフから削除する削除部と、
前記第2属性に係る相互関係が削除された無閉路の有向グラフに基づいて、物理量の入出力が逆順にならないように、前記複数のシミュレータによるシミュレート順序を決定する決定部と
して機能させるためのコンピュータプログラム。 In a computer program that causes a computer to perform coupled analysis of a time-series behavior of an object represented by numerical analysis model data using a plurality of simulators,
The physical quantity attributes input to the simulator include a first attribute and a second attribute,
The first attribute is associated with a physical quantity that determines a static state of the object,
The second attribute is associated with a physical quantity that dynamically changes a physical quantity output from the simulator,
The computer,
A directed graph generation unit that creates a directed graph that indicates the interrelationship of the plurality of simulators that are output by simulation using the simulator and that are related to each other by a physical quantity that is input to the other simulators;
A determination section for determining whether or not contain closed in the directed graph generated by the organic directed graph generation unit,
When the determination unit determines that contains closed in the directed graph, without deleting the correlation to input and output physical quantity having the first attribute from the directed graph, and outputting a physical quantity having the second attribute A deletion unit for deleting the correlation from the directed graph;
Based on the directed graph of acyclic mutual relationship is deleted according to the second attribute, as a physical quantity of the input and output is not in the reverse order, to function as a determining unit that determines a simulated sequence by the plurality of simulators computer program.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013214163A JP6246548B2 (en) | 2013-10-11 | 2013-10-11 | Simulation apparatus and computer program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013214163A JP6246548B2 (en) | 2013-10-11 | 2013-10-11 | Simulation apparatus and computer program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2015076073A JP2015076073A (en) | 2015-04-20 |
| JP6246548B2 true JP6246548B2 (en) | 2017-12-13 |
Family
ID=53000837
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2013214163A Active JP6246548B2 (en) | 2013-10-11 | 2013-10-11 | Simulation apparatus and computer program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6246548B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113449486B (en) * | 2021-05-15 | 2023-05-19 | 山东英信计算机技术有限公司 | Method, device, equipment and readable medium for evaluating PCB high-speed connector pad parameters |
| CN116794997B (en) * | 2022-03-13 | 2024-07-09 | 中国航天科工飞航技术研究院(中国航天海鹰机电技术研究院) | Linear motor simulation modeling method based on semi-physical simulation platform |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08292974A (en) * | 1995-04-20 | 1996-11-05 | Hitachi Ltd | Control system / electric circuit / pipe network coupled general-purpose analysis method and device |
| JP2002297674A (en) * | 2001-03-30 | 2002-10-11 | Denso Corp | Simulation apparatus and simulation method |
| JP2008269455A (en) * | 2007-04-24 | 2008-11-06 | Ihi Corp | Vibration control system machine evaluation apparatus and method |
| JP5065344B2 (en) * | 2009-07-14 | 2012-10-31 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Simulation method, system and program |
-
2013
- 2013-10-11 JP JP2013214163A patent/JP6246548B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2015076073A (en) | 2015-04-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5422063B2 (en) | Simulation apparatus, simulation method, and computer program | |
| JP2015167041A (en) | Machine learning model design support device, machine learning model design support method, program for machine learning model design support device | |
| EP2711857A1 (en) | Thermofluid simulation method and thermofluid simulation apparatus | |
| US10318675B2 (en) | Post-processing system for finite element analysis | |
| US20240012956A1 (en) | Computer-supported method and device for generating a digital representation of a technical structure, and corresponding computer program product | |
| JP6246548B2 (en) | Simulation apparatus and computer program | |
| US11074378B1 (en) | Non-transitory computer readable recording medium storing a computer program, simulation method and simulation device for simulating dynamic behavior of electromagnetic component | |
| JP5909488B2 (en) | Magnetic field analysis program and magnetic field analysis method | |
| JP6424651B2 (en) | Magnetic field simulator program, magnetic field simulator device and magnetic field simulation method | |
| KR20170126312A (en) | Apparatus and Method for designing automation using FEM | |
| Lee et al. | Modelling with forces: grammar-based graphic statics for diverse architectural structures | |
| Prasad et al. | An educational tool based on finite element method for electromagnetic study | |
| US20110307224A1 (en) | System and Method for Machine Engine Modeling | |
| JP2021022005A (en) | Information processing device and control method | |
| JP5210743B2 (en) | Magnetic field analysis apparatus, magnetic field analysis method, and computer program | |
| JP2019057112A (en) | Design information processing apparatus and program | |
| US7197442B2 (en) | Mesh creating device, mesh creating method and mesh creating program | |
| JP5084702B2 (en) | Analysis data input device, CAE device, analysis data input method, and program | |
| JP2018200226A (en) | Evaluation method, evaluation apparatus, and program | |
| JP6622771B2 (en) | Motor configuration selection device, motor configuration selection method and program | |
| Huang et al. | Three-phase linear motor heat transfer analysis using the finite-element method | |
| Stahovich et al. | Computing design rationales by interpreting simulations | |
| JP3979526B2 (en) | Rotating machine thermal analysis method, rotating machine thermal analysis apparatus, computer program, and recording medium | |
| Baranski et al. | Finite element analysis of transient electromagnetic‐thermal phenomena in a squirrel cage motor | |
| Cosman et al. | Coupled electric—Thermal model for SR-drives |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160707 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170720 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170822 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170920 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20171024 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20171115 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6246548 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |