CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

use logPolynomial transport in OF4.1 reactingFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   January 2, 2017, 02:26
Default use logPolynomial transport in OF4.1 reactingFoam
  #1
New Member
 
Join Date: Jan 2016
Posts: 8
Rep Power: 3
SH_Zhong is on a distinguished road
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>:perator[](const Key&) const [with T = Foam::logPolynomialTransport<Foam::species::thermo <Foam::janafThermo<Foam:erfectGas<Foam::specie > >, Foam::sensibleEnthalpy>, 8>*; Key = Foam::word; Hash = Foam::string::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.
SH_Zhong is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
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 18:04
multicomponent transport model in reactingFoam sahmed OpenFOAM Running, Solving & CFD 0 September 26, 2016 17:28
reactingFoam - sutherland transport DuarteMagalhaes OpenFOAM Pre-Processing 1 April 7, 2016 06: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 16:58


All times are GMT -4. The time now is 03:07.