Yes, it is. In Flux (2D and 3D) a magnet material with sinusoidal Br can be defined by using spatial quantity.
The procedure to follow is described below:
Create new spatial quantity defined as follow:
The following spatial quantities should be previously created in the project to use them in the formula above:
|Create magnet material defined as follow:
Name: ex. MAGNET_SINUS
Magnetic property: Spatial linear magnet
Spatial remanent flux density: BR_SPATIAL
|Use the created material in the magnet region definition
To check the result, you can display a 2D curve on a path located in the middle of the magnet region.
Note: The curve should be displayed with respect to cylindrical coordinate system. For instance Comp(1,VLCS(COORDSYS_CYL,Br))