Issue/feature addressed
Please provide a description of the problem your changes address. Be sure to link to any related items in the issue tracker.
Generally, the no-slip condition should be satisfied on the solid wall. For hydrophobic materials, however, partial slip on the wall is allowed. This merge request added an implementation of a partial slip boundary condition with a constant slip length.
This merge request is also a preparation for the wall model branch !1266
Proposed solution
A summary of the proposed changes and how they address the issue/feature at hand. Whenever possible, describe alternatives your considered and decisions you made.
The partial-slipe model is set as a Dirichlet-type boundary condition, where the boundary velocity equals the multiplication of the slip length and wall-normal velocity gradient. The slip length is specified in the boundary condition.
Implementation
A more detailed description of the changes. Please include any details necessary for reviewers to understand your work, and point out particular points would like them to pay particular attention to.
A function EvaluateWallModeledVelocityBCs is added to evaluate the wall velocity in the partial-slip boundary condition.
Tests
Notes
Please add any other information that could be useful for reviewers.
Checklist
-
Functions and classes, or changes to them, are documented. -
User guide/documentation is updated. -
Changelog is updated. -
Suitable tests added for new functionality. -
Newly added files are correctly formatted. -
License added to any new files. -
No extraneous files have been added (e.g. compiler output or test data files).