CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Eulerian-Eulerian approach UDF (https://www.cfd-online.com/Forums/fluent/50325-eulerian-eulerian-approach-udf.html)

Robet P January 19, 2009 20:23

Eulerian-Eulerian approach UDF
 
I am a new player for Fluent. I have a two phase problem air and sand, I use Eulerian-Eulerian approach and want to write a UDF modify the source term of momentum for secondary phase (sand). could someone give me an example how to write this UDF? for example, in the UDF, I want use the following term as the source term of momentum for secondary phase:

the air density*air velocity*sand velocity, something like this. (This is random example)

Could someone show me an example how to write this kind of UDF.

Thank you very much!



All times are GMT -4. The time now is 01:43.