Visualization settings for Magnetic field tutorial

Hi,

I haven’t ever been able to figure out the visualization settings necessary to see the magnetic field solution in this tutorial:
https://ngsolve.org/docu/latest/whetting_the_appetite/cmagnet.html

I scroll to zoom into the bounding box, but everything is gray or white. No pretty image like in the screen shot. I’m sure it must be something simple…

Thanks!

Best,
Dow

Hi Dow,

Using a clipping plane orthogonal to the z-axis with appropriate distance settings gives you the desired visualization.
Check the following image for all the options:

These are the things I changed in the menu Visual
[table]
[tr]
[td]Option[/td]
[td]Value[/td]
[/tr]
[tr]
[td]Autoscale[/td]
[td]Off[/td]
[/tr]
[tr]
[td]Max-value[/td]
[td]6e-8[/td]
[/tr]
[tr]
[td]Clipping Plane Sol:[/td]
[td]Scalar Function[/td]
[/tr]
[tr]
[td]Scalar Function:[/td]
[td]B-field (3)[/td]
[/tr]
[/table]

and in the menu Clipping
[table]
[tr]
[td]Option[/td]
[td]Value[/td]
[/tr]
[tr]
[td]Normal y[/td]
[td]0[/td]
[/tr]
[tr]
[td]Normal z[/td]
[td]-1[/td]
[/tr]
[tr]
[td]Distance[/td]
[td]0.008[/td]
[/tr]
[tr]
[td]Additional Disctance[/td]
[td]0.3[/td]
[/tr]
[tr]
[td]Enable clipping[/td]
[td]On[/td]
[/tr]
[/table]

I hope this helps!

Best,
Bernd