Monday, November 7, 2011

[Tip] RSoft

* Below is how to add new material.
- n: real, k: imaginary (extinction coeff.) part of complex refraction index
[1] How to set up (or edit) the environment variables
http://support.microsoft.com/kb/310519
[2] Group material
- variable name: RSOFT_MATLIB_GROUP_PATH
- variable value: C:\RSoft\products\rsoftcad\materials\RSOFT_MATLIB_GROUP_PATH
[3] (name)_nk.dat
/rn/ls1
(# of data lines) (starting wavelength in micron) (ending wavelength in micron) 0 OUTPUT_REAL_IMAG 0 0
0 (same # of real n as the 1st line of original file) (same # of imaginary k as the 1st line of original file)
...
1000 (same # of real n as the last line of original file) (same # of imaginary k as the last line of original file)
(blank left in the last line)
[4] in DiffractMOD
- Index(real): userreal("<groupmat>\SiN_nk.dat",free_space_wavelength)
- Index(imag): userimag("<groupmat>\SiN_nk.dat",free_space_wavelength)

No comments:

Post a Comment