Volume Visualization

Visualize Function over a Region

Visualize solutions to a 3D Poisson equation over a ball with Dirichlet boundary conditions.

In[1]:=
Click for copyable input
usol = NDSolveValue[{\!\( \*SubsuperscriptBox[\(\[Del]\), \({x, y, z}\), \(2\)]\(u[x, y, z]\)\) == 1, DirichletCondition[u[x, y, z] == x y z, True]}, u, {x, y, z} \[Element] Ball[]];
In[2]:=
Click for copyable input
SliceDensityPlot3D[ usol[x, y, z], {"XStackedPlanes", "ZStackedPlanes"}, {x, y, z} \[Element] Ball[], PlotTheme -> "Marketing"]
Out[2]=

Related Examples

de es fr ja ko pt-br ru zh