欢迎来到三一文库! | 帮助中心 三一文库31doc.com 一个上传文档投稿赚钱的网站
三一文库
全部分类
  • 研究报告>
  • 工作总结>
  • 合同范本>
  • 心得体会>
  • 工作报告>
  • 党团相关>
  • 幼儿/小学教育>
  • 高等教育>
  • 经济/贸易/财会>
  • 建筑/环境>
  • 金融/证券>
  • 医学/心理学>
  • ImageVerifierCode 换一换
    首页 三一文库 > 资源分类 > PDF文档下载
     

    HFSS的近场仿真要点.pdf

    • 资源ID:5197096       资源大小:1.77MB        全文页数:20页
    • 资源格式: PDF        下载积分:4
    快捷下载 游客一键下载
    会员登录下载
    微信登录下载
    三方登录下载: 微信开放平台登录 QQ登录   微博登录  
    二维码
    微信扫一扫登录
    下载资源需要4
    邮箱/手机:
    温馨提示:
    用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)
    支付方式: 支付宝    微信支付   
    验证码:   换一换

    加入VIP免费专享
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    HFSS的近场仿真要点.pdf

    HFSS 的近场仿真 1、 软件安装和破解 1)Hfss13 只能安装在C 盘。 2)破解时先在控制面板里关闭Windows defender 并且退出360 杀毒软件。否则 Ansoft2008fix.exe 会被当病毒杀掉。 3)将 Ansoft2008fix.exe 和 hfss12fix.exe 和 license.lic 拷贝到 HFSS13.0 目录下。 4)以管理员身份运行Ansoft2008fix.exe 。 5)以管理员身份运行hfss12fix.exe ,连续 patch 六个 dll。 6)打开 hfss,弹出框框,无视继续。依次点击TOOls-options-general options-webupdate options-never 2、 模型的建立 2.1 设计变量 2.2 画模型 2.3 边界条件 、 2.4激励源 因为 hfss 算出的场强为正弦波波峰,所以输入功率有一个1/2 的因子。 2.5加运算器 2.6 画近场线 近场线要一一对应。 3、 数据的导出 用 Add Trace 添加曲线到同一页面,用 Apply Trace 改变频点。 导出为 csv 格式。 将横坐标反归一化。 画出三维曲面图。 4、 用脚本画近场线 Dim oAnsoftApp Dim oDesktop Dim oProject Dim oDesign Dim oEditor Dim oModule Set oAnsoftApp = CreateObject(“AnsoftHfss.HfssScriptInterface“) Set oDesktop = oAnsoftApp.GetAppDesktop() Set oProject = oDesktop.GetActiveProject() Set oDesign = oProject.GetActiveDesign() Set oEditor = oDesign.SetActiveEditor(“3D Modeler“) ' 声明变量与常数. Dim zpos, Xnum, Ynum, xspan, yspan, dx, dy,pos Dim Units, index Dim y() Dim x() Units = “mm“ pos=6000 '-3米 x 面- Units = InputBox(“Select the units:“&Chr(13)& _ “(cm,mm,um,in,mil)“, “Nearfield“,“mm“,pos,pos) zpos = InputBox(“Input the Z plane position:“,“Nearfield“, 3200,pos,pos) xspan = InputBox(“Input X sampling span:“,“Nearfield“, 4000,pos,pos) yspan = InputBox(“Input Y sampling span:“,“Nearfield“, 2100,pos,pos) Xnum = InputBox(“Input sampling number in X direction:“,“Nearfield“, 100,pos,pos) Ynum = InputBox(“Input sampling number in Y direction:“,“Nearfield“, 15,pos,pos) Redim y(Ynum) dx=xspan/(Xnum-1) dy=yspan/(Ynum-1) y(0)=“Position of y“ For n=1 To Ynum y(n)=-yspan/2 + (n-1)*dy '将 X 向点坐标存入数组 ZValue=cstr(zpos) & Units YValue=cstr(y(n) & Units XValuemin=cstr(-xspan/2) & Units XValuemmax=cstr(xspan/2) & Units index=“lin3mx“ & cstr(n) oEditor.CreatePolyline Array(“NAME:PolylineParameters“, “IsPolylineCovered:=“, true, “IsPolylineClosed:=“, _ false, Array(“NAME:PolylinePoints“, Array(“NAME:PLPoint“, “X:=“, XValuemin, “Y:=“, YValue, “Z:=“, _ ZValue), Array(“NAME:PLPoint“, “X:=“, XValuemmax, “Y:=“, YValue, “Z:=“, ZValue), _ Array(“NAME:PolylineSegments“, Array(“NAME:PLSegment“, “SegmentType:=“, _ “Line“, “StartIndex:=“, 0, “NoOfPoints:=“, 2), Array(“NAME:PolylineXSection“, “XSectionType:=“, _ “None“, “XSectionOrient:=“, “Auto“, “XSectionWidth:=“, “0mm“, “XSectionTopWidth:=“, _ “0mm“, “XSectionHeight:=“, “0mm“, “XSectionNumSegments:=“, “0“, “XSectionBendType:=“, _ “Corner“), Array(“NAME:Attributes“, “Name:=“, index, “Flags:=“, “, “Color:=“, _ “(132 132 193)“, “Transparency:=“, 0, “PartCoordinateSystem:=“, “Global“, “UDMId:=“, _ “, “MaterialValue:=“, “ & Chr(34) & “vacuum“ & Chr(34) & “, “SolveInside:=“, _ true) namepara=“NAME:“ & index Set oModule = oDesign.GetModule(“RadField“) oModule.InsertNearFieldLineSetup Array(namepara, “UseCustomRadiationSurface:=“, _ false, “Line:=“, index, “NumPts:=“, cstr(Xnum) Next '-3米 y 面- Units = InputBox(“Select the units:“&Chr(13)& _ “(cm,mm,um,in,mil)“, “Nearfield“,“mm“,pos,pos) zpos = InputBox(“Input the Z plane position:“,“Nearfield“, 3200,pos,pos) xspan = InputBox(“Input X sampling span:“,“Nearfield“, 2100,pos,pos) yspan = InputBox(“Input Y sampling span:“,“Nearfield“, 4000,pos,pos) Xnum = InputBox(“Input sampling number in X direction:“,“Nearfield“, 15,pos,pos) Ynum = InputBox(“Input sampling number in Y direction:“,“Nearfield“, 100,pos,pos) Redim x(Xnum) dx=xspan/(Xnum-1) dy=yspan/(Ynum-1) x(0)=“Position of x“ For n=1 To Xnum x(n)=-xspan/2 + (n-1)*dx '将 X 向点坐标存入数组 ZValue=cstr(zpos) & Units XValue=cstr(x(n) & Units YValuemin=cstr(-yspan/2) & Units YValuemmax=cstr(yspan/2) & Units index=“lin3my“ & cstr(n) oEditor.CreatePolyline Array(“NAME:PolylineParameters“, “IsPolylineCovered:=“, true, “IsPolylineClosed:=“, _ false, Array(“NAME:PolylinePoints“, Array(“NAME:PLPoint“, “Y:=“, YValuemin, “X:=“, XValue, “Z:=“, _ ZValue), Array(“NAME:PLPoint“, “Y:=“, YValuemmax, “X:=“, XValue, “Z:=“, ZValue), _ Array(“NAME:PolylineSegments“, Array(“NAME:PLSegment“, “SegmentType:=“, _ “Line“, “StartIndex:=“, 0, “NoOfPoints:=“, 2), Array(“NAME:PolylineYSection“, “YSectionType:=“, _ “None“, “YSectionOrient:=“, “Auto“, “YSectionWidth:=“, “0mm“, “YSectionTopWidth:=“, _ “0mm“, “YSectionHeight:=“, “0mm“, “YSectionNumSegments:=“, “0“, “YSectionBendType:=“, _ “Corner“), Array(“NAME:Attributes“, “Name:=“, index, “Flags:=“, “, “Color:=“, _ “(132 132 193)“, “Transparency:=“, 0, “PartCoordinateSystem:=“, “Global“, “UDMId:=“, _ “, “MaterialValue:=“, “ & Chr(34) & “vacuum“ & Chr(34) & “, “SolveInside:=“, _ true) namepara=“NAME:“ & index Set oModule = oDesign.GetModule(“RadField“) oModule.InsertNearFieldLineSetup Array(namepara, “UseCustomRadiationSurface:=“, _ false, “Line:=“, index, “NumPts:=“, cstr(Ynum) Next 5、 用脚本导出近场数据 Dim oAnsoftApp Dim oDesktop Dim oProject Dim oDesign Dim oEditor Dim oModule Set oAnsoftApp = CreateObject(“AnsoftHfss.HfssScriptInterface“) Set oDesktop = oAnsoftApp.GetAppDesktop() oDesktop.RestoreWindow Set oProject = oDesktop.SetActiveProject(“Project6“) Set oDesign = oProject.SetActiveDesign(“HFSSDesign1“) Set oModule = oDesign.GetModule(“ReportSetup“) '-3mx-0.8G- oModule.CreateReport “XY Plot 27“, “Near Fields“, “Rectangular Plot“, _ “Setup1 : Sweep“, Array(“Context:=“, “lin3mx1“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3mx2“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3mx3“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3mx4“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3mx5“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3mx6“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3mx7“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3mx8“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3mx9“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3mx10“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3mx11“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3mx12“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3mx13“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3mx14“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3mx15“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.ExportToFile “XY Plot 27“, “C:/Users/xiaoen/Documents/3mx-0.8G.csv“ oModule.DeleteReports Array(“XY Plot 27“) '-3my-0.8G- oModule.CreateReport “XY Plot 27“, “Near Fields“, “Rectangular Plot“, _ “Setup1 : Sweep“, Array(“Context:=“, “lin3my1“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3my2“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3my3“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3my4“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3my5“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3my6“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3my7“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3my8“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3my9“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3my10“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3my11“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3my12“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3my13“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3my14“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.AddTraces “XY Plot 27“, “Setup1 : Sweep“, Array(“Context:=“, “lin3my15“), Array(“NormalizedDistance:=“, Array( _ “All“), Array(“NAME:VariableValues“, “Freq:=“, “0.8GHz“), Array(“X Component:=“, _ “NormalizedDistance“, “Y Component:=“, Array(“NearETotal“), Array() oModule.ExportToFile “XY Plot 27“, “C:/Users/xiaoen/Documents/3my-0.8G.csv“ oModule.DeleteReports Array(“XY Plot 27“)

    注意事项

    本文(HFSS的近场仿真要点.pdf)为本站会员(tbuqq)主动上传,三一文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三一文库(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    经营许可证编号:宁ICP备18001539号-1

    三一文库
    收起
    展开