I am running a parametric sweep in a 2D model in COMSOL, during which the location of one domain point probe needed to be updated. However, the probe location is not changing during the sweep. Does anybody have any idea what might be the problem?
I've just found a way around this problem, using a boundary probe instead of a point probe. A boundary probe, unlike a point probe, does not have explicit coordinates. The boundary probe location is defined by the coordinates of the boundaries to which it is associated. As the coordinates of geometric elements are updated during a parametric sweep without any problem, the boundary probe sensing position "moves" together with its boundaries during the sweep. However, the question still remains: is it possible to update the location of a domain point probe during a parametric sweep in a 2D model in COMSOL?
You can use your parameter names as the coordinates. For instance, lets say that I have a parameter names "Radius" that controls the radius of an object. As I sweep the parameter Radius, I want to measure the E-field intensity on the shell. I would set my point probe coordinates as (Radius, Radius). That will update the probe location with each iteration. You can also use equations like "Height+Radius" if lets say you have your object at some height too.