aboutsummaryrefslogtreecommitdiff
path: root/src/boundary_conditions.h
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-10-16 12:44:24 +0200
committerAdrian Kummerlaender2018-10-16 12:44:24 +0200
commit2bcbae122b141147e472bdbbad219c3571f71d0b (patch)
treee4e0f67dbe052708a8259da4247fa025d182efcf /src/boundary_conditions.h
parentd1d96371a0d857bf874d6370c17595ffa0bfeaec (diff)
downloadboltzbub-2bcbae122b141147e472bdbbad219c3571f71d0b.tar
boltzbub-2bcbae122b141147e472bdbbad219c3571f71d0b.tar.gz
boltzbub-2bcbae122b141147e472bdbbad219c3571f71d0b.tar.bz2
boltzbub-2bcbae122b141147e472bdbbad219c3571f71d0b.tar.lz
boltzbub-2bcbae122b141147e472bdbbad219c3571f71d0b.tar.xz
boltzbub-2bcbae122b141147e472bdbbad219c3571f71d0b.tar.zst
boltzbub-2bcbae122b141147e472bdbbad219c3571f71d0b.zip
Implement moving wall / velocity Dirichlet boundary condition
Usable as both the inflow condition of the channel example and the top wall of a lid driven cavity.
Diffstat (limited to 'src/boundary_conditions.h')
-rw-r--r--src/boundary_conditions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/boundary_conditions.h b/src/boundary_conditions.h
index 6b7de19..5f528e1 100644
--- a/src/boundary_conditions.h
+++ b/src/boundary_conditions.h
@@ -5,4 +5,6 @@
void computeWallCell(DataCellBuffer& pop, Vector<std::size_t> cell, Vector<int> normal);
+void computeMovingWallCell(DataCellBuffer& pop, Vector<std::size_t> cell, Vector<int> normal, Vector<double> u);
+
void computeZouHeVelocityWallCell(DataCellBuffer& pop, Vector<std::size_t> cell, Vector<int> normal, double vX);