CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

How to calculate the divergence of velocity

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By sbaffini

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 14, 2021, 04:10
Post How to calculate the divergence of velocity
  #1
New Member
 
Wang Yanqing
Join Date: Mar 2021
Posts: 3
Rep Power: 5
Proxima is on a distinguished road
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!
Proxima is offline   Reply With Quote

Old   March 14, 2021, 04:35
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
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.
FMDenaro is offline   Reply With Quote

Old   March 14, 2021, 04:50
Default
  #3
New Member
 
Wang Yanqing
Join Date: Mar 2021
Posts: 3
Rep Power: 5
Proxima is on a distinguished road
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.
Proxima is offline   Reply With Quote

Old   March 14, 2021, 05:26
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Proxima View Post
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.

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.
FMDenaro is offline   Reply With Quote

Old   March 14, 2021, 08:42
Default
  #5
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,192
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
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.
arjun likes this.
sbaffini is offline   Reply With Quote

Reply

Tags
divergence in fluent


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 Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 12:19.