Solve PDEs with Material Regions
Solve an electrostatics PDE over a region with two materials.
Specify a mesh.
| In[1]:= | ![]() X |
| Out[1]= | ![]() |
Solve the equation with material coefficients specified with an If statement.
| In[2]:= | ![]() X |
Contour plot the solution with the boundary mesh.
| In[3]:= | X |
| Out[3]= | ![]() |



