CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   UDF for SOURCE (https://www.cfd-online.com/Forums/fluent/31385-udf-source.html)

Mahesh May 2, 2003 09:29

UDF for SOURCE
 
hi all,

1. When adding a source/sink through, we have to give input as generation rate/volume. But is it necessary to divide the source term by volume[C_V(cell)] or Fluent will do it?

2. For Multiphase flow..

Is there any difference in the values of

C_P(cell,mix_th) and C_P(cell,pri_th)?

3. Same for C_T(cell,mix_th) and C_T(cell,pri_th)?

Thanks.

Mahesh


ap May 2, 2003 21:45

Re: UDF for SOURCE
 
Hi Mahesh,

1. When you write a source term you must refer it to the unit volume (1 m^3), not to the cell volume. Check units of your source.

2. Supposing that mix_th is the thread of the mixture and pri_th is the thread of the primary phase,

C_T(cell,mix_th)

refers to the cell value of the temperature of the mixture, while

C_T(cell,pri_th)

refers to the temperature of the primary phase. Their values are equal only if phases reached thermic equilibrium.

Same for pressure, even if this may depend on the model you use. For example, if you use the Eulerian model, the pressure is considered the same for all phases.


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