CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

warm flux in cold ambient air

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

LinkBack Thread Tools Display Modes
Old   October 19, 2010, 04:23
Default warm flux in cold ambient air
New Member
Laurence Wallian
Join Date: Mar 2009
Posts: 17
Rep Power: 10
Laurence Wallian is on a distinguished road

I suppose other people have already been concerned with a similar case : modelling a warm flux in a rather steady cold chamber.

Usualy, I used to make cold air coming from one side of the chamber at low speed (Velocity-inlet=0.1m/s) and leaving the domain on the opposite side defined as an outflow.

Here is another way to do : an equal number of sources and wells are defined on the limits of the domain, which faces are chosen as velocity_inlet.

as examples you can have a look at files joined:
- Geo3D.txt ( meshing -> gambit -inp Geo3D.txt) : a box having an outlet on its up face, and a velocity-inlet (warm air) on its down face is placed in the cold domain
- UDF.c : UDF for fluent 12.1
- Calcul.txt : Calcul journal file for fluent 12.1 -> fluent 3d -g < Calcul.txt
- image.jpg : sources and wells positions and view in the plane Z=0.5
- debit.txt : mass flow rate on box and domain boundaries

note 1 : as sources and wells are defined by velocity-inlet having the same speed and the same temperature, the global flow rate on these boundaries (Cf. debit.txt) can be bigger by zero du to the mixing warm-cold air : in the example, the difference is equal to 1% of the warm box mass rate . That why, I think this solution can only be used for small temperature difference between warm and cold air

note 2 : to limit the global flow rate on domain boundaries, it is sometimes useful to change the position of sources and wells : in the example here, sources and wells alternate along horizontal lines, for others case, it might be better to have horizontal (or vertical) lines of sources and wells (which is like alternate wells and sources along diagonal..) ?!
Attached Images
File Type: jpg image.jpg (104.7 KB, 9 views)
Attached Files
File Type: txt Calcul.txt (10.0 KB, 1 views)
File Type: c UDF.c (15.5 KB, 5 views)
File Type: txt Geo3D.txt (4.1 KB, 1 views)
File Type: txt debit.txt (893 Bytes, 1 views)
Laurence Wallian 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
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05
Warm Air Rising Through A Tower davaughn Main CFD Forum 0 August 21, 2009 12:02
air bubble is disappear increasing time using vof xujjun CFX 9 June 9, 2009 07:59
Air motion caused by a warm area Reza Imani Main CFD Forum 1 December 18, 2004 16:52
Heat Flux from warm water ... David FLUENT 0 December 5, 2003 21:48

All times are GMT -4. The time now is 21:12.