|
[Sponsors] |
May 9, 2011, 11:48 |
using face information in a cell-based macro
|
#1 |
New Member
Join Date: May 2011
Posts: 18
Rep Power: 15 |
Hello all,
I am hoping to define an energy source term for my model. The source is a balance of radiation and some other information. The issue is that the radiation information can only be extracted from the face (as far as I know, since it is a flux quantity), while the source term can only be added to the cells. Does anyone know how I can use face information in a cell-based macro? Thanks |
|
May 9, 2011, 12:45 |
adding src frm face to cell
|
#2 | |
Senior Member
|
Loop on all faces, add source/sink terms on the cells sharing the FACE.
How do you think - convective flux term is added to the transport eqn Cheers, CFDtoy Quote:
__________________
CFDtoy |
||
May 10, 2011, 18:42 |
|
#3 |
New Member
Join Date: May 2011
Posts: 18
Rep Power: 15 |
Any idea on how to do that in FLUENT? What you describe is the concept I had in mind, but I do not know how to code it.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to determine the direction of cell face vectors on processor patches | sebastian_vogl | OpenFOAM Programming & Development | 1 | October 11, 2016 14:17 |
channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 14:06 |
Macro existing for calculating a cell surface? | maximeg | OpenFOAM Post-Processing | 7 | July 13, 2010 14:30 |
how to access to the face value of VOF of each cell | Wei Shao | Fluent UDF and Scheme Programming | 2 | November 5, 2009 11:16 |
Face based gradient calculation | Bernhard Kubicek | Main CFD Forum | 1 | February 12, 2008 17:34 |