CFD Online Logo CFD Online URL
Home > Forums > FLUENT

how to loop over a fluid zone and set heatflow

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

LinkBack Thread Tools Display Modes
Old   April 10, 2009, 18:00
Default how to loop over a fluid zone and set heatflow
New Member
Join Date: Mar 2009
Posts: 2
Rep Power: 0
kljosc is on a distinguished road

I have a horizontal prismatic fluid zone - with only one layer of cells - where I want to loop over all cells and set the heat consumed (evaporation) depending on the massfrac of a species and the massflow out of the zone (species-massfrac * y-component of cell_velocity * face_area) for this cell.

The goal is to model the evaporation of a small pool or puddle. The bottom side of this "controlzone" is a wall of the same area with an udf which calculates the massfrac depending on the surface temperature. This part works well but does not take into account the cooling effect by evaporation. This should be done by the above mentioned udf.
Heat flow from the solid zone below (soil) also works well (tested with fixed negativ heat in the controlzone).

Can someone tell me where to place the udf and which macro to use?
Should it be an udf hooked to the source term "Energy" with a DEFINE_SOURCE?

kljosc 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
How to set boundary layer of a moving body in GAMBIT to a mesh zone for dynamic mesh tomyangbath FLUENT 16 January 18, 2012 05:47
radiation transfer between solid and fluid zone shyang FLUENT 0 August 13, 2008 12:45
wall heat flux between two fluid zone!!! Asghari FLUENT 2 August 25, 2006 10:11
How to Set Up Pressure and Mass at a Fluid Zone??? Carlos V. FLUENT 3 June 14, 2006 07:35
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12

All times are GMT -4. The time now is 02:25.