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

Velocity gradient in previous timestep

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 7, 2010, 04:47
Default Velocity gradient in previous timestep
  #1
New Member
 
Matevz Dular
Join Date: May 2009
Posts: 11
Rep Power: 17
mateus is on a distinguished road
Hi,

I need to write an UDF where velocity gradients in current and previous timestep are included.

As far as I understand gradients from previous timestep cannot be called directly (like for the current time - for example C_DUDX(c,t)). I guess the easiest way (the only way) is to use velocity from previous time step (C_U_M1(c,t)) and calculate the gradient... But I cannot find a macro for the cell size... and also what happens when I use unstructured mesh?
Where is it written how Fluent calculates the velocity gradient?

Thanks,
Mateus
mateus is offline   Reply With Quote

Old   December 13, 2012, 13:07
Default
  #2
New Member
 
rasoul b
Join Date: Dec 2010
Location: iran
Posts: 13
Rep Power: 15
rasoulb is on a distinguished road
Hi,
I have the same problem in my UDF and I need Velocity gradient in previous time step. if you find solution for this problem please help me.

thanks
rasoulb 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
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 15:45
How to calculate gradient of pressure and velocity on an outlet face skabilan OpenFOAM Running, Solving & CFD 2 December 8, 2008 17:26
FLUENT - velocity gradient Sue Main CFD Forum 1 May 8, 2006 15:09
Neumann pressure BC and velocity field Antech Main CFD Forum 0 April 25, 2006 02:15
Velocity Under-relaxation in SIMPLE type methods Matt U. Main CFD Forum 6 July 4, 2005 05:29


All times are GMT -4. The time now is 08:49.