|
[Sponsors] |
How to store the variable on internal faces to calculate UDS_FLUX? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 28, 2009, 15:22 |
How to store the variable on internal faces to calculate UDS_FLUX?
|
#1 |
New Member
realworld
Join Date: Apr 2009
Posts: 16
Rep Power: 17 |
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! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DecomposePar unequal number of shared faces | maka | OpenFOAM Pre-Processing | 6 | August 12, 2010 10:01 |
Problem in IMPORT of ICEM input file in FLUENT | csvirume | FLUENT | 2 | September 9, 2009 02:08 |
Unaligned accesses on IA64 | andre | OpenFOAM | 5 | June 23, 2008 11:37 |
error in COMSOL:'ERROR:6164 Duplicate Variable' | bhushas | COMSOL | 1 | May 30, 2008 05:35 |
Replace periodic by inlet-outlet pair | lego | CFX | 3 | November 5, 2002 21:09 |