版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、精選優(yōu)質(zhì)文檔-傾情為你奉上精選優(yōu)質(zhì)文檔-傾情為你奉上專心-專注-專業(yè)專心-專注-專業(yè)精選優(yōu)質(zhì)文檔-傾情為你奉上專心-專注-專業(yè)ANSOFT MAXWELL 2D/3DFIELD CALCULATOR-Examples-IntroductionThis manual is intended as an addendum to the on-line documentation regarding Post-processing in general and the Field Calculator in particular. The Field Calculator can be used f
2、or a variety of tasks, however its primary use is to extend the post-processing capabilities within Maxwell beyond the calculation / plotting of the main field quantities. The Field Calculator makes it possible to operate with primary vector fields (such as H, B, J, etc) using vector algebra and cal
3、culus operations in a way that is both mathematically correct and meaningful from a Maxwells equations perspective.The Field Calculator can also operate with geometry quantities for three basic purposes:plot field quantities (or derived quantities) onto geometric entities;perform integration (line,
4、surface, volume) of quantities over specified geometric entities;export field results in a user specified box or at a user specified set of locations (points).Another important feature of the (field) calculator is that it can be fully macro driven. All operations that can be performed in the calcula
5、tor have a corresponding “image” in one or more lines of macro language code. Post-processing macros are widely used for repetitive post-processing operations, for support purposes and in cases where Optimetrics is used and post-processing macros provide some quantity required in the optimization /
6、parameterization process.This document describes the mechanics of the tools as well as the “softer” side of it as well. So, apart from describing the structure of the interface this document will show examples of how to use the calculator to perform many of the post-processing operations encountered
7、 in practical, day to day engineering activity using Maxwell. Examples are grouped according to the type of solution. Keep in mind that most of the examples can be easily transposed into similar operations performed with solutions of different physical nature. Also most of the described examples hav
8、e easy to find 2D versions.Description of the interfaceThe interface is shown in Fig. I1. It is structured such that it contains a stack which holds the quantity of interest in stack registers. A number of operations are intended to allow the user to manipulate the contents of the stack or change th
9、e order of quantities being hold in stack registers. The description of the functionality of the stack manipulation buttons (and of the corresponding stack commands) is presented below:Push repeats the contents of the top stack register so that after the operation the two top lines contain identical
10、 information;Pop deletes the last entry from the stack (deletes the top of the stack);RlDn (roll down) is a “circular” move that makes the contents of the stacks slide down one line with the bottom of the stack advancing to the top;RlUp (roll up) is a “circular” move that makes the contents of the s
11、tacks slide up one line with the top of the stack dropping to the bottom;Exch (exchange) produces an exchange between the contents of the two top stack registers;Clear clears the entire contents of all stack registers;Undo reverses the result of the most recent operation.Stack & stack registersCalcu
12、lator buttonsStack commandsFig. I1 Field Calculator InterfaceThe user should note that Undo operations could be nested up to the level where a basic quantity is obtained.The calculator buttons are organized in five categories as follows:Input contains calculator buttons that allow the user to enter
13、data in the stack; sub-categories contain solution vector fields (B, H, J, etc.), geometry(point, line surface, volume), scalar, vector or complex constants (depending on application) or even entire f.e.m. solutions.General contains general calculator operations that can be performed with “general”
14、data (scalar, vector or complex), if the operation makes sense; for example if the top two entries on the stack are two vectors, one can perform the addition (+) but not multiplication (*);indeed, with vectors one can perform a dot product or a cross product but not a multiplication as it is possibl
15、e with scalars.Scalar contains operations that can be performed on scalars; example of scalars are scalar constants, scalar fields, mathematical operations performed on vector which result in a scalar, components of vector fields (such as the X component of a vector field), etc.Vector contains opera
16、tions that can be performed on vectors only; example of such operations are cross product (of two vectors), div, curl, etc.Output contains operations resulting in plots (2D / 3D), graphs, data export, data evaluation, etc.As a rule, calculator operations are allowed if they make sense from a mathema
17、tical point of view. There are situations however where the contents of the top stack registers should be in a certain order for the operation to produce the expected result. The examples that follow will indicate the steps to be followed in order to obtain the desired result in a number of frequent
18、ly encountered operations. The examples are grouped according to the type of solution (solver) used. They are typical medium/higher level post-processing task that can be encountered in current engineering practice. Throughout this manual it is assumed that the user has the basic skills of using the
19、 Field Calculator for basic operations as explained in the on-line technical documentation and/or during Ansoft basic training.Note: The f.e.m. solution is always performed in the global (fixed) coordinate system. The plots of vector quantities are therefore related to the global coordinate system a
20、nd will not change if a local coordinate system is defined with a different orientation from the global coordinate system.The same rule applies with the location of user defined geometry entities for post-processing purposes. For example the field value at a user-specified location (point) doesnt ch
21、ange if the (local) coordinate system is moved around. The reason for this is that the coordinates of the point are represented in the global coordinate system regardless of the current location of the local coordinate system.Electrostatic ExamplesExample ES1: Calculate the charge density distributi
22、on and total electric charge on the surface of an objectDescription: Assume an electrostatic (3D) application with separate metallic objects having applied voltages or floating voltages. The task is to calculate the total electric charge on any of the objects.Calculate/plot the charge density distri
23、bution on the object; the sequence of calculator operations is described below:Qty - D (load D vector into the calculator); Geom - Surface (select the surface of interest) - OKUnit Vec - Normal (creates the normal unit vector corresponding to the surface of interest)Dot (creates the dot product betw
24、een D and the unit normal vector to the surface of interest, equal to the surface charge density)Geom - Surface (select the surface of interest) - OKPlotCalculate the total electric charge on the surface of an objectQty - D (load D vector into the calculator);Geom - Surface (select the surface of in
25、terest) - OKNormalEvalExample ES2: Calculate the Maxwell stress distribution on the surface of an objectDescription: Assume an electrostatic application (for ex. a parallel plate capacitor structure). The surface of interest and adjacent region should have a fine finite element mesh since the Maxwel
26、l stress method for calculation the force is quite sensitive to mesh.The Maxwell electric stress vector has the following expression for objects without electrostrictive effects:where the unit vector n is the normal vector to the surface of interest. The sequence of calculator commands necessary to
27、implement the above formula is given below.Qty - DGeom - Surface (select the surface of interest) - OKUnit Vec - Normal (creates the normal unit vector corresponding to the surface of interest)DotQty - E* (multiply)Geom - Surface (select the surface of interest) - OKUnit Vec - Normal (creates the no
28、rmal unit vector corresponding to the surface of interest)Num -Scalar (0.5) OK*Const - Epsi0*Qty - EPushDot*- (minus)Geom - Surface (select the surface of interest) - OKPlotIf an integration of the Maxwell stress is to be performed over the surface of interest, then the Plot command above should be
29、replaced with the following sequence:NormalEvalNote: The surface in all the above calculator commands should lie in free space or should coincide with the surface of an object surrounded by free space (vacuum, air). It should also be noted that the above calculations hold true in general for any ins
30、tance where a volume distribution of force density is equivalent to a surface distribution of stress (tension):where Tn is the local tension force acting along the normal direction to the surface and F is the total force acting on object(s) inside .The above results for the electrostatic case hold f
31、or magnetostatic applications if the electric field quantities are replaced with corresponding magnetic quantities.Current flow ExamplesExample CF1: Calculate the resistance of a conduction path between two terminalsDescription: Assume a given conductor geometry that extends between two terminals wi
32、th applied DC currents. In DC applications (static current flow) one frequent question is related to the calculation of the resistance when one has the field solution to the conduction (current flow) problem. The formula for the analytical calculation of the DC resistance is:where the integral is ca
33、lculated along curve C (between the terminals) coinciding with the “axis” of the conductor. Note that both conductivity and cross section area are in general function of point (location along C). The above formula is not easily implementable in the general case in the field calculator so that altern
34、ative methods to calculate the resistance must be found.One possible way is to calculate the resistance using the power loss in the respective conductor due to a known conduction current passing through the conductor. where power loss is given by The sequence of calculator commands to compute the po
35、wer loss P is given below:Qty - JPushNum - Scalar (1e7) OK (conductivity assumed to be 1e7 S/m)/ (divide)DotGeom - Volume (select the volume of interest) - OKEvalThe resistance can now be easily calculated from power and the square of the current.There is another way to calculate the resistance whic
36、h makes use of the well known Ohms law.Assuming that the conductor is bounded by two terminals, T1 and T2 (current through T1 and T2 must be the same), the resistance of the conductor (between T1 and T2) is given the ratio of the voltage differential U between T1 and T2 and the respective current, I
37、 . So it is necessary to define two points on the respective terminals and then calculate the voltage at the two locations (voltage is called Phi in the field calculator). The rest is simple as described above.Example CF2: Export the field solution to a uniform gridDescription: Assume a conduction p
38、roblem solved. It is desired to export the field solution at locations belonging to a uniform grid to an ASCII file.The field calculator allows the field solutions to be exported regardless of the nature of the solution or the type of solver used to obtain the solution. It is possible to export any
39、quantity that can be evaluated in the field calculator. Depending on the nature of the data being exported (scalar, vector, complex), the structure of each line in the output file is going to be different. However, regardless of what data is being exported, each line in the data section of the outpu
40、t file contains the coordinates of the point (x, y, z) followed by the data being exported (1 value for a scalar quantity, 2 values for a complex quantity, 3 values for a vector in 3D, 6 values for a complex vector in 3D)To export the current density vector to a grid the field calculator steps are:Q
41、ty JExport - On Grid (then fill in the data as appropriate, see Fig. CF2)OKFig. CF2 Define the size of the export region (box) and spacing withinMinimum, maximum & spacing in all 3 directions X, Y, Z define the size of the rectangular export region (box) as well as the spacing between locations. By
42、default the location of the ASCII file containing the export data is in the project directory. Clicking on the browse symbol one can also choose another location for the exported file.Note: One can export the quantity calculated with the field calculator at user specified locations by using the Expo
43、rt/To File command. In that case the ASCII file containing on each line the x, y and z coordinates of the locations must exist prior to initiating the export-to-file command.Example CF3: Calculate the conduction current in a branch of a complex conduction path Description: There are situations where
44、 the current splits along the conduction path. If the nature of the problem is such that symmetry considerations cannot be applied, it may be necessary to evaluate total current in 2 or more parallel branches after the split point. To be able to perform the calculation described above, it is necessa
45、ry to have each parallel branch (where the current is to be calculated) modeled as a separate solid.Before the calculation process is started, make sure that the (local) coordinate system is placed somewhere along the branch where the current is calculated, preferably in a median location along that
46、 branch. In more general terms, that location is where the integration is performed and it is advisable to choose it far from areas where the current splits or changes direction, if possible.Here is the process to be followed to perform the calculation using the field calculator.Qty - JGeom - Volume
47、 (choose the volume of the branch of interest) OKDomain (this is to limit the subsequent calculations to the branch of interest only)Geom - Surface yz (choose axis plane that cuts perpendicular to the branch) OKNormalEvalThe result of the evaluation is positive or negative depending on the general o
48、rientation of the J vector versus the normal of the integration surface (S). In mathematical terms the operation performed above can be expressed as:Note: The integration surface (yz, in the example above) extends through the whole region, however because of the “domain” command used previously, the
49、 calculation is restricted only to the specified solid (that is the S surface is the intersection between the specified solid and the integration plane).Magnetostatic examplesExample MS1: Calculate (check) the current in a conductor using Amperes theoremDescription: Assume a magnetostatic problem wh
50、ere the magnetic field is produced by a given distribution of currents in conductors. To calculate the current in the conductor using Amperes theorem, a closed polyline (of arbitrary shape) should be drawn around the respective conductor. In a mathematical form the Amperes theorem is given by:where
51、is the closed contour (polyline) and S is an open surface bounded by but otherwise of arbitrary shape. IS is the total current intercepting the surface S.To calculate the (closed) line integral of H, the sequence of field calculator commands is:Qty - HGeom - Line (choose the closed polygonal line ar
52、ound the conductor) OKTangentEvalThe value should be reasonably close to the value of the corresponding current. The match between the two can be used as a measure of the global accuracy of the calculation in the general region where the closed line was placed.Example MS2: Calculate the magnetic flu
53、x through a surfaceDescription: Assume the case of a magnetostatic application. To calculate the magnetic flux through an already existing surface the sequence of calculator commands is:Qty - BGeom - Surface (specify the integration surface) OKNormalEvalThe result is positive or negative depending o
54、n the orientation of the B vector with respect to the normal to the surface of integration. The above operation corresponds to the following mathematical formula for the magnetic flux:Example MS3: Calculate components of the Lorentz forceDescription: Assume a distribution of magnetic field surroundi
55、ng conductors with applied DC currents. The calculation of the components of the Lorentz force has the following steps in the field calculator.Qty - J Qty - BCrossScalar - ScalarXGeom - Volume (specify the volume of interest) OKEvalThe above example shows the process for calculating the X component
56、of the Lorentz force. Similar steps should be performed for all components of interest.Example MS4: Calculate the distribution of relative permeability in nonlinear materialDescription: Assume a non-linear magnetostatic problem. To plot the relative permeability distribution inside a non-linear mate
57、rial the following steps should be taken:Qty - BScal? - ScalarXQty - HScal? - ScalarXConst - Mu0* (multiply)/ (divide)SmoothGeom - Surface (specify the geometry of interest) OKPlotAs an example of distribution of relative permeability please take a look at plot in Fig. MS 4.Fig. MS4 Distribution of
58、relative permeability (saturation)Note: The above sequence of commands makes use of one single field component (X component). Please note that any spatial component can be used for the purpose of calculating relative permeability in non-linear soft magnetic materials. The result would still be the s
59、ame if we used the Y component or the Z component. The “smoothing” also used in the sequence is also recommended particularly in cases where the mesh density is not very high.Frequency domain (AC) ExamplesExample AC1: Calculate the radiation resistance of a circular loopDescription: Assume a circula
60、r loop of radius 0.02 m with an applied current excitation at 1.5 GHz;The radiation resistance is given by the following formula:where S is the outer surface of the region (preferably spherical), placed conveniently far away from the source of radiation.Assuming that a half symmetry model is used, n
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2026浙江南方水泥有限公司校園招聘備考題庫及完整答案詳解
- 2026福建廈門市集美區(qū)康城幼兒園非在編教職工招聘3人備考題庫及答案詳解(易錯題)
- 2026上半年安徽事業(yè)單位聯(lián)考六安市舒城縣招聘18人備考題庫及參考答案詳解(新)
- 2026廣東廣州花都區(qū)新雅街第二小學(xué)臨聘教師招聘3人備考題庫附參考答案詳解(研優(yōu)卷)
- 電商運營客服管理制度
- 儲備庫運營管理制度
- 呷哺呷哺運營管理制度
- 直播運營換班制度
- 廢氣運營員管理制度
- 酒吧運營管理制度及流程
- 2025-2026學(xué)年北京市朝陽區(qū)高一(上期)期末考試英語試卷(含答案)
- 2026湖南衡陽耒陽市公安局招聘75名警務(wù)輔助人員考試參考題庫及答案解析
- 電力工程施工方案及規(guī)范
- 2026年1月浙江省高考(首考)英語試題(含答案詳解)+聽力音頻+聽力材料
- 2026年時事政治測試題庫附完整答案(網(wǎng)校專用)
- 智慧物流背景下多式聯(lián)運的協(xié)同發(fā)展與運輸效能提升研究畢業(yè)論文答辯匯報
- 替人背債合同范本
- 山西省運城市小學(xué)一年級上學(xué)期數(shù)學(xué)期末考試試題
- 藥師處方審核管理制度
- T-HHPA 001-2025 老年人跌倒風(fēng)險評估及干預(yù)措施
- 2025年廣西高考地理真題(解析版)
評論
0/150
提交評論