Wolfram Language

Volume Visualization

Visualize Function over a Region

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

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[]];
Click for copyable input
SliceDensityPlot3D[ usol[x, y, z], {"XStackedPlanes", "ZStackedPlanes"}, {x, y, z} \[Element] Ball[], PlotTheme -> "Marketing"]

Related Examples

de es fr ja ko pt-br ru zh