CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

reactingFoam aachenBomb OpenFOAM 9

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By marcosgutierrez

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 13, 2022, 00:08
Default reactingFoam aachenBomb OpenFOAM 9
  #1
New Member
 
Marcos Gutiérrez
Join Date: Dec 2020
Posts: 8
Rep Power: 5
marcosgutierrez is on a distinguished road
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
Attached Images
File Type: jpg 1.jpg (80.6 KB, 28 views)
File Type: jpg 2.jpg (107.3 KB, 18 views)
marcosgutierrez is offline   Reply With Quote

Old   March 13, 2022, 04:38
Default
  #2
New Member
 
Jan Zeriadtke
Join Date: May 2020
Posts: 7
Rep Power: 5
jerik is on a distinguished road
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.
jerik is offline   Reply With Quote

Old   March 13, 2022, 22:22
Default
  #3
New Member
 
Marcos Gutiérrez
Join Date: Dec 2020
Posts: 8
Rep Power: 5
marcosgutierrez is on a distinguished road
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
Attached Images
File Type: jpg 3.jpg (81.0 KB, 13 views)
File Type: jpg 4.jpg (124.1 KB, 11 views)
marcosgutierrez is offline   Reply With Quote

Old   March 14, 2022, 02:04
Default
  #4
New Member
 
Jan Zeriadtke
Join Date: May 2020
Posts: 7
Rep Power: 5
jerik is on a distinguished road
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
Here "runApplication" just redirects the output to a logfile, so you want everything after that.


Jan
jerik is offline   Reply With Quote

Old   March 14, 2022, 03:03
Default
  #5
New Member
 
Marcos Gutiérrez
Join Date: Dec 2020
Posts: 8
Rep Power: 5
marcosgutierrez is on a distinguished road
Hi Jan,

the files are ok as shown in the pic 5.

Is possible that there is bug in openFoam 9?

Marcos
Attached Images
File Type: jpg 5.jpg (109.9 KB, 8 views)
marcosgutierrez is offline   Reply With Quote

Old   March 14, 2022, 03:31
Default
  #6
New Member
 
Jan Zeriadtke
Join Date: May 2020
Posts: 7
Rep Power: 5
jerik is on a distinguished road
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
jerik is offline   Reply With Quote

Old   March 15, 2022, 07:59
Default
  #7
New Member
 
Marcos Gutiérrez
Join Date: Dec 2020
Posts: 8
Rep Power: 5
marcosgutierrez is on a distinguished road
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
Attached Images
File Type: jpg 8.jpg (122.9 KB, 10 views)
marcosgutierrez is offline   Reply With Quote

Old   March 15, 2022, 08:43
Default
  #8
New Member
 
Jan Zeriadtke
Join Date: May 2020
Posts: 7
Rep Power: 5
jerik is on a distinguished road
Hi Marcos,

check the order of the "chem.inp" and "therm.dat" arguments in the command

Jan
jerik is offline   Reply With Quote

Old   March 15, 2022, 09:14
Cool
  #9
New Member
 
Marcos Gutiérrez
Join Date: Dec 2020
Posts: 8
Rep Power: 5
marcosgutierrez is on a distinguished road
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
Attached Images
File Type: jpg 9.jpg (71.4 KB, 7 views)
File Type: jpg 10.jpg (103.4 KB, 7 views)
jerik likes this.

Last edited by marcosgutierrez; March 15, 2022 at 11:09.
marcosgutierrez is offline   Reply With Quote

Reply

Tags
aachenbomb tutorial, reacting foam


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
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology wyldckat OpenFOAM 17 November 10, 2017 15:54
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 14:24
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 cfd.direct OpenFOAM Announcements from Other Sources 0 September 14, 2016 03:19
OpenFOAM Training Beijing 22-26 Aug 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 May 3, 2016 04: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 06:25


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