CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

Velocity gradient in previous timestep

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

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

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?

mateus is offline   Reply With Quote

Old   December 13, 2012, 14:07
New Member
rasoul b
Join Date: Dec 2010
Location: iran
Posts: 13
Rep Power: 9
rasoulb is on a distinguished road
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.

rasoulb is offline   Reply With Quote


Thread Tools
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 On
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 18: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 16:57.