# flux calculation(urgent)

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

 February 18, 2006, 04:30 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

 February 19, 2006, 04:58 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....

 February 19, 2006, 05:19 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

 February 21, 2006, 04:18 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...

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Saturn CFX 34 October 16, 2014 05:27 Dr B.M. Smith (Smith) OpenFOAM Running, Solving & CFD 19 January 9, 2013 05:07 Antonin OpenFOAM 10 April 24, 2012 09:50 Pankaj CFX 9 November 23, 2009 05:05 lego CFX 3 November 5, 2002 21:09

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