CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   constant desnity of a mixture (https://www.cfd-online.com/Forums/fluent/107430-constant-desnity-mixture.html)

cfd user September 27, 2012 02:26

constant desnity of a mixture
 
1 Attachment(s)
hello people :)
i have a question about constant denisty of mixture.
i am tring to simulte mixture of hydrogen-air.
in materials tab when using a mixture, there is option in density to choose ideal gas, incompressible ideal gas and etc... there isn't option to choose constant denisty, there is option of user defind.
maybe somone know how to write udf of constand density, i suppose it's need to be simple.
thank :)

fluent_engineer September 28, 2012 06:19

Quote:

Originally Posted by cfd user (Post 383834)
hello people :)
i have a question about constant denisty of mixture.
i am tring to simulte mixture of hydrogen-air.
in materials tab when using a mixture, there is option in density to choose ideal gas, incompressible ideal gas and etc... there isn't option to choose constant denisty, there is option of user defind.
maybe somone know how to write udf of constand density, i suppose it's need to be simple.
thank :)

hi
write a udf in which u describe changes of density with pressure ,and write a udf for describing speed of sound.

cfd user September 28, 2012 07:10

thanks
 
thank you, the problem is that i have no experience in writing such udf, maybe there is such prepared codes?

fluent_engineer September 28, 2012 17:04

Quote:

Originally Posted by cfd user (Post 384038)
thank you, the problem is that i have no experience in writing such udf, maybe there is such prepared codes?

yes
u should search
certainly there is similar code in internet or training books


All times are GMT -4. The time now is 12:48.