|
[Sponsors] |
September 7, 2010, 04:47 |
Velocity gradient in previous timestep
|
#1 |
New Member
Matevz Dular
Join Date: May 2009
Posts: 11
Rep Power: 17 |
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 |
|
December 13, 2012, 13:07 |
|
#2 |
New Member
rasoul b
Join Date: Dec 2010
Location: iran
Posts: 13
Rep Power: 15 |
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 |
|
|
|
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 |