现代电子技术
現代電子技術
현대전자기술
MODERN ELECTRONICS TECHNIQUE
2013年
10期
94-97
,共4页
黄少华%杨平利%袁媛%林成地
黃少華%楊平利%袁媛%林成地
황소화%양평리%원원%림성지
MCNP 输入文件%曲面卡%ACIS%CAD
MCNP 輸入文件%麯麵卡%ACIS%CAD
MCNP 수입문건%곡면잡%ACIS%CAD
MCNP input file%curved surface card%ACIS%CAD
针对手工编写MCNP输入文件中几何模块容易出错的问题,采用Spatial公司推出ACIS提供的API函数、C++类和DI函数3种开发接口,实现根据给定的CAD模型得到该模型中所有曲面的面方程,在曲面与坐标轴不平行时,以辅助坐标系的形式简化面方程,最终自动生成MCNP格式的曲面卡.通过对不同模型的验证,该方法可以正确生成曲面卡,能提高编写MCNP输入文件的效率.
針對手工編寫MCNP輸入文件中幾何模塊容易齣錯的問題,採用Spatial公司推齣ACIS提供的API函數、C++類和DI函數3種開髮接口,實現根據給定的CAD模型得到該模型中所有麯麵的麵方程,在麯麵與坐標軸不平行時,以輔助坐標繫的形式簡化麵方程,最終自動生成MCNP格式的麯麵卡.通過對不同模型的驗證,該方法可以正確生成麯麵卡,能提高編寫MCNP輸入文件的效率.
침대수공편사MCNP수입문건중궤하모괴용역출착적문제,채용Spatial공사추출ACIS제공적API함수、C++류화DI함수3충개발접구,실현근거급정적CAD모형득도해모형중소유곡면적면방정,재곡면여좌표축불평행시,이보조좌표계적형식간화면방정,최종자동생성MCNP격식적곡면잡.통과대불동모형적험증,해방법가이정학생성곡면잡,능제고편사MCNP수입문건적효솔.
Since the geometry module in hand?written MCNP input file is easy to make mistakes,three development inter?faces(API function,C++ class and direct interface function)provided by Spatial Company’s ACIS were adopted to get the sur?face equation for all surfaces in the model according to the given CAD model. Especially when the uneven surface and coordi?nate axis line is not parallel,the simplified surface equation of the auxiliary coordinate system is used to automatically generate the curved surface card with MCNP format. Through validation of different models,this method can generate the surface card correctly and improve the efficiency of compiling the MCNP input file.