此案例是ASAP的一个光纤建模及分析案例,其中涉及到分析,方向, 显示, 选择, 点的描述。并演示了射线集的方向图,极坐标和笛卡尔坐标图。 代码: SYSTEM NEW RESET FRESNEL AVERAGE MEDIA 2.4 'ZNSE' SURFACES PLANE X 0 ELLIPSE 0.125 OBJECT 'ENTRANCE_FACE' INTERFACE COAT +BARE AIR ZNSE SURFACES TUBE X 0 2@.125 8 2@.125 OBJECT 'FIBER_BODY' INTERFACE COAT -BARE AIR ZNSE SURFACES PLANE X 8 ELLIPSE 0.125 OBJECT 'EXIT_FACE' INTERFACE COAT +BARE AIR ZNSE !! 光纤建模 WINDOW Z -4 4 X -1.2 9 PIXELS 21 HALT 1000 BEAMS INCOHERENT GEOMETRIC GRID ELLIPTIC X 0 -4@.125 1 10 SOURCE POSITION -.5 0 0 MOVE TO X -.5 PROFILES OVERLAY 'ZnSe FIBER OPTIC w/POINT SOURCE' TRACE PLOT !! 少量光线光源建模并输出带光源光纤图 RAYS 0 GRID ELLIPTIC X 0 -4@.125 201 201 SOURCE POSITION -.5 0 0 MOVE TO X -.5 TRACE !!清除光线,使用大量光线分析用到的光源建模 SELECT ONLY 0 A WINDOW Y -2@.3 Z -2@.3 !! Just bigger than angular cone SPOTS DIRECTION ATTRIBUTE 1 'ANGULAR DISTRIBUTION OF EXITING RAYS FROM ZnSe FIBER'" SPOTS DIRECTION ATTRIBUTE 0 DISPLAY RADIAL DIRECTION 'POLAR PLOT OF RADIALLY AVERAGED INTENSITY FROM ZnSe FIBER' DIRECTION UNWRAP 'CARTESIAN PLOT OF RADIALLY AVERAGED INTENSITY' !!选择需要的分析并输出图像,分析结果在下方给出 RETURN
带光源光纤图
光纤射出射线的角度分布
辐射平均强度极坐标图
径向平均强度的直角坐标系图
|