CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

flux calculation(urgent)

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

LinkBack Thread Tools Search this Thread Display Modes
Old   February 18, 2006, 03:30
Default flux calculation(urgent)
Posts: n/a

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, 03:58
Default Re: flux calculation(urgent)
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, 04:19
Default Re: flux calculation(urgent)
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, 03:18
Default Re: flux calculation (urgent)
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


Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wind turbine simulation Saturn CFX 58 July 3, 2020 01:13
Flux splitting Dr B.M. Smith (Smith) OpenFOAM Running, Solving & CFD 19 January 9, 2013 04:07
Problem setting with chtmultiregionFoam Antonin OpenFOAM 10 April 24, 2012 09:50
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 04:05
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 20:09

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