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

Velocity gradient tensor

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 23, 2011, 10:33
Default Velocity gradient tensor
  #1
New Member
 
kumaran
Join Date: Jan 2011
Posts: 4
Rep Power: 15
kumaran is on a distinguished road
Hello there,

could anyone suggest how to extract second invariant of the velocity gradient tensor from fluent?

I am using Fluent v12

Thanks
kumaran is offline   Reply With Quote

Old   January 24, 2011, 08:06
Default
  #2
Member
 
Nikolopoulos Aristeidis
Join Date: Jan 2011
Location: Athens, Greece
Posts: 62
Rep Power: 15
Nikolopoulos is on a distinguished road
Yes i know how you should do it!

I did it for calculation of frictional solid viscocity in Euler -Eule granular material simulation.

If you want the IId in a UDF you should obtain the derivatives of velocity in each direction
(C_DUDX(cell, thread), C_DVDX(cell, thread), C_DWDX(cell, thread) etc. (check the command in the UDF manual).

and then just use the formula. ND_ND parameter will help you in order to obtain a code that works for 2-D and 3-D.

If you want the IId just for plotting define a custom field function (Fluent -> Define -> define a custom field function )


Be careful in this: Are you sure that you want to calculate the second invariant of gradU??? Or you want the second invariant of the deviatoric part of rate-of-strain tensor?
Nikolopoulos is offline   Reply With Quote

Old   January 25, 2011, 08:56
Default
  #3
New Member
 
kumaran
Join Date: Jan 2011
Posts: 4
Rep Power: 15
kumaran is on a distinguished road
hello Nikolopoulos,

thank you for your response.

I am looking for the IId of gad U to look at the coherent vortices in 3D.

i am not that familiar with the UDF.. do you mind sharing the UDF file that has the skeleton? so that i can try to modify it ?

Thanks
kumaran is offline   Reply With Quote

Old   January 26, 2011, 02:31
Default
  #4
Member
 
Nikolopoulos Aristeidis
Join Date: Jan 2011
Location: Athens, Greece
Posts: 62
Rep Power: 15
Nikolopoulos is on a distinguished road
Do you want it only for post process?
Nikolopoulos is offline   Reply With Quote

Old   January 26, 2011, 03:15
Default
  #5
New Member
 
kumaran
Join Date: Jan 2011
Posts: 4
Rep Power: 15
kumaran is on a distinguished road
hi,

yes. i want only for post process to see the streamwise vortices in teh midsection of the domain

Thanks
kumaran is offline   Reply With Quote

Old   January 25, 2012, 04:00
Default udf for velocity tensor
  #6
New Member
 
studen
Join Date: Jan 2012
Posts: 12
Rep Power: 14
studen is on a distinguished road
hi kumaran and nick, i also need to see the velocity tensor for my simulation can u pls share the udf file.

regards and thnks in advance
studen is offline   Reply With Quote

Reply


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
Transformation of a cartesian velocity gradient volTensorField to cylindrical coord. alexey7783 OpenFOAM 5 April 26, 2012 19:29
About deformation gradient tensor ZHANG Main CFD Forum 0 June 18, 2007 13:51
UDF sample for velocity gradient J.Y.Shin FLUENT 2 January 19, 2007 19:04
velocity gradient Merinadica FLUENT 0 December 16, 2006 05:53
Second invariant of velocity Gradient Funda Siemens 2 September 28, 2004 07:18


All times are GMT -4. The time now is 07:30.