CFD Online Logo CFD Online URL
Home > Forums > FLUENT

How to store the variable on internal faces to calculate UDS_FLUX?

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

LinkBack Thread Tools Display Modes
Old   October 28, 2009, 15:22
Default How to store the variable on internal faces to calculate UDS_FLUX?
New Member
Join Date: Apr 2009
Posts: 16
Rep Power: 8
bigfans is on a distinguished road
I am writing a UDS_FLUX udf to calculate the fluxes through all faces in my domain. The Fluent manual provides an example for this function, but the fluxes on internal faces are calculated from the average velocity of two adjacent cells, which often overshoots/offshoots my fluxes even the continuity is satisfied very well. So I want to access the F_FLUX of my scalar directly on these internal faces. Here F_FLUX is the flux of my scalar rather than the flux of the flow field I am calculating (the motion of my scalar is independent of the flow field I am calculating).

So I want to store F_FLUX of my scalar on internal faces, but the Fluent UDF manual says that the F_UDSI and F_UDMI can only be used for boundary faces. So how can I fulfill my goal?

Thanks a lot!
bigfans is offline   Reply With Quote


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
DecomposePar unequal number of shared faces maka OpenFOAM Pre-Processing 6 August 12, 2010 09:01
Problem in IMPORT of ICEM input file in FLUENT csvirume FLUENT 2 September 9, 2009 01:08
Unaligned accesses on IA64 andre OpenFOAM 5 June 23, 2008 10:37
error in COMSOL:'ERROR:6164 Duplicate Variable' bhushas Main CFD Forum 1 May 30, 2008 04:35
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 21:09

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