Combine PST and TVF into a unified framework#884
Merged
svchb merged 13 commits intotrixi-framework:devfrom Aug 26, 2025
Merged
Conversation
efaulhaber
commented
Aug 17, 2025
Comment on lines
+161
to
+164
| An alternative formulation is the so-called Transport Velocity Formulation (TVF) | ||
| by [Adami (2013)](@cite Adami2013). | ||
| [Ramachandran (2019)](@cite Ramachandran2019) applied the TVF also for the [EDAC](@ref edac) | ||
| scheme. |
Member
Author
There was a problem hiding this comment.
Note that I just copied this section over from EDAC and changed this first paragraph. The rest of the section is unchanged, except for changes like "right hand side" to "right-hand side" and "time-step" to "time step".
efaulhaber
commented
Aug 17, 2025
Comment on lines
+210
to
+212
| with the density ``\rho_a``, ``\rho_b`` and the pressure ``p_a``, ``p_b`` of particles ``a`` | ||
| and ``b``, respectively. ``\bm{A}_a`` and ``\bm{A}_b`` are the convection tensors | ||
| for particle ``a`` and ``b``, respectively, and are given, e.g., for particle ``a``, |
Member
Author
There was a problem hiding this comment.
And I added a few commas here.
efaulhaber
commented
Aug 17, 2025
| for particle ``a`` and ``b``, respectively, and are given, e.g., for particle ``a``, | ||
| as ``\bm{A}_a = \rho v_a\left(\tilde{v}_a-v_a\right)^T``. | ||
|
|
||
| To apply the TVF, use the keyword argument `shifting_technique` in the constructor |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## dev #884 +/- ##
==========================================
+ Coverage 71.16% 71.26% +0.10%
==========================================
Files 107 106 -1
Lines 7005 6996 -9
==========================================
+ Hits 4985 4986 +1
+ Misses 2020 2010 -10
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
51270d9 to
a118d24
Compare
LasNikas
approved these changes
Aug 26, 2025
svchb
approved these changes
Aug 26, 2025
LasNikas
pushed a commit
that referenced
this pull request
Aug 26, 2025
* Combine PST and TVF into a unified framework * Require update callback for PST * Fix WCSPH * Update PST only in callback * Fix EDAC * Update docs * Fix alle example files * Fix tests * Fix periodic channel * Fix docs * Update news * Fix tests * Fix example file
LasNikas
pushed a commit
that referenced
this pull request
Aug 27, 2025
* Combine PST and TVF into a unified framework * Require update callback for PST * Fix WCSPH * Update PST only in callback * Fix EDAC * Update docs * Fix alle example files * Fix tests * Fix periodic channel * Fix docs * Update news * Fix tests * Fix example file
LasNikas
pushed a commit
that referenced
this pull request
Sep 2, 2025
* Combine PST and TVF into a unified framework * Require update callback for PST * Fix WCSPH * Update PST only in callback * Fix EDAC * Update docs * Fix alle example files * Fix tests * Fix periodic channel * Fix docs * Update news * Fix tests * Fix example file
efaulhaber
added a commit
that referenced
this pull request
Sep 4, 2025
* add dvu_ode vector to custom quantities * add for fluid and boundary * fix tests * fix tests * Rename 'tlsph' to 'place_on_shell' (#814) * rename * format * forgot some * format * naming * forgot some more * fix test * incorporate review comments * format --------- Co-authored-by: Niklas Neher <73897120+LasNikas@users.noreply.github.com> * Rename 'tlsph' to 'place_on_shell' (#814) * rename * format * forgot some * format * naming * forgot some more * fix test * incorporate review comments * format --------- Co-authored-by: Niklas Neher <73897120+LasNikas@users.noreply.github.com> * Combine PST and TVF into a unified framework (#884) * Combine PST and TVF into a unified framework * Require update callback for PST * Fix WCSPH * Update PST only in callback * Fix EDAC * Update docs * Fix alle example files * Fix tests * Fix periodic channel * Fix docs * Update news * Fix tests * Fix example file * Rename 'tlsph' to 'place_on_shell' (#814) * rename * format * forgot some * format * naming * forgot some more * fix test * incorporate review comments * format --------- Co-authored-by: Niklas Neher <73897120+LasNikas@users.noreply.github.com> * Combine PST and TVF into a unified framework (#884) * Combine PST and TVF into a unified framework * Require update callback for PST * Fix WCSPH * Update PST only in callback * Fix EDAC * Update docs * Fix alle example files * Fix tests * Fix periodic channel * Fix docs * Update news * Fix tests * Fix example file * fix tests * fix doctests * implement suggestions * fix tests * fix tests * implement suggestions * fix * fix --------- Co-authored-by: LasNikas <niklas.nehe@web.de> Co-authored-by: Sven Berger <berger.sven@gmail.com> Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com>
efaulhaber
added a commit
that referenced
this pull request
Sep 8, 2025
* swap extrapolation * swap density pressure * adapt docs * rm example * fix missing nhs update * implement different mirror methods * add docs * fix tests * fix typos * add docs * add tests * apply formatter * add `average_velocity!` for `BoundaryModelLastiwka` * fix * add interpolation functions * restructure again * fix gpu bugs * remove unnecessary argument * fix gpu again * fix gpu * implement suggestions * fix * add comments * implement suggestions * first prototype: NOT VALIDATED YET * fix avg vel in LastiwkaModel * fix avg in mirroring * fix tests * adapt example file * fix allocations * fix gpu * first GPU working prototype * improve API * fix tests * rm export * fix * fix type stability * implement suggestions * rm ref * format * Rename 'tlsph' to 'place_on_shell' (#814) * rename * format * forgot some * format * naming * forgot some more * fix test * incorporate review comments * format --------- Co-authored-by: Niklas Neher <73897120+LasNikas@users.noreply.github.com> * fix merge bugs * supersede #852 * supersede #850 * fix * rename boundary models * fix? * fix tests * Rename 'tlsph' to 'place_on_shell' (#814) * rename * format * forgot some * format * naming * forgot some more * fix test * incorporate review comments * format --------- Co-authored-by: Niklas Neher <73897120+LasNikas@users.noreply.github.com> * fix characteristics * revise pipe flow example * fix include bug * Rename 'tlsph' to 'place_on_shell' (#814) * rename * format * forgot some * format * naming * forgot some more * fix test * incorporate review comments * format --------- Co-authored-by: Niklas Neher <73897120+LasNikas@users.noreply.github.com> * Combine PST and TVF into a unified framework (#884) * Combine PST and TVF into a unified framework * Require update callback for PST * Fix WCSPH * Update PST only in callback * Fix EDAC * Update docs * Fix alle example files * Fix tests * Fix periodic channel * Fix docs * Update news * Fix tests * Fix example file * add doc strings * implement suggestions * remove duplicated system * rm unnecessary variable * apply formatter * set pressure for WCSPH * setter for open boundary * rename reference values * fix gpu tests * fix sign * implement suggestions * fix unit tests * revise doc strings * add NEWS entry * update NEWS --------- Co-authored-by: LasNikas <niklas.nehe@web.de> Co-authored-by: Sven Berger <berger.sven@gmail.com> Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com>
svchb
added a commit
that referenced
this pull request
Sep 12, 2025
* Integrate write2json for initial metadata export * Remove old `write_meta_data` parameter from VTK writing functions and callbacks * Add `solver_name` to metadata and format files * update `write2json.jl` to match merge * rename file * update references * rename function * Refactor write2vtk! * formatting * refactor functions * implement suggestions * fix bugs * add add_meta_data! function for `system::ParticlePackingSystem` * relocate `add_meta_data!` to `system.jl` * formatting * Rename 'tlsph' to 'place_on_shell' (#814) * rename * format * forgot some * format * naming * forgot some more * fix test * incorporate review comments * format --------- Co-authored-by: Niklas Neher <73897120+LasNikas@users.noreply.github.com> * dispatch `FluidSystem` * Write one unified metadata file for all systems * improve JSON-file structure * improve consistency * Enhance structure of the JSON-File * Fix `rho0` in `AkinciFreeSurfaceCorrection` * Rename 'tlsph' to 'place_on_shell' (#814) * rename * format * forgot some * format * naming * forgot some more * fix test * incorporate review comments * format --------- Co-authored-by: Niklas Neher <73897120+LasNikas@users.noreply.github.com> * Rename 'tlsph' to 'place_on_shell' (#814) * rename * format * forgot some * format * naming * forgot some more * fix test * incorporate review comments * format --------- Co-authored-by: Niklas Neher <73897120+LasNikas@users.noreply.github.com> * Refactor metadata handling * Add settable filename * Add filename display to SolutionSavingCallback output * Rename 'tlsph' to 'place_on_shell' (#814) * rename * format * forgot some * format * naming * forgot some more * fix test * incorporate review comments * format --------- Co-authored-by: Niklas Neher <73897120+LasNikas@users.noreply.github.com> * add function for `ParticlePackingSystem` * improve structure * Formatting Code * Rename 'tlsph' to 'place_on_shell' (#814) * rename * format * forgot some * format * naming * forgot some more * fix test * incorporate review comments * format --------- Co-authored-by: Niklas Neher <73897120+LasNikas@users.noreply.github.com> * fix failing tests * Rename 'tlsph' to 'place_on_shell' (#814) * rename * format * forgot some * format * naming * forgot some more * fix test * incorporate review comments * format --------- Co-authored-by: Niklas Neher <73897120+LasNikas@users.noreply.github.com> * Combine PST and TVF into a unified framework (#884) * Combine PST and TVF into a unified framework * Require update callback for PST * Fix WCSPH * Update PST only in callback * Fix EDAC * Update docs * Fix alle example files * Fix tests * Fix periodic channel * Fix docs * Update news * Fix tests * Fix example file * improve structure and fixing problems * add `shifting_technique` to `io.jl` * change filename of the JSON-File * add suggestions * Enhance data handling for `OpenBoundarySPHSystem` * correct formatting issue * Remove autoinfiltrate * rename `number_of_threads` --------- Co-authored-by: Niklas Neher <73897120+LasNikas@users.noreply.github.com> Co-authored-by: Sven Berger <berger.sven@gmail.com> Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com>
efaulhaber
referenced
this pull request
Sep 19, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Based on #882 and #883.