Skip to content

Reply To: compressibility effects

#5070
duldul
Participant

I have one more doubt I want to implement outflow boundary conditions in plane-Poiseuille flow. For this I am using below conditions at the outlet (right boundary). nx is no of nodes in x-direction and j will vary from zero to ny.
f[nx-1][j][3] = f[nx-2][j][3]
f[nx-1][j][6] = f[nx-2][j][6]
f[nx-1][j][7] = f[nx-2][j][7]
Am I correct in doing this.
Numbering in D2Q9 is as follows:
625
301
748

Regards
Duldul