Application of boundary conditions at cell center
I would like to implement a wall boundary condition such that nuSGS is specified at the CELL CENTER of the cell adjacent to the wall instead of the cell face.
Can anyone give me any direction in doing this?
Well, if it is in a cell centre, it is not a boundary condition, right?
I guess what you want to do is to fix a value in a cell by eliminating the equation from the matrix. For this purpose you need something called "constraint". Have a look at how eg a pressure equation fixes the reference level.
I think you can also use setValues() which is a member of fvScalarMatrix.
|All times are GMT -4. The time now is 20:43.|