POLARIS Example - Concentric Spherical Shells

TAILSIT GmbH

2026-10-28

Concentric Spherical Shells

In this example, two concentric spherical shells with different dielectric behaviors are considered. Moreover, on the innermost and outermost spheres fixed potentials are applied. This constellation gives rise to a simple analytic expression for the potential. In order to see how to generate the concentricSpheres.yaml input file with the preprocessor of POLARIS, check the Preprocessor Tutorial.

Model parameters

Parameter Symbol Value
Inner sphere radius r1r_1 0.4m0.4\,\mathrm{m}
Middle sphere radius r2r_2 0.7m0.7\,\mathrm{m}
Outer sphere radius r3r_3 1.0m1.0\,\mathrm{m}
Inner dielectric permittivity εr1\varepsilon_{r1} 3232
Outer dielectric permittivity εr2\varepsilon_{r2} 44
Inner sphere potential V1V_1 100.0V100.0\,\mathrm{V}
Outer sphere potential V3V_3 −50.0V-50.0\,\mathrm{V}

Main run

In order to compute the surface density and potential, run the command

polaris -i concentricSpheres.mesh -s concentricSpheres.yaml

in order to obtain the result file concentricSpheres.vtkhdf.

Posterior run

With

polaris.post -i concentricSpheres.vtkhdf -p concentricSpheres.xyz -s concentricSpheres.yaml 

the potential and E-field along a radial line are calculated and tabulated in the file concentricSpheres.csv

Results

This problem with spherical symmetry can be reduced to two second-order ODEs in the radial direction. Their respective integration leads to solutions of the form

u1(r)=A+Brr1≤r≤r2u_1(r) = A + \frac{B}{r} \quad r_1 \leq r \leq r_2

for the inner shell and

u2(r)=C+Drr2≤r≤r3u_2(r) = C + \frac{D}{r} \quad r_2 \leq r \leq r_3

for the outer shell. The integration constants AA, BB, CC and DD can be obtained from the boundary conditions at r=r1r=r_1 and r=r3r=r_3, that is the prescribed potentials V1V_1 and V3V_3 and from the transmission conditions at r=r2r=r_2. The final result of these constants can be found in the provided gnuplot script.

With the following commands

gnuplot
gnuplot> load 'concentricSpheres.gp'

one obtains a plot of the computed results along the radial line and the corresponding values of the analytic solution.

Below are screenshots from ParaView and the gnuplot image

Surface mesh
Surface mesh
Potential along radial line
Potential along radial line