|
[Sponsors] |
May 9, 2019, 04:14 |
When / how to use vector2D, tensor2D
|
#1 |
Senior Member
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 314
Rep Power: 15 |
Good morning,
I'm debugging a turbulence model implementation, where I consider a 3D vector V. This vector is not introduced in any PDE, it's just computed algebraically I am doing some 2D simulations to debug the code, and I find that the 3rd component, where there is no flow and therefore V(k)=0, it provides non zero values. I apply the command Code:
V.correctBoundaryConditions() but I still face this problem. I suppose that since I'm not using V in any PDE, the empty condition is not applied. I have implemented an fvOption to introduce zero values in that coordinate, but then I though about the 2D implementations. How do they work? Would they be suitable for my case? Thank you in advance! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Possible bug with tensor2D | deepsterblue | OpenFOAM Bugs | 3 | December 10, 2009 16:08 |