您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 质量控制/管理 > 04-3-maxwell-field-calculator
AnsoftMaxwell3DFieldSimulatorv11User’sGuide4.3Topic–FieldCalculator4.3-1ExamplesoftheFieldCalculatorinMaxwell3Dv11TheFieldCalculatorcanbeusedforavarietyoftasks,howeveritsprimaryuseistoextendthepost-processingcapabilitieswithinMaxwellbeyondthecalculation/plottingofthemainfieldquantities.TheFieldCalculatormakesitpossibletooperatewithprimaryvectorfields(suchasH,B,J,etc)usingvectoralgebraandcalculusoperationsinawaythatisbothmathematicallycorrectandmeaningfulfromaMaxwell’sequationsperspective.TheFieldCalculatorcanalsooperatewithgeometryquantitiesforthreebasicpurposes:-plotfieldquantities(orderivedquantities)ontogeometricentities;-performintegration(line,surface,volume)ofquantitiesoverspecifiedgeometricentities;-exportfieldresultsinauserspecifiedboxoratauserspecifiedsetoflocations(points).Anotherimportantfeatureofthe(field)calculatoristhatitcanbefullyscriptdriven.Alloperationsthatcanbeperformedinthecalculatorhaveacorresponding“image”inoneormorelinesofVBscriptcode.Scriptsarewidelyusedforrepetitivepost-processingoperations,forsupportpurposesandincaseswhereOptimetricsisusedandpost-processingscriptsprovidesomequantityrequiredintheoptimization/parameterizationprocess.Thisdocumentdescribesthemechanicsofthetoolsaswellasthe“softer”sideofitaswell.So,apartfromdescribingthestructureoftheinterfacethisdocumentwillshowexamplesofhowtousethecalculatortoperformmanyofthepost-processingoperationsencounteredinpractical,daytodayengineeringactivityusingMaxwell.Examplesaregroupedaccordingtothetypeofsolution.Keepinmindthatmostoftheexamplescanbeeasilytransposedintosimilaroperationsperformedwithsolutionsofdifferentphysicalnature.AnsoftMaxwell3DFieldSimulatorv11User’sGuide4.3Topic–FieldCalculator4.3-2AnsoftMaxwellDesignEnvironmentThefollowingfeaturesoftheAnsoftMaxwellDesignEnvironmentareusedtointeractwiththecalculatorascoveredinthistopicAnalysisElectrostaticDCConductionMagnetostaticEddyCurrentTransientResultsOutputVariablesFieldCalculatorFieldOverlays:NamedExpressionsAnimateAnsoftMaxwell3DFieldSimulatorv11User’sGuide4.3Topic–FieldCalculator4.3-3DescriptionoftheinterfaceTheinterfaceisshowninFig.I1.Itisstructuredsuchthatitcontainsastackwhichholdsthequantityofinterestinstackregisters.Anumberofoperationsareintendedtoallowtheusertomanipulatethecontentsofthestackorchangetheorderofquantitiesbeingholdinstackregisters.Thedescriptionofthefunctionalityofthestackmanipulationbuttons(andofthecorrespondingstackcommands)ispresentedbelow:-Pushrepeatsthecontentsofthetopstackregistersothataftertheoperationthetwotoplinescontainidenticalinformation;-Popdeletesthelastentryfromthestack(deletesthetopofthestack);-RlDn(rolldown)isa“circular”movethatmakesthecontentsofthestacksslidedownonelinewiththebottomofthestackadvancingtothetop;-RlUp(rollup)isa“circular”movethatmakesthecontentsofthestacksslideuponelinewiththetopofthestackdroppingtothebottom;-Exch(exchange)producesanexchangebetweenthecontentsofthetwotopstackregisters;-Clearclearstheentirecontentsofallstackregisters;-Undoreversestheresultofthemostrecentoperation.TheusershouldnotethatUndooperationscouldbenesteduptothelevelwhereabasicquantityisobtained.AnsoftMaxwell3DFieldSimulatorv11User’sGuide4.3Topic–FieldCalculator4.3-4NamedExpressionsSolutionContextStack&stackregistersStackcommandsCalculatorButtonsFig.I1FieldCalculatorInterfaceAnsoftMaxwell3DFieldSimulatorv11User’sGuide4.3Topic–FieldCalculator4.3-5Thecalculatorbuttonsareorganizedinfivecategoriesasfollows:-Inputcontainscalculatorbuttonsthatallowtheusertoenterdatainthestack;sub-categoriescontainsolutionvectorfields(B,H,J,etc.),geometry(point,line,surface,volume,coordinatesystem),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.Throughoutthismanualitisassumedthattheuserhasthebasicskillso
本文标题:04-3-maxwell-field-calculator
链接地址:https://www.777doc.com/doc-5038372 .html