|
[Sponsors] |
Accessing velocity components and gradient of velcoity components |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 11, 2014, 12:22 |
Accessing velocity components and gradient of velcoity components
|
#1 |
New Member
vivek
Join Date: Aug 2010
Posts: 2
Rep Power: 0 |
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 |
|
June 25, 2022, 04:27 |
|
#2 | |
New Member
Xingguang Zhou
Join Date: May 2022
Location: CHINA
Posts: 14
Rep Power: 4 |
Quote:
I also meet this problem, thank you! |
||
June 27, 2022, 03:24 |
|
#3 |
Member
Join Date: Jan 2022
Location: Germany
Posts: 72
Rep Power: 4 |
U_.component(direction)
I also think calling .x(), .y(), .z() should work. This should work for both since grad() also returns a vectorField. |
|
June 27, 2022, 03:39 |
|
#4 | |
New Member
Xingguang Zhou
Join Date: May 2022
Location: CHINA
Posts: 14
Rep Power: 4 |
Quote:
Thanks for your reply! |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF for defining a velocity gradient | mozkan26 | FLUENT | 2 | August 7, 2021 22:16 |
Natural convection in a closed domain STILL NEEDING help! | Yr0gErG | FLUENT | 4 | December 2, 2019 01:04 |
Transformation of a cartesian velocity gradient volTensorField to cylindrical coord. | alexey7783 | OpenFOAM | 5 | April 26, 2012 19:29 |
Re: How to access Gradient components. | creddy_trddc | CFX | 2 | December 29, 2010 00:21 |
Setting velocity gradient as BC at opening | Antonis | CFX | 2 | August 15, 2006 08:56 |