双折射材料的温度修正 Birefringent Material Temperature Modification
目前,FRED尚不支持“global”温度设置,温度敏感性评估一般用脚本编程来完成,该文档演示双折射材料的折射率随温度变化的问题。附件案例文件包括两个双折射材料模,“KDP”和 “KDP Baseline”, KDP Baseline材料存储在已知温度下的折射率,KDP材料用于储存在“current”温度下的折射率值,定义为与baseline material之间的温度差。一个嵌入的脚本名为“modifyBirefringentMaterialIndex” ,包含在FRED文件中,另外也单独附加。其实现过程如下:
1.Retrieve the node numbers for the two materials, KDP and KDP Baseline
2.User specifies CTE for the ordinary and extraordinary refractive index values as well as the temperature difference from the baseline
3.Loop over the baseline material samples and determine the number of wavelength entries
4.Loop over each sampled wavelength entry in the baseline material
a.Modify the ordinary and extraordinary refractive index values using (2) above
b.Apply the modified values to the non-baseline material
5.Set a description on the non-baseline material indicating the temperature change from baseline
脚本编程及GUI例程请下载链接:
|