CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   reactingFoam, Rocket Simulation, Messy Error (https://www.cfd-online.com/Forums/openfoam-solving/171541-reactingfoam-rocket-simulation-messy-error.html)

David_C May 10, 2016 22:02

reactingFoam, Rocket Simulation, Messy Error
 
1 Attachment(s)
Hello Foamers,

I have a bit of a problem... I am running a case for a rocket with air interacting with the flow. I am currently trying to use reactingFoam with the chemistry and combustion turned off... I thought I had set everything up correctly, ran the solver and came up with the following error... (Refer to attached picture - Sorry, it thinks the << and >> are links).

I understand that this error is often caused by division by 0 (?). However, all I have done is taken the reactingFoam tutorial, replaced the mesh with my mesh, and replaced the boundary fields in each of the chemical formula BC files, making the proper adjustments. If you have any suggestions for how to rectify the problem, it would be greatly appreciated!

Thanks,
David

KarenRei December 5, 2016 07:35

Quote:

Originally Posted by David_C (Post 599537)
Hello Foamers,

I have a bit of a problem... I am running a case for a rocket with air interacting with the flow. I am currently trying to use reactingFoam with the chemistry and combustion turned off... I thought I had set everything up correctly, ran the solver and came up with the following error... (Refer to attached picture - Sorry, it thinks the << and >> are links).

I understand that this error is often caused by division by 0 (?). However, all I have done is taken the reactingFoam tutorial, replaced the mesh with my mesh, and replaced the boundary fields in each of the chemical formula BC files, making the proper adjustments. If you have any suggestions for how to rectify the problem, it would be greatly appreciated!

Thanks,
David

Have you done a quality check on your mesh? Because that sounds like the most obvious possibility to me.

Note that with OpenFOAM you shouldn't be afraid to have a debug version around and to actually check the code to see where you're crashing and why. You don't need to understand how everything works, but a general sense of "Oh, because of this change in energy here due to some factor, the temperature dropped down to below zero, which then died in a subsequent square root, so the issue is that there's too much of a change in energy due to that factor, too fast, and I need to fix it somehow..."


All times are GMT -4. The time now is 21:36.