how symmetry bc is applied for a tensor ?
Hello,
I want to understand how the symmetry boundary condition is applied for a tensors of rank 1 and above in OF. Say at a wall with normal n and a velocity vector V at adjacent cell, I think it would be like Code:
Vsymm = V - dot(V,n); thanks |
Ok I found how it is applied in OF
Code:
tmp<vectorField> nHat = this->patch().nf(); But then it doesn't adjust its magnitude to equal the original vector, like I tried to do in my post above. Is this correct ? |
All times are GMT -4. The time now is 12:35. |