Accessing velocity components and gradient of velcoity components
Dear All,
I am trying to implement a SGS model in openFOAM for incompressible flows. For that i am using existing constant Smagorinsky model implementation. For my SGS model, I need to access cell velocity components and gradU components. Can anybody help me out how can i access these components. Thanks and Regards, vivek |
Quote:
I also meet this problem, thank you! |
U_.component(direction)
I also think calling .x(), .y(), .z() should work. This should work for both since grad() also returns a vectorField. |
Quote:
Thanks for your reply!:D |
All times are GMT -4. The time now is 06:31. |