CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   thermophysicalProperties problem (http://www.cfd-online.com/Forums/openfoam/86324-thermophysicalproperties-problem.html)

guy_smiling March 19, 2011 17:55

thermophysicalProperties problem
 
Hello,

I posted this problem a week ago or so, but I haven't received a response so I thought I'd repost:

I'm running rhoCentralFoam and I want to solve for supersonic, compressible flow for two mixed, unreacting gases. My thermophysicalProperties file looks like this:

thermoType ePsiThermo<pureMixture<sutherlandTransport<specieT hermo<hConstThermo<perfectGas>>>>>;

mixture air 0.5 28.96 1004.5 0 1.458e-06 110.4;
mixture he 0.5 4.003 5193.0 0 1.387e-06 48.46;

I think I'm using this wrong. I think I should be using basicComponentMultiMixture, but I haven't found any examples using that mixture properties type. Can I just replace 'pureMixture' with 'basicComponentMultiMixture' and use the first numbers (the 0.5) as the fraction of the gas? I try that and I get that it's not a valid type.

Any help is much appreciated. Thanks


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