1: \begin{abstract}
2: This paper introduces a novel dynamical pressure boundary condition
3: for weakly-compressible smoothed particle hydrodynamics (WCSPH).
4: Unlike previous methods that rely on indirect approaches or ghost particles,
5: our method integrates the dynamical boundary pressure directly into
6: the SPH approximation of the pressure gradient on near-boundary particles.
7: Additionally, we develop a meshfree bidirectional in-/outflow buffer by
8: periodically relabelling buffer particles at each time step, a concept that
9: has not been explored before.
10: This simple yet effective buffer facilitates the simulation of
11: both uni- and bidirectional flows,
12: especially those with mixed in-/outflow boundary conditions.
13: We validate the accuracy and convergence of our method through benchmark cases
14: with available analytical solutions.
15: Furthermore, we demonstrate its versatility in hemodynamic simulations
16: by investigating generic carotid and aorta flows with the Windkessel model,
17: paving the way for studying the cardiovascular system
18: within a unified meshfree computational framework.
19: \end{abstract}
20: