CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Mass Flux vs Velocity Inlet (http://www.cfd-online.com/Forums/fluent/37303-mass-flux-vs-velocity-inlet.html)

Sandra July 18, 2005 11:09

Mass Flux vs Velocity Inlet
 
Hi, I am trying to impose a sinusoidal veloity profile at the inlet using a UDF. Reading more about it I realized that for my case (compressible case) the boundary conditions to be used should be mass flow inlets vs velocity inlets. Would anyone know the difference between the two. In another words can I use the same UDF for the mass flux, considering that mass flux is rho*u*A/A. I'm getting somewhat confused with the UDS for mass flux stories. I would appreciate any inputs. Sincerely, Sandra

Seeker Philip July 18, 2005 13:01

Re: Mass Flux vs Velocity Inlet
 
Hi Sandra,

I am using a similar setup. The correct option to use is the mass flux condition for a well posed solution. You can modify the UDF pretty easily to include the density (assuming no density variation). Phil


Sandra July 18, 2005 13:44

Re: Mass Flux vs Velocity Inlet
 
Hi Phil, thanks for writing. I'm not sure what did you mean by mass flux condition for a well posed solution. The flow is compressible and I am using the ideal gas option.Did you just mean to multiply my UDF that I had written for the velocity profile by constant density?

Seeker Philip July 18, 2005 15:31

Re: Mass Flux vs Velocity Inlet
 
Yeah... Thats right for a constant density at the inlet. Make sure you solve the enrgy equation as well if the flow is compressible.

Phil

Sandra July 18, 2005 19:40

Re: Mass Flux vs Velocity Inlet
 
Thanks. There is still something wrong. I've read a little bit about UDS and mass flux. Is that applicable. Would you know when and why would one use that.

Seeker Phil July 20, 2005 14:09

Re: Mass Flux vs Velocity Inlet
 
I'm sorry... I'm not sure about that. Do you have any other details that might make it clearer?


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