New BC: problems with asking velocity vector
Dear foamers
I am making a new boundary condition that depends on the direction of the velocity vector U (if you is going in the positive Y direction, the inlet velocity should be U1 and if it it is going in the negative Y direction, velocity should be U2). It compiles but gives wrong results ( I think it is because the asked U value is not the velocity vector of the cell just above the boundary?) Code:
void Foam::myInletOutletWithNormalVel::updateCoeffs() // Thank you!!! |
All times are GMT -4. The time now is 11:23. |