|April 10, 2009, 18:00||
how to loop over a fluid zone and set heatflow
Join Date: Mar 2009
Posts: 2Rep Power: 0
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?
|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|