CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Velocity gradient in CEL

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 12, 2015, 05:02
Question Velocity gradient in CEL
  #1
Member
 
Siamak
Join Date: Jul 2014
Location: Australia
Posts: 36
Rep Power: 12
siamak1438 is on a distinguished road
Hey guys!
I am trying to use the command "Velocity u.Gradient X" and other similar commands to extract the velocity gradients. It shows that the unit of those variables is [1] or non-dimension, but the unit of velocity gradient should be [s^-1]. So, I am confused . I just was wondering the "Velocity u.Gradient X" or similar commands return the velocity such as du/dx or they are other variables!!??
Thank you for your help.
Cheers,
Siamak
siamak1438 is offline   Reply With Quote

Old   October 12, 2015, 06:43
Default
  #2
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
Then you are doing something wrong. Shown an example of your CEL code that give the wrong unit on Velocity u.Gradient X ?
Lance is offline   Reply With Quote

Old   October 12, 2015, 07:18
Default
  #3
Member
 
Siamak
Join Date: Jul 2014
Location: Australia
Posts: 36
Rep Power: 12
siamak1438 is on a distinguished road
Quote:
Originally Posted by Lance View Post
Then you are doing something wrong. Shown an example of your CEL code that give the wrong unit on Velocity u.Gradient X ?
for example when I use maxVal(Velocity u.Gradient X)@geom that should return the maximum of du/dx, it returns a number without unit. or when I am using volumeInt(Velocity u.Gradient X)@geom it returns m^3 but it should be m^3/s.
siamak1438 is offline   Reply With Quote

Old   October 13, 2015, 11:15
Default
  #4
Senior Member
 
Join Date: Jun 2009
Posts: 1,875
Rep Power: 33
Opaque will become famous soon enough
What version of ANSYS CFX are you using ?

I tried with ANSYS CFX R16.0, and the expressions you suggested return the correct units..
Opaque is offline   Reply With Quote

Old   October 13, 2015, 22:14
Default
  #5
Member
 
Siamak
Join Date: Jul 2014
Location: Australia
Posts: 36
Rep Power: 12
siamak1438 is on a distinguished road
Quote:
Originally Posted by Opaque View Post
What version of ANSYS CFX are you using ?

I tried with ANSYS CFX R16.0, and the expressions you suggested return the correct units..
I am using ANSYS 15.0. Please check the derivatives in CFD-Post and FLUENT, they are different! I contact with Ansys support center and they told me derivatives in CFD-Post and FLUENT are different!
“There may be substantial differences between gradients calculated in the Fluent solver and gradients calculated in CFD-Post. The Fluent solver uses options such as boundary treatments and limiters to calculate gradients; CFD-Post calculates gradients independently of the Fluent solver, and does not have access to all of the same data.”
siamak1438 is offline   Reply With Quote

Old   October 14, 2015, 09:20
Default
  #6
Senior Member
 
Join Date: Jun 2009
Posts: 1,875
Rep Power: 33
Opaque will become famous soon enough
Ok. You are post-processing Fluent results using CFD-Post R15.0

The comment from Ansys support does not apply here. The gradient computed in CFD-Post may be different in value, but the units must remain the same.
Opaque is offline   Reply With Quote

Old   October 15, 2015, 01:40
Default
  #7
Member
 
Siamak
Join Date: Jul 2014
Location: Australia
Posts: 36
Rep Power: 12
siamak1438 is on a distinguished road
Quote:
Originally Posted by Opaque View Post
Ok. You are post-processing Fluent results using CFD-Post R15.0

The comment from Ansys support does not apply here. The gradient computed in CFD-Post may be different in value, but the units must remain the same.
Yes. I have problem with both! It is not returning unit and the value is different. However, I decided to go back fluent and use custom field function to define& extract my desired parameters. Thank you for your replies.
siamak1438 is offline   Reply With Quote

Old   June 24, 2016, 02:35
Default velocity Gradient
  #8
New Member
 
hamide hayati
Join Date: Oct 2015
Posts: 28
Rep Power: 11
hamide is on a distinguished road
hi all
i'm using fluent 15;
i wanna compute "x-velocity gradient in y direction" and "y-velocity gradient in x direction" to calculate liftSaffman force. how can do this?
should i export "velocity u.Gradient Y" and "velocity v.Gradient x" from results or calculate them by my self from u and v exported from results?
hamide is offline   Reply With Quote

Old   June 24, 2016, 03:22
Default
  #9
Member
 
Siamak
Join Date: Jul 2014
Location: Australia
Posts: 36
Rep Power: 12
siamak1438 is on a distinguished road
Quote:
Originally Posted by hamide View Post
hi all
i'm using fluent 15;
i wanna compute "x-velocity gradient in y direction" and "y-velocity gradient in x direction" to calculate liftSaffman force. how can do this?
should i export "velocity u.Gradient Y" and "velocity v.Gradient x" from results or calculate them by my self from u and v exported from results?
Hi Hamide,
Velocity gradients will be calculated automatically by CFD-post, which they are termed “Velocity u.Gradient x” and similar expressions for others (you can access them in Variables/derived). They are a little bit different with those calculated by Fluent (check the following link in my reasearhcgate profile to more info https://www.researchgate.net/post/Ho...nt_in_CFD-Post).
If you wish to export the velocity gradients calculated by Fluent to use in the CFD-Post, you should select velocity gradients (dX-Velocity/dX and similar terms) in the “calculation activity” before simulation. In this case, they (DX velocity DX ,…. ) will appear in the CFD post (you can access them in Variables/Solution).
Regards,
Siamak
siamak1438 is offline   Reply With Quote

Old   June 24, 2016, 10:58
Default
  #10
New Member
 
hamide hayati
Join Date: Oct 2015
Posts: 28
Rep Power: 11
hamide is on a distinguished road
thank you siamak
i have an other question, when i export data from all domain of channel to excel format it begins from the end of channel (as i attached)!!! i don't know how to fix this problem!!!
Attached Files
File Type: xlsx data.xlsx (16.7 KB, 8 views)
hamide is offline   Reply With Quote

Old   June 24, 2016, 23:04
Default
  #11
Member
 
Siamak
Join Date: Jul 2014
Location: Australia
Posts: 36
Rep Power: 12
siamak1438 is on a distinguished road
Quote:
Originally Posted by hamide View Post
thank you siamak
i have an other question, when i export data from all domain of channel to excel format it begins from the end of channel (as i attached)!!! i don't know how to fix this problem!!!
I don't understand your question completely. Do you export data from fluent? Because your data is not too much, you can manually reverse in the excel file by sorting from smallest to largest or vice versa (make sure to select "expand selection" to sort other columns accordingly)
siamak1438 is offline   Reply With Quote

Old   June 25, 2016, 02:51
Default
  #12
New Member
 
hamide hayati
Join Date: Oct 2015
Posts: 28
Rep Power: 11
hamide is on a distinguished road
Quote:
Originally Posted by siamak1438 View Post
I don't understand your question completely. Do you export data from fluent? Because your data is not too much, you can manually reverse in the excel file by sorting from smallest to largest or vice versa (make sure to select "expand selection" to sort other columns accordingly)

yes, i export data from fluent.
thank you very much siamak for you help :-)
hamide is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF for defining a velocity gradient mozkan26 FLUENT 2 August 7, 2021 22:16
access to velocity gradient for Lagrangian particles jiejie OpenFOAM 31 December 2, 2016 05:56
Velocity gradient on Symmetry Boundary prikeyma FLUENT 2 September 2, 2011 07:16
Inlet Flow Velocity or pressure gradient - modeling of a Wind Turbine Blade case LittleBart Main CFD Forum 5 January 10, 2011 16:07
Velocity gradient Stephen Main CFD Forum 0 April 7, 2003 11:28


All times are GMT -4. The time now is 16:45.