|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Matevz Dular
Join Date: May 2009
Posts: 11
Rep Power: 18 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
rasoul b
Join Date: Dec 2010
Location: iran
Posts: 13
Rep Power: 16 ![]() |
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 |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATTENTION! Reliability problems in CFX 5.7 | Joseph | CFX | 14 | April 20, 2010 16: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 16:09 |
Neumann pressure BC and velocity field | Antech | Main CFD Forum | 0 | April 25, 2006 03:15 |
Velocity Under-relaxation in SIMPLE type methods | Matt U. | Main CFD Forum | 6 | July 4, 2005 06:29 |