Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add all the other typically used smoothing kernels for SPH #237

Merged
merged 41 commits into from
Nov 10, 2023
Merged
Show file tree
Hide file tree
Changes from 40 commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
f90f017
Merge remote-tracking branch 'origin/main' into main
svchb Sep 5, 2023
372d67c
Merge branch 'trixi-framework:main' into main
svchb Sep 7, 2023
f564478
Merge branch 'main' of github.com:svchb/TrixiParticles.jl
svchb Sep 20, 2023
9c9e182
Merge branch 'trixi-framework:main' into main
svchb Sep 25, 2023
90897f6
Merge branch 'main' of github.com:svchb/TrixiParticles.jl
svchb Sep 29, 2023
1df6912
Merge branch 'main' of github.com:svchb/TrixiParticles.jl
svchb Oct 5, 2023
f09d7ae
add gaussian kernels
svchb Oct 7, 2023
546d0db
add all the other ones
svchb Oct 8, 2023
ded8954
format
svchb Oct 8, 2023
134ccc9
Merge branch 'main' into add_kernels
svchb Oct 8, 2023
a9238b2
fix
svchb Oct 9, 2023
cffd7b2
format
svchb Oct 9, 2023
85fdb41
Merge branch 'add_kernels' of github.com:svchb/TrixiParticles.jl into…
svchb Oct 9, 2023
7cd3785
fixes
svchb Oct 10, 2023
c4136a9
fix
svchb Oct 10, 2023
2748762
add testcase and fix wendlandc4
svchb Oct 10, 2023
73016ad
format
svchb Oct 10, 2023
f87d4e3
add QuadGK
svchb Oct 10, 2023
2bbccb0
Merge branch 'main' into add_kernels
svchb Oct 18, 2023
868712b
Merge branch 'main' into add_kernels
svchb Oct 23, 2023
6d678ae
Merge remote-tracking branch 'refs/remotes/origin/main'
svchb Oct 26, 2023
bd4d11b
update
svchb Oct 27, 2023
85f8ee9
format
svchb Oct 27, 2023
cebca60
Merge branch 'main' into add_kernels
svchb Oct 27, 2023
68a0c98
Merge branch 'main'
svchb Oct 31, 2023
e9ca620
Merge branch 'main' into add_kernels
svchb Nov 1, 2023
b22d6c2
Fix tests
svchb Nov 8, 2023
09f9b38
review
svchb Nov 8, 2023
8f64949
Merge branch 'main' into add_kernels
svchb Nov 8, 2023
3a800ee
format
svchb Nov 8, 2023
2c0b5fb
Merge branch 'add_kernels' of github.com:svchb/TrixiParticles.jl into…
svchb Nov 8, 2023
ab3b5f4
[skip ci] add information regarding smoothing L
svchb Nov 10, 2023
c125996
fix docs
svchb Nov 10, 2023
e15f2b0
code review
svchb Nov 10, 2023
05aa84b
Merge branch 'main' into add_kernels
svchb Nov 10, 2023
72eebf8
[skip ci] fix table
svchb Nov 10, 2023
9e8a4a5
Merge branch 'add_kernels' of github.com:svchb/TrixiParticles.jl into…
svchb Nov 10, 2023
3b62cfa
[skip ci] change table
svchb Nov 10, 2023
3132665
revert change
svchb Nov 10, 2023
b975d79
[skip ci]
svchb Nov 10, 2023
a2a6778
[skip ci] review
svchb Nov 10, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions examples/fluid/dam_break_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ using OrdinaryDiffEq
fluid_particle_spacing = 0.02

# Change spacing ratio to 3 and boundary layers to 1 when using Monaghan-Kajtar boundary model
boundary_layers = 3
boundary_layers = 4
spacing_ratio = 1

boundary_particle_spacing = fluid_particle_spacing / spacing_ratio
Expand All @@ -39,8 +39,8 @@ tank = RectangularTank(fluid_particle_spacing, initial_fluid_size, tank_size, fl

# ==========================================================================================
# ==== Fluid
smoothing_length = 1.2 * fluid_particle_spacing
smoothing_kernel = SchoenbergCubicSplineKernel{2}()
smoothing_length = 3.0 * fluid_particle_spacing
smoothing_kernel = WendlandC2Kernel{2}()

fluid_density_calculator = ContinuityDensity()
viscosity = ArtificialViscosityMonaghan(alpha=0.02, beta=0.0)
Expand Down
3 changes: 2 additions & 1 deletion src/TrixiParticles.jl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ export InfoCallback, SolutionSavingCallback, DensityReinitializationCallback
export ContinuityDensity, SummationDensity
export PenaltyForceGanzenmueller
export SchoenbergCubicSplineKernel, SchoenbergQuarticSplineKernel,
SchoenbergQuinticSplineKernel
SchoenbergQuinticSplineKernel, GaussianKernel, WendlandC2Kernel, WendlandC4Kernel,
WendlandC6Kernel, SpikyKernel, Poly6Kernel
export StateEquationIdealGas, StateEquationCole
export ArtificialViscosityMonaghan, ViscosityAdami
export BoundaryModelMonaghanKajtar, BoundaryModelDummyParticles, AdamiPressureExtrapolation,
Expand Down
Loading