|
[Sponsors] |
March 13, 2022, 01:08 |
reactingFoam aachenBomb OpenFOAM 9
|
#1 |
New Member
Marcos Gutiérrez
Join Date: Dec 2020
Posts: 8
Rep Power: 5 |
Hi openFoam and CFD users
Do you know how to fix the problem in the pictures. The part #include "speciesThermo" can not be found. Any suggestions? The solver is reactingFoam in OpenFOAM 9 Please see pic 1 and 2. Thank you Marcos |
|
March 13, 2022, 05:38 |
|
#2 |
New Member
Jan Zeriadtke
Join Date: May 2020
Posts: 7
Rep Power: 6 |
That error seems to indicate that the file "speciesThermo" is missing.
If you look at the Allrun script in the tutorial, the "chemkinToFoam" application should create speciesThermo. Therefore check if chemkinToFoam has been run and produced the "reactions" and "speciesThermo" files. If you modified the chemkin files it could point to an error there. |
|
March 13, 2022, 23:22 |
|
#3 |
New Member
Marcos Gutiérrez
Join Date: Dec 2020
Posts: 8
Rep Power: 5 |
Dear Jan,
thank you for your answer. I run "chemkinToFoam" and I got the message in the picture 3. I also run "./Allrun" and I got the message in picture 4. I have to make this question: Is there something missing in this solver "reactingFoam" in the "aachenBomb" tutorial of OpenFOAM 9? I run "sprayFoam" and the "aachenBomb" tutorial in OpenFOAM 7 without problems. The chemkin files were not modified. Some other suggestion? Thank you Marcos |
|
March 14, 2022, 03:04 |
|
#4 |
New Member
Jan Zeriadtke
Join Date: May 2020
Posts: 7
Rep Power: 6 |
Hi Marcos,
The output of "./Allrun" is expected. So unless there are further Errors in the logfiles, everthing should have worked. The chemkinToFoam command needs input and output files specified. For the full command look inside the Allrun script. It should be Code:
runApplication chemkinToFoam \ chemkin/chem.inp chemkin/therm.dat chemkin/transportProperties \ constant/reactions constant/speciesThermo Jan |
|
March 14, 2022, 04:03 |
|
#5 |
New Member
Marcos Gutiérrez
Join Date: Dec 2020
Posts: 8
Rep Power: 5 |
Hi Jan,
the files are ok as shown in the pic 5. Is possible that there is bug in openFoam 9? Marcos |
|
March 14, 2022, 04:31 |
|
#6 |
New Member
Jan Zeriadtke
Join Date: May 2020
Posts: 7
Rep Power: 6 |
Hi Marcos,
again, from pic 4 everything seems to work. If you aren't getting solution files check the solver output in log.reactingFoam. I verified that the case is working. If you are very new to OpenFoam i would recommend working through a tutorial case from the User-Guide to get familiar with the workflow. It will be directly applicable to reactingFoam. Jan |
|
March 15, 2022, 08:59 |
|
#7 |
New Member
Marcos Gutiérrez
Join Date: Dec 2020
Posts: 8
Rep Power: 5 |
Hi Jan,
thank you for the commands: I did not change the chem.inp file and I have the error of pic.8 Best regards Marcos |
|
March 15, 2022, 09:43 |
|
#8 |
New Member
Jan Zeriadtke
Join Date: May 2020
Posts: 7
Rep Power: 6 |
Hi Marcos,
check the order of the "chem.inp" and "therm.dat" arguments in the command Jan |
|
March 15, 2022, 10:14 |
|
#9 |
New Member
Marcos Gutiérrez
Join Date: Dec 2020
Posts: 8
Rep Power: 5 |
Hi Jan,
YOU ARE A GENIE!!!! THANK YOU!!! IT WORKS!!! Let´s make a summary: 1. Have order and method, do not play with commands, learn and understand how they must be written and used. 2. OpenFOAM doesn't have errors to run tutorials, it may have but a newbie for sure would no discover them. 3. To run the aachenBomb tutorial, open the terminal in the folder where you can see the: 0, chemkin, constant, system, Allclean and Allrun files. 4. Type the following command (it seem to be done only one time): chemkinToFoam chemkin/chem.inp chemkin/therm.dat chemkin/transportProperties constant/reactions constant/speciesThermo 5. Type: blockMesh 6. Type: checkMesh 7. Step 6 is just for for fun because it is ok, unless you have imported your own geometry. 8. Start to feel the power and the glory. 9. Step 8 is serious. 10. Type: reactingFoam 11. Type: paraview 12. In paraview open the controldict file selecting the option *all kind of files and with the OpenFOAM reader 13. Display the velocities and pressures. 14. There are ways to display the particles with foamToVTK but I will post a clean document later. 15. Say thank you sooooo much to Jan (jerik in CDF online) Marcos Expert in reactingFoam Last edited by marcosgutierrez; March 15, 2022 at 12:09. |
|
Tags |
aachenbomb tutorial, reacting foam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology | wyldckat | OpenFOAM | 17 | November 10, 2017 16:54 |
OpenFOAM v3.0+ ?? | SBusch | OpenFOAM | 22 | December 26, 2016 15:24 |
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | September 14, 2016 04:19 |
OpenFOAM Training Beijing 22-26 Aug 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | May 3, 2016 05:57 |
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 |