1.1.4.3. Ghost Cell Boundary Conditions¶
1.1.4.3.2. Fractional Step Method or Projection Method¶
1.1.4.3.2.1. Method used by Rempfer (2006)¶
Step 1: Omit pressure term in NS and find intermediate velocity - for explicit formulation (we could use implicit):
Step 2: Apply no slip boundary condition:
Step 3: \(\mathbf{u}^*\) is not necessarily divergence free, so restore divergence free velocity by introducing a “projector” \(\tilde{p}\): (this is the projection in the Pressure Projection Method)
Step 4: Apply Continuity Equation at \(n+1\) (divergence free condition):
Step 5: Apply boundary condition using normal vector:
Observations: \(\tilde{p}\) is not identical with pressure - we have taken two steps so the equations contain an error. The pressure is a pseudo pressure (numerical pressure) - all it does is correct the velocity so it’s divergence free
Kim and Moin (1984) Say that the pressure, p is given by:
Equation for \(\tilde{p}\)
By considering BCs (8) (11) \(\Rightarrow \quad \left . \mathbf{n} \cdot \nabla \tilde{p}^{n+1} \right |_\Gamma = 0\)
Or:
i.e. homogeneous Neumann Boundary Condition
Highly controversial issue
1.1.4.3.2.2. Method by Gresho and Sani (1987)¶
Another paper has an alternate method - take the normal of the momentum equation at the boundary to set pressure normal to boundary, everywhere else use Poisson Equation, Continuity Equation and ordinary Momentum Equation, i.e.
and
these imply
also
Again this gives a Neumann boundary condition - but Rempfer says that this is not correct
It looks like one method says that the velocity should be normal to the boundary and the other that pressure should be normal to the boundary.
1.1.4.3.2.3. Method by Kim and Moin¶
Say that pressure boundary conditions are not important because of the use of a staggered grid - could be naive
1.1.4.3.3. Ghost Cells¶
1.1.4.3.3.1. Method by Harlow and Welsh¶
Use of “Ghost Cells” - for reflection of field variables near a wall.
Normal pressure is not a condition set directly at the wall, but implied by the values either side of the wall.
The same is true for velocity.
Hence, in this scheme there is no difference between the opinions of Rempfer (2006) and Gresho and Sani (1987), although the opinion of Kim and Moin (1984) is clearly slightly misleading.
1.1.4.3.3.2. Boundary Conditions at Rigid Walls¶
Rigid walls may be of two types:
No-slip
Free-slip (could be a plane of symmetry - or a greased surface)
At the wall \(v = 0\)
On the fluid side \(v \ne 0\)
On the outside \(v' = -v\) (no slip)
On the outside \(v' = +v\) (free slip)
Harlow and Welch use these velocity BCs in order to set the pressure BCs using “Ghost Cells”. The velocity at the wall is not set directly, but is implied by the pressure BCs.
Free slip wall¶
Vertical wall: from the momentum equation for \(u\) (with the reversal of all normal velocities and no change in the tangential velocity):
For a wall at \(i+{1 \over 2}\), the implied wall velocity \(\forall j\) is:
In the Ghost Cell, the velocities are:
Hence, the pressure BCs to set is:
\(+ \Rightarrow\) fluid is on the left of the wall
\(- \Rightarrow\) fluid is on the right of the wall
Similarly for a Horizontal wall at \(j + {1 \over 2}\):
\(+ \Rightarrow\) fluid is below the wall
\(- \Rightarrow\) fluid is above the wall
No slip wall¶
Vertical wall: from the momentum equation for \(u\) (with the reversal of all tangential velocities and no change in the normal velocity):
For a wall at \(i+{1 \over 2}\), the implied wall velocity \(\forall j\) is:
In the Ghost Cell, the velocities are:
Hence, the pressure BCs to set is:
\(+ \Rightarrow\) fluid is on the left of the wall
\(- \Rightarrow\) fluid is on the right of the wall
Similarly for a Horizontal wall at \(j + {1 \over 2}\):
\(+ \Rightarrow\) fluid is below the wall
\(- \Rightarrow\) fluid is above the wall

