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

Fix wall velocity #197

Merged
merged 5 commits into from
Jul 17, 2023
Merged

Conversation

LasNikas
Copy link
Collaborator

the wall velocity is supposed to be calculated outside the foreach_enumerate(systems) loop since it depends on the volume which is over all neighbor systems.

@LasNikas LasNikas requested a review from efaulhaber July 12, 2023 10:00
@codecov
Copy link

codecov bot commented Jul 12, 2023

Codecov Report

Merging #197 (ceaec5f) into main (aeecf47) will increase coverage by 0.16%.
The diff coverage is 78.94%.

@@            Coverage Diff             @@
##             main     #197      +/-   ##
==========================================
+ Coverage   50.16%   50.32%   +0.16%     
==========================================
  Files          42       42              
  Lines        2432     2444      +12     
==========================================
+ Hits         1220     1230      +10     
- Misses       1212     1214       +2     
Flag Coverage Δ
unit 50.32% <78.94%> (+0.16%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...chemes/boundary/dummy_particles/dummy_particles.jl 38.52% <42.85%> (-1.64%) ⬇️
...chemes/boundary/dummy_particles/dummy_particles.jl 96.55% <100.00%> (+0.89%) ⬆️

@LasNikas LasNikas requested a review from efaulhaber July 17, 2023 08:44
@efaulhaber efaulhaber merged commit 35290b7 into trixi-framework:main Jul 17, 2023
4 checks passed
@LasNikas LasNikas deleted the fix-wall-velocity branch July 28, 2023 14:08
efaulhaber added a commit that referenced this pull request Jun 26, 2024
* Run Dependabot monthly instead of weekly (#168)

* `update!` solid system after `update_nhs!` and name update steps instead of numbering (#161)

* name update instead of numbering

* apply formatter

* fix bug

* change update dispatching

* apply formatter

* implement suggestions

* apply formatter

* implement suggestions

* Bump crate-ci/typos from 1.14.10 to 1.14.11 (#167)

Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.14.10 to 1.14.11.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.14.10...v1.14.11)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Erik Faulhaber <[email protected]>

* make `update!` more abstract (#162)

* make update more compact

* move boundary models

* fix `SummationDensity` bug

* implement suggestions

* revert moving compute_density!()

* delete needless function

* add `update!` for `ContinuityDensity`

* fix bug

* add missing pressure

* Restrict JuliaFormatter to readable SciML style version (#173)

* Restrict JuliaFormatter to 1.0.32 in CI

* Reformat code

* Kernel correction for summation density (#145)

* add test

* update

* fixes

* add correction

* simplify

* fix

* update

* change comment

* add correction type

* udate

* fixes

* up

* working

* up

* cleanup

* format

* cleanup

* rename

* merge

* fix

* fix

* fix

* format

* cleanup

* clean

* cleanup

* fix typos

* fix

* fix

* format

* add test

* Update src/sph/corrections.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* Update .typos.toml

Co-authored-by: Erik Faulhaber <[email protected]>

* remove NoCorrection type

* fix cache creation

* comment indent

* fix naming

* format

* merge

* manual merging

* format

* renaming

* renaming

* remove debug

* stupid param order mixup

* Merge branch 'main' into kernel_correction_summation_density

* fix

* fixes

* fix

* format

* fix

* use set zero

* parameter changes

* change name of cache creation function

* remove abstract type

* format

* corrections from review

* revert particle_density changes

* review comments

* review corrections

* review comment

* review comment

* format again

* format

* return boundary_model

---------

Co-authored-by: Erik Faulhaber <[email protected]>

* only free slip condition (#169)

* add viscosity field to boundary models

* extract viscosity calculation

* use viscosity function for `dv_viscosity`

* test formatting

* formatting

* implement suggestions

---------

Co-authored-by: Erik Faulhaber <[email protected]>

* Replace `pathof(...)` by `pkgdir(...)` (#140)

Co-authored-by: Erik Faulhaber <[email protected]>

* Remove Codecov annotations (for real this time) (#175)

Co-authored-by: LasNikas <[email protected]>

* Update JuliaFormatter and use YAS style nesting (#176)

* fix `rhs.jl` WCSPH (#178)

* Implements the Akinci Free Surface correction term. (#153)

* add test

* update

* fixes

* add correction

* simplify

* fix

* update

* change comment

* add correction type

* udate

* fixes

* up

* working

* up

* cleanup

* format

* cleanup

* rename

* merge

* fix

* fix

* fix

* format

* cleanup

* clean

* cleanup

* fix typos

* fix

* fix

* format

* add test

* add implementation

* fix tests

* fix test setup

* format

* fix tests

* format

* fix tests

* add tests

* format

* Update src/sph/corrections.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* Update .typos.toml

Co-authored-by: Erik Faulhaber <[email protected]>

* remove NoCorrection type

* fix cache creation

* comment indent

* fix naming

* format

* merge fix & format

* merge

* manual merging

* format

* renaming

* renaming

* remove debug

* stupid param order mixup

* Merge branch 'main' into kernel_correction_summation_density

* fix

* fixes

* fix

* format

* fix

* use set zero

* parameter changes

* change name of cache creation function

* remove abstract type

* format

* corrections from review

* revert particle_density changes

* review comments

* review corrections

* manual merge

* manual merge

* fix merge

* fix

* format

* fix test

* format

* fix merge

* fix merge

* fix merge

* fix review comments

* review comments

* format

* rename

* format

* review comments

* review comment

* format

* remove function

* format

* solve review comments

* format

* review comments

* spaces

---------

Co-authored-by: Erik Faulhaber <[email protected]>

* Add more detailed interaction timers (#182)

* Add more detailed interaction timers

* Implement suggestions

* Fix nbody tests

* Viscous interaction adami (#170)

* add `ViscousInteractionAdami`

* add viscosity dependent velocity

* add wall velocity

* use viscosity function for `dv_viscosity`

* add viscosity function

* fix sign bug

* fix merge conflict

* implement suggestions

* change viscosity naming

* change `create_cache`

* add comments

* implement suggestion

* add tests

* fix docs

* write `wall_velocity`

* apply formatter

* add comments in test

* modify docs

* implement suggestions

* typo in docs

* insert line for consistency

* implement suggestions

* change `NDIMS+1` to `end` (#180)

Co-authored-by: Erik Faulhaber <[email protected]>

* Kernel gradient correction method (#155)

* add test

* update

* fixes

* add correction

* simplify

* fix

* update

* change comment

* add correction type

* udate

* fixes

* up

* working

* up

* cleanup

* format

* cleanup

* rename

* merge

* fix

* fix

* fix

* format

* cleanup

* clean

* cleanup

* fix typos

* fix

* fix

* format

* add test

* add implementation

* fix tests

* fix test setup

* format

* fix tests

* format

* fix tests

* add tests

* format

* add example

* impl

* format

* rename

* fix

* fixes

* fix

* format

* broken

* working

* cleanup

* update test

* update

* format

* Update src/sph/corrections.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* Update .typos.toml

Co-authored-by: Erik Faulhaber <[email protected]>

* remove NoCorrection type

* fix cache creation

* comment indent

* fix allocations

* reducce number of test files

* fix naming

* format

* merge fix & format

* merge

* manual merging

* format

* renaming

* renaming

* remove debug

* merge

* format

* stupid param order mixup

* Merge branch 'main' into kernel_correction_summation_density

* fix

* fixes

* fix

* format

* fix

* use set zero

* parameter changes

* change name of cache creation function

* remove abstract type

* format

* corrections from review

* revert particle_density changes

* review comments

* review corrections

* manual merge

* manual merge

* fix merge

* fix

* format

* fix test

* format

* fix merge

* fix merge

* fix merge

* fix review comments

* review comments

* format

* rename

* format

* review comments

* review comment

* format

* remove function

* format

* solve review comments

* format

* review comments

* spaces

* fix merge errors

* fix merge error

* Merge fix

* manual merge

* format and fix testcase

* rename container to system

* format

* fix testcase

* rename container to system

* format

* rename container to system

* more fixes

* format

* use set_zero

* fix tests

* fix

* fix test

* add doc

* rename

* correct comment

* rename container to system

* reverse merge

* change smoothing kernel calls

* remove additional dw_gamma dispatches

* remove additional kernel_correction_coefficient dispatches

* comments and fix

* format

* review

* Update src/general/corrections.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* Update src/general/general.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* Update src/general/corrections.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* Update src/general/corrections.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* Update src/general/corrections.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* Update src/general/corrections.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* Update src/general/corrections.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* Update src/general/corrections.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* format

---------

Co-authored-by: Erik Faulhaber <[email protected]>

* move `viscosity.jl` (#181)

* Fix typos (#191)

* Bump crate-ci/typos from 1.14.11 to 1.15.9 (#190)

Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.14.11 to 1.15.9.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.14.11...v1.15.9)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Erik Faulhaber <[email protected]>

* Fix file overwriting issue with saving callback (#192)

* Delete bending beam example (#195)

* rework moving boundaries and support for `BoundaryModelDummyParticles`  (#101)

* add ForwardDiff

* add movement function

* add Examples

* adapt example file

* fix typo

* add example description

* rename example file

* rename suggestion

* pass `initial_condition` to `BoundarySPHSystem`

* add comment

* implement suggestions

* fix tests

* move `current_acceleration` to `general/system.jl`

* Fix file overwriting issue with saving callback (again) (#194)

* Fix file overwriting issue with saving callback

* Fix saving callback again

* Undo previous "fix"

* Store iter instead of name

* CompatHelper: add new compat entry for ForwardDiff at version 0.10, (keep existing compat) (#196)

Co-authored-by: CompatHelper Julia <[email protected]>

* Fix shape positions (#193)

* Fix shape sizes

* Fix examples

* Revise constructor

* Fix tests

* Fix tests

* Fix examples

* Fix tests

* Update info messages

* Add `tlsph` kwarg to `RectangularTank`

* Fix tests

* Reformat code

* Revise rectangular tank setup

* Revise `RectangularShape` docs

* Implement suggestion

* Fix tests

* Fix tests

* Fix typos

* Fix wall velocity (#197)

* fix wall velocity

* adapt tests

* fix tests

* implement suggestions

* Periodic boundaries (#186)

* First implementation of periodic NHS in 2D

* Add experimental code

* Add example files

* Fix typo

* Make periodicity configurable

* Delete vortex street example (for now)

* Update periodic channel example

* Update boundary model in periodic channel

* Add periodic channel to tests

* Undo `foreach_particle_neighbor` changes

* Reformat code

* Update comments

* Fix `TrivialNeighborhoodSearch` and tests

* Reformat code

* Fix coverage

* Remove debug code

* Implement suggestions

* Remove `current_coordinates` and work with `PeriodicBox`

* Remove periodic box from semi

* Fix semi

* Fix tests

* Fix `TrivialNeighborhoodSearch`

---------

Co-authored-by: LasNikas <[email protected]>

* Implement 3D sphere shapes and revise the sphere shape interface (#188)

* Implement 3D sphere setup

* Revise `SphereShape` interface

* Fix tests and examples

* Fix asymmetric non-deterministic spheres

* Fix tests

* Add tests for 3D `SphereShape`

* Rename `shape_type` to `sphere_type`

* Rename `layer_inwards` to `layer_outwards`

* Rename `hollow_sphere` to `round_sphere`

* Fix tests

* Add Fibonacci Sphere implementation

* Remove equal area zones implementation

This implementation still had large density singularities
at the poles.

* Fix docs

* Implement pole-optimized zonal equal area distribution

* Remove old implementations

* Implement proper sphere sizes

* Remove layer rotation

* Add comments

* Fix tests

* Add `tlsph` option

* Fix examples

* Improve docs

* Use variable dict indent in JulaFormatter (#201)

* Use variable dict indent in JulaFormatter

* Reformat code

* Bump crate-ci/typos from 1.15.9 to 1.16.1 (#205)

Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.15.9 to 1.16.1.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.15.9...v1.16.1)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* add boolean tuple kwarg (#206)

* fix example files (#203)

* fix example files

* implement suggestions

* Implement set operations for initial conditions (#202)

* Add serial `for_particle_neighbor`

* Implement set operations

* Fix dummy particles test

* Add tests

* Add vortex street example

* Fix example

* Remove vortex street example

---------

Co-authored-by: LasNikas <[email protected]>

* Fix Monaghan-Kajtar BC and dam break examples (#207)

* Fix Monaghan-Kajtar BC and dam break examples

* Fix compact support

* Implement suggestions

* Undo bugged compact support fix

---------

Co-authored-by: LasNikas <[email protected]>

* Automatically reset threads (#208)

* Move NHS files (#209)

* Move NHS files

* Move test files

* Reformat code

* Rename `SpatialHashingSearch` to `GridNeighborhoodSearch` (#210)

* Fix NHS split cell bug (#211)

* Add test case for split cell bug

* Fix split cell bug

* Link to PR

* Reformat code

* Rewrite NHS to use periodic cell indices instead of ghost cells and enable 3D periodicity (#212)

* Use periodic cell indices instead of ghost cells

* Add 3D NHS test

* Use `Val` for `ntuple`

* Add error message

* Fix tests

* Allow arbitrary domain sizes with periodic `GridNeighborhoodSearch` (#213)

* Allow non-square NHS cells

* Allow arbitrary domain sizes with periodic grid NHS

* Fix search radius rounding

* Use nicer domain sizes in periodic channel example

* Add test for rounding up cell sizes

* Reformat code

* Replace `@unpack` by Julia's native property destructuring syntax (#215)

* Replace `@unpack`

* Remove unnecessary unpacks

* Remove dependency

* Reformat code

* Bump crate-ci/typos from 1.16.1 to 1.16.9 (#216)

Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.16.1 to 1.16.9.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.16.1...v1.16.9)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix `SummationDensity` for boundaries (#217)

* Entropically damped artificial compressibility for sph (EDAC) (#171)

* add viscosity field to boundary models

* extract viscosity calculation

* add `ViscousInteractionAdami`

* add viscosity dependent velocity

* add wall velocity

* use viscosity function for `dv_viscosity`

* add viscosity function

* add abstract type `FluidSystem`

* add Pressure field to IC

* apply abstract type `FluidSystem`

* fix setup bug

* fix setups again

* fix bugs

* prepare for EDAC

* add files

* fix setup again

* fix WCSPH and NoViscosity for boundaries

* add EDAC example file

* fix merge conflict

* adapt `rhs.jl`

* make `write2vtk` more generic

* add docs

* modify example

* add pressure function

* implement suggestions

* fix tests

* fix density bug

* fix tests

* apply formatter

* fix test again

* add pressure to `sphere_shape.jl`

* rename example

* add system tests

* apply formatter

* fix tests

* implement suggestions

* fix test

* add custom quantities (#220)

* Allow negative particle pressure (#218)

* Allow negative particle pressure

* Remove comments

* Density Reinitialisation (#177)

* simplify

* fix

* update

* change comment

* add correction type

* udate

* fixes

* up

* working

* up

* cleanup

* format

* cleanup

* rename

* merge

* fix

* fix

* fix

* format

* cleanup

* clean

* cleanup

* fix typos

* fix

* fix

* format

* add test

* add implementation

* fix tests

* fix test setup

* format

* fix tests

* format

* fix tests

* add tests

* format

* add example

* impl

* format

* rename

* fix

* fixes

* fix

* format

* broken

* working

* cleanup

* update test

* update

* format

* Update src/sph/corrections.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* Update .typos.toml

Co-authored-by: Erik Faulhaber <[email protected]>

* remove NoCorrection type

* fix cache creation

* comment indent

* fix allocations

* reducce number of test files

* fix naming

* format

* merge fix & format

* merge

* manual merging

* format

* renaming

* renaming

* remove debug

* merge

* format

* stupid param order mixup

* Merge branch 'main' into kernel_correction_summation_density

* fix

* fixes

* fix

* format

* fix

* use set zero

* parameter changes

* change name of cache creation function

* remove abstract type

* format

* corrections from review

* revert particle_density changes

* review comments

* review corrections

* manual merge

* manual merge

* fix merge

* fix

* format

* fix test

* format

* fix merge

* fix merge

* fix merge

* documentation improvements

* add some documentation

* cleanup

* update

* update

* improve documentation

* reverse merge

* reverse merge

* fix review comments

* review comments

* format

* rename

* format

* review comments

* review comment

* format

* remove function

* format

* solve review comments

* format

* review comments

* spaces

* fix merge errors

* fix merge error

* Merge fix

* manual merge

* format and fix testcase

* rename container to system

* format

* fix testcase

* rename container to system

* format

* rename container to system

* more fixes

* format

* use set_zero

* fix tests

* fix

* fix test

* fix

* fix tests

* format

* update docs

* format

* remove old files

* working

* add doc

* rename

* correct comment

* rename container to system

* reverse merge

* change smoothing kernel calls

* remove additional dw_gamma dispatches

* remove additional kernel_correction_coefficient dispatches

* comments and fix

* format

* fix

* format

* activate

* review

* Update src/general/corrections.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* Update src/general/general.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* Update src/general/corrections.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* Update src/general/corrections.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* Update src/general/corrections.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* Update src/general/corrections.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* Update src/general/corrections.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* Update src/general/corrections.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* format

* fix

* format

* fix merge

* fix test

* format

* resolve review comments

* Update src/callbacks/callbacks.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* Update src/callbacks/density_reinit.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* Update src/schemes/fluid/weakly_compressible_sph/rhs.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* Update src/schemes/fluid/weakly_compressible_sph/rhs.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* Update src/schemes/fluid/weakly_compressible_sph/rhs.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* Update src/schemes/fluid/weakly_compressible_sph/system.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* align

* Update src/general/semidiscretization.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* fix merge error

* Update src/callbacks/density_reinit.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* add reference

* format

* review comments

* format

* rename

* make reinit default

* incorporate #198

* format

* remove comments

* Update src/callbacks/density_reinit.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* return to original order

* typo

* set a smaller dt for reinit this reduces runtime

* fix interval

* fix time

* Update src/callbacks/density_reinit.jl

Co-authored-by: Hendrik Ranocha <[email protected]>

* up

* fix

* also reinit during relaxation

* format

* review

* doc correction

* dont use reinit for 3d case

* default to no reinit

* format

* fix

* Update dam_break_2d.jl

* Update dam_break_2d.jl

* Update density_reinit.jl

* Update density_reinit.jl

* formst

* Update src/callbacks/density_reinit.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* Update src/callbacks/density_reinit.jl

Co-authored-by: Erik Faulhaber <[email protected]>

* Update src/callbacks/density_reinit.jl

Co-authored-by: Erik Faulhaber <[email protected]>

---------

Co-authored-by: Erik Faulhaber <[email protected]>
Co-authored-by: Hendrik Ranocha <[email protected]>

* Fix testcases (#224)

* fix tests

* format

* remove comments

* missing variable

* fix damping

* format

* review comments

* format

* CompatHelper: bump compat for SciMLBase to 2, (keep existing compat) (#225)

Co-authored-by: CompatHelper Julia <[email protected]>
Co-authored-by: Erik Faulhaber <[email protected]>

* Unify boundary and fluid systems in one RHS for WCSPH and add debug output option (#183)

* working

* combine

* format

* write values

* fix

* optimize

* remove global dv arrays

* add example for debugging

* format

* fix

* remove @unpack

* format

* review comments

* rename

* format

* revert

* rename

* format

* add todo

* allow to save multiple files by using a local iter

* add todo

* format

* rename functions

* fix

* fix

* mistake

* fix

* rename to viscosity_model

* switch param call order

* review comments

* format

* fix

* move viscosity_model

* fix

* format

* add comment

* Add optional pressure limiting (#226)

* Add optional pressure limiting

* Add `clip_negative_pressure` to rectangular tank example

---------

Co-authored-by: Niklas Neher <[email protected]>

* Bump crate-ci/typos from 1.16.9 to 1.16.15 (#231)

Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.16.9 to 1.16.15.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.16.9...v1.16.15)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump actions/checkout from 3 to 4 (#230)

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* WCSPH Pressure eq consistency (#185)

* working

* combine

* format

* write values

* fix

* add consistent form of pressure eq

* typo

* optimize

* remove global dv arrays

* add example for debugging

* format

* fix

* remove @unpack

* format

* review comments

* rename

* format

* revert

* rename

* format

* add todo

* allow to save multiple files by using a local iter

* add todo

* format

* rename functions

* fix

* fix

* mistake

* fix

* rename to viscosity_model

* switch param call order

* review comments

* format

* fix

* move viscosity_model

* fix

* format

* add comment

* fix

* format

* add error check

* format

* fix merge

* fix merge

* fix merge

* cleanup constructor

* format

* review comments

* fix review comments

* Print testset names (#233)

* Fix dam break with corrections (#235)

* Fix dam break with corrections

* Add error check for `trixi_include`

* Fix tests

* Add test for `trixi_include`

* Fix typo

* Add more unit tests (#232)

* Add unit tests for `InfoCallback`

* Include new tests

* Add test for summary box

* Fix `trixi_include` and improve tests

* Add tests for `Semidiscretization`

* Properly use `@trixi_testset` to isolate mock tests

* Add test for boundary system constructor and `show`

* Add tests for boundary `show`

* Reformat code

* Include boundary system tests

* Write meta data to vtk files (#199)

* write some meta data

* add type2string function additional data

* write the pvd file

* format

* merge error

* add additional output for viscosity models

* make meta data optional

* fix

* format

* Ignore markdown file changes

* [skip ci] review

* [skip ci] unpack all models

* [skip ci] add additional meta data

---------

Co-authored-by: Erik Faulhaber <[email protected]>

* [skip ci] fix Method Error (#242)

* Fix docs and compile docs in CI (#241)

* Fix docs

* Add docs for `InitialCondition`

* Compile docs automatically in CI

* Fix setup docs

* Fix CI

* Fix CI

* Fix NHS in docs

* Add examples for initial condition

* Move gradient correction method and rename (#238)

* rename and move to correction

* [skip ci] format

* [skip ci]

* missing comma and $

* Add basic unit test for density (#239)

* add test

* format

* review comments

* format

* [skip ci] remove superflous comment

* improve performance of kernel(::SchoenbergQuarticSplineKernel, r, h), take 2 (#255)

Co-authored-by: Erik Faulhaber <[email protected]>

* New boundary density calculators `PressureZeroing` and `PressureMirroring` (#223)

* Add `PressureZeroing` and `PressureMirroring` boundary methods

* Fix bug where damping was applied to the boundary density

* Reformat code

* Add docs for new boundary methods

* Fix typo

* Implement suggestions

* Use correct pressure acceleration formulation for `ContinuityDensity`

* Fix typo

---------

Co-authored-by: Niklas Neher <[email protected]>

* Initialize rectangular tank with hydrostatic pressure (#246)

* Initialize particles with hydrostatic pressure gradient

* Integrate hydrostatic pressure equation for intiial condition

* Adapt hydrostatic pressure calculation to be used with EDAC

* Change example files

* Make column-major loop order the default

* Add tests for hydrostatic pressure gradient

* Revert "Make column-major loop order the default"

This reverts commit d58dce70cc86e2e4a8660c25ea8e3fb24fb18929.

* [skip ci] Reformat code

* Make pressure calculation generic for 2D and 3D

* Revert "Revert "Make column-major loop order the default""

This reverts commit 5d3b13d119543f99066a374498683c2b798fd3f4.

* Simplify loop orders and make hydrostatic pressure work with all loop orders

* Fix tests for rectangular shape

* Fix tests for rectangular tank

* Test different loop orders with hydrostatic pressure

* Reformat code

* Fix tests

* Fix `InitialCondition` tests

* Fix example tests

* [skip ci] Implement suggestions

* Allow positive accelerations

* Fix tests

* Add tests for positive acceleration

* Update docs

* Reformat code

* Update docs

* 1D support (#249)

* 1D support

* modify docs

Make the docs more readable by adding a table for the kernel, which
we provide. Thus, we can get rid of repetitions.

* implement suggestions

* implement suggestion

* Bump crate-ci/typos from 1.16.15 to 1.16.21 (#258)

Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.16.15 to 1.16.21.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.16.15...v1.16.21)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Smoothing Kernel optimizations (#236)

* optimize kernel

* remove branching

* up

* remove branching from kernel_deriv as well

* remove branches from quartic

* inline benefits in example run

* format

* replace powers higher than ^3

* format

* use muladd

* revert

* add FastPow

* Revert "add FastPow"

This reverts commit d928fd15ca3aee41c383dd5685e4e6ae019f4078.

* Revert "Revert "add FastPow""

This reverts commit 507df9dba6b3551fb3c15a23556dfe28576015e5.

* add to cubic as well

* format

* use fastpow for MK as well

* correct review

* revert comment

---------

Co-authored-by: Niklas Neher <[email protected]>

* Add supplementary files and update readme (#184)

* Update README.md

* Create AUTHORS.md

* Create LICENSE.md

* Update LICENSE.md

Co-authored-by: Hendrik Ranocha <[email protected]>

* Update AUTHORS.md

* Update README.md

* add all other files

* ignore markdown files for ci run

* Update README.md

* Update AUTHORS.md

Co-authored-by: Hendrik Ranocha <[email protected]>

* Update NEWS.md

Co-authored-by: Hendrik Ranocha <[email protected]>

* Update README.md

Co-authored-by: Michael Schlottke-Lakemper <[email protected]>

* Update README.md

Co-authored-by: Michael Schlottke-Lakemper <[email protected]>

* Update README.md

Co-authored-by: Michael Schlottke-Lakemper <[email protected]>

* Update README.md

Co-authored-by: Michael Schlottke-Lakemper <[email protected]>

* Update README.md

* add some example pictures

* Update README.md

Co-authored-by: Hendrik Ranocha <[email protected]>

* Update README.md

* Update NEWS.md

Co-authored-by: Erik Faulhaber <[email protected]>

* Update NEWS.md

Co-authored-by: Erik Faulhaber <[email protected]>

* Update NEWS.md

Co-authored-by: Erik Faulhaber <[email protected]>

* Update README.md

Co-authored-by: Erik Faulhaber <[email protected]>

* remove package registry info

* Update README.md

* Update README.md

* Update NEWS.md

* Release information

* Update NEWS.md

---------

Co-authored-by: Hendrik Ranocha <[email protected]>
Co-authored-by: Michael Schlottke-Lakemper <[email protected]>
Co-authored-by: Erik Faulhaber <[email protected]>

* Add option in `SolutionSavingCallback` to write meta data (#247)

* option `write_meta_data` for API

* add to docs

* add docs for `corrections.jl` (#250)

* add docs for `corrections.jl`

- add file in `index.md`
- correct correction docs
- add references

* ignore threshold warning

* implement suggestions

* apply formatter

* implement suggestions

* Use kwargs for viscosity (#279)

* Make n-body fast again (#280)

* New example format (#275)

* [skip ci] First idea for new example format

* [skip ci] Update example file

* Adapt other examples

* Fix tests

* Threaded state equation and more timers (#282)

* Add threading and timer for state equation

* Add timer and threading for inverse state equation

* Add timer and threading for boundary state equation

* revert gravity (#285)

* Avoid passing `system_index` everywhere (#281)

* Remove `system_index`

* Fix interact

* Reformat code

* Use faster reverse mapping than a `Dict`

The dict was very slow because hashing systems is slow.

* Use `ArrayPartition` and get rid of ranges

* Use `foreach_fast`

* Revert "Use `ArrayPartition` and get rid of ranges"

This reverts commit 32ec3fc182f39b14d0bee4cfd0d61626ccb66156.

Using an ArrayPartition instead of one large vector as the underlying structure
turned out to be quite inefficient. Our code didn't become slower, but
the actual time integration did.

* Remove `foreach_enumerate`

* Fix benchmark code in comment

* Wrap `foreach_noalloc` in `foreach_system`

* Implement suggestions

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

* add gaussian kernels

* add all the other ones

* format

* fix

* format

* fixes

* fix

* add testcase and fix wendlandc4

* format

* add QuadGK

* update

* format

* Fix tests

* review

* format

* [skip ci] add information regarding smoothing L

* fix docs

* code review

* [skip ci] fix table

* [skip ci] change table

* revert change

* [skip ci]

* [skip ci] review

* CompatHelper: add new compat entry for QuadGK at version 2 for package test, (keep existing compat) (#286)

Co-authored-by: CompatHelper Julia <[email protected]>

* Move string construction out of benchmark code (#288)

* Switch order of operations in `kernel_grad` (#287)

* qualify `create_cache` functions (#283)

* Refactor docs (#276)

* [skip ci] Refactor docs

* [skip ci] Delete authors file in docs

* Remove number of pages

* [skip ci] Add corrections to docs

* Add code of conduct to docs

* [skip ci] Fix code of conduct

* Add `authors.md` to gitignore

* Automatically copy all duplicate files to docs

* Add news to docs

* Fix Monaghan-Kajtar BC (#264)

* Fix Monaghan-Kajtar BC

* Reformat

* Add comment

* Revert NHS of rectangular tank example

* Revert change in rectangular tank example

* Implement density diffusion (#272)

* Implement density diffusion

* Improve `show`

* Add comment referencing a new issue

* Fix `show`

* Add docs

* [skip ci] Consistency

* Fix tests

* [skip ci] Fix example tests

* Fix typos in docs

* Revise docs

* Fix merge

* Make `delta` a kwarg

* Update docs

* Update estimated overhead by Antuono DD

* Make Molteni & Colagrossi DDT default for dam breaks

* Fix tests

* Implement suggestions

* Reformat

* fix typo (#289)

* Ignore examples folder in coverage results (#291)

* Test `kernel_deriv` against automatic differentiation of `kernel` (#290)

* Add tests for state equations (#292)

* Add tests for wcsph-wcsph `pressure_acceleration` and `interact!` (#293)

* Change arguments of `pressure_acceleration`

* Add tests for `pressure_acceleration`

* Move `using` to `test_util.jl`

* Remove redundant unpack

* Add momentum conservation tests for fluid-fluid interaction

* Fix typo

* Add source for momentum conservation

* Implement suggestions

* Change density and pressure, so that the factor `p/rho^2` isn't too large and increases the error

* Add test for total energy conservation of WCSPH-WCSPH interaction (#294)

* [skip ci] Add test for total energy conservation

* Change formulation of the continuity equation

* Add tests for total energy conservation

* Reformat

* [skip ci] Change errors of total energy conservation

* Change something to trigger CI

* Simplify dispatch of boundary models (#300)

* Apply new release of JuliaFormatter (#302)

* Bump crate-ci/typos from 1.16.21 to 1.16.23 (#303)

Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.16.21 to 1.16.23.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.16.21...v1.16.23)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix parallel state equation for macOS ARM (#308)

* Make `pressure_acceleration` more readable (#299)

* modify pressure acceleration

* adapt comment

* fix bug

* apply formatter

* shorten `PressureMirroring`

* fix typo

* move comment to the right position

* swap density

* simplify dispatch

* apply formatter

* implement suggestions

* fix sign

* fix bug

* fix bug again

* Hotfix for depwarn (#310)

* Fix Issue #245 (#314)

* implement

* Revert "implement"

This reverts commit 171505a4e078c7271e838c35f98f3df7f4cf77de.

* fix Check if PVD file already contains older data #245

* cleanup

* format

* fix

* Typo (#323)

Rectangular Tank does not work as expected

* Another fix for RISC processors (#325)

* fix

* format

* Another fix for RISC processors (#325)

* fix

* format

* Add common files which could be accidentally pushed (#320)

* add common files which could be accidentally pushed

* [skip ci]

* `min_coordinates` for `RectangularTank` (#298)

* add `min_coordinates`

* add tests

* indentation

* implement suggestions

---------

Co-authored-by: Erik Faulhaber <[email protected]>

* Circle segment support for `RoundSphere` (#297)

* add `theta`

* add angular range and docs

* add tests

* fix typo

* remove utf symbol

* implement suggestions

* Suppress TimerOutputs warning (#329)

* Suppress TimerOutputs warning

* Add comments

* Bump crate-ci/typos from 1.16.23 to 1.16.26 (#328)

Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.16.23 to 1.16.26.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.16.23...v1.16.26)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Erik Faulhaber <[email protected]>

* Add function barrier to make Adami pressure extrapolation work on macOS ARM (#330)

* Mixed kernel gradient (#261)

* add gradient correction stuff

* impl

* up

* finish impl

* update

* fix testcases

* fix

* fix tests

* format

* working

* format

* format

* fix

* working trixi_include

* fix

* cleanup

* format

* fix

* fix tests

* fix

* ups

* typo

* up

* fix

* format

* update fix errors

* fix

* update

* up

* fix tests

* fix tests

* np

* remove comment

* revert some changes

* up

* up

* update

* format

* cleanup

* revert

* revert

* implement correction on wall

* fix tests

* fix pressure_acceleration for summation

* format

* revert

* fix

* fixes

* fix

* fix pressure_acceleration dispatches

* typo

* fix

* rename

* some review fixes

* review

* more fixes

* add solid system type

* review

* fix tlsph call

* fix comment

* review

* review

* format

* review

* move

* fix doc

* review fix

* more review

* review fix

* format

* change parameter list

* reorder params

* format

* fix

* fix

* fix

* remove dispatched functions

* format

* fix comments

* fix

* remove system

* format

* change parameter list

* review

* unused variable

* break

* edit todo

* remove breaks

* format

* rename grad_kernel to W_a

* Implement perturbed rectangular patch for better testing (#324)

* Add rectangular patch

* Use rectangular patch for momentum and energy tests

* Fix non-perturbed center particle coordinates

* Rename `initial_condition` to `fluid`

* Refactor

* Reformat

* Add `Random` to test dependencies

* Fix typo

* Update test/schemes/fluid/weakly_compressible_sph/rhs.jl

Co-authored-by: Niklas Neher <[email protected]>

* Update test/schemes/fluid/weakly_compressible_sph/rhs.jl

Co-authored-by: Niklas Neher <[email protected]>

* Update test/schemes/fluid/weakly_compressible_sph/rhs.jl

Co-authored-by: Niklas Neher <[email protected]>

* Update test/schemes/fluid/weakly_compressible_sph/rhs.jl

Co-authored-by: Niklas Neher <[email protected]>

---------

Co-authored-by: Niklas Neher <[email protected]>

* RHS tests for dummy particles (#327)

* Add tests for dummy particles RHS

* Choose correct continuity equation formulation for dummy particles with `ContinuityDensity`

* Fix FSI

* Improve comments

* Fix tests

* Formatting

* Update systems before writing to VTK (#319)

* Update systems before writing to VTK

* Add comment

* Revise initial condition and shapes API (#335)

* Allow defining `InitialCondition` quantities as functions of position

* Refactor IC and shapes API

* Reformat

* Fix tests

* Update docs

* Add tests for initial condition

---------

Co-authored-by: Niklas Neher <[email protected]>

* Fix Issue #263 (#313)

* implement

* cleanup

* fix

* review

* update

* fix

---------

Co-authored-by: Erik Faulhaber <[email protected]>

* Add julia-actions/cache to speed up CI (#341)

* Remove redundant code (#315)

* implement

* Revert "implement"

This reverts commit 171505a4e078c7271e838c35f98f3df7f4cf77de.

* remove redundant code

* format

* resolve review

* format

* again

* update

---------

Co-authored-by: Erik Faulhaber <[email protected]>

* Rework `StateEquationCole` (#331)

* modify docs

* remove `reference_pressure`

* adapt example files

* remove `StateEquationIdealGas`

* adapt tests

* fix bugs

* fix typo

* implement suggestions

* fix test

* implement suggestions

* implement suggestions

---------

Co-authored-by: Erik Faulhaber <[email protected]>

* Add interpolation functions (#304)

* add interpolation

* basic working

* support periodic

* allow to define different smoothing_length

* more precisely identify system regions

* to improve accuracy calc shepard

* add support for multiple points

* add line interpolation

* add doc

* format

* add test

* small change to doc

* revert accidental change

* fix

* another fix

* format

* format

* also interpolate pressure and velocity

* lower tolerance

* add example plot

* missing dependency

* format

* comment out example

* remove pyplot again

* fix

* small update improving accuracy

* fix tests

* remove line

* fix

* format

* fix

* merge

* optimization

* fix result format

* update test

* fix

* fix docs

* rename to copy_neighborhood_search

* review fixes

* format

* bs

* tests

* more tests

* fix all tests

* fix

* fix tests

* increase error since it passes locally but not on github

* fix

* fix

* review comments

* fix docs

* format

* add interpolation.jl to doc gen

* review

* update

* add Plots version

* improve plot

* remove other dispatch

* fix

* fix docs

* merge

* remove background pressure

* fix comment

* Plane interpolation (#306)

* add interpolation

* basic working

* support periodic

* allow to define different smoothing_length

* more precisely identify system regions

* to improve accuracy calc shepard

* add support for multiple points

* add line interpolation

* add doc

* format

* add test

* small change to doc

* revert accidental change

* fix

* another fix

* format

* format

* also interpolate pressure and velocity

* lower tolerance

* add example plot

* missing dependency

* format

* add func

* add doc

* add test

* add another test

* comment out example

* remove pyplot again

* fix

* format

* small update improve accuracy

* update

* up

* fix

* format

* fix plots

* fix plots.jl plot

* cleanup

* fix tests

* cleanup

* cleanup

* fix docs

* fix doc

* remove unused func

* remove unused code

* fix

* fix viscosity

* working 3d example for plane interpolation

* add 2d plot as well for 3d case

* add docs

* fix tests

* fix

* fix plot

* fix comments

* fix comment

* update

* format

* add Plots

* fix

* adjust plot

* reduce time

* Update interpolation.jl

* Update interpolation_plane.jl

* Rework `pressure_acceleration` (again) (#334)

* proof of concept

* finalize

* fix correction bug

* remove inter particle averaged pressure

* implement suggestions

* fix bugs

* get rid of dispatching

* add TLSP to Monaghan `pressure_acceleration`

* implement suggestions

* fix monaghan interaction

* implement suggestions

* add tests

* remove unused line

* apply formatter

* implement suggestions

* fix bug

---------

Co-authored-by: Erik Faulhaber <[email protected]>

* Hotfix for Monaghan-Kajtar repulsive boundary particles (#354)

* Hotfix for Monaghan-Kajtar repulsive boundary particles

* Remove singularity in repulsive force

* Update comment

* Add tests for repulsive particles

* CompatHelper: add new compat entry for Plots at version 1 for package test, (keep existing compat) (#352)

Co-authored-by: CompatHelper Julia <[email protected]>
Co-authored-by: Niklas Neher <[email protected]>

* remove pressure function (#355)

* Use source terms instead of damping (#344)

* Use source terms instead of damping

* Update docs of `Semidiscretization`

* Update docs of systems

* [skip ci] Add docs for source terms

* Remove `neighborhood_search=GridNeighborhoodSearch`

* Fix tests

* Add check for positive density to `InitialCondition`

* Add tests for source terms

* Fix tests

* Fix examples

* Make n-body fast again

* Implement suggestions

* Add source terms after interactions

* Implement suggestions

* Reformat

* Print simulation time percentage in `InfoCallback` (#361)

* Print simulation time percentage in info callback

* Fix tests

* [skip ci] Fix some bugs with FSI (#346)

* Fix Codecov action (#366)

* Hopefully fix codecov action

* Add JPEGs to gitignore

* Bump codecov/codecov-action from 3 to 4

* Try without `token`

* Improve documentation (#316)

* implement

* Revert "implement"

This reverts commit 171505a4e078c7271e838c35f98f3df7f4cf77de.

* some improvements to the documentation

* some more fixes

* implement suggestions

* update

* rename

---------

Co-authored-by: Erik Faulhaber <[email protected]>

* Extract documenter and format check into separate actions (and fix docs) (#367)

* Fix docs

* Extract documenter and format check into separate actions

* Rename format check action

* Add names to CI jobs

* Bump crate-ci/typos from 1.16.26 to 1.17.2 (#365)

Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.16.26 to 1.17.2.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.16.26...v1.17.2)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Erik Faulhaber <[email protected]>

* Add documentation for installation (#317)

* implement

* Revert "implement"

This reverts commit 171505a4e078c7271e838c35f98f3df7f4cf77de.

* some improvements to the documentation

* some more fixes

* add install documentation

* add paraview

* implement suggestions

* update

* update

* remove file

* fix

---------

Co-authored-by: Erik Faulhaber <[email protected]>

* Add oscillating drop example (#343)

* [skip ci] Add oscillating drop example

* Add test for oscillating drop

* Update error

* Increase tolerance

---------

Co-authored-by: Niklas Neher <[email protected]>

* 2D and 3D Velocity functions and pressure functions for `InitialConditions` (#356)

* multi dimensional functions

* apply formatter

* implement suggestions

---------

Co-authored-by: Erik Faulhaber <[email protected]>

* Add docs for common issues with installation (#372)

* Add docs for common issues with installation

* Implement suggestions

* Remove actions in root environment

---------

Co-authored-by: Michael Schlottke-Lakemper <[email protected]>

* `WendlandC2Kernel` for `TotalLagrangianSPHSystem` (#371)

* change kernel for tlsph

* implement suggestions

* implement suggestions

* Save additional output for TLSPH (#348)

* write missing values

* replace incorrect nomenclature

* calc von mises stress

* rm comment

* format

* change docs to F

* add test

* format

* also save the cauchy stress components

* format

* implement suggestions

* format

* update

* update

* format

* add citation

---------

Co-authored-by: Niklas Neher <[email protected]>

* Switch integration method for fluid examples (#358)

* switch to RDPK3SpFSAL35

* rm

---------

Co-authored-by: Erik Faulhaber <[email protected]>

* Use `trixi_include` from TrixiBase.jl (#375)

* Use `trixi_include` from TrixiBase.jl

* Add compat entry for TrixiBase.jl

* Add TrixiBase.jl API reference

* Add TrixiBase.jl API reference

* Add TrixiBase to docs dependencies

* Reformat

* Add `@test_nowarn_mod`

* Reformat

---------

Co-authored-by: Niklas Neher <[email protected]>

* FSI: Check configuration (#369)

* make boundary model for tlsph optional

* check configuration

* add tests

* fix tests

* fix examples

* implement suggestions

* remove mock system name

* fix tests

* implement suggestions

---------

Co-authored-by: Erik Faulhaber <[email protected]>

* Update docs for NHS (#368)

* Update docs for NHS

* Rename kwargs

---------

Co-authored-by: Niklas Neher <[email protected]>

* Move dam break corrections to test (#376)

* Move dam break corrections example to test

* Add dam break corrections to tests

---------

Co-authored-by: Niklas Neher <[email protected]>

* Make the rectangular tank our default example (#377)

* Simplify and speed up the rectangular tank example

* Remove Monaghan-Kajtar repulsive boundary particles

* Rename `rectangular_tank` to `hydrostatic_water_column`

* Reformat

* Fix tests

* Fix EDAC hydrostatic water column

* Count allocations in example tests (#373)

* Add code to count RHS allocations

* Revise `test_util.jl`

* Allow default constructor of `Semidiscretization`

* Add `using`

* Test examples for allocations

* Explicitly add default constructor

* Rename function

* Reformat

* Reformat

* First prototype for solution plotting recipe (#374)

* [skip ci] First prototype for solution potting recipe

* Make markersize calculation work for different window sizes

* Finalize

* Fix tests

* Fix typo

* CompatHelper: add new compat entry for RecipesBase at version 1, (keep existing compat) (#379)

Co-authored-by: CompatHelper Julia <[email protected]>

* pin working version of formatter (#380)

* Implement simple CFL condition (#359)

* [skip ci] Implement simple CFL condition

* [skip ci] Reformat

* Add docs

* Undo change in `rectangular_tank_2d.jl`

* Use Carpenter-Kennedy for dam break example

* Fix corrections example tests

* Fix show and add tests

* Fix symbol

* Extract kinematic viscosity

* Fix tests

* Add "get started" page (#318)

* implement

* Revert "implement"

This reverts commit 171505a4e078c7271e838c35f98f3df7f4cf77de.

* some improvements to the documentation

* some more fixes

* add install documentation

* add more info

* update

* Update get_started.md

* add tutorial

* fix

* update

* update

* review comments

* forgot one predefined

* rename rect_tank

* review

* update news.md (#353)

* update

* [skip ci]

* Update NEWS.md

Co-authored-by: Erik Faulhaber <[email protected]>

---------

Co-authored-by: Erik Faulhaber <[email protected]>

* Add docs for no slip conditions (#339)

* add docu

* limit viscosity model for boundaries

* add warning

* remove todos

* fix typo

* add link

* implement suggestions

* fix typo

* consistency

* Docs: Add arguments and kwargs (#383)

* add arguments and kwargs

* move arguments

* implement suggestions

* Fixes for correction methods (#345)

* impl

* fixes!

* format

* revert

* fix test

* update

* revert

* fix

* fix test

* review fixes

* revert

* revert

* Postprocess Callback (#321)

* add JSON library

* postprocess_callback

* add rect_3d example

* fix

* format

* impl

* fixes

* fix setting the interval

* impl other functions

* fix merge

* move files

* include exclude bnd

* add version info to meta data

* fix

* add filename and overwrite

* write initial values

* format

* add helper function to obtain latest file

* improve func

* format

* fix plots

* rename

* add doc

* add exports

* cleanup

* cleanup

* format

* fix dt

* fix

* fix

* format

* update

* format

* add CSV

* add csv output

* format

* up

* fixes

* update

* fix paths

* fixes

* review

* review

* change git

* change type

* remove mutable

* add new example

* change to plots.jl

* increase the resolution

* include into CI

* move condition

* add more output to summary box

* update

* remove DataEntry

* update

* fix

* update

* format

* review update

* fix test

* nvalue->n_values

* fix

* fixfix

* add check for anonymous functions

* fix test

* remove unused 'using'

* add simple test

* fix using statements

* ignore

* format

* fix ignore string

* fix json reading in example

* update

* update based on review comments

* format

* change funcs to keyword args

* fix docs

* format

* review comments

* format

* fix tests

* fix test

* format

* review

* format

* fix plot

* fix test

* remove include

* fix test

---------

Co-authored-by: Erik Faulhaber <[email protected]>

* Docs tutorials (#336)

* implement

* Revert "implement"

This reverts commit 171505a4e078c7271e838c35f98f3df7f4cf77de.

* some improvements to the documentation

* some more fixes

* add install documentation

* add more info

* update

* Update get_started.md

* add tutorial

* fix

* add stubs

* update

* include the example files

* update

* update

* format

* add more info to error message

* fix path

* update

* update

* review comments

* forgot one predefined

* update

* fix

* rm get_started.md

* fix

* rename rect_tank

* review

* fix tests

* fix review

* format

* remove unused line

* revert changes

* revert more

* fix doc

* revert

* fix naming

* fix docs

* format

* fixes

* forgot one

* rm minimal

* fix

* format

* fix docs

---------

Co-authored-by: Erik Faulhaber <[email protected]>

* CompatHelper: bump compat for DiffEqCallbacks to 3, (keep existing compat) (#393)

Co-authored-by: CompatHelper Julia <[email protected]>

* Add missing compat entries for test (#395)

* Fix `accelerated_tank_2d.jl` (#389)

* fix `accelerated_tank_2d.jl`

* fix allocations

* adapt docs

* fix bug

* implement suggestions

* apply formatter

* fix example

* shorten moving wall example

* add tests

* add doc

* remove redundancy

* import `hydrostatic_water_column_2d.jl`

* implement suggestions

* implement test suggestions

* implement suggestions

* apply formatter

* implement suggestions

* Add edac description (#391)

* add edac description

* implement suggestions

* implement suggestions

---------

Co-authored-by: Erik Faulhaber <[email protected]>

* Backup option in `PostProcessCallback` (#388)

* add backup for pp callback

* remove autoinfiltrator

* fix bug

* allow `nothing`

* implement suggestions

* default interval 1

* remove suffix

* change kwarg name to `write_file_interval`

* adapt docs

* apply formatter

* implement suggestions

---------

Co-authored-by: Erik Faulhaber <[email protected]>

* Remove `NoViscosity` (#396)

* Add function `dv_viscosity`

* Remove `NoViscosity`

---------

Co-authored-by: Niklas Neher <[email protected]>

* Activate compat helper for docs (#397)

* Plot pressure instead of density (#401)

* Add a meaningful error message (#413)

* Bump crate-ci/typos from 1.17.2 to 1.18.2 (#415)

Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.17.2 to 1.18.2.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.17.2...v1.18.2)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Remove info prints in `PostprocessCallback` (#406)

* remove info prints

* adapt tests

* Add doctests (#412)

* Add doctests

* Auto-fix output

* Add more doctests

* Auto-fix output

* Fix tests

* Allow `TrivialNeighborhoodSearch` instead of just `nothing`

* Make everything a doctest

* Reduce output from simulations during doctests

* Fix doctests

* Switch to annoying inline setups because `@meta` blocks are not hidden in docs

* Fix CI tests

---------

Co-authored-by: Niklas Neher <[email protected]>

* Validation Oscillating Beam (#349)

* add interpolation

* basic working

* support periodic

* allow to define different smoothing_length

* more precisely identify system regions

* to improve accuracy calc shepard

* add support for multiple points

* add line interpolation

* add doc

* format

* add test

* small change to doc

* revert accidental change

* fix

* another fix

* format

* format

* also interpolate pressure and velocity

* lower tolerance

* add example plot

* missing dependency

* format

* add func

* add doc

* add test

* add another test

* comment out example

* remove pyplot again

* fix

* format

* small update improve accuracy

* update

* up

* fix

* format

* add JSON library

* postprocess_callback

* add rect_3d example

* fix

* format

* impl

* fixes

* fix setting the interval

* impl other functions

* fix plots

* fix plots.jl plot

* cleanup

* fix tests

* cleanup

* cleanup

* fix docs

* fix doc

* remove unused func

* remove unused code

* fix

* write missing values

* replace incorrect nomenclature

* calc von mises stress

* rm comment

* format

* change docs to F

* add test

* format

* fix merge

* move files

* include exclude bnd

* add version info to meta data

* fix

* add filename and overwrite

* write initial values

* format

* add helper function to obtain latest file

* improve func

* format

* fix plots

* rename

* add doc

* add exports

* cleanup

* cleanup

* format

* working example

* add plot

* also save the cauchy stress components

* format

* fix dt

* fix

* fix

* fix viscosity

* working 3d example for plane interpolatio…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants