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

UDS - Convective Flux

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 6, 2003, 05:28
Default UDS - Convective Flux
  #1
Victor
Guest
 
Posts: n/a
Hello!

I´m involved in a CFD-project which is to be solved with the help of UDS. Since I´m a novice when it comes to UDF- and UDS-programming I have started with very simple and easy problems in order to get a hang of it. The problem is that I immediately ran into a problem and it concerns the convective flux-term in the transport equation.

The problem setup is a simple duct flow where I want to simulate the scalar as temperature and then compare the result with the correct one given by FLUENT by activating the energy equation. The boundary conditions are known velocities at the inlet and known temperatures at the inlet and at the walls.

When I activate the UDS-panel I make sure to select mass flow rate in the Flux Function list but when I examine the results from the simulation Scalar-0 displays a temperature field that is equal to the correct result if a diffusive problem was considered i.e. no velocities in the domain!

I would be most grateful for any comments or suggestions on the matter!

/Victor

  Reply With Quote

Old   October 7, 2003, 16:55
Default Re: UDS - Convective Flux
  #2
Greg Perkins
Guest
 
Posts: n/a
if you define you scalar as temperature then you will need to modify the treatment of the convective flux uds. Why?

well FLUENT assumes the flux is rho*u*scalar but for the energy equation the flux must be rho*u*(enthalpy) = rho*u*(cp*T) for a simple constant specific heat situation and I've neglected kinetic energy etc.

So you need to change the treatment of the convective flux that's why you're only seeing the influence of the diffusive component since cp is about 1000 - ie your convective flux is too small by a factor of around 1000 or so.

Greg
  Reply With Quote

Old   October 8, 2003, 07:26
Default Re: UDS - Convective Flux
  #3
Victor
Guest
 
Posts: n/a
Thanks Greg!

The results look so much better now!

/Victor
  Reply With Quote

Reply


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
UDS Flux Function Choice Yang Chung FLUENT 1 November 17, 2015 01:14
Doubts UDS Flux, UDS Unsteady for VOF model kel85uk FLUENT 0 March 17, 2010 08:53
UDS flux and boundaries Kasper Skriver FLUENT 0 April 18, 2006 08:36
Help with UDS FLUX Andrew Garrard FLUENT 2 February 14, 2005 05:47
uds self-programed convective flux carsten conzen FLUENT 0 December 15, 2004 06:49


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