|
[Sponsors] |
March 14, 2021, 04:10 |
How to calculate the divergence of velocity
|
#1 |
New Member
Wang Yanqing
Join Date: Mar 2021
Posts: 3
Rep Power: 5 |
Hi, i want to get the divergence of velocity field, and i have calculated the gradient of velocity on tecplot. When using equation DuDx+DvDy+DwDz to get divergence i find it is not equal 0 in incompressible fluid. can Anyone help me?
Thank you! |
|
March 14, 2021, 04:35 |
|
#2 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
There are a lot of possible reasons. Provide more details about the source of your velocity field. Consider that in a numerical code it is also possible that you do not satisfy exactly the div v =0 constraint. But if you want to assess, you must use the same discrete operators used in the code.
|
|
March 14, 2021, 04:50 |
|
#3 |
New Member
Wang Yanqing
Join Date: Mar 2021
Posts: 3
Rep Power: 5 |
I am using ansys fluent to do my sumulation, second order upwind discrete on v and p. div v equal 0.5,1 or even smaller in almost domain, but it equal 50 in somewhere.
|
|
March 14, 2021, 05:26 |
|
#4 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73 |
Quote:
What you have to do is the check in Fluent, computing the div v field in Tecplot without using the same scheme used in Fluent makes no sense. First of all, you have to assess if Fluent provide the correct divergence-free field. |
||
March 14, 2021, 08:42 |
|
#5 |
Senior Member
|
Also, as Fluent uses the Rhie-Chow approach for colocated meshes, your divergence free field will also nees a pressure part.
Your best shot is directly exporting the mass fluxes on the faces. |
|
Tags |
divergence in fluent |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How can I calculate and plot time-average velocity in Transient Simulation? | Islam Ramadan | FLUENT | 4 | January 26, 2024 15:10 |
how to calculate water average velocity in free surface models | hmasenger | CFX | 22 | October 30, 2019 20:28 |
How to calculate the axial velocity dispersion in CFD-Post? | mayj | CFX | 4 | February 20, 2015 02:04 |
UDF source using divergence of velocity | ajene | Fluent UDF and Scheme Programming | 0 | November 2, 2014 15:09 |
Divergence problem | Smaras | FLUENT | 13 | February 21, 2013 06:03 |