|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Olivier Macchion
Join Date: Jun 2010
Posts: 12
Rep Power: 16 ![]() |
Hello
I am writing a new thermo class to model the mixture of two gases, for example air (itself a mixture) and methane. I think I have understood how to define it, but I have trouble understanding how to link the scalar used to transport the methane specie, called Y in the 0 directory, to the properties of the methane specie defined in the thermophysicalProperties file. What I have done is the following: 1) Added the following makeBasicMixture ( multiComponentMixture, constTransport, hConstThermo, perfectGas ); to the file basicMixtures.C 2) Added the following Y_ ( IOobject ( “Y”, mesh.time().timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ), to the file basicThermo.C 3) Created a new perfectGas directory, called speciesPerfectGas, and changed the calculation of psi to the following: inline scalar speciesPerfectGas: ![]() { return 1.0/((R()*(1-Y) + R_Y*Y)*T); } I have tried to find where R() is calculated, to know how to define R_Y in the previous code, but I can't find it. Would someone know that please? Is there an example of multiComponentMixture somewhere? Cheers Olivier Last edited by OMN; August 12, 2010 at 07:37. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Christian Lucas
Join Date: Aug 2009
Location: Braunschweig, Germany
Posts: 202
Rep Power: 18 ![]() |
Hi,
have a look at the class specie in the folder "thermophysicalModels/specie/specie" Regards, Christian |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Olivier Macchion
Join Date: Jun 2010
Posts: 12
Rep Power: 16 ![]() |
Thank you Christian!
Cheers Olivier |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Member
Jim Carow
Join Date: Apr 2010
Location: Michigan, USA
Posts: 41
Rep Power: 16 ![]() |
Hello Olivier,
I am working on a similar feature. Would you be willing to share your implementation? ![]() thank you and best regards, James |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Olivier Macchion
Join Date: Jun 2010
Posts: 12
Rep Power: 16 ![]() |
Yes of course James.
Have you got an email? regards Olivier |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Member
Jim Carow
Join Date: Apr 2010
Location: Michigan, USA
Posts: 41
Rep Power: 16 ![]() |
My email is:
james dot p dot carow at wmich dot edu Thank you Olivier and have a good weekend! James |
|
![]() |
![]() |
![]() |
Tags |
mixture of gases, modeling, psi, thermophysical |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Use of k-epsilon and k-omega Models | Jade M | Main CFD Forum | 40 | January 27, 2023 08:18 |
New implemented algebraic Reynolds stress model | volker | OpenFOAM | 13 | October 21, 2013 01:01 |
OpenFOAM13 for Mac OSX Darwin 104 | hjasak | OpenFOAM Installation | 70 | September 24, 2010 06:06 |
species transport model or mixture model? | achaokaoyan | Main CFD Forum | 0 | July 10, 2010 11:52 |
Problems bout CFD model of biomass gasification, Downdraft gasifier | wanglong | FLUENT | 2 | November 26, 2009 00:27 |