Skip to content

About

Analyzing physical systems with python via ordinary differential equations

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Physical Modeling with Python

Simulate physical models with python ODEINT

Environment

OS

Ubuntu 16.04 LTS Xenial Xerus

Python with VS Code

venv=2.7

Modules

numpy==1.16.4

scipy==1.2.2

matplotlib==2.2.4

Overview

A physical system simulator with python. Main objective is to get the right answers by solving ordinary differential equations, using the odeint function.

Structure

./examples/ directory

Contains tutorial codes from here. Custom code may be different from original. It is a great source to practice modeling.

./models/ directory

Contains acutal implementations of a simple pendulum and a spring pendulum. Also added custom models with external force.

  • No Force (Constant)
  • Step Function
  • Sinusoidal
  • Exponential

There's also a main.py file which represents these models - it's based on the sinusoidal force model.

Acknowledgement

About

Analyzing physical systems with python via ordinary differential equations

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages