I have added scalar transport
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 |
The transport equation is impl
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?
|
can someone give this a look a
can someone give this a look and help me?
|
Hi Prashat,
So, for an exam
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 |
Sorry, maybe this is more help
|
Y_i * h_i
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 |
All times are GMT -4. The time now is 18:40. |