Extrapolation Outflow Boundary
This MR adds an outflow boundary condition to lbmpy which mimics a zero normal gradient in density and velocity across the boundary. To achieve this, the required outbound populations of the boundary node are taken from the neighboring fluid node in the normal direction (nx, ny) :
Of course, populations not streaming back into the domain are omitted. For example, for an outflow at max X in the D2Q9 lattice and the pull streaming pattern, these equations are obtained:
The normal direction needs to be passed to the boundary object upon construction. This means that if your domain has multiple outflows on different sides or outflows across corners, seperate boundary objects are required for each direction (including the diagonal direction of the corner).
Merge request reports
Activity
added 5 commits
-
8228ee37...678873dd - 4 commits from branch
pycodegen:master
- 070f04c4 - Merge branch 'master' into extrapolation_outflow
-
8228ee37...678873dd - 4 commits from branch
added 5 commits
-
070f04c4...93093c12 - 2 commits from branch
pycodegen:master
- 04c9f57d - Merge i10git.cs.fau.de:pycodegen/lbmpy into extrapolation_outflow
- d32f3b5d - Added draft of outflow boundaries
- fa923950 - Extrapolation BC
Toggle commit list-
070f04c4...93093c12 - 2 commits from branch
added 1 commit
- fcbec079 - Extracted interpolated PDF value to subexpression
added 1 commit
- 713a78e5 - Implemented initialization by copy + improved AccessPdfValues API
added 1 commit
- 581feec6 - ExtrapolationOutflow initialization to equilibrium with initial density/velocity
added 1 commit
- af5ab6b3 - disabled dummification for backward-compatibility
added 1 commit
- 4ad603ac - Equilibrium input parameters are now passed in order
enabled an automatic merge when the pipeline for f45bc60c succeeds
mentioned in commit 0023726c