GithubHelp home page GithubHelp logo

bensmith95 / sphere-steady-flow Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 40 KB

MATLAB code that solves and compiles the steady flow around a rotating sphere

MATLAB 100.00%
boundary-layer finite-differences fluid-dynamics geometric-multigrid jet-flow matlab rotating-sphere

sphere-steady-flow's Introduction

Sphere-Steady-Flow

MATLAB code that solves and compiles the steady flow around a rotating sphere. The package contains code that solves the rotating sphere boundary layer, a new model of the impinging region and the subsequent eruption of the radial jet.

The impinging region has been rederived via a new scaling argument but is still solved in the same manner as the Stewartson code, via a multigrid method. However, the azimuthal momentum equation is now coupled which does slow convergance slightly, nevertheless, it still is significantly quicker than a full DNS. Additionally, the radial jet is also solved via both Picard and Newton methods; the Picard method is needed to obtain a reasonable guess for the Newton method to find a convergent solution. For full details see Smith et al (2023) [in draft].

To run the code, download all the files making sure the directory structure remains intact. Then simply enter BaseFlow(Re) in the command window, where Re is the square root of the Reynolds number. The data will be saved in a directory called Flows that will be created automatically. To see the results run the file figures.m.

sphere-steady-flow's People

Contributors

bensmith95 avatar

Watchers

 avatar  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.