File tree Expand file tree Collapse file tree
src/schemes/boundary/open_boundary
test/schemes/boundary/open_boundary Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737"""
3838 ZerothOrderMirroring()
3939
40- Fluid properties are interpolated onto ghost nodes using Shepard interpolation [Shepard1968](@cite).
40+ Fluid properties are interpolated onto ghost nodes using Shepard interpolation.
41+ (See slide 6 from the 4th DualSPHysics Users Workshop:
42+ [Tafuni, Lisbon 2018](https://dual.sphysics.org/4thusersworkshop/data/_uploaded/PDF_Talks_4thWorkshop/Tafuni_Lisbon2018.pdf)).
4143The position of the ghost nodes is obtained by mirroring the boundary particles
4244into the fluid along a direction that is normal to the open boundary.
4345The interpolated values at the ghost nodes are then assigned to the corresponding boundary particles.
Original file line number Diff line number Diff line change 367367
368368 pressure_func (pos) = cos (2pi * pos[1 ])
369369
370+
371+ # The pressures are interpolated to obtain a unified vector of length 50,
372+ # rather than handling three separate systems with numerous particles each.
373+ # Additionally, it facilitates plotting for test validation purposes.
370374 pressures = interpolate_pressure .([
371375 SimpleMirroring (),
372376 FirstOrderMirroring (),
You can’t perform that action at this time.
0 commit comments