Skip to content

fredmloth/ScientificComputingGroup8_A3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README date: March 23, 2025

SciCompGroup8

Scientific Computing course assignments. Group consist of: Liesbet Ooghe, Frederieke Loth, Kushnava Singha

Contents

This code is written for assignment 3 of Scientific Computing, a UvA Course.

'\src' contains files with functions to run the code

  • direct.py: Contains function to solve the diffusion equation using direct methods
  • eigenvalue_problem.py: This code holds functions to solve and visualize the eigenvalue problem.
  • leapfrog.py: Implements a 1D Harmonic Oscillator using Leapfrog method
  • phase.py: Contains functions to simulate a simplate harmonic oscillator under the influence of an external driving force.

'\results' contains output files with animations and images.

Requirements

The code was run on Python 3.12 Libraries IPython.display, numpy, time, scipy, matplotlib

Usage

By running the run.ipynb you can run the neccesary code for the assignment. Please note that some cells may run for longer than 1 minute.

Results

After running the simulations, the results are given in the run.ipynb file and/or the \results folder.

Conclusion

This project aims to investigate the use of a variety of methods to solve different types of partial differential equations (PDEs) for spatial and time-dependent solutions.

About

Code for Assignment 3 of Scientific Computing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •