ansoft后处理过程中计算器使用方法英文版.docx
- 文档编号:7253587
- 上传时间:2023-01-22
- 格式:DOCX
- 页数:24
- 大小:134.34KB
ansoft后处理过程中计算器使用方法英文版.docx
《ansoft后处理过程中计算器使用方法英文版.docx》由会员分享,可在线阅读,更多相关《ansoft后处理过程中计算器使用方法英文版.docx(24页珍藏版)》请在冰豆网上搜索。
ansoft后处理过程中计算器使用方法英文版
ANSOFTMAXWELL2D/3D
FIELDCALCULATOR
-Examples-
Introduction
Thismanualisintendedasanaddendumtotheon-linedocumentationregardingPost-processingingeneralandtheFieldCalculatorinparticular.TheFieldCalculatorcanbeusedforavarietyoftasks,howeveritsprimaryuseistoextendthepost-processingcapabilitieswithinMaxwellbeyondthecalculation/plottingofthemainfieldquantities.TheFieldCalculatormakesitpossibletooperatewithprimaryvectorfields(suchasH,B,J,etc)usingvectoralgebraandcalculusoperationsinawaythatisbothmathematicallycorrectandmeaningfulfromaMaxwell’sequationsperspective.
TheFieldCalculatorcanalsooperatewithgeometryquantitiesforthreebasicpurposes:
-plotfieldquantities(orderivedquantities)ontogeometricentities;
-performintegration(line,surface,volume)ofquantitiesoverspecifiedgeometricentities;
-exportfieldresultsinauserspecifiedboxoratauserspecifiedsetoflocations(points).
Anotherimportantfeatureofthe(field)calculatoristhatitcanbefullymacrodriven.Alloperationsthatcanbeperformedinthecalculatorhaveacorresponding“image”inoneormorelinesofmacrolanguagecode.Post-processingmacrosarewidelyusedforrepetitivepost-processingoperations,forsupportpurposesandincaseswhereOptimetricsisusedandpost-processingmacrosprovidesomequantityrequiredintheoptimization/parameterizationprocess.
Thisdocumentdescribesthemechanicsofthetoolsaswellasthe“softer”sideofitaswell.So,apartfromdescribingthestructureoftheinterfacethisdocumentwillshowexamplesofhowtousethecalculatortoperformmanyofthepost-processingoperationsencounteredinpractical,daytodayengineeringactivityusingMaxwell.Examplesaregroupedaccordingtothetypeofsolution.Keepinmindthatmostoftheexamplescanbeeasilytransposedintosimilaroperationsperformedwithsolutionsofdifferentphysicalnature.Alsomostofthedescribedexampleshaveeasytofind2Dversions.
1.Descriptionoftheinterface
TheinterfaceisshowninFig.I1.Itisstructuredsuchthatitcontainsastackwhichholdsthequantityofinterestinstackregisters.Anumberofoperationsareintendedtoallowtheusertomanipulatethecontentsofthestackorchangetheorderofquantitiesbeingholdinstackregisters.Thedescriptionofthefunctionalityofthestackmanipulationbuttons(andofthecorrespondingstackcommands)ispresentedbelow:
-Pushrepeatsthecontentsofthetopstackregistersothataftertheoperationthetwotoplinescontainidenticalinformation;
-Popdeletesthelastentryfromthestack(deletesthetopofthestack);
-RlDn(rolldown)isa“circular”movethatmakesthecontentsofthestacksslidedownonelinewiththebottomofthestackadvancingtothetop;
-RlUp(rollup)isa“circular”movethatmakesthecontentsofthestacksslideuponelinewiththetopofthestackdroppingtothebottom;
-Exch(exchange)producesanexchangebetweenthecontentsofthetwotopstackregisters;
-Clearclearstheentirecontentsofallstackregisters;
-Undoreversestheresultofthemostrecentoperation.
Stack&stackregisters
Calculatorbuttons
Stackcommands
Fig.I1FieldCalculatorInterface
TheusershouldnotethatUndooperationscouldbenesteduptothelevelwhereabasicquantityisobtained.
Thecalculatorbuttonsareorganizedinfivecategoriesasfollows:
-Inputcontainscalculatorbuttonsthatallowtheusertoenterdatainthestack;sub-categoriescontainsolutionvectorfields(B,H,J,etc.),geometry(point,linesurface,volume),scalar,vectororcomplexconstants(dependingonapplication)orevenentiref.e.m.solutions.
-Generalcontainsgeneralcalculatoroperationsthatcanbeperformedwith“general”data(scalar,vectororcomplex),iftheoperationmakessense;forexampleifthetoptwoentriesonthestackaretwovectors,onecanperformtheaddition(+)butnotmultiplication(*);indeed,withvectorsonecanperformadotproductoracrossproductbutnotamultiplicationasitispossiblewithscalars.
-Scalarcontainsoperationsthatcanbeperformedonscalars;exampleofscalarsarescalarconstants,scalarfields,mathematicaloperationsperformedonvectorwhichresultinascalar,componentsofvectorfields(suchastheXcomponentofavectorfield),etc.
-Vectorcontainsoperationsthatcanbeperformedonvectorsonly;exampleofsuchoperationsarecrossproduct(oftwovectors),div,curl,etc.
-Outputcontainsoperationsresultinginplots(2D/3D),graphs,dataexport,dataevaluation,etc.
Asarule,calculatoroperationsareallowediftheymakesensefromamathematicalpointofview.Therearesituationshoweverwherethecontentsofthetopstackregistersshouldbeinacertainorderfortheoperationtoproducetheexpectedresult.Theexamplesthatfollowwillindicatethestepstobefollowedinordertoobtainthedesiredresultinanumberoffrequentlyencounteredoperations.Theexamplesaregroupedaccordingtothetypeofsolution(solver)used.Theyaretypicalmedium/higherlevelpost-processingtaskthatcanbeencounteredincurrentengineeringpractice.ThroughoutthismanualitisassumedthattheuserhasthebasicskillsofusingtheFieldCalculatorforbasicoperationsasexplainedintheon-linetechnicaldocumentationand/orduringAnsoftbasictraining.
Note:
Thef.e.m.solutionisalwaysperformedintheglobal(fixed)coordinatesystem.Theplotsofvectorquantitiesarethereforerelatedtotheglobalcoordinatesystemandwillnotchangeifalocalcoordinatesystemisdefinedwithadifferentorientationfromtheglobalcoordinatesystem.
Thesameruleapplieswiththelocationofuserdefinedgeometryentitiesforpost-processingpurposes.Forexamplethefieldvalueatauser-specifiedlocation(point)doesn’tchangeifthe(local)coordinatesystemismovedaround.Thereasonforthisisthatthecoordinatesofthepointarerepresentedintheglobalcoordinatesystemregardlessofthecurrentlocationofthelocalcoordinatesystem.
ElectrostaticExamples
ExampleES1:
Calculatethechargedensitydistributionandtotalelectricchargeonthesurfaceofanobject
Description:
Assumeanelectrostatic(3D)applicationwithseparatemetallicobjectshavingappliedvoltagesorfloatingvoltages.Thetaskistocalculatethetotalelectricchargeonanyoftheobjects.
a)Calculate/plotthechargedensitydistributionontheobject;thesequenceofcalculatoroperationsisdescribedbelow:
-Qty->D(loadDvectorintothecalculator);
-Geom->Surface…(selectthesurfaceofinterest)->OK
-UnitVec->Normal(createsthenormalunitvectorcorrespondingtothesurfaceofinterest)
-Dot(createsthedotproductbetweenDandtheunitnormalvectortothesurfaceofinterest,equaltothesurfacechargedensity)
-Geom->Surface…(selectthesurfaceofinterest)->OK
-Plot
b)Calculatethetotalelectricchargeonthesurfaceofanobject
-Qty->D(loadDvectorintothecalculator);
-Geom->Surface…(selectthesurfaceofinterest)->OK
-Normal
-
-Eval
ExampleES2:
CalculatetheMaxwellstressdistributiononthesurfaceofanobject
Description:
Assumeanelectrostaticapplication(forex.aparallelplatecapacitorstructure).ThesurfaceofinterestandadjacentregionshouldhaveafinefiniteelementmeshsincetheMaxwellstressmethodforcalculationtheforceisquitesensitivetomesh.
TheMaxwellelectricstressvectorhasthefollowingexpressionforobjectswithoutelectrostrictiveeffects:
wheretheunitvectornisthenormalvectortothesurfaceofinterest.Thesequenceofcalculatorcommandsnecessarytoimplementtheaboveformulaisgivenbelow.
-Qty->D
-Geom->Surface…(selectthesurfaceofinterest)->OK
-UnitVec->Normal(createsthenormalunitvectorcorrespondingtothesurfaceofinterest)
-Dot
-Qty->E
-*(multiply)
-Geom->Surface…(selectthesurfaceofinterest)->OK
-UnitVec->Normal(createsthenormalunitvectorcorrespondingtothesurfaceofinterest)
-Num->Scalar(0.5)OK
-*
-Const->Epsi0
-*
-Qty->E
-Push
-Dot
-*
--(minus)
-Geom->Surface…(selectthesurfaceofinterest)->OK
-Plot
IfanintegrationoftheMaxwellstressistobeperformedoverthesurfaceofinterest,thenthePlotcommandaboveshouldbereplacedwiththefollowingsequence:
-Normal
-
-Eval
Note:
Thesurfaceinalltheabovecalculatorcommandsshouldlieinfreespaceorshouldcoincidewiththesurfaceofanobjectsurroundedbyfreespace(vacuum,air).Itshouldalsobenotedthattheabovecalculationsholdtrueingeneralforanyinstancewhereavolumedistributionofforcedensityisequivalenttoasurfacedistributionofstress(tension):
whereTnisthelocaltensionforceactingalongthenormaldirectiontothesurfaceandFisthetotalforceactingonobject(s)inside.
Theaboveresultsfortheelectrostaticcaseholdformagnetostaticapplicationsiftheelectricfieldquantitiesarereplacedwithcorrespondingmagneticquantities.
CurrentflowExamples
ExampleCF1:
Calculatetheresistanceofaconductionpathbetweentwoterminals
Description:
AssumeagivenconductorgeometrythatextendsbetweentwoterminalswithappliedDCcurrents.
InDCapplications(staticcurrentflow)onefrequentquestionisrelatedtothecalculationoftheresistancewhenonehasthefieldsolutiontotheconduction(currentflow)problem.TheformulafortheanalyticalcalculationoftheDCresistanceis:
wheretheintegraliscalculatedalongcurveC(betweentheterminals)coincidingwiththe“axis”oftheconduct
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ansoft 处理 过程 计算器 使用方法 英文