CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

UDF of natural convection in 3D cylinder

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 7, 2015, 08:19
Exclamation UDF of natural convection in 3D cylinder
  #1
New Member
 
ali sarlak
Join Date: May 2015
Location: iran
Posts: 13
Rep Power: 10
a_Sarlak is on a distinguished road
Hello all,

I'm completely new to CFD analysis, so I need some help with the following natural convection problem:
my geometry is 3D cylinder that water in it.
i want to model natural convection outside of cylinder in fluent, and i write this udf:
/************************************************** ****************
UDF that adds momentum source term and derivative to duct flow
************************************************** *****************/

#include "udf.h"


DEFINE_SOURCE(cell_Y_source, c, t, dS, eqn)
{
real source;

source = -9.8*C_T(c,t);
dS[eqn] = -9.8;
}

when i interpret it fluent i have no error and from material tab i add momentum as source term to air . but i don't see any natural convection around the cylinder.can any body helm me?
PD:I want to model with UDF without using gravity option in flunet,because when i use gravity option my solution is not converged.
PD2: TY CFD ONLINE froum.
a_Sarlak is offline   Reply With Quote

Reply

Tags
3d duct, cylinder, fluent - udf, momentum source, source code


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF for body force for rotating cavity with natural convection s.jaiswal FLUENT 0 February 18, 2014 02:01
Thermophysical properties for natural convection Ciefdi OpenFOAM Running, Solving & CFD 0 November 7, 2013 11:44
natural convection at high Rayleigh mauricio FLUENT 2 February 23, 2005 19:43
Mixing By Natural Convection Processes Greg Perkins FLUENT 0 February 12, 2003 18:40
natural convection in a sealed enclosure James Main CFD Forum 4 April 2, 2001 15:48


All times are GMT -4. The time now is 23:27.