|
[Sponsors] |
use logPolynomial transport in OF4.1 reactingFoam |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Join Date: Jan 2016
Posts: 15
Rep Power: 9 ![]() |
Hello foamers:
I am using the logPolynomial transport in OF4.1, and I have some problems while using it. First, it is strange that logPolynomial transport is not added to the thermoPhysicsType, So I add it as this typedef logPolynomialTransport < species::thermo < janafThermo < perfectGas<specie> >, sensibleEnthalpy >, 8 > logPolynomialHThermoPhysics; and I modified some codes in thermophysicalModels actually just add the logPolynomialHThermoPhysics in thermophysicalModels, it compiles successfully. But when I use reactingFoam, something bad in foamChemistryReader, I get this Create time Create mesh for time = 0 PIMPLE: Operating solver in PISO mode Creating reaction model Selecting combustion model laminar<psiChemistryCombustion> Selecting chemistry type { chemistrySolver ode; chemistryThermo psi; } Selecting thermodynamics package { type hePsiThermo; mixture reactingMixture; transport logPolynomial; thermo janaf; energy sensibleEnthalpy; equationOfState perfectGas; specie specie; } Selecting chemistryReader foamChemistryReader --> FOAM FATAL ERROR: H not found in table. Valid entries: 35 ( OH CN C2H3 N2 C2H N HOCN CH3 CH2CO HNO C2H5 C2H4 HCN C3H8 C2H6 CO2 NH3 CH2OH C2H2 H2CN H2O2 HCCOH HCO NNH O2 CH2(S) N2O CH2CHO HNCO H2 HCCO NO2 C CH4 HO2 ) From function const T& Foam::HashTable<T, Key, Hash>: ![]() ![]() in file /home/zsh/OpenFOAM/OpenFOAM-4.1/src/OpenFOAM/lnInclude/HashTableI.H at line 134. FOAM exiting I think the reactions and thermo. is OK since I have use it in other case. And the keyWord muLogCoffes<8> and kappaLogCoffes<8> is also added. If anyone have ideas on this. Please let me know, many thanks in advance. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Chourouk
Join Date: Jul 2017
Posts: 1
Rep Power: 0 ![]() |
check the syntax maybe you just forgot a bracket
Thank you |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How thermal conductivity is calculated in Sutherland transport type in reactingFoam | sahmed | OpenFOAM Running, Solving & CFD | 2 | October 16, 2016 19:04 |
multicomponent transport model in reactingFoam | sahmed | OpenFOAM Running, Solving & CFD | 0 | September 26, 2016 18:28 |
reactingFoam - sutherland transport | DuarteMagalhaes | OpenFOAM Pre-Processing | 1 | April 7, 2016 07:02 |
ReactingFoam specie transport equation | alberto | OpenFOAM Running, Solving & CFD | 3 | December 4, 2010 13:03 |
Laminar diffusion flames and reactingFoam Transport properties | jgaricano | OpenFOAM Running, Solving & CFD | 0 | June 4, 2008 17:58 |