Optical Inferno - What add-in packages within OptisWorks are you using? I have been a SW user since 2000 and an OW user since 2005. My current setup is SW2012 with OW2012 running the Optical Design, Colorimetry Analyzer, Lighting Simulation, and Fluorescent Materials Editor packages on a Boxx 8550 Exxtreme. I have the 2013 licenses but can't install until I complete some client obligations.
For your system you will need decide how uniform the output needs to be (typically a percentage over the beam profile) and at what distance(s). Nothing is perfect at all distances especially with LED sources.
The TIR curvature is going to be somewhat fixed by material choice. The refractive index of the material and the wavelength of the LED will drive the curve. Making it uniform will require some manipulation once you get it going where you want it to go. The easiest thing is a diffuser on the output surface but you will lose the somewhat sharp edge from the collimation.
Not knowing which packages you are working with I can tell you the method I use to design optics for LEDs no matter if TIR, reflectors, or aspheric lenses.
Assuming the optical performance requirements are established: First is to determine the physical constraints. How big/small does the optic need to be? Are there features required to mount the optic like flanges or locators? Is there a preferred material?
What is the source? Most LED manufacturers supply a surface model and a rayset for download in SPEOS format for use in Optis. That is fine for a rough approximation. There are files available in the Optis Library for download also. The issue with raysets is that they do not take back reflected light into account in the simulation so the result is less accurate. We measure sample LEDs on a goniometer and in an integrating sphere to capture the output profile and spectrum. I model the LED right down to the chip and wire bonds. The simulation results for the LED are compared to the measured data and the normalized cross correlation and root mean square errors are calculated. The NCC should be greater than 99% and the RMS should be less than 5%. An accurate source model is critical. Another consideration for source modeling is color uniformity over the viewing axis. This has been a topic on the forum for the first gen XM-L for example. The only way to accurately predict the color uniformity is with a mass fluorescent material editor package. That way the uneven path length through the phosphor layer is accurately modeled.
Once the source is defined and modeled I use a point source to rough in the optic. This will only tell you where the rays are going to go in a general unquantified way. Once I have a rough system in place then I will use a rayset for the LED to get the system performance close to spec. The final design and confirmation is done with the complete source model and as many rays as time allows. I also use GoToMyPC so that I can run simulations from my iPad at home.
It is important to minimize the simulation error. If you select the Interactive Simulation pull down in the Optis tree under Simulations you can select Rays Without Error. Select "No" and run a ray trace. The remaining rays will show you where the errors in the model are located. Accurate material definitions, complete material and surface interface definitions, and consistent file locations are important.
There is an optimization package for non-sequential ray trace available that would allow you to define the output you desire and the system parameters that you prefer to change. I do not have that package. The Optical Design package however does have an optimization feature for sequential ray trace and is much less expensive.
I am not sure if what you are doing is an exercise or if you have a product in mind. If it is the later I can't stress enough how important the accuracy of the source is to the simulation results. We recently designed a TIR for a client and while the tool was being made the LED PCB supplier changed to another LED. It changed the output from a nice spot to a bright ring unless it was purposely de-focused! Fortunately it was just a demo. Here's one we did for Dow Corning to demonstrate their moldable optical silicone material:
http://www.dowcorning.com/content/publishedlit/11-3371-01_Insert_b.pdf
Here's a few papers that might help:
http://www.suss-microoptics.com/med...v_Schreiber_LED_homogenizing_SPIE_5942-20.pdf
http://www.breault.com/resources/kbasePDF/wp_spie_032_axisymmetrical_concentrators.pdf
http://www-atom.fysik.lth.se/QI/las...t, Light Guide Techniques using LED lamps.pdf
http://www.innovationsinoptics.com/...ptimizing_High_Brightness_LED_Performance.pdf