Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project Submission #7

Open
wants to merge 37 commits into
base: master
Choose a base branch
from

Commits on Dec 14, 2015

  1. Configuration menu
    Copy the full SHA
    9dd1cc1 View commit details
    Browse the repository at this point in the history
  2. Stated assertions in markdown text. Having trouble with images but no…

    …t sure if it's an issue with markdown syntax or the web address. Will investigate on personal machine, but isn't strictly necessary for derivation.
    AkshayaSrivastava committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    2a3a334 View commit details
    Browse the repository at this point in the history
  3. Finished Derivation and Voltage boundary and Initial Condition discus…

    …sion. Trying out new method to source information.
    AkshayaSrivastava committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    c0085ec View commit details
    Browse the repository at this point in the history
  4. Added more equations and used them to avoid having to resolve the cur…

    …rent wave equation. Added a dig deeper segment, to keep scope of project in check.
    AkshayaSrivastava committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    00dda32 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f7a4c82 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4faa584 View commit details
    Browse the repository at this point in the history
  7. finished descritization. Need to add in the 2nd order Neumann conditi…

    …on and then the theory will be done and coding can begin!
    AkshayaSrivastava committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    df6217d View commit details
    Browse the repository at this point in the history
  8. Finished Derivation, with simplification into final form. Fixed image…

    … issue, and figured out how to create reference links and comment out the references in the Markdown Block. May list references again at the end, if time permits; if not, they are scattered throughout the text where used. Code pending.
    AkshayaSrivastava committed Dec 14, 2015
    Configuration menu
    Copy the full SHA
    53d67d1 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2015

  1. Tried out numericalmoocstyle.css, but that makes equation numbering r…

    …un together. No longer trying that. also, wrote code for initial signal generation function, and tested to make sure it's running as expected. May remove rhb/lhb params if needed
    AkshayaSrivastava committed Dec 15, 2015
    Configuration menu
    Copy the full SHA
    8b8cdfd View commit details
    Browse the repository at this point in the history
  2. Created Solver function. Looks ok. Created another cell without the R…

    …HB/LHB params. Don't think I can ignore them...Might have something to do with the initial condition i'm looking at. Worst Case Scenario, use Equation 32 only for the n = 1, and then recode Equation 24 for all others. Also want to experiment with timesteps to figure out exactly what's happening
    AkshayaSrivastava committed Dec 15, 2015
    Configuration menu
    Copy the full SHA
    47d4ad7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    46bc838 View commit details
    Browse the repository at this point in the history
  4. got the wave, it really was because i was doing a first order approxi…

    …mation throughout. Will keep the previous versions of the code in here and add text to explain what's going on and why it isn't working. also, need to debug the wave somewhat, just a smidge...
    AkshayaSrivastava committed Dec 15, 2015
    Configuration menu
    Copy the full SHA
    6fc817c View commit details
    Browse the repository at this point in the history
  5. Cleaned up code to follow logical progression of imports, define para…

    …meters, define functions, invoke functions, plot. All code cells will follow this progression to help keep scope of variables and functions in check. Also assists in Debugging if everything that the code needs is called in the same cell.
    AkshayaSrivastava committed Dec 15, 2015
    Configuration menu
    Copy the full SHA
    ea6b2ca View commit details
    Browse the repository at this point in the history
  6. Added in some background to the Telegrapher's Equations. Also added t…

    …ext discussing first order and the traps you can fall into if you are not careful. Called out references explicitely in the end of the report. Now I just need to fix the code and run the code once in JupyterHub to test viridis, and this should be done!
    AkshayaSrivastava committed Dec 15, 2015
    Configuration menu
    Copy the full SHA
    2dddbf8 View commit details
    Browse the repository at this point in the history
  7. Did some more analysis. Had a discussion of initial boundary conditio…

    …ns and timestep size. Have to do a CFL analysis now. Leaving the current and resistivity as a Dig Deeper Exercise for now.
    AkshayaSrivastava committed Dec 15, 2015
    Configuration menu
    Copy the full SHA
    df90fe6 View commit details
    Browse the repository at this point in the history
  8. trying to apply CFL condition. whenever I do though, REsults no longe…

    …r exist. May need to leave that as a Dig Deeper exercise...
    AkshayaSrivastava committed Dec 15, 2015
    Configuration menu
    Copy the full SHA
    0af84b1 View commit details
    Browse the repository at this point in the history
  9. Was able to implement the stability conditions. I wasn't passing the …

    …boundary conditions to the solver, which lead to strang boundary conditions past the initial values. Switching to Jupyter Hub to make sure viridis works and better visualize. Should be able to finish up soon from there.
    AkshayaSrivastava committed Dec 15, 2015
    Configuration menu
    Copy the full SHA
    f28e7aa View commit details
    Browse the repository at this point in the history
  10. Everything is working, and all results are reasonable. Going to creat…

    …e a final version that doesn't take so long to run, and uses cells better.
    AkshayaSrivastava committed Dec 15, 2015
    Configuration menu
    Copy the full SHA
    1c9787c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ac3904f View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    eb6646f View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2015

  1. Addressed first 4 bullet points from feedback. I think I did the crea…

    …tive commons stuf correctly as well, following the samples on the course materials.
    AkshayaSrivastava committed Dec 23, 2015
    Configuration menu
    Copy the full SHA
    d986669 View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2015

  1. Continued working on Final project based on feedback. Realized that a…

    …bout half of the document (discussion of first order) adds more confusion than clarity. The purpose of that section was to show how using a first order approximation would lead to first order solutions, even with a second order discretization scheme. I think this could be better conveyed through equations, and would clarify where the solution is going to. Also, added a basic outline of the rest of the lesson, which will help when writing, and when readers are reading. Created brand new version of the assignment in order to 'start fresh' and write better, cleaner code, rather than trying to modifexisting structure, and potentially missing errors, etc.
    AkshayaSrivastava committed Dec 24, 2015
    Configuration menu
    Copy the full SHA
    494d391 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bc893d9 View commit details
    Browse the repository at this point in the history
  3. began derivation section of the exact results. once those results are…

    … in place, we can use sympy to plot them and that will be our exact solutions with which to compare the numerical solutions.
    AkshayaSrivastava committed Dec 24, 2015
    Configuration menu
    Copy the full SHA
    d1c37c5 View commit details
    Browse the repository at this point in the history
  4. fixed imports and added version output for debugging. also finished t…

    …heoretical calculations in latex and created equation 5 through sympy.
    AkshayaSrivastava committed Dec 24, 2015
    Configuration menu
    Copy the full SHA
    79d418c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1d6e61b View commit details
    Browse the repository at this point in the history
  6. added boundary conditions application to exact solution. working on i…

    …nitial conditions now. also realized that sympy can only do first order pdes. moved code for sympy solution into last cell in case it's needed. may try using it to solve the ODEs that result from Seperation of Variables, if possible.
    AkshayaSrivastava committed Dec 24, 2015
    Configuration menu
    Copy the full SHA
    c5851f4 View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2015

  1. got exact solution in python. working on using them to find exact sol…

    …ution for voltage and then plot.
    AkshayaSrivastava committed Dec 25, 2015
    Configuration menu
    Copy the full SHA
    b764a0d View commit details
    Browse the repository at this point in the history
  2. finished derivation in both sympy and latex. have the same solution f…

    …or both, so we can alway sturn this into a function to plot against our numerical solution.
    AkshayaSrivastava committed Dec 25, 2015
    Configuration menu
    Copy the full SHA
    0f19e1f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5ca6a7d View commit details
    Browse the repository at this point in the history
  4. Initialized solution container and other variables. Discussed logic o…

    …n code design. Next step is to set up the loop.
    AkshayaSrivastava committed Dec 25, 2015
    Configuration menu
    Copy the full SHA
    5fab294 View commit details
    Browse the repository at this point in the history
  5. finished loop. Solution is going into infinity and then NaNs. I have …

    …debugging code in there for now, which will be commented out and can be used again to see variables change as the loop runs.
    AkshayaSrivastava committed Dec 25, 2015
    Configuration menu
    Copy the full SHA
    ad9e1f5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1ab931f View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2015

  1. correctly implemented CFL condition. Getting similar results. Will wo…

    …rk on conclusion and source to CFL condition derivation. Need to clean up code for debugging as well.
    AkshayaSrivastava committed Dec 26, 2015
    Configuration menu
    Copy the full SHA
    2a74a4d View commit details
    Browse the repository at this point in the history
  2. finished conclusions and added dig deeper section. Also cleaned up co…

    …de. Will run once more to make sure everything is good and proofread.
    AkshayaSrivastava committed Dec 26, 2015
    Configuration menu
    Copy the full SHA
    df1a171 View commit details
    Browse the repository at this point in the history
  3. removed old files from root Final Project Folder. also finished proof…

    …reading. Figuring out how to avoid runtime errors now, like the overflows and sesssion/line number not unique in database.
    AkshayaSrivastava committed Dec 26, 2015
    Configuration menu
    Copy the full SHA
    a43e695 View commit details
    Browse the repository at this point in the history
  4. using float128 removed the overflow errors. I think the only time the…

    … session/line number not unique errors occur is when you run the same cell twice without interuppting the kernel first. I did that with the exact plot and got the error and two plots, even though there was only one command - that leads me to believe that there was a risidual command in the kernal that was still being executed as I ran it again. The 3-d plots may take some time to load, but the actual calculations are done in under a minute. On Jupyter Hub and my machine, the entire notebook rendered in under 10 minutes. In any case, I think I'm done. Merry Xmas to All , and to All a good night!
    AkshayaSrivastava committed Dec 26, 2015
    Configuration menu
    Copy the full SHA
    05ec171 View commit details
    Browse the repository at this point in the history