CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

multiComponentMixture - Combustion with OpenFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By Ale22pic
  • 1 Post By ade10
  • 1 Post By ade10

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 23, 2022, 07:53
Default multiComponentMixture - Combustion with OpenFoam
  #1
New Member
 
Join Date: May 2022
Posts: 6
Rep Power: 4
ade10 is on a distinguished road
Hi to everyone,
i'm having a problem with OF especially with the combustion case with the tool reactingFoam. i'm trying to do this tutorials (https://develop.openfoam.com/Develop.../RAS/DLR_A_LTS) but OF gives me an error:
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 9
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
Build : 9-b456138dc4bc
Exec : reactingFoam
Date : May 23 2022
Time : 10:33:45
Host : "7a5db86db9cd"
PID : 1143
I/O : uncollated
Case : /home/openfoam/combustion/SandiaD_LTS
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0


PIMPLE: No convergence criteria found


PIMPLE: Operating solver in transient mode with 1 outer corrector
PIMPLE: Operating solver in PISO mode


Using LTS
Reading thermophysical properties

Selecting thermodynamics package
{
type hePsiThermo;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
equationOfState perfectGas;
specie specie;
}



--> FOAM FATAL IO ERROR:
keyword species is undefined in dictionary "/home/openfoam/combustion/SandiaD_LTS/constant/thermophysicalProperties"

file: /home/openfoam/combustion/SandiaD_LTS/constant/thermophysicalProperties from line 19 to line 32.

From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const
in file db/dictionary/dictionary.C at line 831.

FOAM exiting


does anyone know why?

thnks to all that will answer me
ade10 is offline   Reply With Quote

Old   May 23, 2022, 09:21
Default
  #2
New Member
 
Alessio Piccolo
Join Date: May 2022
Location: Italy
Posts: 9
Rep Power: 4
Ale22pic is on a distinguished road
Hi ade10, I think that the problem is due to how you write the entries in thermophysical properties since you are using V9 and the tutorial is from V2112. I suggest to check in V9 tutorial folder for the same case and seeing how they write down the entries. Let me know.
Ale22pic is offline   Reply With Quote

Old   June 28, 2022, 18:46
Default multiComponentMixture - Combustion with OpenFoam
  #3
ET3
New Member
 
Erik T
Join Date: Jun 2022
Posts: 8
Rep Power: 4
ET3 is on a distinguished road
Hi ade10,



Did you solve this problem? I am stuck on it too.



The tutorials I am using have outdated mixture commands, but updating to multiComponentMixture was straightforward.



The "keyword specie is undefined in dictionary...." error persists.



For what it's worth, I am using the tutorials that came with my installation.



Thank you,

Erik
ET3 is offline   Reply With Quote

Old   June 29, 2022, 03:33
Default
  #4
New Member
 
Alessio Piccolo
Join Date: May 2022
Location: Italy
Posts: 9
Rep Power: 4
Ale22pic is on a distinguished road
Quote:
Originally Posted by ET3 View Post
Hi ade10,



Did you solve this problem? I am stuck on it too.



The tutorials I am using have outdated mixture commands, but updating to multiComponentMixture was straightforward.



The "keyword specie is undefined in dictionary...." error persists.



For what it's worth, I am using the tutorials that came with my installation.



Thank you,

Erik
Hi Erik, can you show as the thermo physical properties files and tell also which tutorial and version are you using?
ET3 likes this.
Ale22pic is offline   Reply With Quote

Old   June 29, 2022, 05:06
Default Resolved
  #5
New Member
 
Join Date: May 2022
Posts: 6
Rep Power: 4
ade10 is on a distinguished road
Quote:
Originally Posted by ET3 View Post
Hi ade10,



Did you solve this problem? I am stuck on it too.



The tutorials I am using have outdated mixture commands, but updating to multiComponentMixture was straightforward.



The "keyword specie is undefined in dictionary...." error persists.



For what it's worth, I am using the tutorials that came with my installation.



Thank you,

Erik
Hi Erik,
yes i've solved the problem.... I was using of.org and it wants some things written differently from of.com

you can try this:


/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 9
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class dictionary;
location "constant";
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

thermoType
{
type hePsiThermo;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
equationOfState perfectGas;
specie specie;
}

defaultSpecie N2;

#include "thermo.compressibleGasGRI"
ET3 likes this.
ade10 is offline   Reply With Quote

Old   June 29, 2022, 11:51
Default
  #6
ET3
New Member
 
Erik T
Join Date: Jun 2022
Posts: 8
Rep Power: 4
ET3 is on a distinguished road
Hi Alessio,



Thank you for the response!



I am trying the tutorial counterFlowFlame2DLTS.



I think I may be confused about which version I am using. When I run blockMesh, it says version 9 :


/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 9
\\/ M anipulation |
\*---------------------------------------------------------------------------*/



.
.
.


But my tutorials are for v2106. Below is the thermoPhysicalProperties file.



Based on ade10's reply, I learned that there are two different "flavors" of openfoam. Are there compelling reasons to use one over the other?













/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2106 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

thermoType
{
type heRhoThermo;
mixture multiComponentMixture;
transport sutherland;
thermo janaf;
equationOfState perfectGas;
specie specie;
energy sensibleEnthalpy;
}

inertSpecie N2;

chemistryReader foamChemistryReader;

foamChemistryFile "<constant>/reactions";

foamChemistryThermoFile "constant/thermo.compressibleGas";


// ************************************************** *********************** //
ET3 is offline   Reply With Quote

Old   June 29, 2022, 13:21
Default
  #7
New Member
 
Join Date: May 2022
Posts: 6
Rep Power: 4
ade10 is on a distinguished road
hi the include functions can be different from of.com to of.org
try to download and launch this one
https://github.com/AleOfMan/OpenFoamTutorial.git
ET3 likes this.
ade10 is offline   Reply With Quote

Reply

Tags
combustion, openfoam, reactingfoam, thermophysicalproperties


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 06:29
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 cfd.direct OpenFOAM Announcements from Other Sources 0 September 14, 2016 04:19
Two-day Meeting on Internal Combustion Engine Simulations Using OpenFOAM Technology lucchini OpenFOAM Announcements from Other Sources 1 October 21, 2015 17:16
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 07:55
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 07:25


All times are GMT -4. The time now is 11:23.