Giter VIP home page Giter VIP logo

cfdsolver's Introduction

CFDSolver

Computational Fluid Dynamics Solver

Build Status

This is a code for solving partial differential equations of the form resembling Navier-Stokes equations.

Most of the details of the numerical calculations in this solver are presented in our paper:
Computers & Fluids, Volume 244, 15 August 2022, 105570

If you would like to use the code, you can follow these steps:

  1. Clone the GitHub repository to your local computer:
    git clone --depth=1 https://github.com/heySourabh/CFDSolver.git
  2. Download OpenJDK20 (or latest JDK) for your operating system (From Oracle or any other vendors).
  3. (Optional but helpful) Install IntelliJ IDEA: The "Community Edition" is free and open-source.
  4. Open the project in IntelliJ IDEA (all necessary dependencies will be automatically downloaded during the first run using maven)
  5. Right-click and Run the test problems named test/main/Solver**.java
  6. Duplicate the Solver in test/main/ & modify the code as needed for your application.
  7. To add new physics, have a look at src/main/physics/goveqn/GoverningEquations.java.

If some step is missing, or for collaboration, please contact me.

Have a look at the Wiki Page for further details.

Developer:

Sourabh Bhat ([email protected])


Some results:

Fighter aircraft in wind-tunnel (without propulsion) at supersonic speed (Mach 2). Solved using three-dimensional unstructured mesh generated using gmsh.

Converged to 10-3 residual in 1 min, 35 sec with second-order spatial accuracy (with ~80,000 tetrahedral cells) on Dell Precision 5570 laptop. Mach 2 - F16


Supersonic flow at Mach 2 over diamond-shaped airfoil, with mesh adaptation (using MMG)

Supersonic flow over diamond airfoil


Grain-Growth in Metal Solidification (Fan-Chen Model):

Grain-Growth


Dam break with an obstacle:

Test case reference: https://doi.org/10.1016/j.jcp.2004.12.007 Geometry reference: https://www.spheric-sph.org/tests/test-02

Animation of dam break with an obstacle


Non-axisymmetric bubble rise problem:

Non-axisymmetric bubble rise
Non-axisymmetric bubble animation


Sloshing:

Sloshing


Dam break problem:

Dam break


Drop splash problem:

Drop splash


Karman Vortex Shedding:

Vortex shedding


Rayleigh-Taylor Instability:

Rayleigh-Taylor Instability

cfdsolver's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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