Repository navigation
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1252 +/- ##
==========================================
+ Coverage 91.77% 92.17% +0.39%
==========================================
Files 148 151 +3
Lines 11776 12199 +423
==========================================
+ Hits 10808 11245 +437
+ Misses 968 954 -14
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
# Conflicts: # docs/src/systems/fluid.md # src/general/semidiscretization.jl
…geoms # Conflicts: # src/callbacks/mechanical_work_calculator.jl
…ygon-closure-loaders
…nt-inputs-winding-sdf
…eteat-geometry-cache-consistency
…enerate-triangle-mesh-normals
…validation-overlap
The third vertex of the inlet and outlet faces in `examples/fluid/poiseuille_flow_3d.jl` spanned a diagonal edge, which is rejected by the new orthogonality check in `spanning_vectors`. Use the fourth corner of the rectangular cross-section instead, so that both spanning edges are axis-aligned and orthogonal. This also fixes the failing example tests `fluid/poiseuille_flow_3d.jl (WCSPH)` and `fluid/pulsative_channel_flow_3d.jl`.
# Conflicts: # NEWS.md
# Conflicts: # NEWS.md
# Conflicts: # NEWS.md
# Conflicts: # NEWS.md
Review findings addressed in source PRs and remergedAll fixes were committed and pushed to their owning source PRs before merging the updated branches here:
Combined head: cc9668e. The updated source heads are all ancestors of this branch. Changelog conflicts retained the existing combined entries without changing NEWS.md. Combined verificationJulia 1.11.9, two threads, bounds checking:
This is focused combined-branch verification; the full unit/example/documentation/GPU suites were not rerun in this follow-up. |
…ings - Temporarily require `correction=nothing` for the `BoundaryModelDummyParticles` of a `TotalLagrangianSPHSystem` or `RigidBodySystem`. Their correction values require the complete current hydrodynamic neighborhood, which is added in trixi-framework#1351. - Assemble the renormalized density gradient of `DensityDiffusionAntuono` from the uncorrected kernel gradient instead of the corrected fluid gradient, whose correction values are not computed yet when the density diffusion is updated. - Allocate the dummy-particle correction caches with the element type of the density. - Compute the kernel gradient of the boundary model once for the pressure acceleration and the continuity equation in the structure-fluid interaction. - Define `system_correction` for `BoundaryModelDummyParticles` instead of a custom `smoothing_kernel_grad` method, so that the safe and unsafe gradients are consistent.
…uted-search-query-capacity
…re-boundary-correction-caches # Conflicts: # NEWS.md
- Allow corrections of the `BoundaryModelDummyParticles` of structures again. The correction may differ from the fluid correction, but a boundary gradient that doesn't vanish at zero distance (`KernelCorrection`, `MixedKernelGradientCorrection`) requires every fluid to use such a correction, since pairs at the same position are skipped otherwise. - With `SummationDensity`, compute the density of structure boundary models in every update with the kernel of the boundary model over the current hydrodynamic neighborhood. Previously, it kept its initial value, and `ShepardKernelCorrection` divided this value by the Shepard coefficient in every update. - Reuse the regular structure-fluid searches for the hydrodynamic sums instead of creating and updating copies, and don't update searches of static walls. - Rename the correction-specific search helpers to hydrodynamic search helpers, since they are also used for the density summation.
…re-boundary-correction-caches
…uted-search-query-capacity
Like rigid bodies with only a contact model, a `TotalLagrangianSPHSystem` without boundary model has no hydrodynamic density or mass. Including it in the correction values or summation density of a structure boundary model failed with an error.
Use the upstream pressure-mirroring and boundary-kernel fixes, retain the pending follow-ups, and drop redundant preprocessing and documentation changes.
This draft combines 18 open PRs and is based on
main(2ad153ae1).Pending PRs
Temporary PointNeighbors workaround
#1350 is deferred until PointNeighbors.jl #207 is released. To keep #1351 working with PointNeighbors 0.6.7, this draft uses the existing one-count API to reserve enough storage for both particle sets in precomputed searches. A nested trivial search still visits only the actual neighbor indices. The workaround covers both regular pair searches and the separate searches used for structure boundary corrections.
FSI integration
The structure boundary corrections use the current hydrodynamic neighborhood, independently of the total-Lagrangian solid-mechanics search. The shared fluid-pair operator gives the structure the opposite physical force, without including transport-only terms. For WCSPH with Adami or Bernoulli pressure extrapolation, the physical pressure force uses the fluid-side gradient for both pressure terms; TVF retains its separate inter-particle operator.
Verification
git diff --checkpassed.