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

use of face areas in flux function

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 31, 2005, 08:09
Default use of face areas in flux function
  #1
Andrew Garrard
Guest
 
Posts: n/a
I am I trying to solve for the following UDS flux function using the DEFINE_UDS_FLUX macro:

alpha del.(UDS0) or alpha nabla(UDS0)

I got this UDF (simplified) back from the fluent guys:

F_AREA(A, f, thread);

duds0dx = C_UDSI_G(c0, tc0, 0)[0];

dudsi0dy = C_UDSI_G(c0, tc0, 0)[1];

return alpha * (duds0dx*A[0] + duds0dy*A[1]);

My question is this: Do I need the face areas A[0] and A[1] in my return function? They are playing havoc with my results and making thre returned function look rather unphysical. Any comments would be greatly appreciated.

  Reply With Quote

Old   February 1, 2005, 14:46
Default Re: use of face areas in flux function
  #2
Giordano Bruno
Guest
 
Posts: n/a
Hi Andrew, I think these expressions are correct if you have to define the term del(alpha del[UDS0]) as in your old message, in this way you convert a volumetric term in a flux. About the face areas: ...you have to watch if they are positive or negative, maybe this changes your resuls???Let me know... and please, if you can, give a look to my last message http://www.cfd-online.com/Forum/fluent.cgi?read=24397 .

Giordano Bruno
  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
how to get the flux when particle passing through a cell face uvwxyz98765 FLUENT 0 June 11, 2011 01:00
Compilation errors in ThirdPartymallochoard feng_w OpenFOAM Installation 1 January 25, 2009 07:59
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 08:36
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51
face areas UDF Andrew Garrard FLUENT 0 October 19, 2004 10:55


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