LagrangianVoronoi

A method for Euler/Navier-Stokes fluids combining Lagrangian paradigm with Voronoi tesselation.

https://github.com/ondrejkincl/lagrangianvoronoi.jl

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: wiley.com
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (17.0%) to scientific vocabulary
Last synced: 8 months ago · JSON representation ·

Repository

A method for Euler/Navier-Stokes fluids combining Lagrangian paradigm with Voronoi tesselation.

Basic Info
  • Host: GitHub
  • Owner: OndrejKincl
  • License: mit
  • Language: Julia
  • Default Branch: master
  • Size: 20.3 MB
Statistics
  • Stars: 4
  • Watchers: 3
  • Forks: 0
  • Open Issues: 1
  • Releases: 0
Created almost 2 years ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.md

LagrangainVoronoi.jl

A numerical library for hydrodynamic simulations using Lagrangian Voronoi method in Julia. The idea is to enhance SPH using a moving Voronoi mesh. This allows for consistent gradient approximations and simplifies some boundary conditions. Also, the Voronoi mesh makes a smaller stencil, which means that the interactions between particles are in some sense more local, leading to sparser matrices and faster computations. The code runs reasonable well in parallel (shared memory) and uses semi-implicit time-marching scheme. It can handle both compressible and incompressible fluids, shocks, multi-phase flows and fluids with heat conduction. Periodic, no-slip and free-slip boundary conditions are supported.

The main limitation is the lack of surface tension, free surface conditions and difficulties with mutli-phase problems featuring high density ratios (for example in water and air interface, the density ratio is 800:1, and that is challenging for the numerics). Also, the code is currently only 2D and we cannot prescribe inflow and outflow conditions. We hope to adress these problems in near future. The computational domain must be a rectangle, but complex geometries can be implemented indirectly with the help of dummy particles (TODO).

If you are interested in the beautiful math behind this method, you can have a look at our paper.

If you have any suggestions or comments, feel free to raise an issue via the GitHub interface or contact me at ondrej.kincl@unitn.it.

Install the library

Run the following command in Julia terminal: using Pkg Pkg.add("LagrangianVoronoi")

Quick start

Clone this repository. Open the examples folder and run this from your terminal: julia -t 1 gresho.jl You may replace 1 with the number of threads available on your PC. Wait for the simulation to finish. To see the results, download paraview. Use it to open the result.pvd file. You may try any other example but some require long time to compute. Also note pictures in documentation are sometimes made with higher than default resolution.

Citing

If you use this code in your thesis or research paper, please cite: @article{kincl2024semi, title={Semi-implicit Lagrangian Voronoi approximation for the incompressible Navier--Stokes equations}, author={Kincl, Ond{\v{r}}ej and Peshkov, Ilya and Boscheri, Walter}, journal={International Journal for Numerical Methods in Fluids}, year={2024}, publisher={Wiley Online Library} }

Other libraries

You can also check my SPH library SmoothedParticles.jl.

Owner

  • Login: OndrejKincl
  • Kind: user

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: LagrangianVoronoi.jl
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - given-names: Ondřej
    family-names: Kincl
    email: ondrej.kincl@unitn.it
    affiliation: University of Trento
repository-code: 'https://github.com/OndrejKincl/LagrangianVoronoi.jl'
abstract: >-
  LagrangianVoronoi.jl is a library which numerical
  simulation of incompressible and compressible
  Navier-Stokes fluids using moving Voronoi meshes.
keywords:
  - CFD
  - Voronoi mesh
  - Lagrangian method
  - Semi-implicit integrator
license: MIT

GitHub Events

Total
  • Watch event: 1
  • Delete event: 3
  • Push event: 7
  • Pull request event: 2
  • Create event: 1
Last Year
  • Watch event: 1
  • Delete event: 3
  • Push event: 7
  • Pull request event: 2
  • Create event: 1

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
juliahub.com: LagrangianVoronoi

A method for Euler/Navier-Stokes fluids combining Lagrangian paradigm with Voronoi tesselation.

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 3.2%
Average: 9.8%
Dependent packages count: 16.3%
Last synced: 8 months ago