Reply To: How to create 2D triangle ?
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › How to create 2D triangle ? › Reply To: How to create 2D triangle ?
Does IndicatorTriangle2D
fullfill your requirements?
This will be available in the next release. Ordinarily I’d quickly backport it to 1.4 for you but the new indicator is tied to more comprehensive changes of the library and unfortunately not easy to extract.
In general, smooth indicators are used by the resolved particle code to model particles with a porous boundary layer (in HLBM). See e.g.
R. Trunk et al. “Towards the Simulation of arbitrarily shaped 3D particles using a homogenised lattice Boltzmann method”. In: Computers & Fluids 172 (2018). doi: https://doi.org/10.1016/j.compfluid.2018.02.027.