CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CD-adapco (http://www.cfd-online.com/Forums/cd-adapco/)
-   -   How to use "densit.f" for multicomponent case? (http://www.cfd-online.com/Forums/cd-adapco/53677-how-use-densit-f-multicomponent-case.html)

BK March 3, 2004 03: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 04: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 08:06

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


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