GithubHelp home page GithubHelp logo

skylersinclair / surfactant-data-processing Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 576 KB

Numerical fluid dynamics studying the effect of the equation of state on surfactant spreading: .m files for interpreting simulation output and key results.

MATLAB 99.83% M 0.17%

surfactant-data-processing's Introduction

This is the MATLAB code use to process the data outputed from the clawpack implicit solver 2d Surfactant simulation. Once you've run the desired simulation, you can convert the output files to .m files by running the following in the Surfactant/_plots folder: python format_forts.py ../_output/fort.q* python format_times.py ../_output/fort.t* This presumes you have the format_forts.py and format_times.py files in the _plots directory already. If you don't, copy them there.

Next, you can run plot_maker.m to get movies of both surfactant and height data, as well as a 3d image of the initial conditions. If plot_maker is to fancy, you can change the settings using set_plotter.m or just run plot_maker_short.m

The rest of the files are needed to run plot_maker. I've once gotten an error because tnf.m (which contains the total number of frames) wasn't updated properly. If for whatever reason, plot_maker is getting stuck after a specific frame, make sure tnf contains the correct number.

important_graphs contains plots of both the multilayer and experimental equation of state, as well as many surfactant and height profiles graphed in matlab using plot_grapher.m.

surfactant-data-processing's People

Contributors

skylersinclair avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.