Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.27 KB

README.md

File metadata and controls

26 lines (18 loc) · 1.27 KB

2d-euler-gas-simulation

Computational model of breaking wave for NYU computation physics class in 2009.

Final paper describing results of project

2nd Order Euler Equations in 2D with Gravity

0 1 205125

Instructions

  1. make
  2. python run.py

You can change the initial conditions in param.cfg, just change the values for velocity, density and pressure for Mr and Ml. In each initial condition, specified by InitialType there are two gases, one corresponding to Mr, and the other to Ml.

In run.py you can specify the resolution, the BC type, the Initial Condition type and , the time step, and the number of runs. Also you can specify where you want to save the figures it creates to.

In runAgain.py, you can run the data from where it was just left off, you need to specify where to save the figures to, the time step, and the number of graphs wanted.

It is important to have a file in the results folder that corresponds to the destination specified in run.py and runAgain.py