COMSOL Multiphysics uses velocity quadratures based on the formalism described in Ref. 1. Consider first the generation of a one-dimensional quadrature. The
pth order Hermite polynomial is generated from the function
w(
ξ)=exp(
−ξ2/2)/
√(2
π) by the equation
To generate a one-dimensional quadrature of order p, the roots of the equation
H(p)(
ξ)=0 need to be evaluated. These roots represent the velocity coordinates of the quadrature. The
pth order polynomial,
H(p)(
ξ), has
p roots:
ξq, where
q = 1, …,
p. To compute the weights associated with the quadrature the following formula is used:
Two-dimensional and three-dimensional quadratures can be generated from a one-dimensional quadrature through the product rule. The product rule constructs a two-dimensional quadrature by placing the one-dimensional quadrature along both the x- and
y-axes and generating a grid that passes through all the points on the axes. The points at the intersection of the grid lines represent the velocity coordinates of the two-dimensional quadrature. The weights corresponding to each velocity coordinate are also multiplied together. Three-dimensional quadratures are generated in an analogous manner.