|
[Sponsors] |
Keeps velocity gradient information available during computation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 9, 2015, 12:25 |
Keeps velocity gradient information available during computation
|
#1 |
New Member
Chenguang Zhang
Join Date: Jul 2012
Location: Baton Rouge Louisiana
Posts: 15
Rep Power: 13 |
Dear All,
I know in Fluent UDF velocity gradient can be accessed at any cell anytime by C_U_G(c, t), appears to me that Fluent has velocity gradient computed at every timestep and stored in memory so it is ready-to-use. In OpenFOAM only the primitive variables (p, U, tracer, etc) are stored (am I right?) and when you want to access derived variables such as their derivatives, you have to first compute it by yourself, this saves memory but also cause some trouble when you need those variables explicitly. So what's the best practice of solving this? Do I need to declare variables like "volVectorField velocityGradient(...)" before the time loop and update this variable at end of each loop, or there is a better way? Thank you! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF for defining a velocity gradient | mozkan26 | FLUENT | 2 | August 7, 2021 21:16 |
access to velocity gradient for Lagrangian particles | jiejie | OpenFOAM | 31 | December 2, 2016 04:56 |
velocity information in multiphase | hamid_reza | Fluent Multiphase | 0 | August 9, 2014 05:50 |
Surface normal velocity BC with zero gradient tangential, cylinder | c_dowd | OpenFOAM Running, Solving & CFD | 0 | May 25, 2013 07:22 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 09:11 |