Keywords:
cylindrical, capacitor, electrostatic
The Cylindrical Capacitor simulation solves for the potential between two cylinders with a ring of charge.
This simulation can be performed with a VSimBase license.
The Cylindrical Capacitor example is accessed from within VSimComposer by the following actions:
All of the properties and values that create the simulation are
now available in the Setup Window as shown in
Fig. 126. You can expand the tree
elements and navigate through the various properties, making any
changes you desire. The right pane shows a 3D view of the
geometry, if any, as well as the grid, if actively shown. To show
or hide the grid, expand the Grid element and select or deselect
the box next to Grid
.
In this simulation there is a backgroundChargeDensity0 field which is given by an expression, chargedDist. That expression is defined as a SpaceTimeFunction. The variables x and y in the expression are place holders for the actual variables, Z and R, in the simulation. So this is a ring of charge, centered at R = 0.3, with a Gaussian fall off.
There are Dirichlet boundary conditions on the lower and upper R boundaries, with the lower bound set to 10 volts.
After performing the above actions, continue as follows:
After performing the above actions, continue as follows:
This particular run computes the electrostatic potential, which we see by opening the scalar data and checking the box next to Phi, which is shown in the right of the visualization tab. See Fig. 128.
Looking inside the field boundary conditions, and highlighting dirichlet0, you can see that 10V was put on the lower R boundary. You can try experimenting with this, going to run and visualize with each change. The more voltage, the less the background charge should matter.
You can take the charge out of the system. Highlight the backgroundChargeDensity0 label. In the property editor below, double click on chargedDist, hit delete, and type 0.0. Then run and viz, and you will see a potential that is independent of Z.
Click the Add a Data View dropdown below the menu bar and select Field Analysis. For the Field, choose E_r with the Vertical Lineout Settings, then hit “Perform Lineout”. You will see, as expected, that the radial electric field is positive (pointing outward) and falling off with the expected 1/r behavior.