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 199 forks source link

Is it possible to create the emitter by using shape? #550

Closed FengWang3119 closed 1 month ago

FengWang3119 commented 1 month ago

Generally, we create emitter by using emitter_translation and emitter_halfsize, as shown in picture. image But, is it possible to construct this emitter by importing a multipolygon that consists of some points ? I need to extrude the emitter but currently I could't find the interface to designate the shape without using translation and halfsize

Xiangyu-Hu commented 1 month ago

Now, the emitter shape must be an aligned box. Why you need a extrude emitter? Is there an alternative approach?