File:VFPt charged-wires 2xpositive potential+contour.svg
![File:VFPt charged-wires 2xpositive potential+contour.svg](https://upload.wikimedia.org/wikipedia/commons/thumb/e/e7/VFPt_charged-wires_2xpositive_potential%2Bcontour.svg/600px-VFPt_charged-wires_2xpositive_potential%2Bcontour.svg.png?20200605124657)
Original file (SVG file, nominally 600 × 600 pixels, file size: 160 KB)
Captions
Captions
Summary
[edit]DescriptionVFPt charged-wires 2xpositive potential+contour.svg |
English: Electric field and potential around two infinitely long positively charged wires. |
Date | |
Source | Own work |
Author | Geek3 |
SVG development InfoField | ![]() This plot was created with VectorFieldPlot. |
Source code InfoField | Python code# paste this code at the end of VectorFieldPlot 3.1
# https://commons.wikimedia.org/wiki/User:Geek3/VectorFieldPlot
doc = FieldplotDocument('VFPt_charged-wires_2xpositive_potential+contour',
width=600, height=600, commons=True)
nw = 2
r = 1.3
a0 = 0
rods = [{'x':r * cos(2*pi*i/nw + a0), 'y':r * sin(2*pi*i/nw + a0),
'q':1} for i in range(nw)]
field = Field([ ['charged_wire', rod] for rod in rods])
doc.draw_charged_wires(field, scale=2)
U0 = field.V([(r - 0.3) * cos(a0), (r - 0.3) * sin(a0)])
U1 = field.V([(r - 0.295) * cos(a0), (r - 0.295) * sin(a0)])
Umin = field.V([3, 3])
spath = Startpath(field, lambda t: sc.array([
r * cos(a0) + r * sin(pi/nw) * cos(2*pi*t + a0),
r * sin(a0) + r * sin(pi/nw) * sin(2*pi*t + a0)]), t0=0.0, t1=1)
nl = 16
for i in range(nl):
a = (i + 0.5) / nl
for m in range(0, nw):
line = FieldLine(field, rot(spath.startpos(a), 2*pi*m/nw),
directions='both')
doc.draw_line(line, linewidth=2.4, arrows_style={'scale':1.2,
'potential':field.V, 'at_potentials':[Umin + 0.41 * (U0-Umin)]})
doc.draw_scalar_field(func=field.V, cmap=doc.cmap_AqYlFs,
vmin=2*Umin-U0, vmax=U0)
doc.draw_contours(func=field.V, linewidth=1, linecolor='#111111',
levels=sc.linspace(Umin, U1, 17)[1:-1], attributes={'opacity':'0.7'})
doc.write()
|
Licensing
[edit]![w:en:Creative Commons](https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/CC_some_rights_reserved.svg/90px-CC_some_rights_reserved.svg.png)
![attribution](https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Cc-by_new_white.svg/24px-Cc-by_new_white.svg.png)
![share alike](https://upload.wikimedia.org/wikipedia/commons/thumb/d/df/Cc-sa_white.svg/24px-Cc-sa_white.svg.png)
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 12:46, 5 June 2020 | ![]() | 600 × 600 (160 KB) | Geek3 (talk | contribs) | Uploaded own work with UploadWizard |
You cannot overwrite this file.
File usage on Commons
The following page uses this file:
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Short title | VFPt_charged-wires_2xpositive_potential+contour |
---|---|
Image title | VFPt_charged-wires_2xpositive_potential+contour
created with VectorFieldPlot 3.1 https://commons.wikimedia.org/wiki/User:Geek3/VectorFieldPlot about: https://commons.wikimedia.org/wiki/File:VFPt_charged-wires_2xpositive_potential+contour.svg rights: Creative Commons Attribution ShareAlike 4.0 |
Width | 600 |
Height | 600 |