Get a Free Trial
HOME / Applications / Analyzing Electric Fields Inside Cavities of Charged Spheres

Electric Field Inside the Cavity of a Charged Sphere

Used Tools: ems solidworks

Physics

The superposition principle is a fundamental concept in physics. It tells us that when a complex excitation can be broken down into smaller parts, the total response is simply the sum of the responses to each individual part. To better understand this principle, let's consider an electrostatic example.
Imagine a sphere with a radius of 1 meter that contains an empty spherical cavity with a radius of 0.25 meters. Inside this sphere, there is a positive volume charge density rho space equals space plus 10 to the power of negative 6 end exponent space C over m cubed. spaceThe center of the cavity is at the distance d equals 0.5 m spacefrom the center of the charged sphere (Figure 1).

Positively charged sphere with an off-centered cavity

Figure 1 - Positively charged sphere with an off-centered cavity

According to the superposition principle, total field inside the cavity can be found by adding up individual fields of:

  • A positively charged ( rho equals plus 10 to the power of negative 6 end exponent space C over m cubed space), thoroughly filled sphere with a radius a equals 1 m.
  • A negatively charged ( rho equals negative 10 to the power of negative 6 end exponent C over m cubed) sphere whose size and position match the cavity (Fig. 2).


Representation of an empty volume by a superposition of two opposite charge density domains

Figure 2 - Representation of an empty volume by a superposition of two opposite charge density domains

The electric field within the interior of an isolated, uniformly charged sphere at a distance 
from its center can be determined using Gauss' Law.

 E 4 pi r squared equals 1 over epsilon subscript 0 space fraction numerator 4 over denominator 3 space end fraction pi r cubed space rho

Which yields for a positive sphere:   

 stack E subscript plus space space with rightwards arrow on top equals fraction numerator rho over denominator 3 epsilon subscript 0 space end fraction space stack r subscript 1 with rightwards arrow on top space


And for a negative sphere: 

 E with rightwards arrow on top subscript minus equals negative fraction numerator rho over denominator 3 epsilon subscript 0 end fraction stack r subscript 2 with rightwards arrow on top

Where vectorsr with rightwards arrow on top subscript 1  and r with rightwards arrow on top subscript 2  are as defined in Figure 3.

Relationship between the individual Electric field directions and the vector d ? representing the cavity offset


Figure 3 - Relationship between the individual Electric field directions and the vector  representing the cavity offset

Therefore, the total electric field in the cavity can be computed as:

  E with rightwards arrow on top equals E with rightwards arrow on top subscript plus space plus stack E subscript minus with rightwards arrow on top equals fraction numerator rho over denominator 3 epsilon subscript 0 end fraction r with rightwards arrow on top subscript 1 minus r with rightwards arrow on top subscript 2


E with rightwards arrow on top equals fraction numerator rho over denominator 3 epsilon subscript 0 end fraction d with rightwards arrow on top

From the last equation, it can be concluded that the electric field in the cavity is constant with a direction  stack d space with rightwards arrow on topand that its magnitude (for d equals 0.5 m and rho equals space 10 to the power of negative 6 end exponent C divided by m cubed) isspace E equals 18.832 fraction numerator k V over denominator m end fraction.  The field magnitude depends only on the value of the charge density and the distance by which the center of the cavity is offset from the center of the sphere.

Model

Creating an Air domain

In EMS, electromagnetic analysis often necessitates the modeling of the surrounding air regions because the electromagnetic field can extend beyond the parts of the simulated system. To incorporate the air domain into the assembly, you should follow these steps: 

  1. Select the Air part in the Solidworks feature manager
  2. Click Edit component1E in the Solidworks Assembly tab
  3. In Solidworks menu click Insert/Molds/Cavity
  4. In the cavity feature manager, select Charged sphere and Cavity as the Design Components
  5. Click OK 2E.

3D model of sphere with a spherical cavity together with surrounding air domain
Figure 4 - 
3D model of sphere with a spherical cavity together with surrounding air domain

The simulation is performed as the EMS Electrostatic studyE  . Air is used as a material for all parts.
(To see how to assign materials, see the “Computing capacitance of a multi-material capacitor” example).

Boundary conditions            

 

To simulate the electric field, you should follow these boundary condition assignments:

  1. Assign a Charge Density boundary condition to the large sphere. This will specify the charge distribution on the surface of the sphere.

  2. Assign a Fixed Voltage boundary condition to the face of the Air region. This will set a fixed voltage on the specified face of the air region, which will interact with the charge distribution on the large sphere to determine the electric field.

To assign a charge density to the Charged sphere

  1. In the EMS manger tree, Right-click on the Load/Restraint 3E, select Charge density 4E , then choose Volume.
  2. Click inside the Bodies Selection5E box and then select the Charged sphere.
  3. In the Charge Density tab, type 1e-006.
  4. Click OK2E .

To see how to assign 0 Volt to the face of the Air region, see “Force in a capacitor” example.

Results

To display the variation of the electric field along the axis that connects the center of the Charged sphere and the center of the cavity:

  1. In the EMS manger tree, Under Results 7E , right click on the Electric Field folder 8Eand select 2D Plot then choose Linear.         
  2. The 2D Electric Field Property Manager Page appears.
  3.  In the Select points tab, select the start and the end points.
  4. In the Number of Points tab, type 1000.
  5. Click OK2E

In the obtained curve (Figure 5), it’s clear that the electric field in the cavity is constant, and its value is E equals 18.797 space K space v o l t s space, which closely matches the theoretical result. The field in Figure 5 steadily increases with the radius until it meets the cavity r space equals space 250 m m and then remains unchanged through the cavity (till r space equals space 750 m m ). The field peaks at the surface of the sphere ( r space equals space 1000 m m) and then it drops with the square of radius.

Electric field vs radius

Figure 5 - Electric field vs radius

Conclusion

This application note delves into the superposition principle in physics through the lens of an electrostatic example, involving a positively charged sphere with an off-centered cavity. By applying the superposition principle, the study breaks down the complex excitation into two simpler scenarios: a fully charged sphere and a negatively charged sphere matching the cavity's dimensions and position. Utilizing Gauss' Law, the electric fields of both positive and negative spheres are calculated, leading to a determination of the total electric field inside the cavity.
The EMS software plays a pivotal role in this analysis, facilitating the simulation of the electric field within the sphere's cavity. The modeling process includes the creation of an air domain to account for electromagnetic field extensions beyond the physical components. Essential steps such as applying material properties, defining boundary conditions like charge density and fixed voltage, and executing an Electrostatic study are outlined. Results from the simulation confirm the theoretical predictions, showcasing a constant electric field within the cavity, with its magnitude directly influenced by the charge density and the cavity's offset from the sphere's center.
In conclusion, this application note illustrates the power of EMS in validating theoretical concepts like the superposition principle and Gauss' Law in electrostatics, providing a comprehensive understanding of electric fields within charged bodies. This convergence of theoretical physics with simulation tools not only enhances our grasp of fundamental principles but also demonstrates the utility of software like EMS in practical, complex problem-solving within electromagnetic studies.

References

[1] http://jkwiens.com/2007/10/24/answer-electric-field-of-a-nonconducting-sphere-with-a-spherical-cavity/
 


Download Application Model

Share on