Skip to content

Conversation

@RubberLanding
Copy link
Contributor

This boundary condition computes the normal vectors for the dummy particles. These vectors are then used to compute certain interpolation points inside the fluid. At these interpolation points, dummy particle properties (e.g. pressure, etc.) are approximated using a Moving Least-Squares kernel.

…kThe normals are not yet computed fot corner particles.
Added first implementation of Moving-Least Squares Kernel by Marrone.
Added new struct for Pressure Extrapolation for Marrone.
Added new methods to updated the pressure according to Marrone.
Fix for the offset of the boundary normals.
…l cache.

Create cache for Marrone.
Rename the cache creation functions to be self-explanatory.
Add `particle_volume` argument to `compute_wall_velocity()`.
Update test file for MarroneMLSKernel
@RubberLanding RubberLanding marked this pull request as ready for review November 19, 2025 15:45
@RubberLanding
Copy link
Contributor Author

@efaulhaber Please have a look.

Copy link
Collaborator

@svchb svchb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For compatibility with the surface tension code the normals of the bnd should be added into the cache of the boundary system.

end

# 2D
function _compute_normals(boundary_coordinates, boundary_spacing,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These functions seem to long for non-performance relevant code.

@svchb svchb marked this pull request as draft November 20, 2025 15:30
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