|
[Sponsors] |
October 15, 2007, 03:13 |
I have added scalar transport
|
#1 |
Member
Prashant Ojha
Join Date: Mar 2009
Posts: 38
Rep Power: 17 |
I have added scalar transport equation in the heat transfer solver (buoyantFoam). For the thermophysicalProperties file I am using the multiComponentMixture class. I looked at the multiCompoentMixture source code but I didn't understand how the properties of all the species must be written in the thermophysical dictionary. The constructor used is...
combustionMixture(thermoDict, specieNames, mesh), speciesData_(species_.size()), mixture_("mixture", *speciesThermoData[specieNames[0]]) { forAll(species_,i) { speciesData_.set ( i, new ThermoType(*specieThermoData[Species_[i]]) ); } correctMassFractions(); } I would like to know, how OF reads all this data from thermoPhysicalProperties file? I tried to look through existing tutorial cases but in Vain.... Please help me out.. Prashant |
|
October 15, 2007, 03:39 |
The transport equation is impl
|
#2 |
Member
Prashant Ojha
Join Date: Mar 2009
Posts: 38
Rep Power: 17 |
The transport equation is implemented same as it is implemeted in reactingFoam ... Initially, I am trying only two species, say CO and N2. I want to know, how I should write the thermophysicalproperties in my case file? How does OF read the values?
|
|
October 15, 2007, 08:43 |
can someone give this a look a
|
#3 |
Member
Prashant Ojha
Join Date: Mar 2009
Posts: 38
Rep Power: 17 |
can someone give this a look and help me?
|
|
January 9, 2008, 17:07 |
Hi Prashat,
So, for an exam
|
#4 |
New Member
C.E.M.
Join Date: Mar 2009
Posts: 16
Rep Power: 17 |
Hi Prashat,
So, for an example of how thermophyscialproperties dictionary is read, see the moriyoshiHomogeneous tutorial in XiFoam. Look in the options file in the case solver, and then check the thermophysicalmodels/combustion/lnInclude directory, and look at, for example, hhuMixtureThermo.C .... Hope that helps, Evans |
|
January 28, 2008, 16:08 |
Sorry, maybe this is more help
|
#5 |
New Member
C.E.M.
Join Date: Mar 2009
Posts: 16
Rep Power: 17 |
||
February 7, 2011, 16:54 |
Y_i * h_i
|
#6 |
Member
Farshad
Join Date: Oct 2010
Posts: 76
Rep Power: 16 |
Hi,
It is strange that this question is still remained unanswered. I have exactly the same question: The constructor used is... combustionMixture(thermoDict, specieNames, mesh), speciesData_(species_.size()), mixture_("mixture", *speciesThermoData[specieNames[0]]) { forAll(species_,i) { speciesData_.set ( i, new ThermoType(*specieThermoData[Species_[i]]) ); } correctMassFractions(); } ----------------------------------------- How speciesData_[n] is read in openfoam? I expect it to be the enthalpy of nth element. Thanks for your help, Farshad |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Face Set Constructor for star v4.02 | gonnafon | Siemens | 1 | June 6, 2012 10:16 |
IOobject constructor problem | iyer_arvind | OpenFOAM Running, Solving & CFD | 3 | November 19, 2006 07:39 |