SmoothedParticles
A Julia framework for smoothed particle hydrodynamics. Requires Julia 1.5 or newer.
Science Score: 44.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
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.1%) to scientific vocabulary
Repository
A Julia framework for smoothed particle hydrodynamics. Requires Julia 1.5 or newer.
Basic Info
- Host: GitHub
- Owner: OndrejKincl
- License: mit
- Language: Julia
- Default Branch: master
- Size: 5.93 MB
Statistics
- Stars: 37
- Watchers: 4
- Forks: 4
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
SmoothedParticles.jl

Parallelized library for smoothed particle hydrodynamics (SPH) in 2d and 3d. Requires Julia 1.5 or newer. Cell-list optimized, flexible. Ideal for academia. Designed for experimenting with various SPH formulations. Both WCSPH and ISPH is supported. It creates files in pvd format for visualization in Paraview.
Quick start
This package can be installed from Julia terminal using commands:
import Pkg
Pkg.add("SmoothedParticles")
For start, you can try to run dambreak simulation example. Follow these steps:
1: Clone, download or copy the folder examples.
2: Open Julia from the folder with command:
julia -t N
replacing N with number of cores that you wish to use in your simulation.
3: Write:
include("collapse_dry.jl")
4: If this fails (of course it does) because package XY is missing, download it using
import Pkg
Pkg.add("XY")
and repeat step 3.
5: Type
collapse_dry.main()
to run your simulation.
6: Wait for the simulation to end. Note that this can take several minutes. You should see info about time frames printed to the console. In the meantime, you can have delicious coffee or go outside.
7: Once it finishes, it creates a new file "results/collapse_dry/result.pvd" in the folder where the example was downloaded. Open it in paraview to display the result.
Showing results in Paraview
Open a .pvd file. The recommended display representation is Point Gaussian. It is also possible to use SPH Volume Interpolator.
There are two ways how to plot streamlines of an SPH result in ParaView: 1) use SPH Volume Interpolator and then choose Surface LIC representation (version 5.11+ or plugin) 2) use Delaunay2D filter and then Stream Tracer or Evenly Spaced Streamlines
SPHKernels.jl
Quintic wendland kernels for 1d, 2d and 3d are implemented in this package. SmoothedParticles.jl is also compatible with kernels from SPHKernels.jl which offers a greater variety.
How to cite
If you use this library in your research, please cite following publications: 1) Kincl, Ondřej, David Schmoranzer, and Michal Pavelka. "Simulation of superfluid fountain effect using smoothed particle hydrodynamics." Physics of Fluids 35.4 (2023) 2) Kincl, Ondřej, and Michal Pavelka. "Globally time-reversible fluid simulations with smoothed particle hydrodynamics." Computer Physics Communications 284 (2023): 108593. 3) Kincl, Ondřej, et al. "Unified description of fluids and solids in Smoothed Particle Hydrodynamics." Applied Mathematics and Computation 439 (2023): 127579.
Owner
- Login: OndrejKincl
- Kind: user
- Repositories: 2
- Profile: https://github.com/OndrejKincl
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: SmoothedParticles.jl
message: Please cite this software using these metadata.
type: software
authors:
- given-names: Ondřej
family-names: Kincl
email: ondrej.kincl.6@gmail.com
affiliation: Charles University
orcid: 'https://orcid.org/0000-0001-8335-133X'
- given-names: Michal
family-names: Pavelka
email: pavelka@karlin.mff.cuni.cz
affiliation: Charles University
orcid: 'https://orcid.org/0000-0003-0605-6737'
GitHub Events
Total
- Watch event: 4
- Fork event: 1
Last Year
- Watch event: 4
- Fork event: 1
Committers
Last synced: about 3 years ago
All Time
- Total Commits: 106
- Total Committers: 3
- Avg Commits per committer: 35.333
- Development Distribution Score (DDS): 0.302
Top Committers
| Name | Commits | |
|---|---|---|
| OndrejKincl | 8****l@u****m | 74 |
| OndrejKincl | o****6@g****m | 30 |
| enaipi | p****a@k****z | 2 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 2
- Total pull requests: 6
- Average time to close issues: 6 days
- Average time to close pull requests: 4 days
- Total issue authors: 2
- Total pull request authors: 2
- Average comments per issue: 4.5
- Average comments per pull request: 0.17
- Merged pull requests: 5
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- BobNuSpace (1)
- OndrejKincl (1)
Pull Request Authors
- OndrejKincl (4)
- enaipi (2)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
- Total downloads: unknown
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 2
juliahub.com: SmoothedParticles
A Julia framework for smoothed particle hydrodynamics. Requires Julia 1.5 or newer.
- Documentation: https://docs.juliahub.com/General/SmoothedParticles/stable/
- License: MIT
-
Latest release: 0.2.0
published over 3 years ago
Rankings
Dependencies
- actions/checkout v2 composite
- julia-actions/setup-julia latest composite
- actions/checkout v2 composite
- julia-actions/setup-julia latest composite