Open PhiSpel opened 3 months ago
The PeriodicPressureBC in https://github.com/lettucecfd/lettuce/blob/master/examples/porous_medium.ipynb can not really work with the current setup. We need to reconsider the "collision-or-boundary->streaming" workflow.
PeriodicPressureBC
Use also no_streaming_mask to identify individual boundaries, rather than only a boolean tensor of shape [q,x,y,z]
collision
Flow
Boundary()
May be related to #182
Is your proposal related to a problem?
The
PeriodicPressureBC
in https://github.com/lettucecfd/lettuce/blob/master/examples/porous_medium.ipynb can not really work with the current setup. We need to reconsider the "collision-or-boundary->streaming" workflow.Describe the solution you'd like
Use also no_streaming_mask to identify individual boundaries, rather than only a boolean tensor of shape [q,x,y,z]
Describe alternatives you've considered
collision
toFlow
, such that it can be used inBoundary()
callAdditional context
May be related to #182
PeriodicPressureBC
in https://github.com/lettucecfd/lettuce/blob/master/examples/porous_medium.ipynb