Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
184_projects:f20_project_3 [2020/08/20 16:00] – created dmcpadden | 184_projects:f20_project_3 [2020/09/24 21:16] (current) – [Project 3A: StickyStuff and the Dust Particle] cookkai3 | ||
---|---|---|---|
Line 3: | Line 3: | ||
{{ 183_projects: | {{ 183_projects: | ||
- | Adhesive tape is manufactured by repeatedly rolling and unrolling large sheets of plastic, which can cause there to be a charge on the surface of the tape. Why this important you may ask? Trapped in the town of Lakeview, S.P.A.R.T.A.N force has been called to the premises of StickyStuff Corporation. StickyStuff Corp has been tasked with producing a special type of adhesive tape to be used on a new top-secret spacecraft called Artemis 13. Unfortunately, | + | Adhesive tape is manufactured by repeatedly rolling and unrolling large sheets of plastic, which can cause there to be a charge on the surface of the tape. Why this important you may ask? Trapped in the town of Lakeview, S.P.A.R.T.A.N force has been called to the premises of StickyStuff Corporation. StickyStuff Corp has been tasked with producing a special type of adhesive tape to be used on a new top-secret spacecraft called Artemis 13. Unfortunately, |
- | (There' | + | (There' |
<WRAP INFO> | <WRAP INFO> | ||
Line 14: | Line 14: | ||
* Understand how surfaces become charged (particularly as an insulator in this case) | * Understand how surfaces become charged (particularly as an insulator in this case) | ||
</ | </ | ||
+ | |||
+ | ==== Project 3B: Better Thundercloud Model ==== | ||
+ | {{ 184_projects: | ||
+ | The storms over Lakeview have gotten worse, with an almost permanent pitch black cloud system hovering overhead. A new model for the thundercloud needs to be produced to obtain a better understansding of how it is functioning. While they greatly appreciated the model you created last week for the Mapping N→Etwork Sensory Array (MNSA), the data they are collecting from the sensors are simply not matching the model' | ||
+ | |||
+ | Given that the negative charge is much closer to the ground (and headquarters), | ||
+ | |||
+ | < | ||
+ | #Set up of the objects | ||
+ | ground = box(pos = vec(0,0,0), width=5000, length=5000, | ||
+ | mountains = [cone(pos=vec(-1800, | ||
+ | cone(pos=vec(-1800, | ||
+ | cone(pos=vec(-1800, | ||
+ | HQ = box(pos = vec(-100, | ||
+ | cloud = box(pos = vector(0, | ||
+ | |||
+ | |||
+ | #Lines 13-48 create a grid of spheres to represent the bottom of the cloud (this part of the code doesn' | ||
+ | |||
+ | #Define how many chunks to split the cloud in the x direction (define x size of the cloud grid) | ||
+ | nx = 10 | ||
+ | #Define how many chunks to split the cloud in the z direction (define z size of the cloud grid) | ||
+ | nz = 10 | ||
+ | |||
+ | #Define where the cloud should start/stop in the x direction | ||
+ | startx = -250 | ||
+ | endx = 250 | ||
+ | #Define the spacing between each chunk in the x, based on where the cloud start/stops and how many chunks there are | ||
+ | stepx = (endx - startx)/nx | ||
+ | |||
+ | #Define where the cloud should start/stop in the z direction | ||
+ | startz = -250 | ||
+ | endz = 250 | ||
+ | #Define the spacing between each chunk in the z, based on where the cloud start/stops and how many chunks there are | ||
+ | stepz = (endz - startz)/nz | ||
+ | |||
+ | #Create an empty list to store each cloud chunk | ||
+ | listOfCloudChunks = [] | ||
+ | |||
+ | #For each cloud chunk in the x-direction | ||
+ | for i in range(0, | ||
+ | | ||
+ | #Define the x-location of the cloud chunk | ||
+ | xloc = startx + i*stepx | ||
+ | | ||
+ | #For each cloud chunk in the z-direction | ||
+ | for j in range(0, | ||
+ | | ||
+ | #Define the z-location of the cloud chunk | ||
+ | zloc = startz + j*stepz | ||
+ | | ||
+ | #Make a sphere at that x-z location | ||
+ | cloudChunk = sphere(pos = vector(xloc, | ||
+ | |||
+ | #Add the sphere to the list of cloud chunks (so we can use it later) | ||
+ | listOfCloudChunks.append(cloudChunk) | ||
+ | |||
+ | #This part needs to be fixed and commented... | ||
+ | obsLocation = vector(0, | ||
+ | Enet = vector(0, | ||
+ | |||
+ | |||
+ | Q = -15 | ||
+ | dQ = Q/(nx*nz) | ||
+ | k = 9e9 | ||
+ | |||
+ | |||
+ | for chunk in listOfCloudChunks: | ||
+ | | ||
+ | Enet = vector(0, | ||
+ | </ | ||
+ | |||
+ | <WRAP INFO> | ||
+ | === Learning Goals === | ||
+ | * Visualize the electric field from a 2D plane of charge | ||
+ | * Use multiple loops to create many observation points from many charges | ||
+ | * Identify patterns in the electric fields between 1D, 2D, and 3D charge distributions | ||
+ | * Compare/ | ||
+ | </ | ||
+ |