I need to visualize the electrostatic field produced by a capacitor consisting of two parallel 1D plates of different lengths, as shown in the following figure (sorry for the crude drawing), in which the lower plate is grounded and the upper shorter one is charged at a high voltage. The two plates are assumed to be the mathematic plane with zero thickness, and the length ration of $l/L=1/5$.
Actually, I need to plot the field lines, field strength contour, and field strength distribution on the lower plate. Then the plots will be used to estimate the length of a significant electric-field influence domain on the lower plate. For example, $20$% in strength decay in the horizontal direction, that is, the field-line density decreases by $20$% as compared with the homogeneous central region.
The length is denoted as $l+2\delta$ in the figure, where $\delta$ means the edge-effect length of the electric field on the lower plate. This problem is also related to this one. I'd like to thank @Alex Trounev's answer there.
But I have further questions about Alex Trounev's answer: 1. is it reasonable to use two circular plates to represent two 1D plates?
- If the upper surface of the small electrode is coated with an insulator, what are the plots?
Update
To plot full streamlines without segmentation, I added StreamScale -> {Full, All, 0.02}
in StreamDensityPlot
StreamDensityPlot[Evaluate[ef], {x, y} \[Element] reg,
MaxRecursion -> 2, StreamPoints -> 40, ColorFunction -> "Rainbow",
PlotLegends -> Automatic, FrameLabel -> {"x", "y"},
StreamStyle -> LightGray, FrameStyle -> LightGray, PlotRange -> All,
ImageSize -> 400, StreamScale -> {Full, All, 0.02},
PerformanceGoal -> "Quality"]
We can see many streamlines don't touch the plates exactly and have different distances from the plates, see the following enlarged figure.
This issue can be seen in the mid-subfigure of @Alex's answer. How to get continuous streamlines, among which those lines end at the plate should touch the plates exactly? I have tried to use WorkingPrecision -> 20
, which turns out to be useless. Is this related to the mesh? Thank you for any suggestions.