Actually we want to include new equations on TCAD. We have to modify the existing equation also. We already checked the manual but not get the right track.
The C-interpreter function is very powerful, but can only be used for some physical quantities. You can find out which by checking the C-interpreter templates file (by going to Commands menu in Deckbuild)
Copy the function template for the physical quantity you need to a new file and save it as ".lib"
You now specify this file in your deck at the appropriate place (as described in the manual) for example:
material name=InGaN F.BANDCOMP=INGAN.lib
This ".lib" file is read everytime the deck is run, so you can change the contents of the ".lib" but don't need to change the deck.
Almost! The template file just provides inputs and outputs. For example the F.BANDCOMP function for BLAZE, which allows "Temperature and composition dependent band parameters"
The inputs are:
xcomp composition fraction "X"
ycomp composition fraction "Y"
temp temperature (K)
The outputs are:
eg return: band gap (eV)
chi return: affinity (eV)
nc return: conduction band density of states
nv return: valence band density of states
degdt return: derivative of Eg with respect to T
You write the physics expression based on the inputs to calculate the outputs (with the expressions written in C). You don't need to give all the outputs though.
Yes, I understand now. I already have seen about the BLAZE, and will try as you said. I am stuck in some simulation issues that is why i am working on theories. Do you actually know about the Organic Photovoltaics simulation in SILVACO? Is It good or bad? I guess you have very clear idea about TCAD where i am very new. Some suggested me that TCAD is not appropriate for that. Some suggest to use Synopsis TCAD, not SILVACO.
So, i am in a dilemma. I am already very happy on your kind responses. If you know about a good simulation software for organic photovoltaics apart from TCAD, please let me know. Of course i hope to get you further.