All Projects → kbladin → Fluid_Simulation

kbladin / Fluid_Simulation

Licence: MIT license
Self advection, external force and pressure solve to a velocity field represented by a MaC grid.

Programming Languages

C++
36643 projects - #6 most used programming language
CMake
9771 projects
c
50402 projects - #5 most used programming language
GLSL
2045 projects

Projects that are alternatives of or similar to Fluid Simulation

navier-stokes-webgl
Stable fluid simulation on GPU using WebGL.
Stars: ✭ 27 (-74.77%)
Mutual labels:  navier-stokes, fluid-dynamics, fluid-simulation, fluid-grid
canvas-fluid-solver
Real-time fluid simulation in Javascript.
Stars: ✭ 45 (-57.94%)
Mutual labels:  fluid-solver, fluid-dynamics, fluid-simulation
phantom
Phantom Smoothed Particle Hydrodynamics and Magnetohydrodynamics code
Stars: ✭ 52 (-51.4%)
Mutual labels:  fluid-simulation-engine, fluid-solver, fluid-dynamics
Fluid-Solver
Rust based marker and cell fluid solver
Stars: ✭ 21 (-80.37%)
Mutual labels:  navier-stokes, fluid-solver
jflowsim
Highly interactive, thread-parallel Lattice Boltzmann CFD solver
Stars: ✭ 18 (-83.18%)
Mutual labels:  fluid-solver, fluid-simulation
CFD
Basic Computational Fluid Dynamics (CFD) schemes implemented in FORTRAN using Finite-Volume and Finite-Difference Methods. Sample simulations and figures are provided.
Stars: ✭ 89 (-16.82%)
Mutual labels:  fluid-dynamics, fluid-simulation
stable-fluids
A minimal Stable Fluids inspired fluid solver with Python and NumPy.
Stars: ✭ 148 (+38.32%)
Mutual labels:  fluid-dynamics, fluid-simulation
stiff3
Adaptive solver for stiff systems of ODEs using semi-implicit Runge-Kutta method of third order
Stars: ✭ 13 (-87.85%)
Mutual labels:  solver, equation
WABBIT
Wavelet Adaptive Block-Based solver for Interactions with Turbulence
Stars: ✭ 25 (-76.64%)
Mutual labels:  navier-stokes, fluid-dynamics
2D-Elliptic-Mesh-Generator
2D orthogonal elliptic mesh generator which solves the Winslow partial differential equations
Stars: ✭ 36 (-66.36%)
Mutual labels:  grid, fluid-solver
CaNS
A code for fast, massively-parallel direct numerical simulations (DNS) of canonical flows
Stars: ✭ 144 (+34.58%)
Mutual labels:  fluid-dynamics, fluid-simulation
odex-js
Bulirsch-Stoer integration of systems of ordinary differential equations in JavaScript
Stars: ✭ 52 (-51.4%)
Mutual labels:  solver, ode-solver
SNaC
A multi-block solver for massively parallel direct numerical simulations (DNS) of fluid flows
Stars: ✭ 26 (-75.7%)
Mutual labels:  fluid-dynamics, fluid-simulation
splashsurf
Surface reconstruction library and CLI for particle data from SPH simulations, written in Rust.
Stars: ✭ 18 (-83.18%)
Mutual labels:  fluid-dynamics, fluid-simulation
Shizuku
Real time simulation and rendering of free surface fluid
Stars: ✭ 22 (-79.44%)
Mutual labels:  fluid-dynamics, fluid-simulation
FluidX12
Authors' implementation of our SIGGRAPH Asia 2021 Technical Communications (Viewport-Resolution Independent Anti-Aliased Ray Marching on Interior Faces in Cube-Map Space) demo I. Fast volume rendering using our novel ray marching with smoke simulations by Eulerian grid method for solving Navier-Stokes equation.
Stars: ✭ 26 (-75.7%)
Mutual labels:  navier-stokes, fluid-simulation
UnsteadyFlowSolvers.jl
Solvers for problems involving unsteady fluid flow
Stars: ✭ 18 (-83.18%)
Mutual labels:  fluid-dynamics, fluid-simulation
shallow-water
Python model solving the shallow water equations (linear momentum, nonlinear continuity)
Stars: ✭ 78 (-27.1%)
Mutual labels:  fluid-dynamics, fluid-simulation
Fluid2d
A versatile Python-Fortran CFD code that solves a large class of 2D flows
Stars: ✭ 49 (-54.21%)
Mutual labels:  fluid-dynamics, fluid-simulation
unstructured-finite-volume
Unstructured Finite Volume Solver for Partial Differential Equations
Stars: ✭ 26 (-75.7%)
Mutual labels:  fluid-dynamics, fluid-simulation

Fluid_Simulation

Implemented

  • Staggered MAC Grid
  • Different advection schemes
    • Semi Lagrangian advection with
      • Bilinear interpolation
      • Runge Kutta and Euler solver
    • PIC advection with bilinear interpolation
    • FLIP advection with bilinear interpolation
    • PIC / FLIP combination
  • Pressure solve using the conjugate gradient method with the linear algebra library "Eigen"
  • Enforce Dirichlet boundary condition
  • Marker particles for air/fluid separation
  • Velocity extension using brute force search through grid

Examples:

Youtube video of real time simulation:

Real time fluid simulation

Not Yet Implemented

  • Adaptive time steps
  • Vorticity confinement
  • Make sure marker particles are outside of obstacles
  • Other interpolation alternatives (quadratic, cubic, Catmull Rom)
  • Other air/fluid separation techniques (for example level set)
  • 3D simulation
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].