|
[Sponsors] |
June 6, 2023, 17:10 |
reactingFoam-error in inert specie
|
#1 |
New Member
Marzin
Join Date: Oct 2022
Posts: 6
Rep Power: 4 |
Hi
I'm simulating the specie transmission without any chemical reaction in the small office room. But I get this error: --> FOAM FATAL IO ERROR: (openfoam-2112 patch=220610) Inert specie N2 not found in available species 0() file: constant/thermophysical properties at line 20 to 119. From reactingFoam in file createFields.H at line 14. The thermophysical properties file of this model is as fellow: FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object thermophysicalProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // thermoType { type hePsiThermo; mixture pureMixture; transport const; thermo hConst; equationOfState perfectGas; specie specie; energy sensibleEnthalpy; } mixture { specie { name N2; inertSpecie yes; nMoles 1.0; molWeight 28.0134; } thermodynamics { Cp 1040.0; Hf 0.0; Sf 191.61; } transport { mu 1.716e-05; Pr 0.720; } specie { name O2; inertSpecie no; nMoles 1.0; molWeight 31.999; } thermodynamics { Cp 919; Hf 0; Sf 205.03; } transport { mu 1.716e-05; Pr 0.664; } specie { name CO2; inertSpecie no; nMoles 1.0; molWeight 44.01; } thermodynamics { Cp 844.5; Hf -393.520; Sf 213.8; } transport { mu 1.8e-05; Pr 0.7; } specie { name H2O; inertSpecie no; nMoles 1.0; molWeight 18.015; } thermodynamics { Cp 1847.5; Hf -241.820; Sf 188.8; } transport { mu 1.8e-05; Pr 0.7; } } inertSpecie N2; I would be very grateful if anyone could guide me to resolve this problem? |
|
June 7, 2023, 07:13 |
Hi dlahaye
|
#3 | |
New Member
Marzin
Join Date: Oct 2022
Posts: 6
Rep Power: 4 |
Quote:
Thank you for your reply, I studied tutorials you mentioned, I also check the openfoam samples and write according those.But I still get this error that related to inert specie. |
||
June 7, 2023, 12:14 |
|
#5 | |
New Member
Marzin
Join Date: Oct 2022
Posts: 6
Rep Power: 4 |
Quote:
Should I consider all three species as the inert specie or I should just consider air and CO2 in this simulation and consider air as the inert specie? |
||
June 7, 2023, 15:25 |
|
#7 |
New Member
Marzin
Join Date: Oct 2022
Posts: 6
Rep Power: 4 |
||
June 7, 2023, 16:51 |
|
#8 | |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 |
Quote:
Which tutorials have you studied? I'm not a reactingFoam user but the syntax of your file seems pretty different from the syntax used in reactingFoam tutorials. Yann |
||
June 7, 2023, 17:19 |
|
#9 | |
New Member
Marzin
Join Date: Oct 2022
Posts: 6
Rep Power: 4 |
Quote:
Thank you for your reply. Honestly, besides of some related papers I tried to check my model based on reacting foam sample of openfoam samples. I would be very grateful if you could tell me the problem of this model or introduce me a good tutorial to read. Bests, |
||
June 7, 2023, 18:17 |
|
#10 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 |
It is important pay attention to the versions when looking for stuff online, as models and syntax may vary across the different OpenFOAM development branches and versions.
According to your error message, you seem to be using OpenFOAM-v2112, you can check the tutorials locally on your system: $FOAM_TUTORIALS/combustion/reactingFoam Or online here: https://develop.openfoam.com/Develop...n/reactingFoam |
|
Tags |
inert specie, reacting foam, species distribution |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
equationOfState icoTabulated error | carl_r | OpenFOAM Running, Solving & CFD | 3 | March 14, 2022 07:05 |
"Unknown psiThermo type" why not on the list?? | mexicalense | OpenFOAM Running, Solving & CFD | 3 | March 22, 2021 14:50 |
Transport models in reactingFoam | kuria | OpenFOAM Running, Solving & CFD | 1 | January 22, 2021 05:50 |
WLF from OF7 | Pisolino85 | OpenFOAM | 2 | April 26, 2020 07:34 |
compile of new combination of property in thermophisicalpropery | milad653279 | OpenFOAM Running, Solving & CFD | 4 | April 6, 2017 05:35 |