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

Calculation of face vaules with udf

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 3, 2005, 03:04
Default Calculation of face vaules with udf
  #1
rom
Guest
 
Posts: n/a
I have got a problem with the calculation of face vaules from cell center values. For an interior face i could caculate the face value either from the c0 cell side or the c1 cell side, using the cell values and the gradient. For a species it looks like this

from c0

face_value0=C_YI(c0,c0thread,i)+NV_DOT(C_YI_G(c0,c 0thread,i),dr0)

and from c1

face_value1=C_YI(c1,c1thread,i)+NV_DOT(C_YI_G(c1,c 1thread,i),dr1)

dr is the vector from cell center to the face center. Both face values should be identical but unfortunatly they are not. I tried it on a sturcured meshe with full converged soultion. Is there any other way to get consistent values for the faces?

Thanks for any suggestions

RoM
  Reply With Quote

Reply


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
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 14:06
UDF for Heat Exchanger model francois louw FLUENT 2 July 16, 2010 03:21
I want to use pressure of 1 face in udf that compiled on other face iman_1844 Fluent UDF and Scheme Programming 3 June 10, 2010 13:55
Face loop in a Parallel UDF Dario FLUENT 4 May 10, 2007 09:34
Numerical calculation interFoam never finishes unoder OpenFOAM Running, Solving & CFD 9 October 18, 2005 06:00


All times are GMT -4. The time now is 23:22.