CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   How to use "densit.f" for multicomponent case? (https://www.cfd-online.com/Forums/siemens/53677-how-use-densit-f-multicomponent-case.html)

BK March 3, 2004 02:30

How to use "densit.f" for multicomponent case?
 
Hi, everybody. My case is transient, 3 scalars(active), compressible problem. As I know, "Ideal f(T,P)" option is not valid in my case. And "Multicomponent" option is not valid because the background gas density is constant. So I determined using user subroutine("densit.f"). How do I code this subroutine?

Richard March 3, 2004 03:15

Re: How to use "densit.f" for multicomponent case?
 
If your fluid is a mixture of active scalars (and perhaps a background fluid), and each scalar behaves as an ideal gas, then the correct option for density is "Ideal f(T,p)". Look at equation (1-35) of the v3.15 Methodology Manual - "Ideal gases or mixtures thereof". You don't need to use densit.f.

BK March 3, 2004 07:06

Re: How to use "densit.f" for multicomponent case?
 
Thank you very much, Richard.


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