Dear Behnamandi
The partial slip boundary condition is already available via the function void addPartialSlipBoundary(...)
, listed in boundaryCondition2D.h/boundaryCondition2D.hh
. An example of its usage is also available in examples/laminar/poiseuille2d/
and examples/laminar/poiseuille3d/
– you will have to use boundaryType == partialSlip
in those code examples.
Regards
Sthavishtha