The first method is to add a Number Density Reconstruction feature to the model. COMSOL Multiphysics then computes the number density for each species (which is available as the dependent variable
N) on the feature in addition to on the exterior surfaces of the model at the time of solving.
The Free Molecular Flow Interface also defines a number density operator, which is called in the following manner:
where name is the dependent variable name for a given species. The default is
G, so
comp1.fmf.nop_G(x,y,z) would be the default operator to compute the number density in 3D.