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

fixed value in the domain for a UDS in case of multiphase flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 30, 2010, 01:11
Default fixed value in the domain for a UDS in case of multiphase flow
  #1
New Member
 
sm
Join Date: Jun 2009
Posts: 15
Rep Power: 16
swati_mohanty is on a distinguished road
Dear all,

I need to calculate the UDS once for the domain, which will be fixed. I will be using the gradient of this UDS for subsequent calculations. I have used C_CENTROID(x,c,t) to get the co-ordinates, which I use for calculation of F_PROFILE(f,t,i). I then hook this profile to UDS. However, when I plot the contour of UDS, it does not show what I desire. I try compiling the same code for UDS outside FLUENT and plot the contour, I get the correct result. Could somebody help why the values are different. Does, F_PROFILE store the x and y cordinates for the point for which the calculations are being made.
with thanx

sm
swati_mohanty is offline   Reply With Quote

Old   November 30, 2010, 01:54
Default
  #2
New Member
 
Kristian Etienne Einarsrud
Join Date: Oct 2010
Location: Trondheim
Posts: 29
Rep Power: 15
KristianEtienne is on a distinguished road
Hi,

My guess is that your problems are because of C_CENTROID finds the coordinates of the cell center, while F_PROFILE refers to the faces on this cell. The coordinates are different for the cell center than for the face center, so if you are using the centroid of the cell to compute the gradient and imposing it at a face, you will not get what you expect.

Compare for instance the face value F_UDSI(f,ft,uds0) to the cell value C_UDSI(c,ct,uds0) and you will see a difference in these also.

Cheers!
KristianEtienne is offline   Reply With Quote

Old   November 30, 2010, 03:17
Default
  #3
New Member
 
sm
Join Date: Jun 2009
Posts: 15
Rep Power: 16
swati_mohanty is on a distinguished road
Dear Kristian,

Thanx for your reply. But even after making the changes I do not get the desired results. In fact the deviation is very large. That's why I wonder what are the coordinates of the point at which F_PROFILE is being calculated. Kindly refer to Fluent 6.3 UDF Manual, pg 2-74, where they have used C_CENTROID and F_PROFILE.

sm
swati_mohanty is offline   Reply With Quote

Reply

Tags
c_centroid, fixed value, f_profile, uds


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
Domain Reference Pressure and mass flow inlet boundary AdidaKK CFX 75 August 20, 2018 05:37
Multi flow in two different domain arunss CFX 3 May 11, 2010 16:06
Ansys 11.0 CFX - solving electric potentials and multiphase flow cfd_multiphyiscs CFX 2 March 10, 2010 13:43
multiphase in multiple domain problem cosine CFX 2 January 3, 2010 16:12
About the multiphase flow Xue FLUENT 4 September 19, 2008 13:05


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