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

divergence-free velocity field - 2D problem

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 30, 2008, 11:23
Default divergence-free velocity field - 2D problem
  #1
pres
Guest
 
Posts: n/a
Hello,

I took the velocity gradients for the solution of 2D flow in the DEFINE_ADJUST() as below

dudx = C_U_G(c,t); dvdy = C_V_G(c,t);

DIV = dudx + dvdy;

and I obtained the values of DIV different than zero. How this is possible? Is there any kind of numerical error here?
  Reply With Quote

Old   May 31, 2008, 12:28
Default Re: divergence-free velocity field - 2D problem
  #2
pres
Guest
 
Posts: n/a
In order to complete my question I have to mention that the velocity gradients were defined in the following way:

dudx = C_U_G(c,t)[0]; dvdy = C_V_G(c,t)[1];

DIV = dudx + dvdy;

this results in non-zero values of DIV ?

  Reply With Quote

Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Morphology Divergence of a boundary patch field ngj OpenFOAM Running, Solving & CFD 42 June 3, 2015 09:46
How to get Pressure field from velocity field qunwuhe@hotmail.com Main CFD Forum 4 October 14, 2007 07:38
Divergence free initial field maka OpenFOAM Pre-Processing 2 October 26, 2005 08:52
velocity field divergence? gh FLUENT 0 July 6, 2005 11:10
Divergence Free on the Magnetic Field Valdemir Main CFD Forum 1 March 19, 2003 19:33


All times are GMT -4. The time now is 06:16.