|
[Sponsors] |
February 18, 2006, 04:30 |
flux calculation(urgent)
|
#1 |
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 |
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 |
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 |
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... |
|
|
|
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 |