Xiangyu-Hu / SPHinXsys

SPHinXsys provides C++ APIs for engineering simulation and optimization. It aims at complex systems driven by fluid, structure, multi-body dynamics and beyond. The multi-physics library is based on a unique and unified computational framework by which strong coupling has been achieved for all involved physics.
https://www.sphinxsys.org/
Apache License 2.0
259 stars 197 forks source link

upload the improved boundary condition #539

Closed ShuoguoZhangTUM closed 1 month ago

ShuoguoZhangTUM commented 1 month ago

upload the improved boundary condition

Xiangyu-Hu commented 1 month ago

@ShuoguoZhangTUM could you give itemized explanation on the changes? Thanks.

ShuoguoZhangTUM commented 1 month ago

In this version, I modify the pressure boundary file and the bidirectional buffer file For the pressure boundary, now I use the template to define the velocity profile, and the bodyalignedbox to define the buffer region. For the bidirectional buffer, now I use the template to prescribe pressure on populating particles. Here, I consider two cases: the bidirectional buffer works with pressure boundary and velocity boundary, respectively.