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

flux calculation(urgent)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 18, 2006, 04:30
Default flux calculation(urgent)
  #1
vid
Guest
 
Posts: n/a
hi

i am studying diffussion of one species in static fluid . the domain is 2d rectangular in which one wall is maintained at const( mass fraction=1) concentration and other 3 walls are maintained at zero concentration.(no inlet and outlet).

now i need to calculate mass flux from the wall.(i.e flux due to the term Dab*dc/dx).

can any one explain me how to calculate or write udf to obtain the flux in fluent .

thanks in advance

  Reply With Quote

Old   February 19, 2006, 04:58
Default Re: flux calculation(urgent)
  #2
Kharicha
Guest
 
Posts: n/a
Here is a trick if you do not use the temperature equation, I will suggest to you to use the energy equation to model your convection-diffusion equation. You have to enter the diffusivity at the place of the heat conductivity, and set the heat capacity to one.... then you can use the FLUENT ready options to get the flux through the wall....instead of getting the heat flux you will get the mass flux......

Be very careffull to mesh correctly the diffusif boundary layer, which has to be much much smaller than the hydrodynamic boundary layer...(usually!)

I hope you did understand....
  Reply With Quote

Old   February 19, 2006, 05:19
Default Re: flux calculation(urgent)
  #3
vid
Guest
 
Posts: n/a
hi Kharicha,

in latter stages i will be using temperature equation so i will face diffucility in calculating flux

  Reply With Quote

Old   February 21, 2006, 04:18
Default Re: flux calculation (urgent)
  #4
Kharicha
Guest
 
Posts: n/a
OK, you have to write an UDF Profile where you fix the concentration to zero, but where you also calculate the flux....

for that you need the value of concentration at the boundary (known) and at the adjacent cell.

assume (f, thread) is the boudary cell, you get the adjacent cell (cell,t) by writting:

cell = F_C0(f,thread);

t = THREAD_T0(thread);

then you get the position and the value of the concentration...this is what you need for defining the flux...

  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
Wind turbine simulation Saturn CFX 60 July 17, 2024 06:45
Flux splitting Dr B.M. Smith (Smith) OpenFOAM Running, Solving & CFD 19 January 9, 2013 05:07
Problem setting with chtmultiregionFoam Antonin OpenFOAM 10 April 24, 2012 10:50
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 21:09


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