Discretization and Formulation Options
The Semiconductor Interface includes quasi-Fermi level, density-gradient, logarithmic finite element formulations and a finite volume formulation. The formulation used is selected in the Discretization section since the shape functions that can be used are directly related to the formulation employed.
The finite volume formulation uses constant shape functions, whilst the logarithmic finite element formulations can use either linear or quadratic shape functions. In the different formulations the carrier concentration dependent variables (by default Ne and Ph) represent different quantities. In the finite volume formulations Ne = N and Ph = P, where N is the electron concentration and P is the hole concentration. For the logarithmic finite element formulation Ne = ln(N) and Ph = ln(P). For the quasi-Fermi level and density-gradient formulation, the quasi-Fermi levels for the electrons and holes are the dependent variables (by default Efn_ and Efp_).
To change the formulation, first expand the Discretization section. Then under Discretization select a Formulation (as in Figure 2-1). Each formulation has advantages and disadvantages.
In the COMSOL Multiphysics Reference Manual see Table 2-4 for links to common sections (such as Discretization) and Table 2-5 to common feature nodes. You can also search for information: press F1 to open the Help window or Ctrl+F1 to open the Documentation window.
Figure 2-1: The Discretization section. Choose between a finite volume or a linear or quadratic finite element, quasi-Fermi level, or density-gradient formulation.
The finite volume discretization inherently conserves current. Consequently, it usually provides the most accurate result for the current density of the charge carriers. In order to enhance numerical stability, a Scharfetter–Gummel upwinding scheme is used for the charge carrier equations. Poisson’s equation is discretized using a centered difference scheme. When doing multiphysics simulations it is important to realize that the shape functions are constant. Consequently, fluxes cannot be evaluated using spatial derivatives of the dependent variables (for example, expressions such as d(V,x) evaluate to zero as V is represented by a constant shape function within each element). Flux quantities such as fields and currents can be evaluated and used in equations (both within the Semiconductor interface and in other physics interfaces) if the predefined variables from Table 2-1 are used in expressions:
semi.normD, semi.DX, semi.DY, semi.DZ
semi.normJn, semi.JnX, semi.JnY, semi.JnZ
semi.normJp, semi.JpX, semi.JpY, semi.JpZ
semi.normJn_drift, semi.Jn_driftX, semi.Jn_driftY, semi.Jn_driftZ
semi.normJp_drift, semi.Jp_driftX, semi.Jp_driftY, semi.Jp_driftZ
semi.normJn_diff, semi.Jn_diffX, semi.Jn_diffY, semi.Jn_diffZ
semi.normJp_diff, semi.Jp_diffX, semi.Jp_diffY, semi.Jp_diffZ
semi.normJn_th, semi.Jn_thX, semi.Jn_thY, semi.Jn_thZ
semi.normJp_th, semi.Jp_thX, semi.Jp_thY, semi.Jp_thZ
Any variables that involve expressions directly derived from the variables in Table 2-1 can also be used in expressions, for example, the electric field, semi.normE, semi.EX, semi.EY, semi.EZ, or the total current, semi.normJ, semi.JX, semi.JY, semi.JZ.
A convenient way to obtain the variable names listed in Table 2-1 and other commonly used variables is to use the Replace Expression button () available in the settings window of any plot or evaluation nodes under the Results branch of the Model Builder tree structure.
The logarithmic finite element formulation typically solves faster than the finite volume formulation. One reason is that, for an identical mesh, the finite element method with linear shape functions typically results in fewer degrees of freedom. In 2D, for triangular mesh elements, the number of degrees of freedom for the finite element method with linear shape functions is approximately half that for a finite volume discretization. Coupling to other physics interfaces is straightforward and variables can be differentiated using the d operator.
The quasi-Fermi level formulation uses the quasi-Fermi level as the dependent variable, instead of the carrier concentration. It is advantageous in some cases — for example, for systems with wideband gaps or at very low temperatures.
The density-gradient formulation provides a computationally efficient option to include the effect of quantum confinement in the drift–diffusion method, pushing its applicability to nanometer length scales. It also uses the quasi-Fermi level as the dependent variable.