Finite Element and Finite Volume Discretization
The Semiconductor Interface includes linear and 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 two 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 linear finite element and 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 formulation, the quasi-Fermi levels for the electrons and holes are the dependent variables.
Under Discretization you can select a Formulation (as in Figure 2-1). Each formulation has advantages and disadvantages.
In the COMSOL Multiphysics Reference Manual see Table 2-3 for links to common sections (such as Discretization) and Table 2-4 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, or quasi-Fermi level formulation.
The finite volume discretization inherently conserves current. Consequently, it usually provides the most accurate result for the current density of the charge carriers. This is why it is the default setting. 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.Jn (semi.Jnx, semi.Jny, semi.Jnz)
semi.Jp (semi.Jpx, semi.Jpy, semi.Jpz)
semi.Jn_drift (semi.Jn_driftx, semi.Jn_drifty, semi.Jn_driftz)
semi.Jp_drift (semi.Jp_driftx, semi.Jp_drifty, semi.Jp_driftz)
semi.Jn_diff (semi.Jn_diffx, semi.Jn_diffy, semi.Jn_diffz)
semi.Jp_diff (semi.Jp_diffx, semi.Jp_diffy, semi.Jp_diffz)
semi.Jn_th (semi.Jn_thx, semi.Jn_thy, semi.Jn_thz)
semi.Jp_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.E, or the total current, semi.J.
The 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 finite element method is an energy conserving method and thus current conservation is not implicit in the technique. Current conservation for the linear formulation is poor and this formulation is provided primarily for reasons of backward compatibility. Current conservation in the log formulation is much better but still not as good as the finite volume method. In order to help with numerical stability a Galerkin least-squares stabilization method is included. This method usually enhances the ability to achieve a converged solution, particularly when using the linear formulation. However, it can be preferable to disable the stabilization, since the additional numerical diffusion the technique introduces can produce slightly unphysical results. As a result of the reduced gradients in the dependent variables obtained when using the log formulation, stabilization is often not required when using this technique.
In the COMSOL Multiphysics Reference Manual:
The quasi-Fermi level formulation use the quasi-Fermi levels as the dependent variable, instead of the carrier concentrations. This formulation is advantageous in some cases, for example for near-equilibrium systems at very low temperatures.