|
[Sponsors] |
multiComponentMixture - Combustion with OpenFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 23, 2022, 07:53 |
multiComponentMixture - Combustion with OpenFoam
|
#1 |
New Member
Join Date: May 2022
Posts: 6
Rep Power: 4 |
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 |
|
May 23, 2022, 09:21 |
|
#2 |
New Member
Alessio Piccolo
Join Date: May 2022
Location: Italy
Posts: 9
Rep Power: 4 |
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.
|
|
June 28, 2022, 18:46 |
multiComponentMixture - Combustion with OpenFoam
|
#3 |
New Member
Erik T
Join Date: Jun 2022
Posts: 8
Rep Power: 4 |
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 |
|
June 29, 2022, 03:33 |
|
#4 | |
New Member
Alessio Piccolo
Join Date: May 2022
Location: Italy
Posts: 9
Rep Power: 4 |
Quote:
|
||
June 29, 2022, 05:06 |
Resolved
|
#5 | |
New Member
Join Date: May 2022
Posts: 6
Rep Power: 4 |
Quote:
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" |
||
June 29, 2022, 11:51 |
|
#6 |
New Member
Erik T
Join Date: Jun 2022
Posts: 8
Rep Power: 4 |
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"; // ************************************************** *********************** // |
|
June 29, 2022, 13:21 |
|
#7 |
New Member
Join Date: May 2022
Posts: 6
Rep Power: 4 |
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 |
|
Tags |
combustion, openfoam, reactingfoam, thermophysicalproperties |
|
|
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 |